Useful ADB(Android Debug Bridge) & Shell Commands list :
adb shell => opens shell
su => change to super user
adb install [APK PATH] => install apk
adb uninstall [PACKAGE NAME] => uninstall apk
pm disable [PACKAGE NAME] => disable package
pm enable [PACKAGE NAME] => enable package
pm packages list -d => list disabled packages
pm packages list -s => list only system packages
am broadcast -a [INTENT NAME] --es [EXTRA KEY] [EXTRA VALUE] => broadcast intent with extras
cd [PATH] => change directory
cd - => go back
cd -- => go to home directory
ls => list files
du -a -m -h => list files &directories show sizes
adb reboot => reboot
adb reboot recovery => reboot to recovery mode
adb reboot download => reboot to download mode
cp [SOURCE] [DESTINATION] => copy file
mkdir [DIRECTORY PATH] => create directory
rmdir [DIRECTORY PATH] => delete directory
rm [PATH] => delete file
getprop => list device properties
setprop [KEY] [VALUE] => set device property
killall [APPLICATION NAME] => kill application by name
df –h => Display disk space usage
P.S. : I'm sure that I will update this post with other ADB commands soon.
You can find the adb tool in <sdk>/platform-tools/.
Saturday, July 28, 2012
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment