tips:android:adb

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tips:android:adb [2015/12/11 16:32] scipiotips:android:adb [2018/05/23 18:28] (current) – [unbrick with FASTBOOT update] scipio
Line 1: Line 1:
 ====== Android ====== ====== Android ======
 +
 +{{tag>[android]}}
 +<code bash>
 +apt-get install android-tools-fastboot
 +apt-get install android-tools-adb
 +</code>
  
 ===== network mode ===== ===== network mode =====
Line 51: Line 57:
 ====== boot custom recovery ====== ====== boot custom recovery ======
  
-Boot recovery image TWRP+Boot recovery image [[TWRP for mi4c|https://mega.nz/#!kM02hYKa!YOgKkCtRu-7wQT8JK4naRMPRExwpwKF0_vAVa4nwIqo]]
 <code> <code>
 +1) cancellare la cache (wipe cache) e fare il reboot
 +
 adb reboot bootloader adb reboot bootloader
 fastboot flash recovery <recovery.img> fastboot flash recovery <recovery.img>
 fastboot reboot fastboot reboot
 adb reboot recovery adb reboot recovery
 +</code>
 +
 +====== check lock ======
 +
 +in fastboot mode (Volume - and power)
 +<code bash>
 +fastboot oem device-info
 +</code>
 +
 +unlock
 +<code bash>
 +fastboot oem unlock-go
 +</code>
 +
 +
 +====== unbrick with FASTBOOT update ======
 +
 +Enable OEM unlock and USB debugging in developer options (tap 7 times on miui version in info phone)
 +
 +Download fastboot image from  http://en.miui.com/a-234.html
 +
 +Untar image and enter inside from terminal
 +<code bash>
 +chmod +x flash_all*
 +
 +sudo adb reboot edl
 +# or sudo fastboot oem edl
 +sudo fastboot devices
 +./flash_all_except_data_storage.sh
 </code> </code>
  • tips/android/adb.1449847941.txt.gz
  • Last modified: 2015/12/11 16:32
  • by scipio