yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] srepole:
I just edited, for this occasion to help you, a part of the installation giude made by Linkboi, so give credits to him.

If you aren' t familiar with custom roms installation i advise you to read all Linkboi' s thread.

Here:

https://xdaforums.com/t/detailed-installation-guide-for-custom-roms-mi-a2-lite-daisy.4142637/

Follow these steps.

1) Paste the downloaded custom rom (zip file) into your sd card and insert it into your phone.

2) Hold down the power button alongside with the volume down button. You should see the fastboot screen shortly.

3) Copy the TWRP IMG file to the platform-tools folder

4) Copy the TWRP Installer Zip file to your SD Card.

5) Open a cmd / PowerShell window in the platform-tools folder.

6) Type: fastboot boot twrp-3.5.0_9-1-daisy-unofficial.img

7) Go into the main menu of TWRP. Press Wipe, then "Format Data". Type "yes" and press enter. (Keep in mind that all of your data will be wiped and there is no going-back).

9) Go back and press "Advanced Wipe". and select everything except "SD Card". Swipe to confirm the action.

10) Go into the main menu. Press "Install", "Select Storage" and select "Micro SD Card".

11) Flash the zips in this order (Click on them and swipe to confirm the action)

- Custom ROM

- TWRP Installer ZIP

DO NOT install Magisk, GApps or anything else yet, we will do that later!

(Some ROMs do not require Force Encryption Disabler as Force Encryption is disabled by default, although flashing that zip won't hurt anything)

After everything is done, DON'T TAP REBOOT YET. Instead, go back to the main menu, choose "Reboot", change the slot (e.g. if it says "Current Slot: A", tap "Slot B", vice versa.

12) Tap "Recovery" in the reboot menu to rebbot to twrp.

13) Flash anything you would like to install on your phone (Magisk, Gapps, etc.) it the usual way. You can easily copy them in SD Card as did with the ROM.

14) Reboot to System and enjoy your Rom.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] velo27:
Been using this for a couple of days and is flawless.... Didn't install GAPPS, so some apps don't have notifications... going to try the MicroG ROM now.. A deGoogled phone is my goal.

Cheers for the work @reujea0 donated :)
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] jkrhu:
Fyi you don't really need an SD card for this. After flashing TWRP in fastboot, you format everything first. Then you can mount your data partition in TWRP and send what you want from your PC straight to internal memory. Make your installs, switch slots and that's it.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] rb1979:
Sure, I'll get that for you, maybe tomorrow, I need to switch SIM's back, can't use the phone until I have wifi calling and stable wifi workng for accepting calls/messsages, this phone is simless right now, i keep switching the sims from the other phones to see how stable it is, thanks
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] c3497605:
Thank you, I successfully updated my device. I had to reinstall Magisk though. Is boot.img going to be a part of every OTA? I had to extract, patch it with Magisk app and flash again because its contents changed since last update.

Btw anyone else finds stock Gallery app to be somewhat slow (animations not being smooth)? I installed Simple Gallery and it's much better.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] viking777:
Got the update OK but lost magisk and twrp again. Am I doing something wrong? With lineage 17, after install I used to not reboot, but go to magisk and select 'install to inactive slot after ota', but that option is no longer available only 'select and patch a file'. I have to boot to lineage recovery and install twrp and magisk from there. It isn't a big deal, but the previous way was easier, especially after I discovered the twrp a/b retention script.

Another strange thing that happened after this ota was that 'usb debugging' had been switched off so adb wouldn't work - I didn't switch it off.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] wuslschweiz:
Great rom so far.

I just installed it but unfortunately it does sync contacts.

Also the option for automatic sync in Google Contact sync is deactivated and it is not possible to activate it.

is it just me or is this a general problem?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] schnitzel1977:
#55

Take a Look at Google Play Services...Maybe some Options not actived ?!
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] sole00:
I am following this steps and I am not able to do this rom works... Tried to do it from Slot A (then the rom gets installed on inactive Slot B) and I change the slot before the reboot but black screen after android one logo...

I have repeated the process several times from slot A and from slot B withouth success.

After reading this topic and some other tutorials on the forum, I have no idea what I am missing... Do I need to have the stock rom on on slot and the custom on the other???....

Hope someone can guide me to find out how to solve it, thanks!!
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] velo27:
I had the same iasue, but just exported contacts as .vcf and imported fine , can't help with google..
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] velo27:
I had similar issues, when you boot to recovery, does it take you to twrp?

Also have you downloaded the full Android SDK tools?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] rootsdroid:
Sorry for the delay. With Magisk 22 update Viper is full working.

This ROM is great!
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] wuslschweiz:
I already did this. thx.

could be that there is a general problem with Google services. Allmost every app is complayning about missing rights on google services.

Can I just re flash Gapps or do I need to wipe all and do a clean installation of the Rom?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] schnitzel1977:
I dont think so... befor you flash and reset and have alot of Work for.

Try that : Go to settings-apps&notifications*here choice show all apps-then choice the 3 points in right corner-choice here show systemapps-after that search for Google Play Services-now give permission you want...after that reboot and start sync contacts

That was the solution in my case...i hope for you too ;-)

added pic shows you my personal permission settings

Good luck

Schnitzel77
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] reujea0:
I find it very weird that this did not work for you. I have followed these and they worked perfectly. I am not saying that this is your fault, but every phone and setup is different.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] reujea0:
I didn't say to wipe all, just factory reset, don't mess with the slots
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] reujea0:
I think htat magisk can surviive OTAs, check the forumn there is a great tuto on how to install magisk and have it survive OTAs
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] wuslschweiz:
LOL that was the solution, THX man. did not realized that all permissions are disabled in google services
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] magicmastermindmurks:
Again, great work for bringing us the freshest of Lineage for Daisy! Do you have any ETA for a MicroG build?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] schnitzel1977:
...but now it works 👍🏽

You Welcome.

Best regards

Schnitzel77
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] sole00:
Thanks for your reply, it does boot on twrp when rebooting to recovery, but black screen on the rom even changing the slot before rebooting, no matter what.

I didn't install the full android sdk tools on my computer, just went with this version... Used this fastboot version to check if the bootloader was locked and rebooting on twrp image for the first time, no issues so far. Let me know if this may be affecting some step and I will take a look.

For now I just installed the stock rom with miflash as this is my gf phone, but I am going to try again this weekend so any tip to see where is the issue it will be appreciated!

Thanks!
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] srepole:
If you downloaded 15 seconds adb installer tool from the first page of the op and you are running windows 10, it won' t work as intended.

Use this instead https://xdaforums.com/attachments/adb-setup-v1-4-3-30-0-5-6877874-november-2020-zip.5187023/ if you always wanted to use it.

Personally i prefer to download and use just platform tools directly from google, here the link https://developer.android.com/studio/releases/platform-tools

In my opinion, full android sdk tools isn't needed.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] linuxpauling:
I have a Xiaomi Mi A2 Lite which I wish to "degoogle" with Lineage OS. After much searching I seem to have found the place to be to get the files etc that I need. I have never done this sort of thing to a phone before and so therefore do need a little more information in terms of the process. Can anyone suggest where I might find the steps/instructions in a little more detail (as I am a little unsure). I have downloaded the lineage.zip and twrp.img files referenced at the top of this thread (downloaded them to my phone - I assume this is correct). For the next step "Reboot to bootloader" I am not sure what to do there (although I have installed the adb and fastboot to my linux machine). Then there "fastboot into twrp recovery" - not sure about that. Anyways, I just need a little more detail on how to go about these steps - if anyone can direct me to something that would be most helpful. Thanks in advance.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] linuxpauling:
Actually, I did come across some more specific instructions here...

here
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] haxzion:
Very clean and smooth rom good job i really hope this goes Official. I am sure there are some minor bugs like i can't switch to HAL3 from the menu but this is now my daily driver.

Make sure to use opengapps preferably pico, i tried other gaps but they all gave me permission errors.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] c3497605:
You can refer to installation instructions for officially supported models here to get the idea of the process just don't follow them directly since details often differ from model to model (or ROM). "fastboot into twrp recovery" here means to launch TWRP while phone is in Fastboot mode (which you entered by executing adb reboot bootloader) using fastboot command on your PC.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] IkkeZelf1000:
Can anyone running this ROM tell me if Android Auto works?

Of all ROM's I tried on my device, only stock would connect to my car.

And we all know stock sucks...
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] mr.onegin:
Really? Actually stock is most stable (ok, need's restarts sometimes), tested lots of custom's... Reason to use custom is new options, fresh (custom) kernel, android 11! But still no-one got completely stable custom! Soon we will play with 12 and so on...
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] IkkeZelf1000:
It's indeed stable, but then there's the issue that apps close whenever you switch to an other one.

For example if you need a 2FA code from Google Authenticator to log on to an app, it will close when you switch to GA, then start again, ask for your user/password, ask for a code, but by the time you get there, the code timed out...

In fact any app which relies on login via browser or 2FA (except via SMS) could have this issue.

Also, there will never be an official Android 11.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] linuxpauling:
So are you saying that there isn't any correct instruction for completing this lineage install to my mi a2 lite?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] linuxpauling:
I am trying to get this install of lineage 18.1 to my mi a2 lite. As I previously mentioned I am new to this. Anyways I started with the directions at the top of this thread but because some of the steps were "greek" to me I went looking for more details instructions on how to actually execute some of these steps (I realize for those of you in the know it is easy to follow). Anyways, the steps noted at the top of this thread are:

Download the latest lineage 18.1 build

I have done this but where do I put the zip file - I read elsewhere to put it on the sd card of the phone - is this correct?

Download TWRP

I have downloaded both the IMG and ZIP files for ver 3.5.0_9-1. Where do these files go? Based on what I read elsewhere the TWRP ZIP file goes on the sd card on the phone and the IMG file goes on the platform-tools directory. Is this correct? Is the ZIP file actually req'd - it isn't noted in the instructions at the top of this thread?)

Reboot to Bootloader

For this step I connected phone to my PC and went into the powershell window for platform-tools. I issued a command (./adb devices) which indicates the device is connected. Then i issued the command to reboot the bootloader (./adb reboot bootloader). Then I get the fastboot logo indicated on my phone screen. I assume this is a good sign.

Fastboot into TWRP Recovery

While the fastboot logo is on the phone I issue the command (./fastboot boot twrp-3.5.0_9-1-daisy-unofficial.img). I have previoulsy placed this file in the platform-tools directory on my pc - is that correct? Anyways, what I have found here is that the phone does not remain in that fastboot mode very long - after about 30 secs it goes away and phone basically shuts down. So, I do execute this fastboot command as quickly as I can. Nothing really happens other than the computer saying that it is waiting for a device and then of course shortly thereafter the phone shuts down anyways. What am I doing wrong here?

Do a Factory Reset in TWRP

Although I haven't gotten this far I assume that if I can get the previous step executed then I will be presented with an option to do a factory reset - is that correct?

Flash the Last Build of Lineage OS

Although I haven't gotten this far I assume it will be available to me via a menu on my screen? Also note that I have placed the Lineage ZIP file on the sd card in the phone in preparation for this - is that correct?

Boot into your New Phone

Also, I have seen in another thread that you need to do a few other things such as executing a Wipe and Advanced Wipe as well as a step to select an option to install sd card. Also something about changing reboot slot. Where do these things fit in if at all?

Any assistance that can be offered is greatly appreciated. Thank you.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] mustaphakosar:
Before answering right or wrong, have you done prerequarities? İ mean *did you unlock bootloader, *did you activate usb debugging on your phone?. *what is your stock rom version? *have you ever flashed stock rom with making "clear all"?(this is mostly recommended and in some cases it is a must especially at the first time).
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] linuxpauling:
Hi, thanks for your response. Yes, I did activate usb debugging. Stock rom version is QKQ1.191002.002.V11.0.18.0.QLDMIXM (which as per Linkboi indicates a stock rom isn't required?). As for the unlock the bootloader - perhaps not - don't think I saw that on the instructions. However, I have now looked it up online and found some instructions that begin with:

go into fastboot (power on + vol down keys)

connect phone to pc while in fastboot mode

from the powershell issue .\fastboot devices (should indicate attached device)

I can go into the fastboot and from the powershell I have been able to show a connection to the phone via the ./adb devices command, however, it seems hit and miss - sometimes I get a message indicating my device number and sometimes I don't. When I issue the .\fastboot devices command, although I don't get any complaints, it doesn't acknowledge a device is connected (doesn't indicate a device# or anything).

Also, when I do put my phone into fastboot mode it only stays there (with the fastboot screen) for about 30 seconds. The phone then goes briefly to an androidone screen and then shuts down.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] linuxpauling:
Hi, thanks for your response. Yes, I did activate usb debugging. Stock rom version is QKQ1.191002.002.V11.0.18.0.QLDMIXM (which as per Linkboi indicates a stock rom isn't required?). As for the unlock the bootloader - perhaps not - don't think I saw that on the instructions. However, I have now looked it up online and found some instructions that begin with:

go into fastboot (power on + vol down keys)

connect phone to pc while in fastboot mode

from the powershell issue .\fastboot devices (should indicate attached device)

I can go into the fastboot and from the powershell I have been able to show a connection to the phone via the .\adb devices command, however, it seems hit and miss - sometimes I get a message indicating my device number and sometimes I don't. When I issue the .\fastboot devices command, although I don't get any complaints, it doesn't acknowledge a device is connected (doesn't indicate a device# or anything).

Also, when I do put my phone into fastboot mode it only stays there (with the fastboot screen) for about 30 seconds. The phone then goes briefly to an androidone screen and then shuts down.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] mustaphakosar:
You have to unlock bootloader to go on.

But as you say you can't stay for long on fastboot screen, then there may be a problem with maybe platform tools or your connection cable or usb slot or drivers... These are what comes to mind, but I must state that I am not a man of computer.

For the installation;

You have to activate usb debugging,

You have to unlock bootloader,

You have to flash twrpi.mg via fastboot,

When twrp screen comes; you format data, wipe everything except sd card(put rom.zip and twrp.zip in your sd card), install rom, install twrp(you must do this if don't want to lose twrp). That's the way it is done. These are all I can say, sorry if that doesn't help you.
[Mogul, XV6800 General] infernoman:
I'm new to this whole WM stuff. I'm getting my first WM phone tomorrow (Verizon XV6800). I've been looking over a lot of posts about themes and ROM and about everything i guess. The question I have is, before installing themes, should I flash the phone? And what does that involve? I see that there are different ROM's out there. Are there any i should stay away from and will one affect certain themes? And I've read something about Radio and Kitchen. Not sure what those are about either.

I guess I need to know what the first thing I need to do to my phone before I start "playing" with it?

Thanks for helping a NOOB!
[Mogul, XV6800 General] GeLopez:
keep reading and searching keep an eye on dcd's roms they are the best
[Mogul, XV6800 General] scarface68:
Scrawnyb has a nice guide for VZW users that walk you through the flash process step by step... recommended - quite painless if followed closely...

http://ppc.stoleyour.net/xv6800/
[Mogul, XV6800 General] jambrose:
If you want to use the GPS for other apps like TomTom, Google Maps, Live Search then flash DCD roms with the 3.42.XX Radio roms. I use .50 as I don't really see a big difference between them. If you don't use the GPS or would be happy with paying Verizon to use VZNavigator then use the MR1 stock rom update. I personally like to customize my ROM with other OEMs so the application is apart of the ROM. I also like to use my GPS for all the apps above and also GeoScout, a geocaching GPS application. I also hear that DCD's ROM are the most stable and clean for maximum memory free and performance. Keep doing your homework on how/what to flash. It is pretty easy but follow the instructions carefully.
[Mogul, XV6800 General] infernoman:
Thanks all of you for your advise. I just got my phone and getting ready to play with it. When I flash it, does it get flashed to the phone itself or the memory card?
[Mogul, XV6800 General] jambrose:
It will flash to the internal ROM, so once it is flashed it stays static all changes or new software would be in RAM or SD Card.
[Mogul, XV6800 General] infernoman:
Thanks all for your help. I got everything up and running. Got some themes on there that i was playing with until i got an HTC Home theme that locked everything up. Ended up havin gto do a hard reset. The way to learn i guess. Looks like for now, i'm sticking with windows. some good things out there, but ALL seem to have bugs.
[Samsung Galaxy S21 Ultra] oae08:
I'm having major issues with the S21 ultra (i even have the 512GB/16GB ram). For example, apps like whatsapp sometimes do not receive any message until i open the app. Ive checked all the options not to optimize it or restrict background data etc, but the issue is still the same.

I had before honor 10 with 4gb ram and NEVER faced this problem
[Samsung Galaxy S21 Ultra] dazed1:
go into deep sleeping apps, and put whatsapp in never sleep.
[Samsung Galaxy S21 Ultra] oae08:
I have done that and even turned off this feature completely for all apps. But this still has not solved my problem. any other ideas?
[Samsung Galaxy S21 Ultra] dazed1:
Clear cache and data from tge app, make backups
[Samsung Galaxy S21 Ultra] oae08:
Also tried that and didn't have any effect.
[Samsung Galaxy S21 Ultra] blackhawk:
Try disabling all power management. To check to see if you did get all the settings go to Developer Options>Standby apps, all buckets will show as active and their state can not be altered if power management is disabled.

Android can manage fine without it. For battery issues find the apks causing it and deal directly with them.

Clear system cache on the boot menu.

As for Whatsapp, I keep it disabled at all times, no likey, #10.

Power management, destroyer of worlds
[Samsung Galaxy S21 Ultra] Daekin:
it seems that latest ROM updates (I think I have this on all AUB* ones) is weirdly strict on background activities and cuts every one of them. my whole device acts strangely - apps not showing notification or showing them late (hours later than they were supposed to show), my apps are not updating: I have to repeatedly FC play store, then clear its cache so that currently installing app changes state from downloading to installing, than do it again to change state fomr installing to installed etc. worked fine on AUA* ones. it is really annoying. btw I tried to clear cache and dalvik/art cache from recovery, but that did not help. I have not tried factory seset yet...
[Samsung Galaxy S21 Ultra] felloffthetruck:
I've had the delayed notifications problem with my Note 20 Ultra and now again with the S21 Ultra.

Some apps like the Ring Alarm come in instantly but others like eBay, PayPal ETC do not.

I have tried everything under the sun to get instant notifications to no avail.

Sure wish there was an easy fix for this problem.
[Samsung Galaxy S21 Ultra] Goku1992:
In my opinion the devicemanager app isnt working properly... On my friends s20 when you end an app via taskmanager its really off when the app is in "deep standbye" on my s21 ultra its not... Think the device manager need some Updates...
[Samsung Galaxy S21 Ultra] blackhawk:
Lol, it never worked properly.

Try disabling all power management. May or may not help. It created conflicts on my 10+ that ate battery and caused erratic behavior.

I simple close all apps at the end of the day.

Cloud apps may run even in deep standby mode and suck battery. Google system apks are prime suspects.
[Samsung Galaxy S21 Ultra] Goku1992:
But on my friends phone its working but he is on Android 10... Beside of that i have very good battery life
[Samsung Galaxy S21 Ultra] blackhawk:
Great if it works... and it's a lick when doesn't.

Without scope storage it would have had better performance but big sister Google wrecking products as usual.
[Samsung Galaxy S21 Ultra] Goku1992:
Yes.... Google often ****s up features... Look on custom launcher compatiblity since Android 10...till now the problem isnt solved