Hi Meryl You are always root in the emulator. That link is about how to gain root access on a real G1 device. I think the problem is you are trying to (re)mount a wrong partition. On my emulator /dev/block/mtdblock0 is mounted on /system, and remounting it with rw works fine. To make sure what partition you need to remount use the mount command and see what is mounted on /system.
Regards. On Apr 6, 10:36 pm, Meryl Silverburgh <silverburgh.me...@gmail.com> wrote: > Hi, > > Can you please tell me how can I become root in android emulator? > I have googled and find this > link:http://www.androidhere.com/ANDROID-NEWS/Technology/200811/19-Hack--Ho... > > so i tried > # adb shell > and the follow the steps > > #mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system > #cd /system/bin > #cat sh > su > #chmod 4755 su > > and run 'su' > > but I still can't access files which only allow to be accessed by root. > > Thank you for any suggestion. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---