Adb and fastboot: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Thomas (Diskussion | Beiträge) |
Thomas (Diskussion | Beiträge) |
||
| Zeile 17: | Zeile 17: | ||
=Unlock the device as follows= | =Unlock the device as follows= | ||
*fastboot oem unlock | *fastboot oem unlock | ||
| − | |||
| − | |||
=flash the TWRP recovery .img= | =flash the TWRP recovery .img= | ||
*fastboot flash recovery Touch_TWRP_3.0.2.img /storage/sdcard0/Download/ | *fastboot flash recovery Touch_TWRP_3.0.2.img /storage/sdcard0/Download/ | ||
| Zeile 27: | Zeile 25: | ||
OKAY [ 0.257s] | OKAY [ 0.257s] | ||
finished. total time: 1.153s | finished. total time: 1.153s | ||
| − | + | =Reboot the device to Android as follows= | |
| + | *fastboot reboot | ||
=adb shell= | =adb shell= | ||
==interaktiv== | ==interaktiv== | ||
Version vom 13. September 2016, 14:46 Uhr
Install
- apt-get install adb and fastboot
Help
- adb help 2>&1 | less
- fastboot help 2>&1 | less
USB Debugging and OEM unlocking
adb services
- adb devices
List of devices attached FMIFFQVCYDBASGEY device
Unlock the Android device
- adb reboot bootloader
Verify the device is connected to your Ubuntu Desktop as follows
- fastboot devices
FMIFFQVCYDBASGEY fastboot
Unlock the device as follows
- fastboot oem unlock
flash the TWRP recovery .img
- fastboot flash recovery Touch_TWRP_3.0.2.img /storage/sdcard0/Download/
target reported max download size of 134217728 bytes sending 'recovery' (11118 KB)... OKAY [ 0.895s] writing 'recovery'... OKAY [ 0.257s] finished. total time: 1.153s
Reboot the device to Android as follows
- fastboot reboot
adb shell
interaktiv
- adb shell
befehl ausführen
- adb shell ls -l storage/sdcard0/Download/
-rw-rw---- root sdcard_rw 4254181 2016-09-13 15:51 SuperSU-v2.65-20151226141550.zip
adb push
- adb push SuperSU-v2.65-20151226141550.zip /storage/sdcard0/Download
adb pull
- adb pull /storage/sdcard0/Download/SuperSU-v2.65-20151226141550.zip .
adb reboot recovery
- adb reboot recovery