I Am Rooted: Why this error?

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 ...

+ Reply to Thread
Results 1 to 6 of 6

Thread: I Am Rooted: Why this error?

  1. Junior Droid
    buddy5582's Avatar
    Member #
    22906
    Join Date
    Jan 2010
    Posts
    27
    Phone
    Enter Current Phone Here
    #1

    I Am Rooted: Why this error?

    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.
  2. Sponsor
    DF Advertising
    Join Date
    Nov 2008
    Location
    DroidForums.net
     
     
     
     
  3. Developer
    ChevyNo1's Avatar
    Member #
    20299
    Join Date
    Dec 2009
    Posts
    5,355
    Liked
    26 times
    Phone
    Enter Current Phone Here
    DroidForums.net Developer
    Premium Member
    #2
    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 ...
  4. Junior Droid
    buddy5582's Avatar
    Member #
    22906
    Join Date
    Jan 2010
    Posts
    27
    Phone
    Enter Current Phone Here
    #3
    This is when the phone was running. Do I run your commands in a shell?
  5. Developer
    ChevyNo1's Avatar
    Member #
    20299
    Join Date
    Dec 2009
    Posts
    5,355
    Liked
    26 times
    Phone
    Enter Current Phone Here
    DroidForums.net Developer
    Premium Member
    #4
    Quote Originally Posted by buddy5582 View Post
    This is when the phone was running. Do I run your commands in a shell?
    Yes, from a DOS prompt, run 'adb shell' ... then run the commands I've shown

    But I'm still confused about your showing the # prompt BEFORE you enter su ... if you have a # prompt, you're already 'su'd' or root ...
  6. Junior Droid
    buddy5582's Avatar
    Member #
    22906
    Join Date
    Jan 2010
    Posts
    27
    Phone
    Enter Current Phone Here
    #5
    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.
  7. Developer
    ChevyNo1's Avatar
    Member #
    20299
    Join Date
    Dec 2009
    Posts
    5,355
    Liked
    26 times
    Phone
    Enter Current Phone Here
    DroidForums.net Developer
    Premium Member
    #6
    Quote Originally Posted by buddy5582 View Post
    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

Sponsors

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Similar Threads

  1. Time error
    By antennafarms in forum Tech Issues, Bug Reports & Suggestions
    Replies: 7
    Last Post: 03-22-2011, 09:38 AM
  2. Facebook app error
    By BostonBill in forum Tech Issues, Bug Reports & Suggestions
    Replies: 4
    Last Post: 03-24-2010, 08:58 AM
  3. Rooted 2.0.1 - Trying to unroot - Error Status 7
    By psufan5 in forum Droid Hacks
    Replies: 8
    Last Post: 01-01-2010, 09:42 AM
  4. autocap error
    By gentlefury in forum Tech Issues, Bug Reports & Suggestions
    Replies: 2
    Last Post: 12-30-2009, 04:56 PM
  5. you tube error?
    By zipkicker in forum Motorola Droid
    Replies: 3
    Last Post: 11-24-2009, 06:26 AM

Search tags for this page

/sbin/sh: am: not found

,
/sbin/sh: am: not found android
,

/sbin/sh: su: not found

,
adb shell busybox --install /sbin
,
android intellij /sbin/sh: am: not found
,
android su error no environment
,
busybox error root
,
checking if rooted... ls: not found failed
,
checking if rooted...ls: not foundfailed android
,

sbin sh su not found

,

su error android

,

su: /sbin/sh: no such file or directory

,
su: am.. error:no such file or directory
,
system/sbin/su no such file or directory
,
where does the su file go
Click on a term to search our site for related topics.