ADB » History » Version 1
Paul Kocialkowski, 01/22/2014 06:47 PM
1 | 1 | Paul Kocialkowski | h1. ADB |
---|---|---|---|
2 | |||
3 | h2. Installing ADB |
||
4 | |||
5 | Instructions to install ADB: [[ToolsInstallation#ADB|ToolsInstallation]] |
||
6 | |||
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 | Note: during first boot, the window doesn't pop up and you have to disconnect and reconnect the USB cable to see it happen. |
||
11 | |||
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. |