Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,804,641 Members 43,969 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 4,432
Posts: 15,262
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 4,432
Posts: 15,262
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 1,127
Posts: 4,644
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-KTU84P/stock#3.4.0/M8974A-2.0.50.1.13
maguro/aosp-KRT16O/custom#3.0.101/XXLJ1
manta/omni-KTU84P/custom#3.4.39
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 4,432
Posts: 15,262
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 1,127
Posts: 4,644
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-KTU84P/stock#3.4.0/M8974A-2.0.50.1.13
maguro/aosp-KRT16O/custom#3.0.101/XXLJ1
manta/omni-KTU84P/custom#3.4.39
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 4,432
Posts: 15,262
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


Use Facebook Pictures as a LWP with Facebook View

One of the best things that Android has always offeredits users is the ability to tailor … more

Share Your Thoughts Anonymously with A Minimalist Social Network

Nowadays, almost everyone has a second life onthe Internet. Among the best … more

Enable Heads Up Notifications For The Sprint Galaxy S3

Heads up notifications, in case you didn’t already know, are an experimental … more

Android One Goes Live in India!

Android One is a Google initiative set to bring an AOSP-like experience tosome emergingmarkets like India, … more