yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A1 Questions & Answers] Shuhail Hoque:
Bro I was trying to install the Gcam on my device, it got stuck in the twrp section, and I've selected swipe to allow modification, but now I can clearly see the lines to do not select that. I've tried the process again, but it doesn't show the "swipe to allow" screen again, it's showing the main interface of TWRP and got stuck. Is there any solution??

Secondly, did I mess up my device internal that I could not intsall OTA update? Or it's fine?

Thank you..
[Xiaomi Mi A1 Questions & Answers] mia1lit:
I have the same issue too please help
[Xiaomi Mi A1 Questions & Answers] Eagle1337:
Reboot into twrp.
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
Can you try to explain better what do you mean with "it got stuck in the twrp section"? How did you install gcam?

It's fine if you swipe to allow modification in twrp. If you want that message back, just delete the twrp folder from your internal sd card.

After flashing the rom, flash twrp and reboot into twrp. Thereafter you can flash gapps.

So, don't flash rom and gapps back to back with an a/b partition scheme. After flashing rom always reboot into twrp and continue with other mods.
[Xiaomi Mi A1 Questions & Answers] findrome:
Will this method help with broken OTA update?
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
No. If you flashed twrp or other mods to the system you ota is "dead"
[Xiaomi Mi A1 Questions & Answers] apo6416:
how can I install arnova gcam apk? using the same method I've used
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
What specific issues do you have in the everyday usage?

What android version are you using?
[Xiaomi Mi A1 Questions & Answers] AwayForSomeone:
Display turn on during incoming calls.

I've tested proximity sensor after call

the sensor is triggered from a very small distance, approximately ~ 0.5cm

Problem is this...

[youtube]ZsgNvD24DtU[/youtube]

Sorry for my english
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
I don't have that problem with lineage os 15.1.

On stock, xiaomi has to fix that.
[Xiaomi Mi A1 Questions & Answers] AwayForSomeone:
I've updated with no root, no mods-stock... february update and there is no fix for this issue.
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
You can test lineage os 15.1 and compare the roms against this issue.
[Xiaomi Mi A1 Questions & Answers] AwayForSomeone:
I don't want to root my device :(
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
Right. It's your choice.

Personally I'm not aware of any possible fix for this.

I should be honest though and say that I never faced the issue.
[Xiaomi Mi A1 Questions & Answers] AwayForSomeone:
So much about this error is written and no sense. This should be a software error, because it only occurs when incoming calls. okay, thanks anyway
[Xiaomi Mi A1 Questions & Answers] radogost:
Here's thread with question LineageOS and other ROM related, you can pin it to OP.

https://xdaforums.com/mi-a1/how-to/discussion-lineageos-15-1-abhishek987-t3758998
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
It's not intended as an index thread. But as a thread where questions receive answers.

We have index threads already. :)
[Xiaomi Mi A1 Questions & Answers] malybru:
Thread Stickied

:)
[Xiaomi Mi A1 Questions & Answers] kb2166:
Hi there!

I'm owing a non rooted Xiaomi Mi A1

I've received the Feb security update but I'm unable to download & install it. Even though I'm connected to a strong Wi-Fi network still it says waiting for Wi-Fi always. Tried downloading it again and again but everytime it gets paused and says waiting for Wi-Fi
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
Do you have any other wifi connection you can try?
[Xiaomi Mi A1 Questions & Answers] GabrielleSGR:
How to get 60fps high frame rate in mobile legend setting.

Please tell me
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
Is that a game? If so, the game developer has to support mi a1.

Try asking them. :)
[Xiaomi Mi A1 Questions & Answers] robesjr:
Do anybody know how to proceed? My Mi A1 when charging stay with the screen off and I can't turn it on ( it happens when the battery has almost 70%), when I try to restart the phone it stopped in the Mi logo, after about 30 minutes he comes back to life.
[Xiaomi Mi A1 Questions & Answers] shafayetsabbir3:
Thanks bro . Today I did that & My Device successfully Boot .. So much love from me
[Xiaomi Mi A1 Questions & Answers] shafayetsabbir3:
I have another question .. Can i flash Lineage 15.1 Rom in Oreo Based Rom? or i have to flash Nougat rom first?
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
Fun!!! :)
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
Yes, you can flash it from oreo ;)
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
As a normal apk.
[Xiaomi Mi A1 Questions & Answers] vinay320:
How to go back to stock kernel from custom....?
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
Dirty flash stock rom.

In mi flash tool choose: save userdata
[Xiaomi Mi A1 Questions & Answers] shafayetsabbir3:
Today I have Install Twrp 3.2.1 in my Mi a1 in Both A& B Partitions.. After installations done, I reboot my device successfully bt when I try to Turn on Wifi That wont turn on & doesn't show me any wifi signal in my area... Plz Help how can I fix this?
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
Why do you flash twrp in both partitions?
[Xiaomi Mi A1 Questions & Answers] shafayetsabbir3:
Why is there any thing wrong? I have a watch a video in youtube.. I followed his instructions ... As he said, I Have flash twrp in both partition.. He is a good youtuber having about 200k subscriberr.. Any help
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
I have Never flashed twrp on both partitions.

However, do you have your imei still? Can you check?
[Xiaomi Mi A1 Questions & Answers] shafayetsabbir3:
Yes Imei is ok. everything is alright... U know I did another thing after installing twrp.. I have flash Net hunter kernal for mI a1... I did that once I install twrp & I didnt check wifi is working or not after installing twrp... Cz I did both thing in one time without any reboot.. so I m confuse about both of them..

Can u tell me What is the reason? Twrp or NetHunter (Kali linux) kernal?

And what is the solution to fix wifi?
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
Do you have wifi with stock kernel?

I've heard many people loosing wifi and I'm not sure what the problem is.

To isolate the problem, go back to stock kernel and see if the problem is still there.
[Xiaomi Mi A1 Questions & Answers] shafayetsabbir3:
There is no issue when i m in stock kernal
[Xiaomi Mi A1 Questions & Answers] apo6416:
I'm a newbie I dontnot know how to install apk?
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
That's your answer. ;)
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
Haha...
[Xiaomi Mi A1 Questions & Answers] shafayetsabbir3:
One more thing to ask...

I have installed Twrp in my Device but when I tries to Wipe "Dalvik catche" .I mistakenly Wipe System data also.

Now My question is, If I Flash my Device using Mi flash By Keeping On "Save User Data" then can I can I successfully Boot back to my System Again with All user Data as it before??
[Xiaomi Mi A1 Questions & Answers] Gunawan Suherman:
Dear varben , there is mia1 security patch may update OTA ?
[Xiaomi Mi A1 Questions & Answers] kdrag0n:
No, asking will not speed up the release.
[Xiaomi Mi A1 Questions & Answers] findrome:
Can the ota update file be moved to an external sd card? Could that be sideloaded via bootlaoder menu?
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
Yes you can do that if you are on stock rom.

Not yet.

What bootloader menu?
[Xiaomi Mi A1 Questions & Answers] shafayetsabbir3:
Can u suggest me any Kernal Which will be Best for Using NetHunter??? Stock Kernal Doesn't support everything Of Nethunter Tools..
[Xiaomi Mi A1 Questions & Answers] vishwas kp:
Hey,

I had facing an problem that my device getting random reboots

Especially, when I was in call if I remove device from ear it occurs..

And I had discussed with many people's.

No-one facing the same after Feb built.

I have a doubt that is there any h/w issues???

Or ROM Issues.?

Note: I didn't faced the issue on any custom ROM!!

KINDLY HELP ME.

Vishwas KP?
[Xiaomi Mi A1 Questions & Answers] meatloaf42:
Well, it obviously isn't hardware issue if you don't face it in any custom ROM. And if you don't face the problem on any custom ROM, then use a custom ROM.
[Xiaomi Mi A1 Questions & Answers] vishwas95:
Currently I'm on custom ROM.

But why myself only facing this..???
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
I can't. I don't use nethunter tools, so I'm not qualified to suggest something about that. Sorry!
[Xiaomi Mi A1 Questions & Answers] shafayetsabbir3:
Its Ok...
[Xiaomi Mi A1 Questions & Answers] findrome:
[MENTION=3178032]verbe[/MENTION]n

Power off, hold power and volume+. When in no command screen, hold power and tap vol +
[Xiaomi Mi A1 Questions & Answers] findrome:
Power the phone off. Hold power and volume+. When phone loads bootlaoder (dead Android and no command), hold power and tap volume+. I'd offer a screen shot but I can't get one. I'd encourage you to try it, you can reboot the system from there.
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
Oh, you mean stock recovery. You can't flash OTAs with that.
[Xiaomi Mi A1 Questions & Answers] mb145:
Hey guys I found a discussion about best gcam mod so I tried the serjo one and I think it messed up my phone for example: before when I restarted android loaded and I had to type the passcode in the lockscreen, but now I have to enter passcode before the Android actually lunches

Another thing is that other gcam ports don't make as nice pictires as they used to be
[Xiaomi Mi A1 Questions & Answers] another343:
What kernel should I use with stock stable 8.1 ?
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
What stock stable 8.1?
[Xiaomi Mi A1 Questions & Answers] YoungRandyy:
hey hope yourhavong a nice day sir.

im thinking about using a custom kernel on with stock rom.

im pretty confused about this partition thing.i want to flash it without messin things out.

can u give me a little explanation about this phones partition schee (im aware of project treble)

and how to flash the kernel correctly. thank you sir.
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
You don't need to worry about partition scheme to install a custom kernel. Try franco kernel.

And stock rom is not treble enabled.

If you want to know more about a/b partition scheme, here you go:

https://source.android.com/devices/tech/ota/ab/
[Xiaomi Mi A1 Questions & Answers] Shuhail Hoque:
I was trying to install Gcam from the tool which I found here in xda site, that was by AridaneAM I think..

I was trying that by using the tool by AridaneAM, which I found here in xda site. I've done it wrong by clicking "swipe to allow", I need to click "keep read only". And now as I've deleted the TWRP folder, the full process is now done with beauty..! Thank you so much brother..!!
[Xiaomi Mi A1 Questions & Answers] Shuhail Hoque:
Installing or uninstalling anything takes more than 5 mins, what can I do??
[Xiaomi Mi A1 Questions & Answers] Apih95:
im on latest RR official 12/5 build. just now i returned to stock oreo fastboot rom . what i did was wipe cache,system,data before flashing stock oreo fastboot rom. now i keep seeing androidone logo non stop . how to settle this
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
Try a force reboot.

And did the flashing finish successfully?
[Xiaomi Mi A1 Questions & Answers] another343:
Wasn't the last stock leak stable ?
[Xiaomi Mi A1 Questions & Answers] ImMohdAbubakar:
Hey guys! Hope you all are doing well.

From the past few months I'm facing overnight standby battery draining issue on my Mi A1. I've already referred to the previous XDA thread and tried turning off app preview messages in Google settings but that didn't work. I also tried factory resetting that too didn't work. The battery drain is too much like 50% in 6 hrs overnight. I need your help. Tired of sending feedback to xiaomi devs but they don't respond.
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
Nope!
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
Try using a battery monitor app and see what is draining your battery. Share results here.

You can use better battery stats.
[Xiaomi Mi A1 Questions & Answers] Xaviers101:
Is there any means to manage the default kernel that comes with RR rom?
[Xiaomi Mi A1 Questions & Answers] ImMohdAbubakar:
It's RCS draining the battery
[Xiaomi Mi A1 Questions & Answers] Xaviers101:
Sounds like u have lost ur persist.img. restore it :

https://xiaomifirmware.com/guides-and-tips/restore-persist-partition-xiaomi-mi-a1/
[Xiaomi Mi A1 Questions & Answers] Apih95:
Seriously ? I use persist resurector to backup my mac address on RR rom . The tool itself should be use on stock rom . But i cant seem to pass androidone logo ... I dont know what to do from here
[Xiaomi Mi A1 Questions & Answers] kdrag0n:
Make sure you flash the stock userdata.img via fastboot. Stock won't boot properly without that.
[Xiaomi Mi A1 Questions & Answers] Xaviers101:
Please try the above once. No harm in trying bro.
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
Is that an app?
[Xiaomi Mi A1 Questions & Answers] ImMohdAbubakar:
Yes it refers to rich communication service
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
You know what to do then! :)
[Xiaomi Mi A1 Questions & Answers] Apih95:
Flashing stock userdata.img ? What could happen ? Im i losing my internal storage with full titanium backup of my apps ?
[Xiaomi Mi A1 Questions & Answers] shafayetsabbir3:
I have one question to ask...

Recently I have flash Twrp in my device ...

Now the problem is , Suppose i am in Partition Slot A right now.. If i change it to slot B then reboot my device to system then It stuck on android One logo & start to making restart again & again .. If I Change My Partition Slot Back to B then Again i face the same problem . My device do not Successfully boot to system.. In that Can i have to flash stock Rom with save user data using Mi Flash...

Can u tell me something about it?
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
My question is, why do you change slots and reboot? Just curious, because it's unusual for me.
[Xiaomi Mi A1 Questions & Answers] shafayetsabbir3:
Can u explain me about Partition?
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
What partition?
[Xiaomi Mi A1 Questions & Answers] shafayetsabbir3:
Slot A & B of mi a1
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
I found the third post here by dees_troy very informative.

https://xdaforums.com/showthread.php?t=1943625
[Xiaomi Mi A1 Questions & Answers] shafayetsabbir3:
Can u tell me one more thing...

Like, Currently I m in stock rom & i wants to Move to a Custom rom.. Now my question is If i make a backup of my data & After i install a custom rom then I can restore my Stock rom data to Custom rom ? because i dont wants to lose my data
[Xiaomi Mi A1 Questions & Answers] ImMohdAbubakar:
Dude seriously I don't know what to do
[Xiaomi Mi A1 Questions & Answers] kdrag0n:
No, you would be lucky if it even booted.
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
Get rid of the offending app. :o
[Xiaomi Mi A1 Questions & Answers] ImMohdAbubakar:
But that's system app
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
Are you an stock rom? I don't remember that system app when I was using stock.

Can you attach a screenshot? And is the app in the battery optimization list?
[Xiaomi Mi A1 Questions & Answers] ImMohdAbubakar:
Yeah I'm on the stock rom I'm enclosing the screen shot
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
Maybe you tried this?

Go to Settings/Google/App preview messages

Disable and see if it helps.
[Xiaomi Mi A1 Questions & Answers] ImMohdAbubakar:
Yeah already tried that
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
I'm sorry! All I can suggest now is a clean flash of the latest fastboot image.
[Xiaomi Mi A1 Questions & Answers] ThanatosSkepsi:
Do you guys think this is a good phone to get now?

I need a new phone and this one seems to be not only a good one, but kinda the best one I can get around here, while being on a budget.
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
It's very good. And the development for it is great. :)
[Xiaomi Mi A1 Questions & Answers] pravinsundarajan:
Hello guys,

Moving from kenzo to Tissot. I have few questions:

1. So everytime I install a custom rom, I have to flash the rom then Twrp Installer-boot to recovery and then gapps ? do I have to do it everytime for dirty flashing also?

2.And is flashing magisk must for reboot?

3.What's this treble thing? are we in the stage to use it now?

Thanks in advance
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
1. Yes!

2. Depends with the rom you are flashing.

3. You need some good reading before doing anything with treble.
[Xiaomi Mi A1 Questions & Answers] 3B3RT:
hi . i need some help.

i have the "leaked 8.1 stock rom " v. 5.9.11

i flashed via twrp but i forgot instal the "twrp installer" (i only boot twrp from fastboot)....

Now this is the problem......... i can´t boot TWrp from fastboot anymore........

the pc console give me a <<<UNKNOW ERROR>>> and stuck in bootloader logo ..........

im rooted via Magisk 16.4 and the phone follow alls comands for reboot and reboot fastboot ...but can´t boot in twrp 3.2.1-2

i hope someone can help me .

thanks a lot
[Xiaomi Mi A1 Questions & Answers] sebin619:
Re vs aex .. Which one is best for mi a1

---------- Post added at 07:22 AM ---------- Previous post was at 07:21 AM ----------

Rr vs aex
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
Which twrp file are you using? Be specific.

And the command you are using to boot the recovery?
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
The one that you like the most! :)
[Xiaomi Mi A1 Questions & Answers] joparox2:
Separate subforums for Treble-related stuff

So there. To the mods and admins, seeing that these stuff are already underway, can we have a separate subforum (under ROMS, KERNEL ...etc) for anything Treble related? I imagine that there will be a shift in the dev scene and we'll have lots of these in the future.

Thanks.
[Xiaomi Mi A1 Questions & Answers] Xaviers101:
Rooted mi a1.

Trying to install latest otam

Tried magisk uninstall unroot method.

Tried the method suggested on xda.

Tried wipe cache, system and flashing the stock rom with april security patch.

Still getting the update error .

What else can be done ? Help.!
[Xiaomi Mi A1 Questions & Answers] Hanataji:
Why after use fastboot oem unlock my phone is formatted?
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
Apparently xiaomi added this "feature" with latest security patch.
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
Download manually the May patch rom and flash with mi flash tool saving userdata.
[Xiaomi Mi A1 Questions & Answers] 3B3RT:
Thanks for your answer .

i solved de problem , i check my drivers

adb drivers (ok)

fastboot drivers (error) with a ( ! ) letter

with the device manager I updated the fastboot driver. I gave the option to look for a driver inside the computer from a list of drivers and it was installed again.

I do not understand how it happened but my fastboot drivers were uninstalled. and those of adb were still there.

Now I am happy with twrp 3.2.1-2 and the liquid rom 9.1

thanks for your help.
[Xiaomi Mi A1 Questions & Answers] PearLonza:
HELP! Installed DOTos ROM and my fingerprint options is missing
[Xiaomi Mi A1 Questions & Answers] sebin619:
Plz tell me the best ROM + kernal for amazing battery backup in mi a1 ?
[Xiaomi Mi A1 Questions & Answers] 3B3RT:
now i am using liquid remix 9.1 >> https://xdaforums.com/mi-a1/development/rom-liquid-remix-t3794644

and theFrancisco franko kernel >>> https://xdaforums.com/mi-a1/development/kernel-francokernel-r1-8th-april-t3774833

try de Void kernel too is so good too.
[Xiaomi Mi A1 Questions & Answers] sebin619:
How much sot u get
[Xiaomi Mi A1 Questions & Answers] Maweex:
Help i Cant install ota (i do not have ROOT)

I cant install otas since april, and im really worried about it. I dont have my cellphone rooted. Is there a way to install otas manually? I can try to root the phone if its needed, but i prefer to maintain it "virgin".
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
You better ask in dotos thread. However reflashing the rom might fix this.

Try gzosp!

You can use miflash tool to flash the latest security patch.
[Xiaomi Mi A1 Questions & Answers] Maweex:
You can use miflash tool to flash the latest security patch.[/QUOTE]

ill try! tnx
[Xiaomi Mi A1 Questions & Answers] Fenwick17:
I used the Mi A1 tool to flash the stock rom removing lineage OS. However I am stuck on mthe "androidone" screen. The colour bit is still moving but been 45 minutes now
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
Just force restart.

If it doesn't work, there might be a chance that the flash was not successful. You'll have to reflash.
[Xiaomi Mi A1 Questions & Answers] PearLonza:
I'm new with SD625, my cpu almost run at 2208Mhz all the time.. is this normal?
[Xiaomi Mi A1 Questions & Answers] iDeft:
Hi, I'm getting my Mi A1 delivered later today! I have no prior experience in rooting/modding, I've used the stock version of all my past phones from iOS, TouchWiz and MIUI but never pure Android.

From what I've read, May update would wipe the data if we unlock/lock the bootloader. As for right now, I just want to install Google Camera and use the phone as it is. I want to leave the bootloader unlocked so that in the future if I were to play around with the phone my data would not be wiped. My question is, how risky is leaving the bootloader unlocked? What type of risk am I exposing myself to? Is it advisable to leave it unlocked or should I just lock it after installing Google Camera?

Thank you! :laugh:
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
I'm not the expert here, however with mi a1 I see one risk with an unlocked bootloader. If your phone is stolen, anyone can access your data by booting a custom recovery.

With other phones, like sony, there are certain OEM features disabled if you unlock the bootloader. It's not the case with mi a1.

Too, there's a method described in the fors to have gcam mod and lock the bootloader afterwards. Never tried that, so you have to test for yourself.
[Xiaomi Mi A1 Questions & Answers] sebin619:
How to install arise Magnum oops in mi a1, aex, oreo 8.1 custom ROM ?
[Xiaomi Mi A1 Questions & Answers] d8beat:
I just updated my Mi A1 & now it seems to have some problems with playing audio over bluetooth. After connecting to my headset, i can't play any sounds despite restarting a few times. it shows the headset as connected but that's it.

is anyone facing this as well? spotify auto-pauses the second after I press play
[Xiaomi Mi A1 Questions & Answers] Rakibboss:
After call my phone reboots.. It's happening in every rom whether i clean flash or dirt flash.. How to solve it?
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
Does it happen on stock rom too?
[Xiaomi Mi A1 Questions & Answers] Rakibboss:
No ,as far as i can remember.I haven't using stock for long time
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
I suggest you try if in stock rom is STILL ok.
[Xiaomi Mi A1 Questions & Answers] Xaviers101:
Does dirty flashing ROM remove root/magisk??
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
Yes.

P.s. everything flashed/moved to /system is removed.
[Xiaomi Mi A1 Questions & Answers] YoungRandyy:
hey sir hope ur having a nice day..

im currently on may update..after unlocking and flashig a kernel i cant install ota's(i know its a common issue)

if i flashed the stock rom again then i can instsll ota's right?

and is it possible to get ota's while the device is unlocked and rooted? thank you.
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
If you reflash stock rom again, you will receive ota and apply it.

Device unlocked, yes, you can receive and apply ota.

Device rooted, yes, you can receive ota but it will fail to apply.