xiaolu/mkbootimg_tools

repacking file size mismatch

s0i37 opened this issue · 2 comments

s0i37 commented

Hello.
After rebuilding kernel (without modification) and building back I have a huge loss of resulting boot.img:

boot.img - 128M
new_boot.img - 17M

Is it normal behavior? Because I can't load resulting image.

i have the same issue, adding up the sizes though the new_boot.img is the size of kernel+ramdisk in the folder, maybe its not pulling everything out of boot.img?

s0i37 commented

After repacking boot.img with https://github.com/osm0sis/AnyKernel3 (used all modern kernel installers for TWRP) I have obtained the same result. However I have managed successfully load it with fastboot.
It seems it is normally.
Backup of stock boot partition has 90% 0-bytes:
temp