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?
You need to go to settings then developers options and enable root access to adb.
Sent from my Galaxy Nexus using xda premium
jhernand1102 said:
You need to go to settings then developers options and enable root access to adb.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Not running CM9 anymore, though, but I have no such option? I'm running stock.
Theshawty said:
Not running CM9 anymore, though, but I have no such option? I'm running stock.
Click to expand...
Click to collapse
*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
bk201doesntexist said:
*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
Click to expand...
Click to collapse
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?
If youre talking about stock, Kernel/boot.img is secure
But it should work.
Sent from my i9250 using Forum Runner
bk201doesntexist said:
If youre talking about stock, Kernel/boot.img is secure
But it should work.
Sent from my i9250 using Forum Runner
Click to expand...
Click to collapse
I've never understood what the difference between "secure" and "insecure" boot.img is.
Related
OK I know this problem has been posted hundreds times before but i've read several of them but still can't find out what i did wrong. SO: I got my G2 rooted with S-OFF as i looked in the bootloader. I rooted the phone using rage method. So if i have my S-OFF that's obviously that i am rooted right?
And I definitely have my adb set up right cuz i could not root my phone if i didn't have adb set up. The question is Why every time I try to do adb remount, it will keep saying remount failed operation not permitted.
Even when I try doing adb shell and su it would say access denied too.
Just a little frustrating, What can i do to fix this?
wang1404 said:
OK I know this problem has been posted hundreds times before but i've read several of them but still can't find out what i did wrong. SO: I got my G2 rooted with S-OFF as i looked in the bootloader. I rooted the phone using rage method. So if i have my S-OFF that's obviously that i am rooted right?
And I definitely have my adb set up right cuz i could not root my phone if i didn't have adb set up. The question is Why every time I try to do adb remount, it will keep saying remount failed operation not permitted.
Even when I try doing adb shell and su it would say access denied too.
Just a little frustrating, What can i do to fix this?
Click to expand...
Click to collapse
I am not %100 if this is your problem but i think you need ENGINEERING HBOOT
to run adb commands ,you can do it by reading the wiki http://forum.xda-developers.com/wik...Z.2FG2.2FDHD.29_-_OPTIONAL_and_UNNECESSARY.21
But if you want to do it be very very carefull becasue if you do it wrong you will brick your phone and there is no way back
S-OFF is different from having your phone rooted, so it sounds like your rooting hasn't worked. If you have S-OFF and the eng hboot, you could use fastboot to flash Clockwork recovery and then install a custom pre-rooted ROM.
Or you will need to go through the rooting procedure again to see what has gone wrong.
Sent from my HTC Desire Z
If that's the case that my phone hasn't been rooted. My rom manager worked. I flashed clock work successfully and I did checked that I had it by rebooting into recovery. I even used n1 torch high brightness to make sure I was rooted. Then extra step was asking su in my terminal emulator too. But I still had hboot.img tho. Should I do an engineering hboot ?
Sent from my Nexus One using XDA App
steviewevie said:
Or you will need to go through the rooting procedure again to see what has gone wrong.
Click to expand...
Click to collapse
I did notice that while I was rooting. A command said no such file or directory. So I wonder if that was it? I thought it was supposed yo happen tho lol
Sent from my Nexus One using XDA App
wang1404 said:
If that's the case that my phone hasn't been rooted. My rom manager worked. I flashed clock work successfully and I did checked that I had it by rebooting into recovery. I even used n1 torch high brightness to make sure I was rooted. Then extra step was asking su in my terminal emulator too. But I still had hboot.img tho. Should I do an engineering hboot ?
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
If you can boot into CWM recovery just flash a custon rom they all have root built into them.
joemm said:
If you can boot into CWM recovery just flash a custon rom they all have root built into them.
Click to expand...
Click to collapse
It's my wifes phone so I don't wanna do something too complicated for her. I mean the easier for her to use the phone the better. But will that fix the problem? Adb remount problem? If yes than hell yeah I would flash cyan right away lol.
Sent from my Nexus One using XDA App
wang1404 said:
It's my wifes phone so I don't wanna do something too complicated for her. I mean the easier for her to use the phone the better. But will that fix the problem? Adb remount problem? If yes than hell yeah I would flash cyan right away lol.
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
Should fix any problems with mounting, heres a link for a stock rooted rom, so she wont be able to tell the diffrence, also since you can boot into CWM recovery make a backup of your current rom before flashing this:
http://forum.xda-developers.com/showthread.php?t=836042
joemm said:
Should fix any problems with mounting, heres a link for a stock rooted rom, so she wont be able to tell the diffrence, also since you can boot into CWM recovery make a backup of your current rom before flashing this:
http://forum.xda-developers.com/showthread.php?t=836042
Click to expand...
Click to collapse
The ADB remount command requires the ro.secure property to be set to 0 (even if you are rooted). If you want to remain on the stock ROM, flashing the linked ROM will do it for you (and is way easier than doing it yourself manually). Most (if not all) of the custom ROMs will set this property for you if you wanted to try others as well.
Thank you guys very much. I never faced this problem before since my n1 was rooted and flashed rom using the phone not adb our anything related to computer.so thanks guys. Case closed. Happy me lol
Sent from my Nexus One using XDA App
I am trying to remove the SPG.apk (I believe that's Verizon's tether block application) from a stock rom that is already installed on my phone. I tried using root explorer however it won't let me. I believe there is a way to use adb to do this? If so, what would the command lines be?
use
Code:
adb uninstall <package name>
mark manning said:
I am trying to remove the SPG.apk (I believe that's Verizon's tether block application) from a stock rom that is already installed on my phone. I tried using root explorer however it won't let me. I believe there is a way to use adb to do this? If so, what would the command lines be?
Click to expand...
Click to collapse
To delete anything off the /system partition in root explorer, you need to mount the it r/w first. There is a button on the top that should say "Mount R/W". You need to press that before deleting anything.
Root Explorer will let you remove anything you want.
Provided you click the Mount R/W button in the top right first.....
Are you rooted?
Sent from my Galaxy Nexus using XDA App
staticx57 said:
Are you rooted?
Sent from my Galaxy Nexus using XDA App
Click to expand...
Click to collapse
He's gotta be if he's running root explorer. It won't run if you don't have root.
Def rooted, however removing the app I listed below just messed things up. Anybody know how to remove the Verizon tether block without installing a custom rom
Sent from my Galaxy Nexus
efrant said:
He's gotta be if he's running root explorer. It won't run if you don't have root.
Click to expand...
Click to collapse
I wasn't sure if root explorer would function as a normal file manager without root. Especially considering he said he is running s stock rom.
Sent from my Galaxy Nexus using XDA App
staticx57 said:
I wasn't sure if root explorer would function as a normal file manager without root. Especially considering he said he is running s stock rom.
Sent from my Galaxy Nexus using XDA App
Click to expand...
Click to collapse
Nope. It won't run without root. The developer has another file explorer called "Explorer" as opposed to "Root Explorer", and that one runs without root.
Hello all, I tried searching through some threads but couldn't find anything. I have racings ics build on my phone and I was able to install superuser but for some reason when I try to open root explorer or TB the prompt to allow the apps doesn't show up. I've tried updating superuser and wiping cache and fixing permissions. Has anyone had this problem?
Sent from my Xoom using Tapatalk
Flash this
http://goo-inside.me/superuser/Superuser-3.0.7-efghi-signed.zip
or direct link from the source http://downloads.androidsu.com/superuser/Superuser-3.0.7-efghi-signed.zip
Thanks for your help guys that did it, I was getting pretty frustrated haha
Sent from my Xoom using Tapatalk
btbaker2008 said:
Thanks for your help guys that did it, I was getting pretty frustrated haha
Sent from my Xoom using Tapatalk
Click to expand...
Click to collapse
i know this has been answered, but for future - did you check the settings in SuperUser?
there is a way change how/when they appear.
Yeah I checked that and messed atound with the prompt settibg and ut didn't do anything. Flashing the new superuser file provided fixed it though
Sent from my SAMSUNG-SGH-I727 using Tapatalk
I have flashed that SuperUser app more than 20 times but it still doesn't install. CWM says installation is successful, but it doesn't pop up.
aranurea said:
I have flashed that SuperUser app more than 20 times but it still doesn't install. CWM says installation is successful, but it doesn't pop up.
Click to expand...
Click to collapse
Same here
Will this mod posted at the original inc. work for our phone as well?
http://forum.xda-developers.com/showthread.php?t=1621808
Before I flashed it I figured I would see if anyone tried it out.
It shouldn't hurt anything to try it. Just do a backup in recovery first then flash. If you have any problems you can easily go back that way. Only way to know for sure if it'll help with battery life is to try it. There should be no ill effects with doing so. Worst case scenario would be a bootloop in which case you have your backup. Next worse case... It does nothing for you.
Sent from my ADR6350 using xda premium
Ok Cool. I wasn't sure what negative things could happen if I flashed it. Thanks for clearing that up for me. I'm going to flash it tomorrow and see how it goes.
Just fyi, I went a head and set it up on mine with no issues. Can't say anything for battery life yet, too early to tell.
Sent from my ADR6350 using xda premium
I just flashed it on MIUI no problems, but I don't think it is compatible with this rom.
I ran "grep busybox /init.rc" in terminal and it is giving me permission denied.
I am assuming MIUI is not support "init.d".
Do you know if your cm 7.2 is supported by this?
kubes069 said:
I just flashed it on MIUI no problems, but I don't think it is compatible with this rom.
I ran "grep busybox /init.rc" in terminal and it is giving me permission denied.
I am assuming MIUI is not support "init.d".
Do you know if your cm 7.2 is supported by this?
Click to expand...
Click to collapse
Type su before the command. I believe miui has init.d support though. I've never run it myself though. But I think it does.
Sent from my ADR6350 using xda premium
CondemnedSoul said:
Type su before the command. I believe miui has init.d support though. I've never run it myself though. But I think it does.
Sent from my ADR6350 using xda premium
Click to expand...
Click to collapse
Just did the su command and still giving permission denied.
Maybe I need to fix permissions, I'm not too sure.
kubes069 said:
Just did the su command and still giving permission denied.
Maybe I need to fix permissions, I'm not too sure.
Click to expand...
Click to collapse
When you put in the command, did you get a superuser popup or permission granted notification?
Sent from my Incredible 2 using Tapatalk 2 Beta-5
Yes, I got the pop up and i granted it access. I was still getting permission denied in some lines when i typed in the codes in the terminal.
It made minimal improvement if any at all for me.
Amphibliam said:
It made minimal improvement if any at all for me.
Click to expand...
Click to collapse
What rom are you running?
And did you run those codes to see if it stuck? I'm just trying to make sure I'm doing this right lol.
kubes069 said:
Yes, I got the pop up and i granted it access. I was still getting permission denied in some lines when i typed in the codes in the terminal.
Click to expand...
Click to collapse
Probably means your ROM doesn't support init.d, the OP in the thread you linked said to use dsixda's kitchen, try finding that with google.
Sent from my Incredible 2 using Tapatalk 2 Beta-5
So i was going to flash over a 4.4 rom to my Galaxy nexus, but since i was very tierd i didn't pay to much attention to what i was doing. I flashed in the rom but forgot to flash in the gapps, and for some reason CWM got deleted. So now im running 4.4 with no gapps and no CMW. And that's not all.. the worst thing is that my usbport seems to be broken, i can't connect with usb to my computer so i cant put anything on the phone.
Is there anyway i can fix this problem? Or is my nexus officialy dead :crying:
If you have the Play Store app, or a browser so that you can get to the Play Store, and you still have root, you could download two free apps: Goo Manager, which has ROMs and gapps which you can download, and Recovery Tools, which allows you to flash CWM or TWRP.
Sent from my VZW Galaxy Nexus using xda app-developers app
If your usb port is dead, you may not be in a great situation. Your best bet if it works, is to go into fastboot and flash recovery again.
If you are rooted but have broken USB you have other options. You could sideload apps, transfer via wifi or just browse to them on the internet (not sure if your ROM came with a browser). An app that can install a custom recovery would be ideal, Goo Manager, ROM Manger, or something like that (maybe there are better options here, I am a little out of the loop on these apps). You could also download the proper GApps.
If you aren't rooted and you don't have functional USB, you indeed may have an issue. Fixing the USB may be your only solution.
cupfulloflol said:
If your usb port is dead, you may not be in a great situation. Your best bet if it works, is to go into fastboot and flash recovery again.
If you are rooted but have broken USB you have other options. You could sideload apps, transfer via wifi or just browse to them on the internet (not sure if your ROM came with a browser). An app that can install a custom recovery would be ideal, Goo Manager, ROM Manger, or something like that (maybe there are better options here, I am a little out of the loop on these apps). You could also download the proper GApps.
If you aren't rooted and you don't have functional USB, you indeed may have an issue. Fixing the USB may be your only solution.
Click to expand...
Click to collapse
Im not sure if im rooted actually. I think im still rooted tho. But the problem is that i cant install any apks for some reason.
Eskimox said:
Im not sure if im rooted actually. I think im still rooted tho. But the problem is that i cant install any apks for some reason.
Click to expand...
Click to collapse
What happens when you try?
Eskimox said:
Im not sure if im rooted actually. I think im still rooted tho. But the problem is that i cant install any apks for some reason.
Click to expand...
Click to collapse
you are enabling third party apps through the developers settings right?
Eskimox said:
Im not sure if im rooted actually. I think im still rooted tho. But the problem is that i cant install any apks for some reason.
Click to expand...
Click to collapse
Which ROM are you currently on? SlimKat, Dreams or A taste of KitKat?
Metalero9389 said:
you are enabling third party apps through the developers settings right?
Click to expand...
Click to collapse
Yes i am, still dosen't work to install any apps. I dont think you can install any apps if you dont have gapps.
RajatPatel said:
Which ROM are you currently on? SlimKat, Dreams or A taste of KitKat?
Click to expand...
Click to collapse
I am on Dreams.
Eskimox said:
Yes i am, still dosen't work to install any apps. I dont think you can install any apps if you dont have gapps.
I am on Dreams.
Click to expand...
Click to collapse
You can try ADB over WiFi if you can confirm you are rooted.
Download the file flash_image in your PC from here and also download CWM recovery from here and then follow these steps:
Extract the flash_image.zip to a folder name say XYZ
Then in your phone, goto developers option and enable ADB over network. Make sure your PC and Mobile are on same WiFi network. After you enable it, you will get and ip:host (e.g 192.168.x.x:5555)
Now on your PC, copy both downloaded files to XYZ folder and do a shift+right click and select "Open Command Window here" and execute following code.
Code:
adb connect 192.168.x.x:5555
adb root
adb push flash_image /data/local
adb shell chmod 777 /data/local/flash_image
adb push recovery-clockwork-touch-6.0.4.3-maguro.img /data/local/
adb shell chmod 777 /data/local/recovery-clockwork-touch-6.0.4.3-maguro.img
adb shell /data/local/flash_image recovery /data/local/recovery-clockwork-touch-6.0.4.3-maguro.img
If this goes successful, your recovery is back. Try rebooting to recovery to confirm that.
Wish you luck :good:
P.S The issue is caused due to ROM as it this particular ROM flashes stock recovery over your custom recovery :silly:
RajatPatel said:
You can try ADB over WiFi if you can confirm you are rooted.
Extract the flash_image.zip to a folder name say XYZ
Then in your phone, goto developers option and enable ADB over network. Make sure your PC and Mobile are on same WiFi network. After you enable it, you will get and ip:host (e.g 192.168.x.x:5555)
Now on your PC, copy both downloaded files to XYZ folder and do a shift+right click and select "Open Command Window here" and execute following code.
Code:
adb connect 192.168.x.x:5555
adb root
adb push flash_image /data/local
adb shell chmod 777 /data/local/flash_image
adb push recovery-clockwork-touch-6.0.4.3-maguro.img /data/local/
adb shell chmod 777 /data/local/recovery-clockwork-touch-6.0.4.3-maguro.img
adb shell /data/local/flash_image recovery /data/local/recovery-clockwork-touch-6.0.4.3-maguro.img
If this goes successful, your recovery is back. Try rebooting to recovery to confirm that.
Wish you luck :good:
P.S The issue is caused due to ROM as it this particular ROM flashes stock recovery over your custom recovery :silly:
Click to expand...
Click to collapse
wow this might work. I just have one problem, i cant find the option you are talking about. Are you sure its accessible without having to install any apps. I have been looking around on the internet and most people seems to be using some kind of app to access that option.
Eskimox said:
wow this might work. I just have one problem, i cant find the option you are talking about. Are you sure its accessible without having to install any apps. I have been looking around on the internet and most people seems to be using some kind of app to access that option.
Click to expand...
Click to collapse
Its in settings itself. If you can't see developers option in your settings, then goto setting > about phone and tap 5 times on "build number"
RajatPatel said:
Its in settings itself. If you can't see developers option in your settings, then goto setting > about phone and tap 5 times on "build number"
Click to expand...
Click to collapse
no yeah i know that, but i cant find the setting to activate to ADB over network.
Eskimox said:
no yeah i know that, but i cant find the setting to activate to ADB over network.
Click to expand...
Click to collapse
Here is a screenshot that might help you.
Sent from my Galaxy Nexus using xda app-developers app
RajatPatel said:
Its in settings itself. If you can't see developers option in your settings, then goto setting > about phone and tap 5 times on "build number"
Click to expand...
Click to collapse
RajatPatel said:
Here is a screenshot that might help you.
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
I guess im not rooted then coz i cant find that setting
Eskimox said:
I guess im not rooted then coz i cant find that setting
Click to expand...
Click to collapse
Can you see root access option just over these debugging options? If yes, then select apps and adb
Sent from my Galaxy Nexus using xda app-developers app
There is an APK somewhere on the web which installs any gapp you pick in android right away.
Unfortunately, it doesnt work in 4.4
Sent from my Galaxy Nexus using xda app-developers app
Actually the apk for gapps android installer is working for 4.4 . I can send it to you, if you want.
Sent from my Galaxy Nexus using xda app-developers app