New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
THREAD CLOSED
Tip us?
 
Theshawty
Old
#1  
Theshawty's Avatar
Senior Member - OP
Thanks Meter 2932
Posts: 10,455
Join Date: Feb 2011

 
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.

Main phone: Samsung Galaxy S4 | Stock unrooted (for now)
Tablet: ASUS Nexus 7 | SmoothROM
 
jhernand1102
Old
#2  
Senior Member
Thanks Meter 171
Posts: 1,804
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
AT&T
Samsung Galaxy Nexus
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 2932
Posts: 10,455
Join Date: Feb 2011

 
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.

Main phone: Samsung Galaxy S4 | Stock unrooted (for now)
Tablet: ASUS Nexus 7 | SmoothROM
 
beekay201
Old
#4  
beekay201's Avatar
Senior Member
Thanks Meter 942
Posts: 4,049
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
maguro/custom-JDQ39/custom#3.0.31/XXLJ1
manta/CM10.1/trinity#TX36-GPU620-4.2.2-ANY
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)

NVflash for TF201 bootloader-unlocked devices

cm-sgsmtd KANG discussion thread here
 
Theshawty
Old
#5  
Theshawty's Avatar
Senior Member - OP
Thanks Meter 2932
Posts: 10,455
Join Date: Feb 2011

 
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.

Main phone: Samsung Galaxy S4 | Stock unrooted (for now)
Tablet: ASUS Nexus 7 | SmoothROM
 
beekay201
Old
(Last edited by beekay201; 21st April 2012 at 10:13 PM.)
#6  
beekay201's Avatar
Senior Member
Thanks Meter 942
Posts: 4,049
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
maguro/custom-JDQ39/custom#3.0.31/XXLJ1
manta/CM10.1/trinity#TX36-GPU620-4.2.2-ANY
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)

NVflash for TF201 bootloader-unlocked devices

cm-sgsmtd KANG discussion thread here
 
Theshawty
Old
#7  
Theshawty's Avatar
Senior Member - OP
Thanks Meter 2932
Posts: 10,455
Join Date: Feb 2011

 
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.

Main phone: Samsung Galaxy S4 | Stock unrooted (for now)
Tablet: ASUS Nexus 7 | SmoothROM

THREAD CLOSED
Subscribe

XDA PORTAL POSTS

Voice Control Your Phone with Tasker and AutoVoice – XDA Developer TV

XDA Developer TV Producer Kevin set up his phone to respond to … more

Guide to Take Better Control of Your Volume Levels

Would you like to know one of the things that really annoys me on a daily basis? Tough, … more

Get the Android 4.2.2 Status Bar on Your Gingerbread-Based Samsung

There are still quite a few of folks who run Gingerbread on their … more

Responses From Ubuntu Pouring Into Ubuntu Touch Q&A Thread

Ubuntu has become the most successful *nix distribution for a number of reasons, … more