Adb and fastboot: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
 
(12 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
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=
 +
*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=
 +
*[[adb]]
 +
=Links=
 +
*http://rootmygalaxy.net/install-twrp-recovery-via-fastboot/

Aktuelle Version vom 4. August 2021, 16:12 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

Links