5,596,700 Members 46,183 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 4169
Posts: 14,181
Join Date: Feb 2011
Location: Oskarshamn

 
DONATE TO ME
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?
I'm only responsible for what I say, not for what you understand.

Phone: HTC One | S-OFF

I do not answer support PM's, they will be ignored.
 
jhernand1102
Old
#2  
Senior Member
Thanks Meter 172
Posts: 1,811
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
Moto X
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 4169
Posts: 14,181
Join Date: Feb 2011
Location: Oskarshamn

 
DONATE TO ME
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.
I'm only responsible for what I say, not for what you understand.

Phone: HTC One | S-OFF

I do not answer support PM's, they will be ignored.
 
beekay201
Old
#4  
beekay201's Avatar
Senior Member
Thanks Meter 1096
Posts: 4,559
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-KOT49H/stock#3.4.0/M8974A-1.0.25.0.23
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 4169
Posts: 14,181
Join Date: Feb 2011
Location: Oskarshamn

 
DONATE TO ME
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?
I'm only responsible for what I say, not for what you understand.

Phone: HTC One | S-OFF

I do not answer support PM's, they will be ignored.
 
beekay201
Old
(Last edited by beekay201; 21st April 2012 at 10:13 PM.)
#6  
beekay201's Avatar
Senior Member
Thanks Meter 1096
Posts: 4,559
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-KOT49H/stock#3.4.0/M8974A-1.0.25.0.23
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 4169
Posts: 14,181
Join Date: Feb 2011
Location: Oskarshamn

 
DONATE TO ME
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.
I'm only responsible for what I say, not for what you understand.

Phone: HTC One | S-OFF

I do not answer support PM's, they will be ignored.

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

Advanced Search
Display Modes


TRENDING IN THEMER...