Project

General

Profile

ADB » History » Revision 3

Revision 2 (Paul Kocialkowski, 02/02/2014 10:22 AM) → Revision 3/10 (Paul Kocialkowski, 07/01/2015 08:55 AM)

h1. ADB 

 h2. Installing ADB 

 Instructions to [[ToolsInstallation#ADB|install ADB]]. install ADB: [[ToolsInstallation#ADB|ToolsInstallation]] 

 h2. Authorizing the device 

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

 h2. Accessing root shell 

 Once allowed, you can access the device shell using: 
 <pre> 
 adb shell 
 </pre> 

 The shell is running as an unprivileged user. To gain root access, use: 
 <pre> 
 adb root 
 </pre> 

 The following shells will then be run as root.