Jump to content

Rooting (Android): Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
→‎Description: this is a mess, but some minor cleanup
Line 5: Line 5:


== Description ==
== 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.
Most devices running Android must be rooted in order to install custom versions of the Android system such as [[CyanogenMod]]. The stock configuration (unrooted), user-installed applications do not have direct access to the flash memory chip on the device and are not able to replace or modify the operating system itself.
Rooting is also necessary for certain applications and widgets that require additional system and hardware rights such as rebooting the phone, certain backup utilities, and other access to other hardware such as status LEDs. Rooting is also needed to disable or remove manufacturer-installed applications such as [[City ID]]. Rooting the phone typically also includes installing an application called Superuser that supervises which applications 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 not distributed on the Google Play Store (sometimes referred to as "[[sideloading]]"). However some [[Telecom company|carriers]], like [[AT&T Mobility|AT&T]], prevent the installation of applications not on the Store in [[firmware]],<ref name="AT&T Android FAQs">{{cite web |url=http://www.wireless.att.com/cell-phone-service/cell-phone-sales/promotion/androidComingSoon.jsp?status=success&_requestid=281920 |title=The Official AT&T FAQs |publisher=Wireless.att.com |date= |accessdate=2011-12-18}}</ref> although the [[Samsung Infuse 4G]] from [[AT&T Mobility|AT&T]] allows running applications not downloaded from the market.<ref name="Mobileburn Blog">{{cite web |url=http://www.mobileburn.com/news.jsp?Id=14654 |publisher=MobileBurn |title=Samsung INFUSE 4G capable of side-loading apps, accessing Amazon Appstore |date=07-05-2011 |accessdate=18-12-2011}}</ref>

In contrast to [[iOS jailbreaking]], rooting is not needed to run applications distributed outside of the Google Play Store (sometimes referred to as "[[sideloading]]") &mdash; the Android OS supports this feature natively through an option in the Settings menu. However some [[Telecom company|carriers]], like [[AT&T Mobility|AT&T]], prevent the installation of applications not on the Store in [[firmware]],<ref name="AT&T Android FAQs">{{cite web |url=http://www.wireless.att.com/cell-phone-service/cell-phone-sales/promotion/androidComingSoon.jsp?status=success&_requestid=281920 |title=The Official AT&T FAQs |publisher=Wireless.att.com |date= |accessdate=2011-12-18}}</ref> although several devices (including the [[Samsung Infuse 4G]]) are not subject to this rule.<ref name="Mobileburn Blog">{{cite web |url=http://www.mobileburn.com/news.jsp?Id=14654 |publisher=MobileBurn |title=Samsung INFUSE 4G capable of side-loading apps, accessing Amazon Appstore |date=07-05-2011 |accessdate=18-12-2011}}</ref>


{{as of|2012}} 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.
{{as of|2012}} 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.{{cite}} 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.{{cite}} 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.<ref name="Droid Lessons">{{cite web |url=http://droidlessons.com/what-is-rooting-on-android-the-advantages-and-disadvantages/ |title=Disadvantages of Rooting |publisher=DroidLessons |date=2011-02-15 |accessdate=18-12-2011}}</ref>
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.{{cite}} 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.<ref name="Droid Lessons">{{cite web |url=http://droidlessons.com/what-is-rooting-on-android-the-advantages-and-disadvantages/ |title=Disadvantages of Rooting |publisher=DroidLessons |date=2011-02-15 |accessdate=18-12-2011}}</ref>


== Process ==
== Process ==

Revision as of 19:46, 3 July 2012

Phones like the Galaxy Nexus, part of the Google Nexus series, are designed to allow root access[1]

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 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

United States

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

References

  1. ^ Kralevich, Nick (2010-12-20). "Android Developers Blog: It's not "rooting", it's openness". Android-developers.blogspot.com. Retrieved 2011-11-27.
  2. ^ "The Official AT&T FAQs". Wireless.att.com. Retrieved 2011-12-18.
  3. ^ "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)
  4. ^ "Disadvantages of Rooting". DroidLessons. 2011-02-15. Retrieved 18-12-2011. {{cite web}}: Check date values in: |accessdate= (help)
  5. ^ "Building for devices". source.android.com. Retrieved 01-11-2011. {{cite web}}: Check date values in: |accessdate= (help)
  6. ^ a b "Unlock Bootloader". Retrieved 2011-10-30.
  7. ^ 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)
  8. ^ 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)
  9. ^ Jason Perlow (2011-01-18). "CyanogenMod CM7: Teach your old Droid New Tricks". ZDNet. Retrieved 2012-01-04.
  10. ^ "MIUI firmware is "popular"". AndroidAndMe. 2011-08-16. Retrieved 2012-01-04.
  11. ^ Sadun, Erica (2010-07-26). "LoC rules in favor of jailbreaking". Tuaw.com. Retrieved 2012-01-04.
  12. ^ "HTC's bootloader unlock page". Htcdev.com. Retrieved 2012-01-04.
  13. ^ "CyanogenMod supported by Samsung". http://itmag.org. Retrieved 2012-01-16. {{cite web}}: External link in |publisher= (help)
  14. ^ "Motorola Offers Unlocked Bootloader Tool". Techcrunch.com. 2011-10-24. Retrieved 2012-01-04.
  15. ^ "Sony Ericsson supports independent developers". Developer.sonyericsson.com. Retrieved 2012-01-04.

External links