Rooting (Android)
![](http://upload.wikimedia.org/wikipedia/commons/thumb/a/ad/Galaxy_Nexus_smartphone.jpg/180px-Galaxy_Nexus_smartphone.jpg)
Rooting is a process allowing users of smartphones, tablets, and other devices running the Android operating system to attain privileged control (known as "root access") within Android's subsystem. Rooting is often performed with the goal of overcoming limitations that carriers and hardware manufacturers put on some devices, resulting in the ability to alter or replace system applications and settings, run specialized apps that require administrator-level permissions, or perform other operations that are otherwise inaccessible to a normal Android user. Rooting is analogous to jailbreaking devices running the Apple iOS operating system or the Sony PlayStation 3. On Android, rooting can also facilitate the complete removal and replacement of the device's operating system.
As Android was derived from the Linux kernel, rooting an Android device is similar in practice to accessing administrative permissions on Linux or any other Unix-like computer such as FreeBSD or OS X.
Description
Rooting enables user-installed applications to run privileged commands that are typically unavailable to devices in the stock configuration. Rooting is required for more advanced and potentially dangerous operations including modifying or deleting system files, removing carrier- or manufacturer-installed applications, and low-level access to the hardware itself (rebooting, controlling status lights, or recalibrating touch inputs.) A typical rooting installation also installs the Superuser application, which supervises applications that are granted root rights.
A secondary operation, unlocking the device's baseband, is required to remove or replace the installed Operating System.
In contrast to iOS jailbreaking, rooting is not needed to run applications distributed outside of the Google Play Store (sometimes referred to as "sideloading") — the Android OS supports this feature natively through an option in the Settings menu. However some carriers, like AT&T, prevent the installation of applications not on the Store in firmware,[2] although several devices (including the Samsung Infuse 4G) are not subject to this rule.[3]
As of 2012[update] the Amazon Kindle Fire is locked to the Amazon app store instead of Google Play, and other vendors of Android devices may lock to other sources in the future. Access to alternate apps may require rooting but rooting is not always necessary. As an example, for the Kindle fire it is possible to load the "easy installer" app from the Amazon app store and then use it to "sideload" apps from any source.
One of the potential downsides to rooting is some phone makers consider it to be "modifying" the phone, which may void the warranty.[citation needed] However, if the phone is un-rooted before the user tries to use his or her warranty, there is no easy way for the warranty provider to know that the phone was previously rooted. {{citation}}
: Empty citation (help) The term "bricking" is used to describe a device which has had its software modified improperly to the point where it is no longer functioning.[4]
Process
The process of rooting varies widely by device. It usually includes exploiting a security weakness in the firmware shipped from the factory. For example, shortly after the T-Mobile G1 was released it was quickly discovered that anything typed using the keyboard was being interpreted as a command in a privileged (root) shell. Although Google quickly released a patch to fix this, a signed image of the old firmware was leaked giving people the ability to downgrade and use the original exploit to gain root access. Once this exploit is found, a custom recovery image that does not check the digital signature of a firmware update package can be flashed. In turn, using the custom recovery, a modified firmware update can be installed that typically includes the utilities (for example the Superuser app) needed to run apps as root.
The Google-branded Android devices, the Nexus One, Nexus S and the Galaxy Nexus, can have their boot-loaders unlocked by simply running the command "fastboot oem unlock" from a computer connected to the device while it is in boot-loader mode.[5] After accepting a warning the boot-loader will be unlocked so that a new system image can be written directly to flash without the need for an exploit.
Recently, Motorola, LG Electronics and HTC Corporation have added security features to their devices at the hardware level in an attempt to prevent retail Android devices from being rooted. For instance, the Motorola Droid X has a security boot-loader that will put the phone in "recovery mode" if unsigned firmware is loaded onto the device.
Industry reaction
Until recently, the response of tablet and smartphone manufacturers and mobile carriers has typically been unsupportive of third-party firmware development. Manufacturers had expressed concern about improper functioning of devices running unofficial software[6] and related support costs. Moreover, firmware such as CyanogenMod sometimes offers features for which carriers would otherwise charge a premium (e.g., tethering). As a result, technical obstacles such as locked bootloaders and restricted access to root permissions have commonly been introduced in many devices. For example, in late December 2011, Barnes and Noble and Amazon.com, Inc. began pushing automatic, over-the-air firmware updates, 1.4.1 to Nook Tablets and 6.2.1 to Kindle Fires, that removed users' ability to gain root access to the devices. The Nook Tablet 1.4.1 update also removed users' ability to sideload apps from sources other than the official Barnes and Noble app store (without modding).[7][8]
However, as community-developed software has grown popular,[9][10] and following a statement by the Librarian of Congress (US) that permits the use of "jailbreaking" mobile devices,[11] manufacturers and carriers have softened their position regarding CyanogenMod and other unofficial firmware distributions, with some, including HTC,[12] Samsung,[13] Motorola[14] and Sony Ericsson,[15] even actively providing support and encouraging development.
In 2011, the need to circumvent hardware restrictions to install unofficial firmware lessened as an increasing number of devices shipped with unlocked or unlockable bootloaders, similar to the Nexus series of phones. Device manufacturer HTC has announced that it would support aftermarket software developers by making the bootloaders of all new devices unlockable.[6]
Legality
Vereinigte Staaten
On July 26, 2010, the U.S. Copyright office announced a new exemption making it officially legal[16] to root a device and run unauthorized third-party applications, as well as the ability to unlock any cell phone for use on multiple carriers.
See also
- Android (operating system)
- Android Dev Phone
- Replicant (operating system)
- CyanogenMod
- Fastboot
- Google Nexus
- Ubuntu for Android
- Hacking of consumer electronics
- RootzWiki
- Superuser
References
- ^ Kralevich, Nick (2010-12-20). "Android Developers Blog: It's not "rooting", it's openness". Android-developers.blogspot.com. Retrieved 2011-11-27.
- ^ "The Official AT&T FAQs". Wireless.att.com. Retrieved 2011-12-18.
- ^ "Samsung INFUSE 4G capable of side-loading apps, accessing Amazon Appstore". MobileBurn. 07-05-2011. Retrieved 18-12-2011.
{{cite web}}
: Check date values in:|accessdate=
and|date=
(help) - ^ "Disadvantages of Rooting". DroidLessons. 2011-02-15. Retrieved 18-12-2011.
{{cite web}}
: Check date values in:|accessdate=
(help) - ^ "Building for devices". source.android.com. Retrieved 01-11-2011.
{{cite web}}
: Check date values in:|accessdate=
(help) - ^ a b "Unlock Bootloader". Retrieved 2011-10-30.
- ^ Smith, Peter (December 21, 2011). "Kindle Fire and Nook Tablet both get 'upgraded' with reduced functionality". ITWorld.com. Retrieved January 10, 2012.
{{cite web}}
: More than one of|work=
and|website=
specified (help) - ^ Verry, tim (December 21, 2011). "Kindle Fire and Nook Tablet Receive Root Access Killing Software Updates". PCPerspective.com. Retrieved January 10, 2012.
{{cite web}}
: More than one of|work=
and|website=
specified (help) - ^ Jason Perlow (2011-01-18). "CyanogenMod CM7: Teach your old Droid New Tricks". ZDNet. Retrieved 2012-01-04.
- ^ "MIUI firmware is "popular"". AndroidAndMe. 2011-08-16. Retrieved 2012-01-04.
- ^ Sadun, Erica (2010-07-26). "LoC rules in favor of jailbreaking". Tuaw.com. Retrieved 2012-01-04.
- ^ "HTC's bootloader unlock page". Htcdev.com. Retrieved 2012-01-04.
- ^ "CyanogenMod supported by Samsung". http://itmag.org. Retrieved 2012-01-16.
{{cite web}}
: External link in
(help)|publisher=
- ^ "Motorola Offers Unlocked Bootloader Tool". Techcrunch.com. 2011-10-24. Retrieved 2012-01-04.
- ^ "Sony Ericsson supports independent developers". Developer.sonyericsson.com. Retrieved 2012-01-04.
- ^ "Rule making on Exemptions from Prohibition on Circumvention of Technological Measures that Control Access to Copyrighted Works". U.S. Copyright Office. Retrieved 04-10-2011.
{{cite web}}
: Check date values in:|accessdate=
(help)
External links
- Rooting Explained + Top 5 Benefits Of Rooting Your Android Phone - androidpolice.com
- Android – G1 – Root Access Why & How (Android Social Media)
- How to Hack Your Android Phone (and Why You Should Bother) - Read Write Web
- Why Root - android-dls.com
- Five Great Reasons to Root Your Android Phone - LifeHacker.com
- "The Always Up-To-Date Guide to Rooting Any Android Phone" - LifeHacker.com
- Official HTC information to unlock the bootloader