Repacking successful but kernel doesn't boot
BlueMax opened this issue · 5 comments
Repacking this 5.1.1 kernel (without changing anything) works properly but it doesn't boot (just hangs at bootloader screen on Galaxy S4 LTE).
Any idea what's wrong?
try:
cd $ramdisk; find . | fakeroot cpio -R 0:0 -H newc -o 2>/dev/null
| $zcommand > $unpacked_dir/new_ramdisk; cd $unpacked_dir
#$mkbootfs $ramdisk | $zcommand > new_ramdisk
I guess uncommenting line 143/144 in current 'mkboot' will do the same. I can test it earliest in probably 24/48h on next kernel release. I had to temporarily fall back to older rom. Will report back as soon as possible.
cd $ramdisk; find . | fakeroot cpio -H newc -o 2>/dev/null \
| $zcommand > $unpacked_dir/new_ramdisk; cd $unpacked_dir
#$mkbootfs $ramdisk | $zcommand > new_ramdisk
👍
You were already right in the first place (2nd post). Stupid me hasn't noticed the comment sign at '#$mkbootfs $ramdisk | $zcommand > new_ramdisk' so previous line didn't have any effect indeed.
It does work properly now. I haven't tested your 2nd commandline with revised arguments yet. I guess its not necessary anymore.
Thank you very much and sorry for any inconvenience.