Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I've been attempting to root my phone (Samsung Intercept M910, but that probably doesn't matter).

How can I tell that I have actually, successfully gained root? I've run a few apps which require root, and some work and some don't, so I'm unclear if I've gained root or not.

share|improve this question

6 Answers 6

up vote 15 down vote accepted

Use terminal emulator (a popular free/open-source terminal emulator is Android Terminal Emulator, available from F-droid or Play Market), open the emulator and type su .. you will know with the message that appears after if phone is rooted or not.

share|improve this answer
1  
A popular free/open-source terminal emulator is Android Terminal Emulator, available from F-droid or Play Market. –  imz -- Ivan Zakharyaschev Apr 20 '13 at 15:20
    
What if "su: not found"? It simply implies that the su utility has not been installed (or is not in the PATH), rather than whether we have root... –  imz -- Ivan Zakharyaschev Apr 20 '13 at 15:52

Connect your phone in developer mode via USB and start an ADB shell

adb shell

If you see a # at the beginning of the line your phone is rooted, if it's a $ try to execute the su command, and if you get a # now, your phone is rooted, but if you get an error that su can't be found it's probably not or the su binary is simply missing.

There are also Apps on the market that test if your phone is rooted.

share|improve this answer
1  
That's not enough. If you see a "$"-Prompt you still can elevate to root via the su binary (typing the "su" command), if you have successfully rooted your phone. –  Flow Sep 11 '11 at 10:44
    
Yeah, forgot that some ROMs doesn't have root as default. Hm, anything else you want me to change now? –  kyrias Sep 11 '11 at 11:01

There is an application available in the market called Root Checker, that can verify if your phone is rooted, and if you have BusyBox installed.

share|improve this answer

You should see the "Superuser" application in the app tray.

Most rooting methods add this app to manage the superuser rights: it appeared for me when I rooted my Desire.

Not all do: so just try to install and run Superuser from the market. If it fails, you aren't rooted :-)

share|improve this answer
    
That's incorrect, the Superuser application has to be installed manually after rooting, but it might be installed automatically if you use a one-click rooting application. –  kyrias Sep 11 '11 at 9:40
    
@Demizide: I was updating as you downvoted. It depends how you root it of course: some methods add it automatically like happened for me. –  gbn Sep 11 '11 at 9:45
    
Okay, think you could update it again, so that I can undo the downvote? –  kyrias Sep 11 '11 at 9:49
    
@Demizide: thank you, done –  gbn Sep 11 '11 at 10:03
1  
You can install Superuser on a non-rooted device just fine, though. It just won't do anything without the su binary (and will complain that it needs to "update" it every time you run it). The presence of Superuser doesn't really mean you're rooted; running it kind of does, but the update failure message doesn't say "failed to update because you're not root" or anything of that nature (and you can hit "Cancel" and it goes away). –  eldarerathis Sep 11 '11 at 20:48

Use the following commands from RootTools library.

    RootTools.isRootAvailable();

or

    RootTools.RootTools.isAccessGiven();
share|improve this answer

Beside what everyone mentioned, One super easy way would also be installing an app from Google Play that requires root access. I suggest DroidWall, which is a must-have firewall for android. Install it, and hit apply rules. If not rooted, it will tell you, and will fail to apply rule.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.