adb shell, nandroid backup, confusion on mounting, and su: not found

dep

New Member
Joined
Apr 7, 2010
Messages
21
Reaction score
0
Hello. I am attempting to adb shell in to my phone from OSX. I have downloaded and am running the Android SDK. I am able to establish a connection with my phone and it is showing up in devices:

$ adb devices
List of devices attached
0403681F04023019 recovery

My phone is rooted, running an early v2.2 (pete's build).

I'm using Recovery Console v0.99.3b.

I'm assuming before I launch adb shell, I need to mount a combination of /data or /system.

If I mount /data, I can adb shell and see the contents of my phone.

/ # ls -laF
drwxr-xr-x 15 1000 1000 0 Jun 23 18:58 ./
drwxr-xr-x 15 1000 1000 0 Jun 23 18:58 ../
-rw-r--r-- 1 1000 1000 0 Jan 8 14:43 block_update
drwxr-xr-x 2 0 0 0 Jun 23 18:58 cache/
drwxrwx--x 1 1000 1000 2048 Jun 23 18:43 data/
-rw-r--r-- 1 1000 1000 4730 Jan 6 23:09 default.prop
drwxr-xr-x 10 0 0 1960 Jun 23 18:58 dev/
drwxr-xr-x 2 1000 1000 0 Jan 6 00:02 etc/
-rwxr-xr-x 1 1000 1000 103100 Jan 6 00:02 init*
-rwxr-xr-x 1 1000 1000 1677 Jan 6 00:02 init.goldfish.rc*
-rwxr-xr-x 1 1000 1000 573 Jan 28 05:59 init.rc*
-rwxr-xr-x 1 1000 1000 6226 Jan 6 00:02 init.sholes.rc*
drwxr-xr-x 2 1000 1000 0 Jan 8 14:43 lib/
dr-xr-xr-x 51 0 0 0 Jan 1 1970 proc/
-rw-r--r-- 1 1000 1000 11 Feb 4 05:09 recovery.version
drwxr-xr-x 3 1000 1000 0 Jan 6 00:02 res/
drwx------ 2 0 0 0 Dec 21 2009 root/
drwxr-xr-x 2 1000 1000 0 Feb 4 04:04 sbin/
drwxr-xr-x 2 0 0 0 Jun 23 19:02 sdcard/
drwxr-xr-x 13 0 0 0 Jan 1 1970 sys/
drwxr-xr-x 3 1000 1000 0 Jan 6 00:02 system/
drwxr-xr-x 2 1000 1000 0 Jun 23 18:58 tmp/

I can then mount /system and cd to /system/app and see my apps.

I have also been able to push an app to the phone.

The ISSUE I'm having is, I can't perform root functions. In fact, typing "su" returns the error:

/system/bin/sh: su: not found

This is frustrating, as the phone is definitely rooted. I feel as though I'm missing a step here.

Any help is appreciated.
 

pc747

Regular Member
Rescue Squad
Joined
Dec 23, 2009
Messages
25,492
Reaction score
6,918
may I ask why are you using adb shell when you can use sprecovery to install root files.
 
Top