Thank you Rajesh. I also found the answer from xda-developer. http://forum.xda-developers.com/showthread.php?t=443994
I made a new boot images under my mac, but after I flashed to the phone, the phone failed to start. So I flashed the firmware back to official 1.1. On Mar 19, 1:08 am, Rajesh S <[email protected]> wrote: > Cpedia, > It probably is part of the ramdisk and so what you are editing is just > the content in RAM. On a fresh boot the ramdisk recreates the good old > root file system. > You'll have to change it in ramdisk.img .. since you have come this > far, it won't be tough to google and find methods of creating > ramdisk.img > (section 3.2 of) this link might clarify a few > things:http://wiki.kldp.org/wiki.php/AndroidPortingOnRealTarget?refresh=1#s-3.2 > Cheers, > Rajesh.S > > On Mar 18, 3:05 pm, cpedia <[email protected]> wrote: > > > > > I flashed my adp1 to firmware 1.1 following the instruction from > > HTC.http://www.htc.com/www/support/android/adp.html > > > But after that, I want to modify the /init.rc, after I remount the > > rootfs as writable, I can edit or replace the /init.rc file. But the > > file will roll back the original version after reboot the phone. > > > Before I modify the /init.rc, I install the busybox to the phone, then > > I use 'cp" command to replace the /init.rc > > > Any one can give me some advice?- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

