-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unpacking image [OK] not found #1
Comments
Which board (SoC) you're trying to flash? |
X96 s905X p212 |
I'm not really sure what's happening. Try to run it with |
`$ ./aml-flash --img=XTMODEXP3.img --soc=gxl --wipe --reset=n --parts=all --debug Command -> /home/antergos/aml-usb-burn/tools/update 2>/dev/null identify 7
Command -> /home/antergos/aml-usb-burn/tools/update 2>/dev/null identify 7
Command -> /home/antergos/aml-usb-burn/tools/update 2>/dev/null bulkcmd " echo 12345"
Command -> /home/antergos/aml-usb-burn/tools/update 2>/dev/null identify 7
Command -> /home/antergos/aml-usb-burn/tools/update 2>/dev/null rreg 4 0xc8100228
C8100228: adfc318c0xc8100228 = 0xadfc318c Parsing image configuration filesplatform_conf_name = platform.conf Partition list0 boot.PARTITION boot normal Bootloader/DTB filesbootloader_file = /tmp/aml-flash-tool-3wS2/bootloader.PARTITION Cleanup` |
I'd say that img file you have is not for your platform. You're missing dtb.PARTITION file in your image. |
thanks for the help, i'll try another img and replay. |
all the img downloaded don't have dtb.PARTITION file. Where can i get one ? |
Which version of android you're trying to flash? Can you share one of links from where you downloaded firmwares? |
Another one: |
I updated script to work with pretty old img files on GXL platform and I tested rom from Mega - I have x96 device (yadi.sk link download limit reached). Check that rom too and please report. If also working, I'll close issue as fixed. |
Thanks, i'll test it and replay. |
Now i get another error, i've tested 3 different img, here is the same output: Command -> /home/antergos/aml-usb-burn/tools/update 2>/dev/null identify 7
Command -> /home/antergos/aml-usb-burn/tools/update 2>/dev/null identify 7
Command -> /home/antergos/aml-usb-burn/tools/update 2>/dev/null bulkcmd " echo 12345"
Command -> /home/antergos/aml-usb-burn/tools/update 2>/dev/null identify 7
Command -> /home/antergos/aml-usb-burn/tools/update 2>/dev/null rreg 4 0xc8100228
C8100228: adfc318c0xc8100228 = 0xadfc318c Parsing image configuration filesplatform_conf_name = platform.conf Partition list0 boot.PARTITION boot normal Bootloader/DTB filesbootloader_file = /tmp/aml-flash-tool-QASm/bootloader.PARTITION Initializing ddr
Command -> /home/antergos/aml-usb-burn/tools/update 2>/dev/null write /home/antergos/aml-usb-burn/tools/usbbl2runpara_ddrinit.bin 0xd900c000
Command -> /home/antergos/aml-usb-burn/tools/update 2>/dev/null run 0xd9000000
........
[OK]
Command -> /home/antergos/aml-usb-burn/tools/update 2>/dev/null write /home/antergos/aml-usb-burn/tools/usbbl2runpara_runfipimg.bin 0xd900c000
Command -> /home/antergos/aml-usb-burn/tools/update 2>/dev/null write /tmp/aml-flash-tool-QASm/UBOOT.USB 0x200c000
Command -> /home/antergos/aml-usb-burn/tools/update 2>/dev/null run 0xd9000000
........[OK] Command -> /home/antergos/aml-usb-burn/tools/update 2>/dev/null mwrite /tmp/aml-flash-tool-QASm/meson1.dtb mem dtb normal
Create partitions
[KO] Cleanup` |
I tried these roms: first i get the output above now i get this: Command -> /home/antergos/aml-usb-burn/tools/update 2>/dev/null identify 7
Command -> /home/antergos/aml-usb-burn/tools/update 2>/dev/null identify 7
Command -> /home/antergos/aml-usb-burn/tools/update 2>/dev/null bulkcmd " echo 12345"
Command -> /home/antergos/aml-usb-burn/tools/update 2>/dev/null identify 7
Command -> /home/antergos/aml-usb-burn/tools/update 2>/dev/null rreg 4 0xc8100228
C8100228: adfc318c0xc8100228 = 0xadfc318c Cleanup I don't understand ?? |
Ok the Results --------------------------------------------------- waiting for help. |
Dumb question but do you have all files from within tools folder (dump files etc.)? Is it possible that you're missing dependencies for update binary which are: Do you have correctly created udev rule? Did you try to run this under root account? Now it's matter why it doesn't work on your system. Which Linux distro? I know for a fact that Mega link is working just fine because I tested it on my X96 device. Now downloading 2nd file to test that too. Again dumb question, but do you have just X96 or X96 mini? X96 mini is S905w device and X96 firmware's (Marshmallow ones at least) for sure won't work on S905w. |
here are my box images: OS: Antergos (Archlinux distro) udev rule created |
As discussed here and via email, issue is no longer with script. Therefore I'm closing it. |
I managed to install these tools but get this error:
$ ./aml-flash --img=amlupgrade113.img --soc=gxl --wipe --reset=n --parts=all
Unpacking image [OK]
not found
$ ./tools/update identify
AmlUsbIdentifyHost
This firmware version is 2-2-0-0
any help ?
The text was updated successfully, but these errors were encountered: