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

Search This thread

reujea0

Senior Member
Jan 31, 2016
570
768
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.
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.
 
Last edited:

rootsdroid

Senior Member
Aug 6, 2017
72
21
I get bootloop on first reboot after flashing the ROM. I followed your installation guide.
 

rootsdroid

Senior Member
Aug 6, 2017
72
21
I installed it without any error or bootloop. Are you doing clean install? Is your twrp version new?( I used 3.5.0_9.1.) What was your current rom?
Clean install over previous clean official V11.0.18.0.QDLMIXM.
i used twrp-3.4.0_9-rc6_2-unofficial-daisy.img only to boot into recovery and follow the steps.
Can you help me? Thanks
 

mustaphakosar

Senior Member
Apr 4, 2018
80
35
Clean install over previous clean official V11.0.18.0.QDLMIXM.
i used twrp-3.4.0_9-rc6_2-unofficial-daisy.img only to boot into recovery and follow the steps.
Can you help me? Thanks

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.
 

rootsdroid

Senior Member
Aug 6, 2017
72
21
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.

Thanks friend! Now all is working!
 

hardmaster92

Senior Member
Jan 26, 2013
106
45
31
Xiaomi Mi 10T / 10T Pro
Thanks for providing this new version, I did a clean install today. Everything seems to work fine except the default browser - no matter if I use mobile data or wi-fi, it can't open any page
 

srepole

Senior Member
Sep 25, 2018
92
36
@reujea0 Thanks for the rom and all your efforts.
Which opengapps package do you recommend ?
And which is the biggest package we could safely flash to avoid twrp' s error 70 ?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 38
    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.
    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.
    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
    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.
    8
    Latest OTA is out, Bluetooth is working and it has the February security patch. Feel free to tell me you got it.