patchrom icon indicating copy to clipboard operation
patchrom copied to clipboard

Fullota error patching bootimg

Open nophyan opened this issue 8 years ago • 3 comments

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

nophyan avatar Apr 15 '17 01:04 nophyan

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 avatar Apr 15 '17 01:04 nophyan

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 avatar Apr 15 '17 09:04 nophyan

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

nophyan avatar Apr 15 '17 09:04 nophyan