Trying to install Lineage OS on MI A2 (jasmine_sprout) follow the instructions from:
https://wiki.lineageos.org/devices/jasmine_sprout/install
- Enable OEM unlock - done
fastboot oem unlock
- done
- Download a custom recovery - done
- Temporarily flash a recovery on your device.
The provided command fastboot flash boot <recovery_filename>.img
did not work.
I had run:
fastboot flash boot__a lineage-17.-20210123-recovery-jasmine_sprout.img
- With the device powered off, hold
Volume Up
+Power
to reboot into recovery
- The phone does not go into recovery mode
-
phone gets powered off by pressing power button for 10 seconds or so.
-
Turning the phone on will start the phone and show:
- android-one logo on screen for 2 seconds
- battery charging icon on the screen for a second
- screen goes blank
-
Powering it on with USB plugged into laptop
- android one logo foe two seconds
- Shows the following messgae:
The boot loader is unlocked and software integraty can not be guarranteed.... Visit this link on another device: g.co/ABH PRESS POWER KEY TO PAUSE BOOT
-
Same as above when
Volume Up
+Power
buttons are pressed -
Goes into fastboot when
Volume Down
+Power
buttons are pressed
Started twrp using fastboot boot twrp-3.5.0_9-0-jasmine_sprout.img
.
Click on reboot - on the resulting page, switch the boot slot. If its A, change it to B. Reboot into system
These two steps started the Android OS that came with the phone.