• 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

PlsHelpXDA

Member
Sep 21, 2020
21
3
Hello XDA, I think my problem is solved. I made a fresh install again (full wipe) and used opengapps pico from today. At present, by incomming phone calls displayd this (only above wiith the red and green button. Last time, the phone app was automatily open by incomming phone calls (17.1). Is this new in 18.1?

Best regards all
 
  • Like
Reactions: templeos

reujea0

Senior Member
Jan 31, 2016
486
616
Hey maybe it's unrelated to this specific ROM, but when I enable the wifi or mobile data after a long time (a few hours), the device starts lagging heavily for the next 5 minutes. Probably because all the apps want to do their thing asap. In this situation, the main UI thread is blocked and we can't do important work until these background tasks are done.
Is there a way to delay these apps a little so that the user can do what he wants without interruption?
I don't use the rom on a daily basis, so if you could get me the logs of when it happens, that would be awesome
 

reujea0

Senior Member
Jan 31, 2016
486
616
Sometimes certain apps (for example LinkedIn, polish public transport app Jakdojade) lose the ability to access internet while the rest works just fine. Internet access can then be restored by a simple reboot. Any idea if it's a bug or I've got something incorrectly configured?
Hard to tell, you seem the first to have this happen to, again please provide the logs of when it happens
 

PlsHelpXDA

Member
Sep 21, 2020
21
3
Morning, normaly I turn off mobile data if I not use it. If I turn on, the phone restart again mostly. I have installed last Rom 20210623. Provider is germany, Vodafone. I use 2 sims, dual sim

Best regards all
 
Last edited:

Amarok19

Member
Feb 25, 2014
7
2
Xiaomi Mi A2 Lite
Hard to tell, you seem the first to have this happen to, again please provide the logs of when it happens
I managed to reproduce this today with Jakdojade (logcat1.log) and Microsoft Teams (logcat2.log - this one looks more informative to me, so you might want treat it as a primary source of intel).

In general such things can be found in the logs:
Code:
java.net.UnknownHostException: Unable to resolve host "teams.microsoft.com": No address associated with hostname
... so maybe something about reaching DNS?
 

Attachments

  • logcat1.log
    779.4 KB · Views: 3
  • logcat2.log
    5.8 MB · Views: 2
  • Like
Reactions: reujea0

prog19

Senior Member
Apr 29, 2012
539
178
I'm on a clean install on this rom for 24h now and no bugs so far.wifi works ok, Bluetooth pairing is ok too GPS is fine. I've chosen MindTheGapps-11.0.0-arm64-20210412_124247 and everything is fine.
For the gcam the choice was DMGC_8.2.204_ver.5.0
 
  • Like
Reactions: templeos

rootsdroid

Senior Member
Aug 6, 2017
65
14
@reujea0 I have some issues with Bluetooth. When I'm in my car, and I make a call through steering wheel controls (or from multimedia system), if the A2 Lite is screen off, the call is never done (the multimedia system says it is "calling", but no telephone signal...), but if I touch the power button and the screen goes on, then the call continues.
The car audio system is OEM and never had this issue. I deleted the device and paired again, but nothing. Any help? Thanks
@reujea0 Yesterday I did a clean install and I went directly to the latest June build. My car BT issue is present already. Do you know if there is any fix to this?
 

tasif_21

New member
Jul 24, 2021
2
0
I got some issues with this version of rom. The geo location doesn't work on any maps. Google play services doesn't allow any app to access sms. And non of the gcam port is working.
 

templeos

Member
Jul 26, 2020
6
2
Xiaomi Mi A2 Lite
Flashed latest stable release on first post and everything is fine and works. (+opengapps pico).
Dont wait for official status especially if you are on stock xiaomi rom.

the kernel:
18.1-20210623-UNOFFICIAL-daisy
4.9.262-sleepy - but my college is a serious joke!

only problems you might face too:
-One of my banking apps complained about custom rom yet still worked. The other one doesnt even launch. This is on the app makers obviously.

-unlocked bootloader and android one splash screens are still there before lineageos animation when rebooting phone.

i saw the microg build later and too lazy to try it now :D
doesnt lineageos avoid supporting microg anyway?
 

mustaphakosar

Senior Member
Apr 4, 2018
59
29
DO NOT INSTALL THIS ZIP WITHOUT KNOWING EXACTLY WHAT IT IS. THIS IS NOT AN UPDATE, JUST A TEST FILE.

As requested, here is a beta of the microG version. It looks functional at first sight, should be the same as the non-microg one. Give me feedback if you try it. If it is good will release it. Download this http://transfer.sh/1UtZs3v/$RK4RW1G.zip

Thanks
This works good! Ready to release I guess. Microg core app/aurora store, it's doing what it is supposed to do. If I happen to come across with any bug, I will take logs and inform you.
 

Tthhomas

Member
Mar 7, 2019
15
5
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
 

tasif_21

New member
Jul 24, 2021
2
0
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
Which gapps package are you using?... I'm facing some problems with my location and sms permission.
 

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
    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?
    yes
  • 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.