[Q] Use root rights - Desire Q&A, Help & Troubleshooting

I've some basic questions about rooting:
I've already rooted my HTC Desire and it seems to work.
Did I understand correctly that the application itself has to ask for superuser rights to get root? I cannot grant it myself?
It download a console emulator application and tried to get root with
sudo su
and it did not work. I guess this is because the application did not ask for root privileges, when it started?

It should be automatic, does not have to be at startup of the app.
Download a proper terminal emulator (i use 'Android Terminal Emulator') type 'su' and hit enter, you should get the notification about superuser rights. Unless it's the first time, than you get a pop up that asks for permission.

Related

Can't flash AmonRA?

Hey guys I'm trying to flash Amon RA v 1.8 on my phone, put it in the root of my sdcard opened terminal emulator and typed su, but it said 'permission denied'
my phone is rooted, i have superuser permissions under my apps, i was able to use set cpu, i dont understand whats wrong, suggestions?
Sounds like you may be rooted but not Nand unlocked. You should give more information as to what method you did to achieve root, what hboot, etc...
one person told me the same and that i needed the PC36IMG zip file and that i would be good. my method of rooting was installing the hboot drivers and then using unrevoked.
i booted in recovery with clockwork and did a NAND backup assuming then that NAND was unlocked lol but i guess not so i tried doing some research into the NAND unlocking and i have no idea what this adb shell thing is, is this the problem though with flashing amon RA?
Try giving terminal emulator su permission. Tap supermissions apk and enable terminal emulator.
if you mean go to the superuser permission app and check whats allowed/denied terminal emulator isnt there, only wifi tethering set cpu and titanium backup are there
R1pTheJacka said:
if you mean go to the superuser permission app and check whats allowed/denied terminal emulator isnt there, only wifi tethering set cpu and titanium backup are there
Click to expand...
Click to collapse
In terminal emulator settings check start as root, then restart it, and then when supermissions prompts you give terminal emulator root privilege.
there's no setting like that in terminal emulator, i do have another app called 'better terminal emulator', checked those settings and it had the setting you were talking about, but even when i checked that, superuser permissions didnt ask me to allow/deny better terminal emulator
R1pTheJacka said:
there's no setting like that in terminal emulator, i do have another app called 'better terminal emulator', checked those settings and it had the setting you were talking about, but even when i checked that, superuser permissions didnt ask me to allow/deny better terminal emulator
Click to expand...
Click to collapse
Within Better terminal emulator, try the su command.
I used better terminal emulator (bte) to install Amon_Ra's 1.8 and it is in the super user permission white list.

how to get root shell after inputting "adb shell"?

Hello everyone!!!
I want to know if there is a way to get a root shell after obtaining shell prompt using "adb shell".
I tried pushing some files, moving directories into "/data" and type "ls" but linux always gave me a "Permissioin denied" error.
What I want to do is to run a console program which is compiled by ARM compiler in a console mode. So I need to get an access to run a program in console mode of HTC Desire HD.
If you let me know, I will very very appreciate your help.
Thanks in advance.
Type command:
su
Click to expand...
Click to collapse
It will give you root shell if you have a rooted phone.
Um.. I already installed VISIONary. So I guess the phone I got is a rooted one.
Actually I'm a kind of outsiders about smart-phones~~!
So do I need to install some apps to make a rooted phone?
Just installing VISIONary doesn't seem enough.. right?
Visionary temproot or permroot is enough, just type "su" in adb shell.
Despite that I installed VISIONary, run permroot and reboot my phone, su doesn't give root shell.
I don't know why
do you know what root shell is? when you type su if a # appears on the next line ur logged into root
AndroHero said:
do you know what root shell is? when you type su if a # appears on the next line ur logged into root
Click to expand...
Click to collapse
Sure.
I got root shell afterwards.
Thank you~~~!

[Q] Rooted G2 but no SuperUser permission

I already posted this question in another thread but I figured this is the appropriate place for this question:
I'm a bit of a newb when it comes to rooting, but I ran into some trouble while I was perm rooting my g2 and I haven't been able to find a solution. I was following the temp to perm root method that g2hacks.com broke down simple, (g2hacks(dot)com/g2-hacks/how-to-root-g2-phone. While watching thier youtube video, I made it all the way to step 18 typing "/data/local/tmp/root" into terminal emulator. But right after I hit enter, a bunch of lines of errors popped up saying ""killall: can't kill pid 7891: No such process" all the way up to pid 7926. I continued anyway with #sync, and after I rebooted my phone I tried to use superuser but when I type "su" into terminal emulator it says permission denied. It looks like the phone is rooted cause now instead of the "#" prompt in terminal emulator it first starts with "$ $ " then goes to "$" after I try to do something. What went wrong, and how do I get it to work? Am I able to do everthing over again, or should I try again from a later step? Please help! Even if someone can tell me it won't hurt to do it all over again, that would be great. Thanks
If you don't have SU permissions, you aren't rooted.
I would guess you need to start over, but I'm not familiar with the procedure on the webpage you posted. I would recommend using the rage/gfree method. I think many/most on here agree its the safest and most up-to-date method:
http://forum.xda-developers.com/wiki/index.php?title=HTC_Vision#Rooting_the_Vision_.28G2.2FDZ.29_and_DHD

[Q] factory reset after permroot....still rooted or not !!!

after permroot i did factory reset and then the visionary app and superuser app went away. now even after reinstalling both of them my proxy app doesnt work , it gives an error saying failed to start redirect.sh (permission denied) . now is my DHD still rooted or not , if it is still rooted then how can i make the proxy app work ?
thanks
try to root using visionary again, if you are rooted at the moment simply nothing will happen if you use it
Edit; You shouldn't have lost root by factory reset alone, but stranger things have happened. Not sure about the proxy app.
DL Superuser again (or as suggested/implied), reintall the Visionary will install Superuser as well.
Certain apps need required SU permissions from Superuser. When prompted by Superuser, grant SU rights to that app you are running.
Alternatively;
1. DL & install Superuser & Terminal Emulator from the Market
2. Run Terminal emulator
3. Type "su"
4. When prompted give superuser rights
5. Terminal Emulator prompt will change to "#" if you still have root
Edit: If you still have root & Superuser permission for the proxy app, try reboot in CWM Recovery & "fix permissions". You can do from within ROM Manager, but I prefer to do in CWM Recovery when the phone hasn't booted the partitions.
Make a backup in CWM Recovery prior to doing anything.
Just sharing.. once I accidentally denied the permission to root access for one app and the setting was to remember it. It took me a while before I realized this and change it in superuser setting.
i tried the terminal emulator and after typing su it said permission denied , and yeah my titanium backup isnt working coz it says dat it needs root now.
Yep, you lost root.
Try visionary again, and make sure superuser rights are given when asked by superuser.
Sent from my Desire HD using XDA App

[Q] superuser permission

I have rooted my evo. I have S-off. I flashed cm7 and everything is working great. The only problem is when I open terminal emulator app. I type in su, and it tells me "superuser permission denied" There is a $ sign on every line also. From what I understand, I should be seeing a # sign. I have also installed BusyBox. Is there anyway to get superuser permission on terminal emulator?
ebnug said:
I have rooted my evo. I have S-off. I flashed cm7 and everything is working great. The only problem is when I open terminal emulator app. I type in su, and it tells me "superuser permission denied" There is a $ sign on every line also. From what I understand, I should be seeing a # sign. I have also installed BusyBox. Is there anyway to get superuser permission on terminal emulator?
Click to expand...
Click to collapse
From what i understand, you will have a $ sign until SU permission is granted, then it turns to a #.. Have you tried opening Superuser and seeing if terminal has a green light/dot next to it?
Terminal emulator is not on my allowed list in superuser. I was never prompted to allow permission to terminal. I even uninstalled terminal and downloaded it again from the market and after i opened it, I was not prompted to allow permission from superuser. Is there anyway to add terminal on the allowed list in superuser, because I cant see anyway to add it. Or would there be another reason permission on terminal is denied?
ebnug said:
Terminal emulator is not on my allowed list in superuser. I was never prompted to allow permission to terminal. I even uninstalled terminal and downloaded it again from the market and after i opened it, I was not prompted to allow permission from superuser. Is there anyway to add terminal on the allowed list in superuser, because I cant see anyway to add it. Or would there be another reason permission on terminal is denied?
Click to expand...
Click to collapse
Have you tried looking on superuser's log to see if it is even trying to request permission? If not, can you try another terminal program?
Sent from my PC36100 using xda premium
So I downloaded Better emulator pro. And under preferences, I selected "start as root" and was prompted to allow superuser permissions. When I open better emulator I see the # symbol, but when I type in su, it responds: not found. Any suggestions?

Categories

Resources