blob: 256392512d7f6c6bdbc49f9cd03ac672e02e43e2 [file] [log] [blame]
Ethan Yonkerd83dfe92018-10-17 12:43:41 -05001---
2layout: device
3title: "Xiaomi Mi A2 Lite"
4codename: daisy
5downloadfolder: daisy
6supportstatus: Current
7maintainer: Dees_Troy
8devicetree: "https://github.com/TeamWin/android_device_xiaomi_daisy.git"
9oem: Xiaomi
10---
11
12{% include disclaimer.html %}
13
14{% include supportstatus.html %}
15Note: Xiaomi's implementation of the keymaster may prevent decrypt from working using the fastboot boot images. Decrypt should work after installing TWRP.
16
17{% include download.html %}
18
19<div class='page-heading'>Installation:</div>
20If you already have TWRP installed:
21Download the latest zip and install the zip using TWRP.
22
23If you do not already have TWRP installed:
24Download both the img and the zip. Copy the zip to your device. You will need to have fastboot binaries and the correct drivers installed. Power off your device completely. Hold volume down and turn on the device. Your device should now be in the bootloader. Connect the device to your PC. Open a command window and run the following command from the proper location:
25
26fastboot boot path/to/twrp.img
27
28This will temporarily boot TWRP on your device. Go to install and browse to the zip and install the zip. The zip will install TWRP to both boot slots. Installing TWRP at this time will remove root if you are currently rooted.
29
30If you accidently flash TWRP to your device using fastboot instead of temporarily booting the image, you will need to download the latest factory image for your device and reflash the boot image.