How To Root An Android Device
How To Root An Android Device
How To Root An Android Device
Disclaimers
The findings in this report are not to be construed as an official Department of the
Army position unless so designated by other authorized documents.
Destroy this report when it is no longer needed. Do not return it to the originator.
ARL-TN-0706 ● SEP 2015
14. ABSTRACT
This document provides a step-by-step guide on how to root an Android device, which allows the user to have “superuser”
capability with the device.
ii
Contents
1. Overview 1
2. Configurations Used 1
4. Conclusion 3
5. Notes 4
Distribution List 5
iii
INTENTIONALLY LEFT BLANK
iv
1. Overview
2. Configurations Used
The following is a list of software and hardware used for development and testing:
• Samsung Galaxy S3
The rooting method used for the Samsung Galaxy S3 is called Saferoot1—a well-
known, open- source software. According to the Saferoot website, the process of
rooting the device may void the manufacturer’s warranty; therefore, use this feature
at your own risk. Because any manufacturer can have its own modified version of
an Android OS, there is no guarantee that the Saferoot method will work with all
Android devices. Moreover, this Saferoot rooting method is applicable for the
Samsung Galaxy S3 as well as many other Android devices, but there are several
steps involved in rooting an Android device (as shown on the next page). Most of
these steps will be the same for all Android devices.
1
3.1 Step 1—Set Up Android ADT
Download the Android Software Development Kit (SDK).2 Install the ADT from
the SDK.
2
This method will not set the KNOX warranty-void flag, according to the author of
Saferoot. However, it will set the “Custom” flag, which should not affect phone
operation.
Ensure that the phone or tablet is on and active while the rooting process is
underway, and monitor the Android device and host computer for progress of the
script to determine whether the installation succeeded or failed. Do not unplug the
phone unless prompted by the rooting script. Be sure to leave the device connected
to the host until the process has been completed. If the device is successfully rooted,
the “su” utility should be installed and allow root access to the device using “adb”.
To verify whether the device was properly rooted, type “adb shell” on the host
client, then the “$” prompt should appear. Type the “su” command, and the prompt
should change to “#” to show that root access has been granted.
4. Conclusion
3
5. Notes
1. Saferoot: Root for VRUEMJ7, MK2, and Android 4.3. [accessed 2014 Dec
04] http://forum.xda-developers.com/showthread.php?t=2565758.
4
1 DEFENSE TECHNICAL
(PDF) INFORMATION CTR
DTIC OCA
2 DIRECTOR
(PDF) US ARMY RSRCH LAB
RDRL CIO LL
RDRL IMAL HRA RECORDS MGMT
1 DIRECTOR
(PDF) US ARMY RSRCH LAB
RDRLCIN D
K YU
5
INTENTIONALLY LEFT BLANK