Ramdisk question

Joeseph Mother

Well-known member
Nov 30, 2010
80
22
0
I've been trying for about 10 hours now to get my ramdisk edited correctly. I downloaded bootimg_tool.zip, used the split_bootimg.pl to extract the kernel and ramdisk, edited my init.rc, used:
mkbootfs ./ramdisk | gzip > ramdisk-new.gz
to rebuild the ramdisk, then:
mkbootimg --cmdline 'no_console_suspend=1 console=null' --kernel boot.img-kernel --ramdisk ramdisk-new.gz -o boot-new.img
to make the new boot image, fails to get past the LG logo every time. I'm guessing I need a --base value in the last step, where would I find what value would go there?

EDIT: fixed it, I had a bad mkbootfs, everything works fine now.
 
Last edited: