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

Search This thread

Irish_Dude

Senior Member
Dec 18, 2013
191
53
This ROM is brilliant, thanks dev

I have a quick question:

How do we update the ROM?

An "update available" appears in the settings menu, but wheh I hit install, it looks like its going to install but it doesnt and a "reboot" option appears but when I press reboot, the phone just restarts and the update is not installed.

Any ideas how I get update this RoM?

Thanks guys
 

cimbike

Senior Member
Nov 13, 2008
620
189
This ROM is brilliant, thanks dev

I have a quick question:

How do we update the ROM?

An "update available" appears in the settings menu, but wheh I hit install, it looks like its going to install but it doesnt and a "reboot" option appears but when I press reboot, the phone just restarts and the update is not installed.

Any ideas how I get update this RoM?

Thanks guys
Hello and Happy New Year to all of you.
This is the second OTA update I do and nothing wrong with this. It applies the update after reboot and also TWRP is not modified.
 
  • Like
Reactions: reujea0

Disaster189

New member
Jan 5, 2022
3
1
After installing this rom and GAPPS pico 11 arm64 and starting the phone for the first time, an OPEN GAPPS error init phone appears, do you know if it is important and if it can be solved in some way? I have cleared the cache and format factory, but it did not work.
 
Last edited:

srepole

Senior Member
Sep 25, 2018
91
36
This ROM is brilliant, thanks dev

I have a quick question:

How do we update the ROM?

An "update available" appears in the settings menu, but wheh I hit install, it looks like its going to install but it doesnt and a "reboot" option appears but when I press reboot, the phone just restarts and the update is not installed.

Any ideas how I get update this RoM?

Thanks guy
If ota engine doesn' t work for you, check your rom' s installation.
Ota should work fine.
But you can also manually update your rom.
Download the newer build where is comfortable for you, e. g. in internal storage.
Boot to twrp, hit install in main twrp' s menu, choose internal storage ( or where you placed newer build before ) and swipe to flash the zip.
After that, return to main twrp' s menu, hit wipe, advanced wipe and wipe cache.
Reboot from twrp to twrp.
Last step, reboot to system.
Voilà, you will be good to go with your updated rom.
 
Last edited:
  • Like
Reactions: reujea0

reujea0

Senior Member
Jan 31, 2016
565
761
This ROM is brilliant, thanks dev

I have a quick question:

How do we update the ROM?

An "update available" appears in the settings menu, but wheh I hit install, it looks like its going to install but it doesnt and a "reboot" option appears but when I press reboot, the phone just restarts and the update is not installed.

Any ideas how I get update this RoM?

Thanks guys
Normally the OTA updates should be working. Maybe try flashing manually the latest version of the rom, than one has it working.
 
  • Like
Reactions: yamaha77

Disaster189

New member
Jan 5, 2022
3
1
Could you be more spcific, maybe some screenshots
I do not have an image because it is when the phone starts for the first time, an error appears that says something like: Google keep stopping, although it seems that everything works fine after starting the phone, all services and playstore work correctly. It is only an error when starting the phone for the first time, after installing GAPPS PICO and LINEAGEOS 18.1
 

reujea0

Senior Member
Jan 31, 2016
565
761
Maybe next time, first install the rom, boot into it. THen reboot to TWRP, reset and flash gaaps. ALso check the different google apps like google play services, google, google play and make sure that they have all the permissions necessary in the settings. I remember having somrthing similar and that wasthe fix.
 

Disaster189

New member
Jan 5, 2022
3
1
Maybe next time, first install the rom, boot into it. THen reboot to TWRP, reset and flash gaaps. ALso check the different google apps like google play services, google, google play and make sure that they have all the permissions necessary in the settings. I remember having somrthing similar and that wasthe fix.
I will try it although I do not know if it is worth it since everything works fine, only that Toast message the beginning for the first time appeared and nothing else.
 
  • Like
Reactions: yamaha77

testman42

Member
Jul 13, 2021
10
5
Hearing that makes me very happy.

Can you maybe point us to that developer, so that we will know where to look for updates regarding LOS19-on-daisy progress?

If not yet, then will you post a link in this thread once there is something to be seen?
 

reujea0

Senior Member
Jan 31, 2016
565
761
Hearing that makes me very happy.

Can you maybe point us to that developer, so that we will know where to look for updates regarding LOS19-on-daisy progress?

If not yet, then will you post a link in this thread once there is something to be seen?
Not really, keep looking for new pages on the rom forum. Building a ROM is not like i'll have it working in XX times, it's like it either works or not. Sorry cannot be more specific.
 

ardanai

Senior Member
Aug 2, 2011
412
143
Rio de Janeiro
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
does this instruction work for users who come from another android 11 custom rom? or I should downgrade to 10.0.18.0 stock rom first?
 

Vaporlicious

New member
Nov 17, 2018
1
0
Thanks a lot @reujea0
i had quite some problems with installing the rom but i think there were on my side. managed it finally with flashing stock rom from xiaomi with miflash and then flashing lineage afterwards and it worked.

its running stable and smooth. coming from lineage with android 8.1 (yea i know...) i notice differences and miss some things:
-battery consumption is higher. just a thing to accept or is there a possibility to tweak with different kernal etc?

-i miss wakeup display when receiving a notification? is there no implemented solution for it? android 8 had it? i bypassed it with a 3rd party app...

-my notification LED is not working properly. battery notification works fine but with messengers at the beginning i had no led and now its turned on all the time instead of blinking. also with email i get no led notification (k9 mail).
i saw there is lokal settings and app specific settings. but the only effect i get is no led or turned on led but no blinking?

-bluetooth connection is laggy, when watching a video or listening to musik with sound pairing over bluetooth i have leggs and moments where it seems like my internet connection is leggy or the mobile is out of reach for signal but its only 1m to the receiver and the internet connection is good.



thanks for your time!
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Sorry, I realised that I forgot about the april update, anyhow, I'm working on the May one. Could someone test the May update out? The link is here: https://transfer.sh/5BPBgm/lineage-18.1-20220517-UNOFFICIAL-daisy.zip . It it works fine, you can keep on using it as it will get June's OTA when that comes around. Again, thanks in advance for anyone who is willing to test this build and provide feedback.
    3
    Sorry, I realised that I forgot about the april update, anyhow, I'm working on the May one. Could someone test the May update out? The link is here: https://transfer.sh/5BPBgm/lineage-18.1-20220517-UNOFFICIAL-daisy.zip . It it works fine, you can keep on using it as it will get June's OTA when that comes around. Again, thanks in advance for anyone who is willing to test this build and provide feedback.
    Same for MicroG https://transfer.sh/k1JocU/lineage-18.1-20220518-UNOFFICIAL-daisy.zip
    1
    Sorry, I realised that I forgot about the april update, anyhow, I'm working on the May one. Could someone test the May update out? The link is here: https://transfer.sh/5BPBgm/lineage-18.1-20220517-UNOFFICIAL-daisy.zip . It it works fine, you can keep on using it as it will get June's OTA when that comes around. Again, thanks in advance for anyone who is willing to test this build and provide feedback.
    Thank you! :)
    • Update on top of march (20220320) works
    • GPS seems to work
    • Camera works
    • Wlan works
    • Mobile internet works
    • Phone call works (mic/speaker works)
    • Bluetooth works (tested bluetooth audio)
    • Adaptive brightness works
    • Smooth, no stuttering, so far no crash or sudden reboot detected
    1
    Sorry, I realised that I forgot about the april update, anyhow, I'm working on the May one. Could someone test the May update out? The link is here: https://transfer.sh/5BPBgm/lineage-18.1-20220517-UNOFFICIAL-daisy.zip . It it works fine, you can keep on using it as it will get June's OTA when that comes around. Again, thanks in advance for anyone who is willing to test this build and provide feedback.
    I dont know if it was this Rom Update or Updating opengapps with it what fixed a weird error where I didnt receive push notifications in one banking App I'm using.

    One problem I'm having is that YouTube seems to buffer more frequently when listening through bluetooth (mi true wirless earbuds Basic 2) but this problem was present in all releases maybe it's the earbuds themselves dunno. Edit: just did a quick research seems to be a common problem with some devices that WiFi slows down while Bluetooth devices are connected so definetly not rom related issue.

    other than that I can confirm rtfmguy's statement and have not encountered any problems so far. thanks for this update
    1
    Thanks @sergej_7 and @rtfmguy for the feedback. I'll publish it later today
  • 37
    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.