Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I have installed Root Explorer on my HTC G12 phone. When try to view /init.rc, it shows 'No root privilege' and ask me to root my phone.

It seems Root Explorer didn't run as root (or this process is not added to some group with storage access). And, it seems on a non-rooted device, when the phone boots up, we are logged in as a non-root user.

Where does Android control the log-in user's privilege level? Is it in the init process?

share|improve this question

2 Answers 2

The log in user is always a user. You have to invoke su to run specific commands as the root user, and su will not work unless you have rooted your device to gain access to the root account (imagine it's password prtoected and you have to crack the password). To gain root access on your device, check out How do I root my device?

Root Explorer and similar apps will automatically invoke su when they are able to. The SuperUser app can be used to control access to su, so that you don't have to worry about rogue applications elevating themselves beyond your user permissions.

share|improve this answer

Here You have some info about root on android device and how to get it: http://www.reddit.com/r/Android/comments/dfy5x/all_how_to_root_your_android_phone/

As far as I see You have HTC Desire phone. It looks that easiest way to get root is to run program from this website: http://unrevoked.com/

share|improve this answer
2  
Could your provide more than just a link? Complete rooting instructions aren't necessary, but a summary would be good. Just so that your answer doesn't become useless if the link stops working. –  Matthew Read May 14 '11 at 15:30

protected by Community Nov 4 '13 at 2:52

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.