Installing 0.99.2b and when I go to flash the image recovery to the partition I get this error:
/ # su
su
sh: am: not found
su: am.. Error:No such file or directory
Please, any info is very much appreciated.
This is a discussion on I Am Rooted: Why this error? within the Droid Hacks forums, part of the Droid Hacking category; Installing 0.99.2b and when I go to flash the image recovery to the partition I get this error: / # su su sh: am: not ...
Installing 0.99.2b and when I go to flash the image recovery to the partition I get this error:
/ # su
su
sh: am: not found
su: am.. Error:No such file or directory
Please, any info is very much appreciated.
Is this from recovery mode, or phone running? I'm assuming phone running because I think su is automatic in recovery mode.
Enter these commands, what do you see:
echo $PATH
busybox ls -lt `which su`
EDIT: Looking at it again, your prompt is the '#' ... this typically means you are already root. Which means you do not need to enter the su command ... you might be in recovery mode here then? If so ... you don't need to enter the 'su' command ...
This is when the phone was running. Do I run your commands in a shell?
Thanks again, Chevy. I'm not sure why I was getting the error. Honestly, I just used a backup with root and went that route. I did run your commands:
C:\Documents and Settings\HP_Administrator\Desktop>adb shell
/ # echo $PATH
echo $PATH
/sbin:/system/sbin:/system/bin:/system/xbin
/ # busybox ls -lt `which su`
busybox ls -lt `which su`
-rwsr-xr-x 1 0 0 5480 Jan 10 15:48 /system/bin/su
Again, appreciate it.
You bet ... so when you're getting this error 'su' ... are you entering it yourself? It appears so ... I don't think you need to. Appears you are already root. One other way to test is to try 'ls -l /data' ... if that works, you're root.
So if you're sitting at the '#' prompt, just run the flash_image command without running su