rom1nux / mtkimg

Unpack/Repack boot.img, recovery.img and logo.bin for Mediatek CPU based devices
GNU General Public License v3.0
63 stars 27 forks source link

Kernel header magic is not valid #5

Open DragonFire1024 opened 5 years ago

DragonFire1024 commented 5 years ago

Get the error 'Kernel header magic is not valid' when trying to unpack amazon mtk boot.img

MTKIMG V0.44(win64) by rom1nux Unpacking boot image 'boot.img'... Reading image header (596 bytes)...

Image header :

Signature : ANDROID!

Kernel size : 7043382 bytes Kernel load address : 0x40080000

Ramdisk size : 1554777 bytes Ramdisk load address : 0x44000000

Second stage size : 0 bytes Second stage load address : 0x40F00000

Tags address : 0x48000000 Page size : 2048 bytes Product name : '' Command line : 'bootopt=64S3,32N2,64N2' ID : 18EAB62D9D8F8C50EC954D03F917B6D0C8E4A275

Image layout :

Bloc Offset Pages Size (bytes)

Header 0x00000000 1 2048 Kernel 0x00000800 3440 7045120 Ramdisk 0x006B8800 760 1556480 Free 0x00834800 1 2048

Total 4202 8605696

Seeking to start of kernel (0x00000800)... Reading MTK header (512 bytes)...

Magic : 0x1F 0x8B 0x08 0x00 Size (bytes) : 0 ☻Æ╪B≤Pë² : ☻♥∞Z{PTWÜ ε╜

ERROR : Kernel header magic is not valid !