• 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

LineageOS 16.0 - Xiaomi Mi A2 Lite [ENFORCING]

33bca

Recognized Developer
Jun 5, 2013
892
3,615
93
Basel

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

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. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

Base source code is available in the LineageOS Github repo. And if you would like to contribute to the project, please visit our Gerrit Code Review.

GPL compliance:


Working:
  • Camera (and flashlight)
  • WiFi
  • Bluetooth
  • Telephony (Calls and Data)
  • Audio (Record and Playback)
  • Video Playback
  • Sensors
  • GPS
  • HW crypto
  • OTA Updater
  • SELinux Enforcing

Broken:
  • Tell me, there will always be something..



Compatibility:
Compatible with all Xiaomi Mi A2 Lite variants.
Builds are based off the Xiaomi's Android 9 firmware.​

Downloads:

Notice:
  • No custom kernels are supported in this thread. Only stock kernel and official builds will be supported. No bug reports if that's not the case.

Installation:
  • Boot recovery from fastboot (TWRP recovery for Mi A2 Lite)
  • Format/Wipe /system and /data
  • Install LineageOS zip package
  • Install [optional] TWRP flashable
Don't forget to change slots after installing the rom in TWRP!
You have to reboot TWRP to the "new" slot to install GApps!

Important notes:
  • * Required * firmware version must be based on P-based builds.
  • GApps can only be flashed on clean installs.
  • Formatting/Wiping data (all user data is wiped, including internal storage (in case of a format)) is a must if you were using a different rom previously.

Credits & collaborations:
I would like to thank everyone involved in helping with testing, coding, debugging & documenting! Enjoy!​

Device wiki:



XDA:DevDB Information
LineageOS 16.0 for Xiaomi Mi A2 Lite

Contributors
33bca
ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.x

Version Information
Status: Testing

Created 2019-04-07
Last Updated 2019-05-02
 
Last edited:

Txatxiquesi

Senior Member
Oct 1, 2018
243
46
28
Thanks a lot!, I am already on january stock rom with twrp and rooted, with magisk modules.

Should i restart with fresh rom flash, or i can just wipe and flash?.
 
  • Like
Reactions: rasoooli

ada12

Senior Member
Jul 2, 2017
224
161
43
just wipe /data and /system and install
Thanks a lot!, I am already on january stock rom with twrp and rooted, with magisk modules.

Should i restart with fresh rom flash, or i can just wipe and flash?.


---------- Post added at 02:53 PM ---------- Previous post was at 02:52 PM ----------

los updater is for official rom , this rom is unofficial so no... but is not a problem for update after flash new zip in twrp and reboot
Does this rom have los updater working?
 

leitseleac

Member
Sep 23, 2018
35
6
8
Will this ever support custom kernel?

I need color calibration to remove yellowish tint of my phone. And to some who will say im on reading mode or etc. NO, my default lcd is EBBG, its warm tone by default.
 

davidrocher

Senior Member
Apr 19, 2017
68
164
0
Nantes
Will this ever support custom kernel?

I need color calibration to remove yellowish tint of my phone. And to some who will say im on reading mode or etc. NO, my default lcd is EBBG, its warm tone by default.
1. Open the kernel ZIP file
2. Copy module/system/vendor/lib/modules/wlan.ko to module/system/lib/modules
3. Flash the kernel.

But you don't need a custom kernel to change the hue, there's an option for that in LOS settings.
 

LionHeart90

Senior Member
Nov 14, 2018
354
151
0
during flashing it appears: updater process ended with error 1. I think it's something at boot level if I'm not mistaken. I tried flashing the boot stock and then the rom, but it still gives me error 1. How do I solve it?
 
  • Like
Reactions: Pupo_28