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
List of devices attached
FMIFFQVCYDBASGEY device
Unlock the Android device
Verify the device is connected to your Ubuntu Desktop as follows
FMIFFQVCYDBASGEY fastboot
Unlock the device as follows
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
adb shell
interaktiv
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
Links