Skip to main content


Showing posts from April, 2015

Some important adb commands (android)

In Mac, the adb is located at /Library/Android/sdk/platform-tools/ list connected devices ./adb devices list installed applications ./adb shell pm list packages clean app data ./adb shell pm clear com.scramphoto.scramphoto uninstall app using adb ./adb uninstall com.scramphoto.scramphoto install app using adb ./adb install -r ~/Download/scramphoto.apk log for adb ./adb logcat save logcat to text ./adb logcat -d > ~/Documents/logcat.txt clear logcat ./adb logcat -c   browse directory on device ./adb shell ls /sdcard/Pictures copy files from device to computer ./adb pull /sdcard/Pictures/ ~/Documents/Pictures   remove files on device  ./adb shell rm /sdcard/Pictures/*