issue with SU - myTouch 4G Q&A, Help & Troubleshooting

It says im rooted, but it isnt giving my SU persmission. Says its being Denied even with S = off, any idea what this could be?

We are not mind readers or phone whisperers here. Can you be more specific? Where does "it" "says" that you're denied su, term emulater? What rom? What actions did you take?

Install "Super User" from the market

borodin1 said:
We are not mind readers or phone whisperers here. Can you be more specific? Where does "it" "says" that you're denied su, term emulater? What rom? What actions did you take?
Click to expand...
Click to collapse
Makes good points. you need to help us, help you
option94 said:
Install "Super User" from the market
Click to expand...
Click to collapse
I'd recommend downloading and running VISIONary.apk. make sure the set system to r/w AND run VISIONary.sh are both checked. Click "temp root", wait for it to finish the click "permaroot now". wait for the device to reboot and try it. That will install the "Super User" program, as option94 mentioned.. . just go to the Term Emulator and type "su" / hit enter, them make sure the $ changes to a #.

You guys are awesome, everything works!
Sent from my HTC Glacier using XDA App

Related

Quick way to check if rooted?

I did the rooting process, but I'm not sure if it worked. I have the Superuser Permissions app if that counts for anything, which I have read means that I did root it correctly but I just want to double check.
Try downloading terminal emulator and type in "su" and if that box comes out of allow of don't allow click allow and u know if ur rooted
Sent from my Liberty using XDA App
Javi97100 said:
Try downloading terminal emulator and type in "su" and if that box comes out of allow of don't allow click allow and u know if ur rooted
Sent from my Liberty using XDA App
Click to expand...
Click to collapse
Ok I downloaded it typed su then it said allow or deny and i allowed, so I am rooted?
just to clarify, if youre gonna use Terminal to check Root run Terminal, allow permission, and type SU as Javi97100 states.... now if in Terminal it shows # sign after entering SU, then you have root.
i do believe however, if "Superuser Permissions" is in the apps list Root has been achieved
zedbra said:
just to clarify, if youre gonna use Terminal to check Root run Terminal, allow permission, and type SU as Javi97100 states.... now if in Terminal it shows # sign after entering SU, then you have root.
i do believe however, if "Superuser Permissions" is in the apps list Root has been achieved
Click to expand...
Click to collapse
Great thanks. What would you recommend now, I flashed before but I didn't do it right I think. Should I try flashing again and what do I do before hand.
Sent from my HTC Liberty using XDA App
vicmora5 said:
Great thanks. What would you recommend now, I flashed before but I didn't do it right I think. Should I try flashing again and what do I do before hand.
Sent from my HTC Liberty using XDA App
Click to expand...
Click to collapse
Why don't you think you did it right? Do you see the "superuser permissions" app in the app drawer/list? When you type "su" in the terminal emulator do you get a hash mark (#) instead of a $?
I think maybe he's talking about flashing a custom rom.
Check out my guide here
http://www.motoxtreme.info/showthread.php?t=9768
zervic said:
Why don't you think you did it right? Do you see the "superuser permissions" app in the app drawer/list? When you type "su" in the terminal emulator do you get a hash mark (#) instead of a $?
Click to expand...
Click to collapse
This is how it looks
Code:
export PATH=/data/local/bin:$PATH
$ $su
#
Is that right?
Yes, you are rooted.
zervic said:
Yes, you are rooted.
Click to expand...
Click to collapse
Alright thanks what's first thing before flashing make a nandroid backup right?
Sent from my HTC Liberty using XDA App
vicmora5 said:
Alright thanks what's first thing before flashing make a nandroid backup right?
Sent from my HTC Liberty using XDA App
Click to expand...
Click to collapse
Yep, boot into recovery and do a nandroid backup.
tpbklake said:
Yep, boot into recovery and do a nandroid backup.
Click to expand...
Click to collapse
Ok and after that all it is is flashing with which ever ROM I choose and if I don't like it I can just restore with the nandroid backup up and it'll be like nothing happened right?
Sent from my HTC Liberty using XDA App

Rooted but s is on?

Alright im kinda of new to the mytouch 4g scene. However im have a good understanding of what is going on,just not with the 4g lol.here's my problem I bought this phone off ebay and I went to root it and it said already rooted. I get all super user permission even after turning phone of on and off. When I go to check if s is off it is on? What's going on is this phone only temp rooted? If so how do i perm root i know there are many methods just want to know the best. Its 2.2.1. Thanks in advance. If
Sent from my SGH-T959 using XDA App
Vjarndt said:
Alright im kinda of new to the mytouch 4g scene. However im have a good understanding of what is going on,just not with the 4g lol.here's my problem I bought this phone off ebay and I went to root it and it said already rooted. I get all super user permission even after turning phone of on and off. When I go to check if s is off it is on? What's going on is this phone only temp rooted? If so how do i perm root i know there are many methods just want to know the best. Its 2.2.1. Thanks in advance. If
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
It seems like your already perm rooted. But, s off is required for u to flash custom roms.
Sent from my HTC Glacier using XDA App
Thanks. I just pushed the root file and it turned it off. I was praying for a min. Lol
Sent from my SGH-T959 using XDA App
Vjarndt said:
Thanks. I just pushed the root file and it turned it off. I was praying for a min. Lol
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
Good job
Sent from my HTC Glacier using XDA App
Vjarndt said:
Thanks. I just pushed the root file and it turned it off. I was praying for a min. Lol
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
How did you push the root file? I'm stuck on the same thing!
PostaHTC I see you made alot of posts I am guessing you just did TempROOT and you didn't invokes the sh command. Did you download the root.sh? If so after TempROOT to get PermROOT from console type in sh <file> make sure you have root dir under /sdcard
I've done it step by step and still nothing I just got it out the box 2days ago so I just did a hard reset I'm just waiting on someone to tell me what I am doing wrong
Can you tell me exactly what to do because I rooted my 1st myTouch but this one is acting crazy! I have all the files /sdcard my question is when you temp-Root the phone do you type the commands then perm-root? Like I'm lost
Well since you are up to the PermROOT I take it you have TempROOT, if so as you saying you have root.sh in root dir inside /sdcard so it would look like /sdcard/root/root.sh for the absolute path. Also you have console right? If not go download Terminal Emulator. Then type in "su" and press enter SU=Super User or @wheel,root permission base. Then use "cd /sdcard/root" press enter CD = Change Directory. Then do "sh root.sh" and press enter as sh is shall execute command. So it would look like this below:
su
cd /sdcard/root
sh root.sh
Now just do restart and make sure you have S=OFF as you will see it on top in HBoot screen. When you are back on go open Visionary+ and unclick TempROOT on boot and click TempROOT now. Then look below and click on Attempt PermROOT Now.
STHNS said:
Well since you are up to the PermROOT I take it you have TempROOT, if so as you saying you have root.sh in root dir inside /sdcard so it would look like /sdcard/root/root.sh for the absolute path. Also you have console right? If not go download Terminal Emulator. Then type in "su" and press enter SU=Super User or @wheel,root permission base. Then use "cd /sdcard/root" press enter CD = Change Directory. Then do "sh root.sh" and press enter as sh is shall execute command. So it would look like this below:
su
cd /sdcard/root
sh root.sh
Now just do restart and make sure you have S=OFF as you will see it on top in HBoot screen. When you are back on go open Visionary+ and unclick TempROOT on boot and click TempROOT now. Then look below and click on Attempt PermROOT Now.
Click to expand...
Click to collapse
I have everything I need the files and all...I have the files on the SD Card not the root folder When I turn it off it is still saying S-On
Well in that case from console type in
su
mkdir /sdcard/root
mv /sdcard/root.sh /sdcard/root/
cd /sdcard/root
sh root.sh
If you don't want to do it manually then you can do it easily via FileExp go use Astro or Root Explorer. From what you are saying I have my money on you didn't properly do TempROOT. I say go do TempROOT again then try what I suggested for PermROOT.
UPDATE: Here I found you Youtube videos how to do step by step.
TempROOT> http://www.youtube.com/watch?v=gylaXOCNzqU
PermROOT> http://www.youtube.com/watch?v=Sy_aqKoeev4
Use the howto from Theunlockr video posted above it maybe easier for you to follow.
sthns said:
well in that case from console type in
su
mkdir /sdcard/root
mv /sdcard/root.sh /sdcard/root/
cd /sdcard/root
sh root.sh
if you don't want to do it manually then you can do it easily via fileexp go use astro or root explorer. From what you are saying i have my money on you didn't properly do temproot. I say go do temproot again then try what i suggested for permroot.
Update: Here i found you youtube videos how to do step by step.
Temproot> http://www.youtube.com/watch?v=gylaxocnzqu
permroot> http://www.youtube.com/watch?v=sy_aqkoeev4
use the howto from theunlockr video posted above it maybe easier for you to follow.
Click to expand...
Click to collapse
i tried the unlockr it didn't work ugh
Same problem, my device is permanent rooted from visionary but still had s-off after this procedure.
Sent from my HTC Glacier using XDA App
onboard nand flash query for STHNS
Thank you STHNS you said Good news for you lol I looked in to it when I was comparing it with iPad and if I remember correctly the 16gb on Samsung GT is using NAND flash memory from SanDisk""""""
Can you please tell me the size , length, breadth and thickness of the sandisk 16gb inside storage,,
I'm S-On, And I Can Still Flash Custom Roms And Everything.
Slim6 Launcher And Open Gapps 6.0 Nano Are On My Device
Htc One M8
Glad to see something going on here. If you need any assistance, quote me. Have Rooted plenty of these devices
Sent from my One using XDA mobile app

Rooting and su permissions

Assuming I root my Nexus S and install su.
Does any application that wish to use it can just use it or there's some kind of popup that asks me for password or at least confirmation ?
If not sound like a too big of a risk to root
aviramsegal said:
Assuming I root my Nexus S and install su.
Does any application that wish to use it can just use it or there's some kind of popup that asks me for password or at least confirmation ?
If not sound like a too big of a risk to root
Click to expand...
Click to collapse
The superuser app will give you a pop-up and ask for permission. You can set some apps to always have permission, and you can revoke whenever you want through the superuser app. The app is in addition to the binary that actually gives su rights.
Superuser asks permission even for adb from the terminal, so I think it's pretty good protection.
You also get a notification bar or toast message every time an app gets granted su rights.
I don't feel unsafe on my rooted phone.
distortedloop said:
The superuser app will give you a pop-up and ask for permission. You can set some apps to always have permission, and you can revoke whenever you want through the superuser app. The app is in addition to the binary that actually gives su rights.
Superuser asks permission even for adb from the terminal, so I think it's pretty good protection.
You also get a notification bar or toast message every time an app gets granted su rights.
I don't feel unsafe on my rooted phone.
Click to expand...
Click to collapse
All right, sounds decent.
Thank you.
As I observe in my unrooted Nexus S, su comes pre-installed in Nexus S. Unlike Samsung captivate (unrooted) where, if you run su on adb shell, you get 'command not found', in the Nexus S, I received the message 'Permission denied'
Su is not pre installed in the nexus s. If it where then it would be no need to install it as part of the root process.
blahsphemer said:
As I observe in my unrooted Nexus S, su comes pre-installed in Nexus S. Unlike Samsung captivate (unrooted) where, if you run su on adb shell, you get 'command not found', in the Nexus S, I received the message 'Permission denied'
Click to expand...
Click to collapse
jerrycycle said:
Su is not pre installed in the nexus s. If it where then it would be no need to install it as part of the root process.
Click to expand...
Click to collapse
[email protected] is your phone an out of the box new purchase? If you really do have su installed already, you might have gotten someone's returned unit.

[Q] Questions galore on rooting MT4G!

Hi everyone,
I have a MT4G, 2.2.1, kernel 2.6.32.21-g899d047. I am using Windows 7 Ultimate 32-bit.
I want to root the phone but I am meeting a lot of permission issues.
I have been following this guide: http://wiki.cyanogenmod.com/index.php?title=TMobile_myTouch_4G:_Full_Update_Guide
At the very beginning, I had problems with su and Superuser.apk.
I have used 'adb devices' to check that my phone is indeed detected.
I put su and Superuser.apk into the same directory as
When I use 'adb push su /sdcard/su', I receive an error saying 'Failed to copy 'su' to '/sdcard/su': Permission denied. Same error for Superuser.apk.
I looked further down the guide and noticed that I would not actually be using the su and Superuser.apk at all and simply copied it over to the SD card itself when I plug the phone into my computer.
I then go into terminal emulator on the phone and I run rage and received the 'Forked #### childs' message, after which I reset term.
I assume I have root shell at this point because I am no longer on $, but instead on #.
At this point, I am able to adb push gfree (the one file gfree) into /data/local. I am able chmod 777 from adb.
When I go into terminal emulator again, I run '/data/local/gfree -f' but it gives me the error message of '/data/local/gfree: permission denied'
What am I doing wrong? I used 'ls -l' inside the directory of /data/local and I have complete rights for gfree (drwxrwxrwx).
----
I have also attempted to use VISIONary+ (R14) but all it does is flash a couple of times then go back to the app page where you choose to temproot. I check my app drawer and Superuser is indeed there, but if I tried to go into terminal, I am met with $. I tried entering 'su' but it would say unknown user root.
----
PLEASE HELP! THANKS!
Use this method. It's pretty much fool proof.
http://forum.xda-developers.com/showthread.php?t=858996
Are you temp rooting with visionary before entering the commands in terminal?
lowandbehold said:
Are you temp rooting with visionary before entering the commands in terminal?
Click to expand...
Click to collapse
i can haz 10 char
neidlinger said:
Use this method. It's pretty much fool proof.
http://forum.xda-developers.com/showthread.php?t=858996
Click to expand...
Click to collapse
lowandbehold said:
Are you temp rooting with visionary before entering the commands in terminal?
Click to expand...
Click to collapse
As mentioned in OP, I am using the rage file to give me temporary root. I am currently not using VISIONary because (also included in OP) I am not getting root shell at all with VISIONary. I click temproot in VISIONary and the superuser app shows up but I am unable to su in Terminal.
Try to find visionary 11, people have alot of problems with 14.
neidlinger said:
Use this method. It's pretty much fool proof.
http://forum.xda-developers.com/showthread.php?t=858996
Click to expand...
Click to collapse
Having trouble at step 1..
'adb push gfree /data/local'
Met with the error 'Failed to copy 'gfree' to '/data/local/gfree': Is a directory'
I extracted the files into platform-tools.
Didn't you already put gfree on your phone from the first attempt?
lowandbehold said:
Didn't you already put gfree on your phone from the first attempt?
Click to expand...
Click to collapse
Yes but I was attempting to follow a whole new guide. Regardless, I have shell root but I am still unable to run gfree. It still shows permission denied (again, using ls -l, I can see that gfree is drwxrwxrwx).
Use visionary 11. I have rooted 4 MT4G's with that guide and visionary 11...It works.
before you attempt a new rooting method please pull the battery and let the phone sit for a few moments. Since your s-on it will delete any unwanted files that you may of tried to push to the phone.
and type in
Code:
adb kill-server
adb start-server
That will refresh the adb server on your computer.
you'll also need to change the directory to the folder where you stored the gfree files.
double post...sorry
lowandbehold said:
Use visionary 11. I have rooted 4 MT4G's with that guide and visionary 11...It works.
Click to expand...
Click to collapse
Yeah, I'm using visionary 11. Still no good.
Are you checking the boxes in visionary and clicking temproot? I don't know what the issue could be...you must be missing something.
lowandbehold said:
Are you checking the boxes in visionary and clicking temproot? I don't know what the issue could be...you must be missing something.
Click to expand...
Click to collapse
I have 'Set system r/w after root' checked. I don't need to check 'Run visionary.sh' and 'Root on boot', do I?
itzbilly said:
I have 'Set system r/w after root' checked. I don't need to check 'Run visionary.sh' and 'Root on boot', do I?
Click to expand...
Click to collapse
RUN VISIONARY.SH : Yes
root on boot : no
neidlinger said:
RUN VISIONARY.SH : Yes
root on boot : no
Click to expand...
Click to collapse
Tried with those settings and now I've lost root shell. I'm on $ and entering su gives me unknown user root.
VISIONary says device is rooted when I try to run it again.
I would check the root on boot, reboot, uncheck it, go into terminal and put in the su command and see what happens...your phone will be really laggy when you boot it up, so give it a minute, it is normal.
lowandbehold said:
I would check the root on boot, reboot, uncheck it, go into terminal and put in the su command and see what happens...your phone will be really laggy when you boot it up, so give it a minute, it is normal.
Click to expand...
Click to collapse
Do i uncheck and then reboot or just uncheck and go straight into terminal?
check everything including the root on boot. Reboot the phone. Then you can go straight into terminal or uncheck it and go into terminal..doesn't matter. Just make sure before you reboot a second time that root on boot is not checked.

[Q] "Application Not Installed " Google Maps v6.2.0

When I try to install this GMaps It always getting "Application not installed" error.I did
1.Backup older Gmaps,Street View then wipe data & Uninstalled both.
2.When I gonna install New GMaps app in the end of installation it show "application not installed"
3.Reboot device & try to install,still getting same result!
What should I do?
Thanks
crazykas said:
When I try to install this GMaps It always getting "Application not installed" error.I did
1.Backup older Gmaps,Street View then wipe data & Uninstalled both.
2.When I gonna install New GMaps app in the end of installation it show "application not installed"
3.Reboot device & try to install,still getting same result!
What should I do?
Thanks
Click to expand...
Click to collapse
Have you tried using adb if not wait for the signed version..
jr_718 said:
Have you tried using adb if not wait for the signed version..
Click to expand...
Click to collapse
Is this code correct
"adb remount
adb push /maps 6.2.0 -mod.apk / system/app"
?
Where should I place the app file?In "platform-tools" folder?
Thank you very much for helping me!
crazykas said:
Is this code correct
"adb remount
adb push /maps 6.2.0 -mod.apk / system/app"
?
Where should I place the app file?In "platform-tools" folder?
Thank you very much for helping me!
Click to expand...
Click to collapse
Our on the right path so far.. But the way I've always used adb I kinda dragged everything to the tools folder...I have the library and everything else there...try putting it on our tools folder and see what happens if not check the platform tools.. Just drop the map apk and try it out.
jr_718 said:
Have you tried using adb if not wait for the signed version..
Click to expand...
Click to collapse
jr_718 said:
Our on the right path so far.. But the way I've always used adb I kinda dragged everything to the tools folder...I have the library and everything else there...try putting it on our tools folder and see what happens if not check the platform tools.. Just drop the map apk and try it out.
Click to expand...
Click to collapse
I tried,but remount was not successful.Remount permission faild.Show"ADB remountperation faild".Why is this?I've rooted & s-off my device.Also
"adb shell
$ su"
NOT GIVING # istead of $.
Why is that?Even root explorer,i can't move apps to system/app (even mount as R/W)!Why is that?
crazykas said:
I tried,but remount was not successful.Remount permission faild.Show"ADB remountperation faild".Why is this?I've rooted & s-off my device.Also
"adb shell
$ su"
NOT GIVING # istead of $.
Why is that?Even root explorer,i can't move apps to system/app (even mount as R/W)!Why is that?
Click to expand...
Click to collapse
Hmm.. even root explorer.. that's strange you mean mount R/W to R/O in root explorer..
from my end i first did c:\androidsdk then was able to adb push etc...what i could suggest is wait for the signed version.. am on samsung galaxy t989, am at work, i can't really access nothing right now to check with you...i have my mytouch 4g at home...i know you have root access because you said you were able to backup and uninstall using titanium backup.. so i guess you have root access...but try the mount r/w to r/o and see what happens...
jr_718 said:
Have you tried using adb if not wait for the signed version..
Click to expand...
Click to collapse
jr_718 said:
Our on the right path so far.. But the way I've always used adb I kinda dragged everything to the tools folder...I have the library and everything else there...try putting it on our tools folder and see what happens if not check the platform tools.. Just drop the map apk and try it out.
Click to expand...
Click to collapse
jr_718 said:
Hmm.. even root explorer.. that's strange you mean mount R/W to R/O in root explorer..
from my end i first did c:\androidsdk then was able to adb push etc...what i could suggest is wait for the signed version.. am on samsung galaxy t989, am at work, i can't really access nothing right now to check with you...i have my mytouch 4g at home...i know you have root access because you said you were able to backup and uninstall using titanium backup.. so i guess you have root access...but try the mount r/w to r/o and see what happens...
Click to expand...
Click to collapse
Aha!Now I can push apks to system/app folder.Now how should I install it?Normal installation does not work,no.Reply me when you can.Thanks
Update-
After reboot unable to copy read permission of something in SYSTEM folder!All the other can R/W.But SYSTEM is only R/O.Oh... I donno what to do.I will wait for signed one as you said.
crazykas said:
Aha!Now I can push apks to system/app folder.Now how should I install it?Normal installation does not work,no.Reply me when you can.Thanks
Update-
After reboot unable to copy read permission of something in SYSTEM folder!All the other can R/W.But SYSTEM is only R/O.Oh... I donno what to do.I will wait for signed one as you said.
Click to expand...
Click to collapse
You can make the system r/w.
Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblk3 /system
i know that's not the exact code but it works just fine for me.
crazykas said:
Aha!Now I can push apks to system/app folder.Now how should I install it?Normal installation does not work,no.Reply me when you can.Thanks
Update-
After reboot unable to copy read permission of something in SYSTEM folder!All the other can R/W.But SYSTEM is only R/O.Oh... I donno what to do.I will wait for signed one as you said.
Click to expand...
Click to collapse
Same way you posted...
jr_718 said:
Same way you posted...
Click to expand...
Click to collapse
It only worked one time.After reboot it does not work.By the way,if you can please answer to these questions.These are my last questions
1.When we gonna flash new rom instruction always say do a Nanandroid backup,no.Still im on rooted froyo.So How to do NANANDROID BACKUP?Where is this option?
On bootloader,rom manager or TB?
2.Do I need busybox?What is busybox?
crazykas said:
It only worked one time.After reboot it does not work.By the way,if you can please answer to these questions.These are my last questions
1.When we gonna flash new rom instruction always say do a Nanandroid backup,no.Still im on rooted froyo.So How to do NANANDROID BACKUP?Where is this option?
On bootloader,rom manager or TB?
2.Do I need busybox?What is busybox?
Click to expand...
Click to collapse
1. You can use Rom manager to backup..
http://forum.xda-developers.com/showthread.php?t=1186090
2. Busybox is a great tool for rooted users. It basically give you more linux / Unix based commands that you normally don't have access to. If you Google busybox you can find more info...
jr_718 said:
Same way you posted...
Click to expand...
Click to collapse
jr_718 said:
1. You can use Rom manager to backup..
http://forum.xda-developers.com/showthread.php?t=1186090
2. Busybox is a great tool for rooted users. It basically give you more linux / Unix based commands that you normally don't have access to. If you Google busybox you can find more info...
Click to expand...
Click to collapse
Hey I just found this app from market
market://details?id=com.beansoft.mount_system
It can mount system folder!Now I can copy apps!Yahooooo!Ah!I've set permission to this Gmaps app & rebooted device.But it is still not visible.But it is in system/app folder How I make this visible/install?
TIA

Categories

Resources