Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| tips:android:adb [2015/12/11 16:32] – scipio | tips:android:adb [2018/05/23 18:28] (current) – [unbrick with FASTBOOT update] scipio | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Android ====== | ====== Android ====== | ||
| + | |||
| + | {{tag> | ||
| + | <code bash> | ||
| + | apt-get install android-tools-fastboot | ||
| + | apt-get install android-tools-adb | ||
| + | </ | ||
| ===== 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:// |
| < | < | ||
| + | 1) cancellare la cache (wipe cache) e fare il reboot | ||
| + | |||
| adb reboot bootloader | adb reboot bootloader | ||
| fastboot flash recovery < | fastboot flash recovery < | ||
| fastboot reboot | fastboot reboot | ||
| adb reboot recovery | adb reboot recovery | ||
| + | </ | ||
| + | |||
| + | ====== check lock ====== | ||
| + | |||
| + | in fastboot mode (Volume - and power) | ||
| + | <code bash> | ||
| + | fastboot oem device-info | ||
| + | </ | ||
| + | |||
| + | unlock | ||
| + | <code bash> | ||
| + | fastboot oem unlock-go | ||
| + | </ | ||
| + | |||
| + | |||
| + | ====== 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:// | ||
| + | |||
| + | 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 | ||
| + | ./ | ||
| </ | </ | ||