Difference between revisions of "ADB Guide"
Sebastian s (Talk | contribs) |
Sebastian s (Talk | contribs) |
||
Line 2: | Line 2: | ||
This is a Guide on how to use ADB on all major Platforms (Windows, Linux, Mac) | This is a Guide on how to use ADB on all major Platforms (Windows, Linux, Mac) | ||
+ | |||
+ | |||
+ | === Prerequisites === | ||
+ | |||
'''Windows users should get the drivers first, otherwise nothing will work as expected'''. | '''Windows users should get the drivers first, otherwise nothing will work as expected'''. | ||
Line 26: | Line 30: | ||
− | + | === ADB Installation for Linux and Mac Users === | |
<pre>export PATH=$PATH:/your/path/to/sdk/platform-tools</pre> | <pre>export PATH=$PATH:/your/path/to/sdk/platform-tools</pre> | ||
Line 39: | Line 43: | ||
− | + | === ADB Installation for Windows 7/8 Users === | |
#open the folder of your sdk and navigate to sdk\platform-tools [http://imageshack.us/a/img248/424/parallelspicture.png Screenshot] | #open the folder of your sdk and navigate to sdk\platform-tools [http://imageshack.us/a/img248/424/parallelspicture.png Screenshot] | ||
Line 56: | Line 60: | ||
− | + | === Listing connected devices === | |
<pre>adb list</pre> | <pre>adb list</pre> | ||
+ | |||
+ | === Remounting System Partition RW === | ||
+ | |||
+ | <pre>adb remount</pre> |
Revision as of 16:11, 11 January 2013
THIS GUIDE IS NOT YET COMPLETE, PLEASE BE PATIENT
This is a Guide on how to use ADB on all major Platforms (Windows, Linux, Mac)
Contents
Prerequisites
Windows users should get the drivers first, otherwise nothing will work as expected.
You can get them either by following this link:
or here (might get outdated):
Dropbox Download Link from 2011-03-09
Windows 8 Users MUST disable "Signed drivers only" installation, following this guide:
Installing unsigned Windows Drivers in Windows 8
Linux + Mac users dont have to do anything from the above.
Install the SDK via Android SDK Link
add adb command to your PATH variable:
ADB Installation for Linux and Mac Users
export PATH=$PATH:/your/path/to/sdk/platform-tools
or make it survice the exit of your terminal window:
vi ~/.bash_rc
press :i
to get to insert mode and type:
export PATH=$PATH:/your/path/to/sdk/platform-tools
press ESCAPE KEY :wq
to get into command mode, write the file and quit the editor
ADB Installation for Windows 7/8 Users
- open the folder of your sdk and navigate to sdk\platform-tools Screenshot
- rightclick the navigation bar and copy the selected path Screenshot
- rightclick your computer on the desktop and click Properties Screenshot
- click on Advanced system settings Screenshot
- click on Environment Variables... Screenshot
- in the System variables group search for Path and click on Edit... Screenshot
- add a semicolon at the end of the line and then paste your path of the platform-tools folder Screenshot
- click ok
- click ok again
- click ok once again
- open a cmd prompt (Win+R cmd)
- type echo %PATH% to see whether it got applied well
- type adb. if you get a very looooong output then everything should be well and you can use adb (dont forget to install drivers if you havent already)
Listing connected devices
adb list
Remounting System Partition RW
adb remount