LineageOS 16.0 - Xiaomi Mi A2 Lite [ENFORCING]

Search This thread

33bca

Recognized Developer
Jun 5, 2013
948
3,928
Basel
OnePlus 8 Pro
OPPO Find X5 Pro
http%3A%2F%2Fi.imgur.com%2F2okPze5.png

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:

yG18r6g.png

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
249
48
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
455
369
Redmi Note 9 Pro
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

Senior Member
Sep 23, 2018
64
9
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
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
155
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

alejandrorobles12

Account currently disabled
Dec 26, 2015
65
15
GB
Could you explain how to correctly install the rom together with the gapps? he made me hard brick which I had to solve with test points after doing a clean installation together with the gapps "open_gapps-arm64-9.0-pico-20190406"
 

Top Liked Posts

  • There are no posts matching your filters.
  • 61
    http%3A%2F%2Fi.imgur.com%2F2okPze5.png

    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:

    yG18r6g.png

    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
    19
    New LineageOS build!
    OTA will follow soon
    Download: https://androidfilehost.com/?fid=6006931924117920053

    Changelog:
    - Added offline charging
    - Fixed ghost-touches
    - Fixed fingerprint gestures for fpc
    - Minor changes you wont notice & LOS upstream

    Cheers!
    19
    New test build!
    This build is for testing purposes only! It could have some bugs caused by selinux.
    Please let me know about any bugs (pm to me with logs)

    Currently know:
    - None

    Download: https://androidfilehost.com/?fid=6006931924117908101

    Changelog:
    - Sepolicy enforced (Yay!)
    - added 4K video recording
    - Minor changes you wont notice

    Cheers!
    18
    New Update! (OTA will follow soon)
    Download: https://androidfilehost.com/?fid=6006931924117886039

    Changelog:

    - Fixed WifiDisplay (this time for real...)
    - Update wont remove GoogleApps or Magisk (just for the following releases, this one will still do it...)
    - Minor changes you wont notice

    Enjoy!
    18
    New update!

    Download: https://androidfilehost.com/?fid=6006931924117884249

    Changelog:
    - Added OTA support (from now on you dont even need TWRP to update builds, a reboot will do it after downloading and installing it in the updater app)
    - Added Doze
    - Added option to record calls
    - Fixed bad bluetooth call quality
    - Fixed wireless display
    - Updated CAF tag (kernel & prima driver)
    - Minor changes you wont notice

    Cheers!