• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM][10][OFFICIAL] LineageOS 17.1 for Mi A2

mikeioannina

Recognized Developer
Mar 22, 2011
1,900
26,531
113
Ioannina
Code:
[COLOR="Blue"]#include <std_disclaimer.h>[/COLOR]
[COLOR="Blue"]/*
 * Your warranty is now void.
 *
 * I am not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this ROM
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at me for messing up your device, I will laugh at you.
 */[/COLOR]
Detailed installation instructions:
Install LineageOS on jasmine_sprout

Download link:
LineageOS Downloads

Recommended Google Apps package:
Open GApps (choose ARM64 as Platform and 10.0 as Android, use the Variant you want. Recommended nano package)

Changelog:
Changes for jasmine_sprout

Bug reports:
How to submit a bug report
LineageOS GitLab

Donate to support development:
Donate via PayPal to LineageOS

XDA:DevDB Information
LineageOS 17.1 for Xiaomi Mi A2 (jasmine_sprout), ROM for the Xiaomi Mi A2

Contributors
mikeioannina
Source Code: https://github.com/LineageOS

ROM OS Version: Android 10
ROM Kernel: Linux 4.x
ROM Firmware Required: Recommended V11.0.10.0.QDIMIXM or newer
Based On: LineageOS

Version Information
Status: Nightly

Created 2020-06-03
Last Updated 2020-08-01
 

manuelsilv

Member
Nov 8, 2017
21
4
0
The included LineageOS recovery text is very small.

EDIT: Installed open_gapps-arm64-10.0-nano-20200603.zip using adb sideload without errors, but after system boot nothing changed, as if nothing has been installed :(
 
Last edited:

P4Block

Senior Member
Nov 24, 2013
147
665
93
Flash lineage -> reboot recovery (or fastboot boot twrp again) -> flash gapps

It's an A/B phone people. It's been years.

ROM gets installed to the inactive slot. Addons install to current slot. Slot cannot be changed without rebooting, at least in current twrp.
 

manuelsilv

Member
Nov 8, 2017
21
4
0
Flash lineage -> reboot recovery (or fastboot boot twrp again) -> flash gapps

It's an A/B phone people. It's been years.

ROM gets installed to the inactive slot. Addons install to current slot. Slot cannot be changed without rebooting, at least in current twrp.
You use twrp, not the included recovery?
Are you implying gapps survive an OTA upgrade? If yes, please make a for dummies install guide :D (including the slot change steps)
 

lept_2014

Senior Member
Nov 25, 2014
175
125
43
@mikeioannina , Why is the fingerprint from build.prop so old?
Code:
ro.system.build.fingerprint=xiaomi/jasmine/jasmine_sprout:8.1.0/OPM1.171019.011/V9.6.17.0.ODIMIFE:user/release-keys
ro.build.fingerprint=xiaomi/jasmine/jasmine_sprout:8.1.0/OPM1.171019.011/V9.6.17.0.ODIMIFE:user/release-keys
How can this affect if you came from Android 10 V11.0.10.0QDIMIXM?
 

vikaseth

Senior Member
Mar 1, 2013
106
20
0
I write this post only becoz i was not able to install gapps correctly with the rom ,but after lot of try at last i got it.... I provide method from start after u unlock bootloader...
1. Use command "fastboot boot twrp.img" , in fastboot mode
2.boot into twrp ,go to wipe format data than advanced wipe select all option and wipe
3. Transfer your rom ,gapps and mazisk to the sdcard via pc
4. Flash the rom first , than go to reboot option change slot to other one and reboot bootloader
5. Use command "fastboot boot twrp.img"
6. Flash gapps which u want (i use open gapps stock)
7. Flash mazisk (this is necessary) if u want to retain gapps after reboot
8. Now again go to main menu of twrp and wipe>format data
9. Now reboot your system .....
I use this method and got success to boot rom with gapps .....there is various methods but i told only which i applied....may be it will help to the needy one ......sorry for bad English
 

hugohenry16

Member
May 3, 2018
49
4
0
I write this post only becoz i was not able to install gapps correctly with the rom ,but after lot of try at last i got it.... I provide method from start after u unlock bootloader...
1. Use command "fastboot boot twrp.img" , in fastboot mode
2.boot into twrp ,go to wipe format data than advanced wipe select all option and wipe
3. Transfer your rom ,gapps and mazisk to the sdcard via pc
4. Flash the rom first , than go to reboot option change slot to other one and reboot bootloader
5. Use command "fastboot boot twrp.img"
6. Flash gapps which u want (i use open gapps stock)
7. Flash mazisk (this is necessary) if u want to retain gapps after reboot
8. Now again go to main menu of twrp and wipe>format data
9. Now reboot your system .....
I use this method and got success to boot rom with gapps .....there is various methods but i told only which i applied....may be it will help to the needy one ......sorry for bad English
you don't use the lineage recovery?
 

ntomka

Member
Jan 23, 2015
9
3
0
I write this post only becoz i was not able to install gapps correctly with the rom ,but after lot of try at last i got it.... I provide method from start after u unlock bootloader...
If I follow the official wiki method, I have no gapps after boot to system. If I follow vikaseth's method, I can't even boot to system, after a minute or two lineage logo animation my phone ends up in recovery saying data maybe corrupt and I have to format it, but it doesn't help also.

I tried lineage and twrp recovery also. If I combine the two, flash rom from lineage recovery, then flash gapps from twrp, I stuck with endless lineage logo animation.