Use Superuser.apk and su in the attachment.
- mount system as root
- adb push su /system/bin/
- adb shell chmod 4755 /system/bin/su
- adb push Superuser.apk /system/app/
Thanks but how to I mount system as root? I used:
Code:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
after su in an adb shell but if I push anything to the phone I get permission denied. I guess the problem is I can get root in an adb shell but not outside it. I tried adb remount but I got "remount failed: Operation not permitted". I also tried adb root but got "adbd cannot run as root in production builds".