[RESOURCE] How to Use ADB (Android Debug Bridge)

xaueious

Administrator
Staff member
Jul 9, 2010
3,483
436
ADB is a tool you can use to pull diagnostic information to your device or to perform other debugging commands.

XDA developers has good documentation on how to get it to work.

Windows:
[GUIDE] ADB, Fastboot, and Nandroid for Noobs - xda-developers

Drivers only:
Multiupload.com - upload your files to multiple file hosting sites!

You can also use Droid Explorer for an automatic install and a Windows explorer-like interface

Mac:
[HOW-TO] ADB for Dummies(How-To Learner's Guide) - xda-developers

Linux:
[HOW-TO]Set up Android SDK/ADB/Fastboot on Ubuntu Linux - xda-developers

Things you need:

Android SDK - Download
PC
male mini-USB to male USB Cable that comes in the box

--------------------------------------------------------------------------

Common commands for adb
Check if device is connected properly
Code:
adb devices

Diagnostic Android log
Code:
adb logcat

Linux Kernel Messages
Code:
adb shell
cat /proc/kmsg

Install a specific APK file
Code:
adb install filename_of_the_app.apk

Pull (grab) a file from your device to your current working directory on your PC
Code:
adb pull filename_or_directory_name_in_device .

Push (put) a file from your current working directory to your device
Code:
adb push filename_or_directory_name_of_file_to_push destination_on_device

Quick reboot
Code:
adb shell reboot

Look at the tasks running on your device
Code:
adb shell top

Check memory usage
Code:
adb shell free

Check storage usage
Code:
adb shell 
busybox df -h
 

new2city

Member
Aug 31, 2010
16
0
Factory reset-> becareful, I used this because my MID was stuck at android startup but could be connected via ADB. Please confirm this, Xaueious, as I don't remember it well, it was a desperate move when I did it.
Code:
adb shell
#wipe data
 

probbiethe1

Super Moderator
Staff member
Jun 30, 2010
1,838
139
this is great and if you posted a link to the adb shell in this thread that would be great for everyone too
 

leeb

Member
Jul 16, 2011
463
21
(Reviving zombie thread)
Has anyone managed to get an ADB connection to any of the InfoTMIC based devices?

If so, please provide details here!!! I could certainly use the help/info/pointers/guidance! :p

Thx in advance! :D

/zombie
 
Top