• 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][OTA][10.x] LineageOS 17.1 Unofficial [jasmine_sprout / Mi A2]

rcstar6696

Elite Member
Dec 21, 2013
2,468
8,468
0
Kassel (Hessen)


LineageOS is a free, community built, aftermarket firmware distribution of Android 10, which is designed to increase performance and reliability over stock Android for your device.

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.
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

Instructions

Flash from Stock Rom

1. Download ROM, TWRP recovery and GApps (if you want)
2. Boot TWRP Recovery via fastboot (fastboot flash boot pathTo/recovery.img)
3. Format System, Data and wipe Dalvik, Cache from recovery (Wipe Option).
4. Flash ROM zip
5. Switch slots and reboot recovery
6. Flash GApps zip
7. Reboot

(Optional)
6.2 Root: Download Magisk & flash Magisk zip via Recovery


Downloads :
Recommended TWRP
ROM Builds
GApps
GCam
Telegram Group

Known Issues:
* none

Reporting Bugs
  • DO NOT Report bugs if you're running a custom kernel or you installed Xposed
  • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
  • If it is a random reboot, grab /proc/last_kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
  • If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. Any bug not reported in the bug report format below may be ignored.

XDA:DevDB Information
[ROM][OTA][10.x] LineageOS 17.1 Unofficial [jasmine_sprout / Mi A2], ROM for the Xiaomi Mi A2

Contributors
rcstar6696, ItsMeShouko
Source Code: https://github.com/LineageOS-MI-A2-MI-6X

ROM OS Version: Android 10
ROM Kernel: Linux 4.x
Based On: LineageOS

Version Information
Status: Stable

Created 2019-09-10
Last Updated 2020-07-14
 
Last edited:

sclip

Senior Member
Oct 12, 2010
191
24
18
@rcstar6696 Great work! I am unfamiliar with ROM development, so I have questions: don't you need Android 10 sources for any particular device in order to make custom ROMs for it? Has Xiaomi released the kernel source for Android 10 for our A2?