MiCode / patchrom

Use disassemble/assemble technology to porting miui to misc android devices
http://micode.net/forum-55-1.html
490 stars 370 forks source link

Fullota error patching bootimg #129

Open nophyan opened 7 years ago

nophyan commented 7 years ago

Please somebody help me, i have error when make fullota, that error come from when patching bootimg, Make ** (patch-bootimg) error 255

nophyan commented 7 years ago

Patching bootimg gzip: out/boot/boot.img-ramdisk.gz: No such file or directory /root/patchrom/tools/patch_bootimg.sh: line 19: ../boot.img-ramdisk: No such file or directory mv: cannot stat 'out/boot/ramdisk/init': No such file or directory cat: out/boot/boot.img-cmdline: No such file or directory NEWCMDLINE: androidboot.selinux=disabled cat: out/boot/boot.img-base: No such file or directory cat: out/boot/boot.img-pagesize: No such file or directory cat: out/boot/boot.img-ramdisk_offset: No such file or directory cat: out/boot/boot.img-tags_offset: No such file or directory error: unsupported page size 0 /root/patchrom/build/porting.mk:397: recipe for target 'patch-bootimg' failed make: *** [patch-bootimg] Error 255

nophyan commented 7 years ago

After some research, this error come from boot.img it self. I try to unpack boot with android image kitchen but got an error,

nophyan commented 7 years ago

My boot.img have no android magic header, can't unpack it :(