[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] reujea0:
View attachment 5211149

LineageOS 18.1 is a free, community built, aftermarket firmware distribution of Android 11/R, 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. 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.

Disclaimer:

#include <std_disclaimer.h>

/*
* Your warranty is now void.
*
* We are 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 us for messing up your device, we will laugh at you.
*
*/

What's working:

Boots

RIL

Fingerprint

Wi-Fi

Bluetooth

Camera

Audio

Sensors

Flash

LED

GPS

Known issues:

You tell me

Installation:

Download the latest build from here

Download LinkBoi00's version of TWRP here

Reboot to bootloader (adb reboot bootloader)

Fastboot into TWRP recovery (fastboot boot twrp*.img)

Do a factory reset in TWRP

Flash the latest build of Lineage OS

Boot into your new phone

Optional:

Most of us will want the basic functionality like Google Play, Maps and others, therefore I recommend downloading Gapps. You choose your own, but I recommend OpenGapps. They are among the few that can survive OTA updates.

If you do this, I recommend booting into the new LineageOS first, then reboot to recovery, do a factory reset and then only flash the gapps. If you don't do this, the gapps won't install properly

Credits:

Lyceris-chan (most of this is possible due to him)

LinkBoi00

ItsVixano

LineageOS

The wider Android community

Ending words:

This is a follow-up to the Lineage 17.1 ROM that I was working on. You cannot just upgrade from it to this via the system updater, you have to go through the process above. As said before, this is mostly possible due to Lyceris-chan, go support him. If you have any errors or questions feel free to ask in the thread. As for official status, might happen, probably not, I don't have enough time to make the push. As for MicroG, I plan to publish a build too, keep an eye out on xda. If I failed to credit you, make yourself known.

Sources:

Device: https://github.com/a-huk/device_xiaomi_daisy/tree/lineage-18.1

Kernel: https://github.com/Daisy-R-sources/kernel_xiaomi_sleepy

Vendor: https://github.com/a-huk/vendor_xiaomi_daisy/tree/lineage-18.1

Old builds:

If for some reason you need older builds, they can be found here: https://github.com/a-huk/otaserver/releases

Donate:

By no means is it mandatory, I do this because I find it interesting. But it takes a lot of time and also requires me to have a powerful server, so if you could spare some change, I would be grateful.

Donate

MicroG:

If you know what this is, then feel free to install it. This is the same ROM as above, but "debloated" of Google Services that are replaced with open-source alternatives. It mainly works the same, but most daily users will prefer the "normal version". This ROM has its own separate OTA engine, so it should receive updates over it too. You can download it here. The install process is very similar, just don't install Gapps at the end.