User Tools

Site Tools


doc:appunti:hardware:xiaomi_mi_a1

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
doc:appunti:hardware:xiaomi_mi_a1 [2019/11/08 18:16] – [Backup] niccolodoc:appunti:hardware:xiaomi_mi_a1 [2019/11/09 06:53] – [Fastboot Mode] niccolo
Line 161: Line 161:
 ===== Fastboot Mode ===== ===== Fastboot Mode =====
  
-Once in Recovery Menu, you can boot into the **Fastboot Mode** using the menu entry //Reboot to bootloader//Otherwise you can execute the **adb** command on PC when the phone is booted normally and connected via the USB cable (it is required to enable //USB debugging// on the phone and to authorize the PC on the phone pop-up, once connected):+In Android**fastboot** is a special diagnostic protocol that you can boot your Android device into. While in fastboot, you can modify the file system images from a computer over a USB connection.
  
-<code> +You can start fastboot mode in severl ways: 
-adb reboot bootloader + 
-</code>+  * Power off the phone, then press **VolDown + Power** buttons together, untill vibration. 
 +  * Executing the **adb reboot bootloader** command on a PC when the phone is booted normally and connected via the USB cable. It is required to enable //USB debugging// on the phone and to authorize the PC on the phone pop-up, once connected. 
 +  * From the **stock Recovery** menu, choosing the entry **Reboot to bootloader**. 
 +  * From the **TWRP Recovery**, choosing **Reboot** menu, then **Bootloader**. 
 + 
 +The Xiaomi Mi A1 will show the following image when in fastboot mode:
  
 {{.:android:mi-a1-fastboot-log.jpg?direct&200|Mi-A1 Fastboot Logo}} {{.:android:mi-a1-fastboot-log.jpg?direct&200|Mi-A1 Fastboot Logo}}
 +
 +To control the fastboot mode of the phone, you have to install the **fastboot** command on your PC. On a Debian GNU/Linux install the **fastboot 8.1.0** package. **NOTICE**: Version 7.0.0 is not reccomended, e.g. the command ''fastboot set_active b'' does not work on the Mi A1.
 +
 +Here are some commands that can be used in fastboot mode:
  
 <code> <code>
-adb devices +fastboot help 
-List of devices attached +fastboot devices 
-574524d99913    device+fastboot boot recovery-3.2.1-2-oreo.img 
 +fastboot flash boot_b boot_b.img 
 +fastboot oem unlock 
 +fastboot set_active b 
 +fastboot reboot
 </code> </code>
  
doc/appunti/hardware/xiaomi_mi_a1.txt · Last modified: 2020/09/23 17:06 by niccolo