• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][UNOFFICIAL][11.0] Lineage OS 18.1 - Xiaomi A2 Lite

Search This thread

MKKLR21

Senior Member
Aug 8, 2013
299
133
Thanks for making this rom available on the mi a2 lite ! Everything works well except one thing : mobile data. When I toggle it, the icon turns to its active state but I don't have the 4G or LTE icon in the top bar and I don't have access to internet (and yes I am in an area that is covered by 4G). So I'm not sure if the issue is from the rom or something else but this is a fresh install and it was working before installing lineageOS
Most likely an APN issue.
 
  • Like
Reactions: reujea0

yamaha77

Senior Member
Jun 4, 2014
117
14
Moscow
Xiaomi Mi A2 Lite
Most of us will want the basic functionality like Google Play, Maps and others, therefore I recommend downloading Gapps.


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.


factory reset - what exactly you mean in "factory reset"?
format data, or advanced wipe, or "just slide"?
no comprehensive understanding...
give an extended explanation please!



and, is specified guide are correct?
did we need change slot after flash, etc something...
 

WaveAbuser

Member
Oct 7, 2017
16
5
Hi all, I just stumbled across this LineageOS version for the Mi A2 Lite. Now that the device will no longer get security updates with the stock Android software, I am thinking about installing LineageOS on my phone. Did this version receive continuous security updates, i.e. is it being kept up to date?
 
Last edited:

velo27

Member
Feb 25, 2021
15
2
Thx for the ROM, looks great so far...

One issue, I've installed MicroG and the self check states the ROM doesn't support Signature spoofing??? is this true???
 

shrubthebub

New member
Aug 3, 2021
3
2
Earth
Thx for the ROM, looks great so far...

One issue, I've installed MicroG and the self check states the ROM doesn't support Signature spoofing??? is this true???
Yes this is true. The easiest way I found to get microG working is to install XPosed framework (i used EdXposed search up install guides for this [one good one is by munchy]). As a part of this, you should also install the full EdXposed manager apk. Then, install the FakeGapps for Android 11 .apk file from here. EdXposed manager should auto-detect the apk and just enable it and reboot. Signature spoofing should be enabled now!!
 
  • Like
Reactions: MyMaHooR
Jul 18, 2021
6
0
Maybe you should try this twrp https://forum.xda-developers.com/t/...-twrp-recovery-for-xiaomi-mi-a2-lite.4178901/

After formatting data, wipe everything except sdcard. I put necessary files on sdcard.

And after the step that you install the rom, install twrp installer, too. And before rebooting system, don't forget to change your slot(from reboot menu), and reboot to recovery again. Than i installed gapps and magisk and rebooted system. Everything gone well.
Hi, please do I need to wipe everything including system? Thank you
 

velo27

Member
Feb 25, 2021
15
2
Yes this is true. The easiest way I found to get microG working is to install XPosed framework (i used EdXposed search up install guides for this [one good one is by munchy]). As a part of this, you should also install the full EdXposed manager apk. Then, install the FakeGapps for Android 11 .apk file from here. EdXposed manager should auto-detect the apk and just enable it and reboot. Signature spoofing should be enabled now!!
thx for the response... EdXposed is having problems with Riru and heaps of other issues at every turn which I can't be bothered looking into..

The phone is running almost all apps I require and is very stable, so overall very happy with the ROM
 

Top Liked Posts

  • There are no posts matching your filters.
  • 8
    Sorry have been a long time away on holidays. I am back, so there will be an august version and soon a september one. IDK about offcial, probably not happening. Will release microg jsut after that. If I missed your questions, please post them again
    4
    Actually it was my initial idea bringup up oss audio primary "that ended up fixing the mic on speaker mode with also https://github.com/a-huk/device_xiaomi_daisy/commit/5e4dd269c28c703523cae0f44603479687e02aa3" and oss camera hal "co bringup with anorton"

    Btw i'm happy that i contributed much on this device
    This man is a legend, without him, this rom would have half of its functionality broken
    3
    I have build a new version, just looking for some feedback before releasing it into the wild. Flash it manually and OTAs are configured so that they will work directly when a future version comes around. Here is the link: http://transfer.sh/zKJBjR/lineage-18.1-20210906-UNOFFICIAL-daisy.zip
    3
    Thx for ya work 👍🏼 but now...when i start vids at insta...all time bugin ...Like at the attached Pic ... before i update ...it will happen Sometimes...Hope you can fix it next OTA ;-)
    Screenshot_20210910-120352_Instagram.png
    2
    topic is dead?
    no more support?
    Nope, sorry was on holiday and had not taken the phone with me, so could not dev
  • 30
    yUIn6TF.png

    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:
    Code:
    #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:
    1. Download the latest build from here
    2. Download LinkBoi00's version of TWRP here
    3. Reboot to bootloader (adb reboot bootloader)
    4. Fastboot into TWRP recovery (fastboot boot twrp*.img)
    5. Do a factory reset in TWRP
    6. Flash the latest build of Lineage OS
    7. 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. They do not yet have official R builds, but you can yet the beta ones that work fine from here.
    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.

    Credits:
    Lyceris-chan (most of this is possible due to him)
    LinkBoi00
    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
    9
    Sorry, for leaving the rom broken and being away for so long. I had important deadlines at school and could no work on this rom. Sorry, from now on things should be much smoother, probably microg build coming in the next month.
    8
    Latest OTA is out, Bluetooth is working and it has the February security patch. Feel free to tell me you got it.
    8
    Sorry have been a long time away on holidays. I am back, so there will be an august version and soon a september one. IDK about offcial, probably not happening. Will release microg jsut after that. If I missed your questions, please post them again
    8
    I have gotten Bluetooth fixed, selinux is enforcing. Building now to see if I can get WFD foxed as well.

    Depending on the results, new build with February OTA might be out today or tomorrow.