I would like to edit the init.rc in an i9300. I understand that editing the file as-is will not work as the file is reloaded from the boot image's ramdisk upon every bootup. After some googling, I read that I have to unpack, edit and repack the boot image. I came across the following link: http://android-dls.com/wiki/index.php?title=HOWTO%3a_Unpack,_Edit,_and_Re-Pack_Boot_Images
However, upon trying out the first command "cat /proc/mtd", I realize that my i9300 doesn't even have a /proc/mtd, so I'm wondering if any of the instructions there apply to this device.
/dev/block shows mmcblk0p1 to mmcblk0p12, but I'm not sure which one is the boot image. From my googling it seems that mmcblk0p6 is the recovery image though.
How can I edit the init.rc in this device?
Thanks!
init.dscript support. Thats far more easy and will let you execute scripts on boot. – Peter Feb 15 at 8:27