Project

General

Profile

ADB » History » Version 3

Paul Kocialkowski, 07/01/2015 08:55 AM

1 1 Paul Kocialkowski
h1. ADB
2
3
h2. Installing ADB
4
5 3 Paul Kocialkowski
Instructions to [[ToolsInstallation#ADB|install ADB]].
6 1 Paul Kocialkowski
7
h2. Authorizing the device
8
9
In order to allow your host computer to access ADB on the device, it must be allowed on the device. A window should pop up when connecting USB, asking whether to allow USB debugging. 
10 2 Paul Kocialkowski
*Note: when booting with USB plugged in, the window doesn't pop up and you have to disconnect and reconnect the USB cable to see it happen.*
11 1 Paul Kocialkowski
12
h2. Accessing root shell
13
14
Once allowed, you can access the device shell using:
15
<pre>
16
adb shell
17
</pre>
18
19
The shell is running as an unprivileged user. To gain root access, use:
20
<pre>
21
adb root
22
</pre>
23
24
The following shells will then be run as root.