android:oneplus:adb
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| android:oneplus:adb [2020/09/17 20:53] – oscar | android:oneplus:adb [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== ADB Commands ====== | ||
| - | ^Command Instruction^Description^ | ||
| - | |adb devices [-l]|List connected devices (-l for long output)| | ||
| - | |adb help|Show this help message| | ||
| - | |adb version|Show version num| | ||
| - | |adb push [--sync] LOCAL... REMOTE|Copy local files/ | ||
| - | |adb pull [-a] REMOTE... LOCAL|Copy files/dirs from device -a: preserve file timestamp and mode| | ||
| - | |adb shell [-e ESCAPE] [-n] [-Tt] [-x] [COMMAND...]|Run remote shell command (interactive shell if no command given)\\ -e: choose escape character, or " | ||
| - | |adb install [-lrtsdg] [--instant] PACKAGE\\ adb install-multiple [-lrtsdpg] [--instant] PACKAGE...|Push one or more packages to the device and install them atomically. You'll need to supply the path where you have the .apk file saved, then run it like this: adb install TheAppName.apk.\\ -r: replace existing application\\ -t: allow test packages\\ -d: allow version code downgrade (debuggable packages only)\\ -p: partial application install (install-multiple only)\\ -g: grant all runtime permissions\\ --abi ABI: override platform' | ||
| - | |adb reboot bootloader|Reboot the device to bootloader.| | ||
| - | |adb reboot recovery|Reboot to recovery too.| | ||
| - | |adb reboot sideload| Sideload reboots into recovery and automatically starts sideload mode. An OTA (over-the-air) update is downloaded by your phone as a .zip file. You can also download that zip file manually and install it without having to wait for your phone to have the update pushed to it. The end result is the same. All you have to do is download the update to your computer. Plug your phone into the computer. Then, reboot into recovery on your phone and using the up and down volume buttons choose Apply update from ADB. Then hop into your favorite terminal/ | ||
| - | |adb reboot sideload-auto-reboot|Same but reboots after sideloading.| | ||
| - | |adb sideload OTAPACKAGE|Sideload the given full OTA package| | ||
| - | |adb root|Restart adbd with root permissions| | ||
| - | |adb unroot|Restart adbd without root permissions| | ||
| - | |adb usb|Restart adbd listening on USB| | ||
| - | |adb start-server|Ensure that there is a server running| | ||
| - | |adb kill-server|Kill the server if it is running| | ||
| - | |adb reconnect|Kick connection from host side to force reconnect| | ||
| - | |adb reconnect device|Kick connection from device side to force reconnect| | ||
| - | |adb shell|Enter a shell on the device. Once inside, you can interact with the actual running operating system on your phone. | | ||
android/oneplus/adb.1600376030.txt.gz · Last modified: (external edit)
