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 [2016/11/11 11:31] – [Android] scipio | tips:android:adb [2018/05/23 18:28] (current) – [unbrick with FASTBOOT update] scipio | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| {{tag> | {{tag> | ||
| + | <code bash> | ||
| + | apt-get install android-tools-fastboot | ||
| + | apt-get install android-tools-adb | ||
| + | </ | ||
| + | |||
| ===== network mode ===== | ===== network mode ===== | ||
| Line 60: | Line 65: | ||
| 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 | ||
| + | ./ | ||
| </ | </ | ||