Skip to content
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

How about android 8? #3

Open
lukedoomer opened this issue Nov 23, 2018 · 2 comments
Open

How about android 8? #3

lukedoomer opened this issue Nov 23, 2018 · 2 comments

Comments

@lukedoomer
Copy link

Is it fine to use this tool with Oreo image?

@Kyrie1965
Copy link

Did not work with Android 8.1 (S905X2).

Unpacking image input.img...
[Msg]Image package version 0x2
[ERR]f(AmlImagePack.cpp)L265:Image check error! CRC check failed!
[ERR]f(AmlImagePack.cpp)L1540:Image file check failed!
Converting system.PARTITION to system.img...
Cannot open input file output/image/system.PARTITION
Mounting system image...
mount: /home/yuri/Desktop/repack/output/system: wrong fs type, bad option, bad superblock on /dev/loop16, missing codepage or helper program, or other error.
Done

@lanyucomputer
Copy link

a123456@ubuntu:~/Desktop/tool$ ./bin/unpack aidan.img
Cleaning up...
umount: output/system: not mounted.
Unpacking image aidan.img...
[Msg]Image package version 0x2
[Msg]Unpack item [USB , DDR] to (output/image/DDR.USB) size:49152 bytes
[Msg]Unpack item [USB , UBOOT] to (output/image/UBOOT.USB) size:819200 bytes
[Msg]Unpack item [PARTITION , _aml_dtb] to (output/image/_aml_dtb.PARTITION) size:58997 bytes
[Msg]Unpack item [UBOOT , aml_sdc_burn] to (output/image/aml_sdc_burn.UBOOT) size:868864 bytes
[Msg]Unpack item [ini , aml_sdc_burn] to (output/image/aml_sdc_burn.ini) size:394 bytes
[Msg]Unpack item [PARTITION , boot] to (output/image/boot.PARTITION) size:10065920 bytes
[Msg]Unpack item [PARTITION , bootloader] to (output/image/bootloader.PARTITION) size:868352 bytes
[Msg]Unpack item [PARTITION , dtbo] to (output/image/dtbo.PARTITION) size:438 bytes
[Msg]Unpack item [PARTITION , logo] to (output/image/logo.PARTITION) size:1076480 bytes
[Msg]Backup item [dtb , meson1] backItemId[2][PARTITION, _aml_dtb]
[Msg]Unpack item [PARTITION , odm] to (output/image/odm.PARTITION) size:540748 bytes
[Msg]Unpack item [conf , platform] to (output/image/platform.conf) size:202 bytes
[Msg]Unpack item [PARTITION , product] to (output/image/product.PARTITION) size:104857600 bytes
[Msg]Unpack item [PARTITION , recovery] to (output/image/recovery.PARTITION) size:16756736 bytes
[Msg]Unpack item [PARTITION , system] to (output/image/system.PARTITION) size:969932800 bytes
[Msg]Unpack item [PARTITION , vbmeta] to (output/image/vbmeta.PARTITION) size:4096 bytes
[Msg]Unpack item [PARTITION , vendor] to (output/image/vendor.PARTITION) size:235929600 bytes
[Msg]Write config file "output/image/image.cfg" OK!
Image unpack OK!
Converting system.PARTITION to system.img...
Invalid sparse file format at header magi
Failed to read sparse file
Mounting system image...
mount: /home/a123456/Desktop/tool/output/system: wrong fs type, bad option, bad superblock on /dev/loop9, missing codepage or helper program, or other error.
Unpacking logo...
dbg:res-img ver is 0x2
dbg:item output/logo/bootup
dbg:item output/logo/upgrade_bar
dbg:item output/logo/upgrade_error
dbg:item output/logo/upgrade_fail
dbg:item output/logo/upgrade_logo
dbg:item output/logo/upgrade_success
dbg:item output/logo/upgrade_unfocus
dbg:item output/logo/upgrade_upgrading
Unpacking boot...
boot.img: ramdisk size is null
boot.img: not a valid Android Boot Image.

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants