FYI - there are three types of builds that have varying levels of security:
"user" builds are secure. there is no way to get root access to the phone (unless you count the keyboard console bug that was fixed in RC30). This is what ships for regular customers. "eng" builds are insecure - adb runs as root user, which allows you to get access to files within the /data partition, remount the /system file system read/write, etc. The eng builds are normally used for development, so it is easier to debug and replace system files with "adb remount" and "adb sync" "userdebug" builds are somewhere in between. The purpose is to run as close as possible to a user build while still allowing access for debugging. adb runs as non-root, but the "su" command is enabled so you can get a root shell. And new in cupcake is the "adb root" command, which restarts adb as root user, which basically allows you to enable the adb commands that work in the "eng" build. eng and userdebug builds also have some extra features enabled not in user builds, like the ability to attach to any Java process with DDMS or a Java debugger and saving bugreport files to the SD card by pressing a key combination. Based on what you are saying (the fact that "adb root" works), it sounds like HTC has a userdebug build on their web site. Mike On Thu, May 14, 2009 at 2:00 AM, KG <karti...@gmail.com> wrote: > > I have figured out a way to do this... > > First run "adb root" this will give you root access to G1's file > system, then you can execute commands like adb push, adb pull etc > > --kartic > > On May 13, 6:19 pm, Kartic <karti...@gmail.com> wrote: >> Hi All, >> >> I have upgraded my phone's images to Android 1.5 images >> (fromhttp://www.htc.com/www/support/android/adp.html) >> Now when I try commands like adb remount, chmod, adb push etc I get >> "Operation not permitted" and "Permission denied" errors >> >> I was able to give this command when I had 1.0 images flashed on my >> phone. >> I used to do this to push native so files to the device and other data >> files which are needed by my app. >> >> Has something related to permissions changed with Android 1.5? >> >> Regards, >> Kartic > > > -- Mike Lockwood Google android team --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "android-framework" group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~----------~----~----~----~------~----~------~--~---