SlateDroid.com: [RESOURCE] How to use ADB (Android Debug Bridge) - SlateDroid.com

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

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

#1 User is offline   xaueious 

  • Advanced Member
  • PipPipPip
  • Group: Hero Member
  • Topics: 132
  • Posts: 954
  • Joined: 20-May 10
  • LocationOntario

Posted 01 July 2010 - 05:55 PM

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:http://forum.xda-dev...ad.php?t=532719Drivers only: http://www.multiupload.com/WV7RGN4JZ8You can also use Droid Explorer for an automatic install and a Windows explorer-like interfaceMac: http://forum.xda-dev...ad.php?t=502010Linux: http://forum.xda-dev...ad.php?t=537508Things you need:Android SDK - DownloadPCmale mini-USB to male USB Cable that comes in the box--------------------------------------------------------------------------Common commands for adbCheck if device is connected properly
adb devices
Diagnostic Android log
adb logcat
Linux Kernel Messages
adb shellcat /proc/kmsg
Install a specific APK file
adb install filename_of_the_app.apk
Pull (grab) a file from your device to your current working directory on your PC
adb pull filename_or_directory_name_in_device .
Push (put) a file from your current working directory to your device
adb push filename_or_directory_name_of_file_to_push destination_on_device
Quick reboot
adb shell reboot
Look at the tasks running on your device
adb shell top
Check memory usage
adb shell free
Check storage usage
adb shell busybox df -h

0

#2 User is offline   rokky 

  • Advanced Member
  • PipPipPip
  • Group: Jr. Member
  • Topics: 5
  • Posts: 180
  • Joined: 30-August 10

Posted 01 October 2010 - 08:04 PM

If you want to run this on a Linux system, and you are not running your terminal session as root (good idea NOT to as a standard security practice), you need to start the adb server with root privileges thus:sudo adb start-serverNote that your Id will need sudo access for that to work.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users