The process of rooting varies widely by device, but usually includes exploiting a security bug(s) in the firmware (i.e. in Android) of the device, and then copying the su binary to a location in the current process's PATH (e.g.
/system/xbin/su
) and granting it executable permissions with the chmod command. A supervisor application like SuperUser or SuperSU can regulate and log elevated permission requests from other applications. Many guides, tutorials, and automatic processes exist for popular Android devices facilitating a fast and easy rooting process.The Google-branded Android phones, the Nexus One, Nexus S, Galaxy Nexus, Nexus 4 and Nexus 5 as well as their tablet counterparts, the Nexus 7 and Nexus 10, can be boot-loader unlocked by simply connecting the device to a computer while in boot-loader mode and running the Fastboot program with the command "fastboot oem unlock".[10] After accepting a warning, the boot-loader is unlocked, so a new system image can be written directly to flash without the need for an exploit.
You’ve probably heard of people “rooting” their Android phones. If you’ve ever wondered how to do that yourself – or wondered why people would bother – you’re in luck. You can root your Android in just a few minutes.
After rooting your device, you have full access to the entire system and can run special types of apps that require root permissions. These apps can disable bloatware, control app permissions, enable tethering, and do lots of other cool things.
What is “Root,” Anyway?
Android is based on Linux. On Linux and other UNIX-like operating systems, the root user is equivalent to the Administrator user on Windows. The root user has access to the entire operating system and can do anything. By default, you don’t have root access to your Android device, and certain apps won’t function without root access.
With root access, you can disable the bloatware that comes with your phone, manually deny app permissions, run a firewall, access the entire file system, or tether your device, even if tethering functionality has been disabled. You’ll find many apps that require root access in the Google Play store (formerly known as the Android Market), although they won’t function until you root your device.
Rooting isn’t mandatory – you only need to root your device if you want to do things that require root access.
Warnings
Before you root your Android phone or tablet, there are a few things you should be aware of:
Warranty – Some manufacturers assert that rooting voids your device’s warranty. However, rooting will not actually damage your hardware. You can “unroot” your device and manufacturers won’t be able to tell if it’s been rooted.
Security – Google Wallet, in particular, has a vulnerability on rooted devices that could allow other apps to access your PIN and other wallet information. Google Wallet displays a warning message if you run it on a rooted device. If you’re one of the few people using Google Wallet for NFC payments, you may want to reconsider rooting your device.
Bricking – Rooting a device is a very safe process. However, there’s always some danger of “bricking” a device when you go outside the normal parameters and hack around with it — particularly if you’re trying to root a device or operating system version not supported by a tool. “Bricking” refers to breaking the device, making it about as useful as a brick. When you root, jailbreak, or install a custom ROM, or otherwise hack around, you do so at your own risk. It’s a good idea to do a little bit of research first and see if other people report success rooting your device.
Setup
The actual rooting process itself should only take a single click. However, you’ll need to do a few quick things first:
Download and install the Java JDK and Android SDK on your computer before continuing. Java must be installed before the Android SDK.
Enable USB debugging on your Android. On the device, go into the Settings screen, tap Applications, tap Development, and enable the USB debugging check box.
Connect your Android to your computer using its included USB cable. Don’t mount the device’s SD card on your computer – just plug it in.
You’ll also need the USB drivers for your phone or tablet installed. SuperOneClick itself should be able to automatically install the appropriate drivers – however, if this fails, you’ll need to download and install the appropriate drivers from the device manufacturer’s website.
Rooting With SuperOneClick
We’ll be rooting with SuperOneClick here. It’s a single-click way to root that supports a wide variety of different devices and should work for most people. If SuperOneClick doesn’t support your Android device, head over to the Android Development and Hacking forums at XDA Developers. There are subforums for most Android devices – type your device’s name into the search box and you’ll probably find information from other people that have successfully rooted it, perhaps by using another tool.
You can find download links for SuperOneClick at shortfuse.org, SuperOneClick’s official website. After downloading it, run the SuperOneClick.exe application.
Click the Root button in the SuperOneClick window and SuperOneClick should do the rest.
The process will take a few minutes. If you run into a problem, you might want to check the XDA Developers forum for your device, which we mentioned above, or run a Google search.
Restart your Android after rooting it.
Superuser
SuperOneClick automatically installs the SuperUser binary, which is also available from Google Play. Whenever an app on your device attempts to gain root permissions by calling the su command (just like calling the su command on Linux) you’ll be prompted to allow or deny the request.
Open the Superuser app to control the saved permissions and configure Superuser.
Now you’re free to install and use apps that require root access. We’ll have more coverage of things you can do with a rooted Android in the near future.
No comments:
Post a Comment