You need to extract ramdisk.img...copy your init   & then repack it. This 
way it will be changed permanently.... For pack/repacking ramdisk.img you 
can refer following links:-
http://omappedia.org/wiki/Android_eMMC_Booting
http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack%2C_Edit%2C_and_Re-Pack_Boot_Images

On Thursday, September 27, 2012 2:07:13 AM UTC+5:30, Sunny wrote:
>
>
>
> Hi all,
>
>    I am facing problem with root partition of android. I was trying 
> bootchart on android. I followed "
> http://elinux.org/Using_Bootchart_on_Android"; link. So in that i want to 
> copy only init script in android root partition. So, i remounted as 
> read-wirte and i copied my init file there in /. Now problem is that when i 
> rebooted device it is showing me old init file.(I found this by comparing 
> file size). So, How can i over come this problem? And How is this 
> happening?  Basically, I also tried to create file in / of android, but 
> after reboot it is not there. 
>

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel

Reply via email to