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.
> adb shell
sh-4.1$ su
Permission denied

I have rooted my phone successfully. I know this because I'm able to install apps on SD card and I have a program called SD Maid that is able to operate with root permissions.

share|improve this question
    
Installing apps on SDCard does not necessarily require root, and SDMaid also (partially) works without, so that's no proof. Your quote from the shell, on the other hand, seems to prove you were not successful with your rooting. When checking your installed apps, is there either SuperUser or SuperSU available? Do you get prompts like "SDMaid requested root permissions" which you need to confirm? –  Izzy Feb 21 '13 at 11:38
    
@Izzy I get notifications like SD Maid has been granted super root permissions? Besides I just installed play.google.com/store/apps/… and it does ask me for super user confirmation which gets granted successfully. –  Kshitiz Sharma Feb 21 '13 at 11:50
    
@Izzy I would beg to differ. Installing apps on SDCard does require rooting your phone. Could you point to a contrary example? –  Kshitiz Sharma Feb 21 '13 at 12:33
    
Sure: Go to Settings->Apps->Manage Apps, and walk through them. Apps supporting it can simply be moved by tapping the corresponding button. Second: Take a look at AppMonster, right in the first screenshot, below the "moon icon" of "Sleepy Timer": this app supports App2SD, without root. AppMonster can move it (not requiring root), and even will offer to do so. App2SD is supported natively since Android 2.2. Follow the tag FAQ: App2SD –  Izzy Feb 21 '13 at 13:01
    
For the previous comment: OK, so full ack that root worked. Again, please check your apps for SuperUser/SuperSU, this time start the app. In its configuration, it should let see you which permissions it has stored; maybe you once accidentally checked "remember" and hit the "deny" button for adb shell. If you find a corresponding entry, simply remove it. Next time you should be asked again, then make sure to hit the correct button :) –  Izzy Feb 21 '13 at 13:05

1 Answer 1

From http://stackoverflow.com/users/119895/macarse:

You might need to activate adb root from the developer settings menu. If you run adb root from the cmd line you can get:

root access is disabled by system setting - enable in settings -> development options

root access is disabled by system setting - enable in settings -> development options Once you activate the root option (ADB only or Apps and ADB) adb will restart and you will be able to use root from the cmd line.

Source: http://stackoverflow.com/a/15201460

share|improve this answer
    
This setting is not available in all ROMs (couldn't find it e.g. in my LG Optimus 4X, which of course is rooted). IMHO this is a speciality of CyanogenMod. –  Izzy Apr 21 '13 at 12:27

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.