Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,736,222 Members 44,795 Now Online
XDA Developers Android and Mobile Development Forum

Rooted and using CM9 but adb shell su doesn't work?

Tip us?
 
Theshawty
Old
#1  
Theshawty's Avatar
Senior Member - OP
Thanks Meter 4369
Posts: 15,044
Join Date: Feb 2011
Default Rooted and using CM9 but adb shell su doesn't work?

I triy to type "adb shell" in cmd which works but upon typing "su", it throws me a: "permission denied" and on the screen it says: "shell has been denied Superuser permissions.

In the superuser app, there is no record of ever accepting or denying "shell" and clearing Superuser's apk data doesn't help. Everything else related to root works besides giving adb root permissions.

What to do? In some other forum, someone said it was kernel related?
 
jhernand1102
Old
#2  
Senior Member
Thanks Meter 173
Posts: 1,819
Join Date: Sep 2007
Location: SF Bay Area
You need to go to settings then developers options and enable root access to adb.

Sent from my Galaxy Nexus using xda premium
T-Mobile
HTC One M8
The Following 3 Users Say Thank You to jhernand1102 For This Useful Post: [ Click to Expand ]
 
Theshawty
Old
#3  
Theshawty's Avatar
Senior Member - OP
Thanks Meter 4369
Posts: 15,044
Join Date: Feb 2011
Quote:
Originally Posted by jhernand1102 View Post
You need to go to settings then developers options and enable root access to adb.

Sent from my Galaxy Nexus using xda premium
Not running CM9 anymore, though, but I have no such option? I'm running stock.
 
beekay201
Old
#4  
beekay201's Avatar
Senior Member
Thanks Meter 1117
Posts: 4,613
Join Date: Nov 2010
Quote:
Originally Posted by Theshawty

Not running CM9 anymore, though, but I have no such option? I'm running stock.
*facepalm*

Stock rom does not come rooted, so having that option under stock settings menu wouldnt make any sense.
And you still remember that you opened this because of a feature of cm9, that you were not familiar with at the time?

Sent from my i9250 using Forum Runner
hammerhead/omni-KTU84M/stock#3.4.0/M8974A-2.0.50.1.13
maguro/aosp-KRT16O/custom#3.0.101/XXLJ1
manta/stock-KRT16S/custom#3.4.39
tf201/cm10-NIGHTLY#20120820/stock#2.6.39.4
XDA forum rules here
bug report? logcat and /proc/kmsg, or it "never happened".
How TO Ask questions on the Internet
aosp-maguro READFIRST here (credit: efrant)
aosp-gnex READSECOND here (credit: efrant)
 
Theshawty
Old
#5  
Theshawty's Avatar
Senior Member - OP
Thanks Meter 4369
Posts: 15,044
Join Date: Feb 2011
Quote:
Originally Posted by bk201doesntexist View Post
*facepalm*

Stock rom does not come rooted, so having that option under stock settings menu wouldnt make any sense.
And you still remember that you opened this because of a feature of cm9, that you were not familiar with at the time?

Sent from my i9250 using Forum Runner
Well obviously I have rooted my phone and now when I tried that command again (for like the 30th time) it magically worked.

I don't know why, though. "Shell" couldn't seem to get superuser permissions when everything else that required root worked perfectly?
 
beekay201
Old
(Last edited by beekay201; 21st April 2012 at 10:13 PM.)
#6  
beekay201's Avatar
Senior Member
Thanks Meter 1117
Posts: 4,613
Join Date: Nov 2010
If youre talking about stock, Kernel/boot.img is secure

But it should work.

Sent from my i9250 using Forum Runner
hammerhead/omni-KTU84M/stock#3.4.0/M8974A-2.0.50.1.13
maguro/aosp-KRT16O/custom#3.0.101/XXLJ1
manta/stock-KRT16S/custom#3.4.39
tf201/cm10-NIGHTLY#20120820/stock#2.6.39.4
XDA forum rules here
bug report? logcat and /proc/kmsg, or it "never happened".
How TO Ask questions on the Internet
aosp-maguro READFIRST here (credit: efrant)
aosp-gnex READSECOND here (credit: efrant)
 
Theshawty
Old
#7  
Theshawty's Avatar
Senior Member - OP
Thanks Meter 4369
Posts: 15,044
Join Date: Feb 2011
Quote:
Originally Posted by bk201doesntexist View Post
If youre talking about stock, Kernel/boot.img is secure

But it should work.

Sent from my i9250 using Forum Runner
I've never understood what the difference between "secure" and "insecure" boot.img is.

THREAD CLOSED
Subscribe
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Get Your Cargo to its Destination in 4×4 Military Operations Reborn

Racing games have evolved quite a bit since the days of Pole … more

Automate Your Device with Sfen

Changing the profile of yourdevice manually is now long forgotten. Since the advent of Android automation … more

Galaxy Photo Screen Lock Displays a Photo Slideshow on Your Lock Screen

Being the most often looked at part of our devices UI, the lock … more

Boost the LG G3 Speaker and Headphone Volume

It seems like OEMs are stepping up their game, with regards to thequality of their devices sound … more