Chapter 2: Rooting Your Android Device

In this chapter:

• What is rooting?

• Why you would want to root your Android device

• Backing up data before rooting

• Different methods of rooting an Android device

• How to gain root permissions on two specific devices

You have probably heard your local Android geek mention rooting or read on the Web somewhere about rooting an Android device. Rooting may sound magical and mysterious, but it is a fairly simple idea. At its core, rooting gives the owner of a device more control and access.

The highest level of privilege you can have on a Linux system is to be logged into the device as the root user, sometimes called the superuser. The terms “superuser” and “root” both refer to the same thing.

The root level of permission exists on Linux systems to provide administrative access. Logged in as root, there is little that you cannot do. Root has permission to read and write most places in the file system and change system settings. Because of this, the highest goal for any hacker is to obtain the ability to log into a Linux device as root. ...

Get XDA Developers' Android Hacker's Toolkit now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.