yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A1 Guides, News, & Discussion] thedemon786:
i need some help please.

-----

[13:54:22 89ef9ad4]:$fastboot -s 89ef9ad4 flash keymasterbak C:\Users\Owais\Desktop\platform-tools\tissot_images_V.9.5.10.0.ODHMIFA_8.0\images\keymaster.img ||

[13:54:22 89ef9ad4]:target reported max download size of 534773760 bytes

[13:54:22 89ef9ad4]:sending 'keymasterbak' (220 KB)...

[13:54:22 89ef9ad4]:eek:KAY [ 0.040s]

[13:54:22 89ef9ad4]:writing 'keymasterbak'...

[13:54:22 89ef9ad4]:eek:KAY [ 0.020s]

[13:54:22 89ef9ad4]:finished. total time: 0.060s

[13:54:22 89ef9ad4]:$fastboot -s 89ef9ad4 reboot bootloader

[13:54:22 89ef9ad4]:rebooting into bootloader...

[13:54:22 89ef9ad4]:eek:KAY [ 0.015s]

[13:54:22 89ef9ad4]:finished. total time: 0.032s

[13:54:22 89ef9ad4]:$ping 127.0.0.1 -n 5 -w 1000 1>nul

[13:54:27 89ef9ad4]:$fastboot -s 89ef9ad4 set_active a

-------

im stuck at that last command in mi flashtool
[Xiaomi Mi A1 Guides, News, & Discussion] Lupin The Third:
It may happen. Just repeat the process.
[Xiaomi Mi A1 Guides, News, & Discussion] thedemon786:
thanks. i will keep that in mind next time.

i executed the remaining commands from my command line.
[Xiaomi Mi A1 Guides, News, & Discussion] Fenwick17:
I currently have LineageOS installed on my Mi A1, but having some issues so wanting to go back to stock ROM. Am I correct to say that if I use the MiFlash tool above, with the ROM above that will allow me to keep my data like apps etc?
[Xiaomi Mi A1 Guides, News, & Discussion] Lupin The Third:
You may run into issues if you preserve userdata from lineage os to stock.

So, clean flash is always recommended.
[Xiaomi Mi A1 Guides, News, & Discussion] Fenwick17:
So I can just use the rom with mi flash above and make sure I select to wipe data?
[Xiaomi Mi A1 Guides, News, & Discussion] Lupin The Third:
Yes sir. :)
[Xiaomi Mi A1 Guides, News, & Discussion] barrack1:
Varben, I would suggest adding the camera lag fix magisk module to the rooting howto section since everyone are going to run into that problem after rooting.
[Xiaomi Mi A1 Guides, News, & Discussion] Lupin The Third:
It's already there in OP.
[Xiaomi Mi A1 Guides, News, & Discussion] barrack1:
What I meant was that the "rooting" section should have a note on the problem as well.
[Xiaomi Mi A1 Guides, News, & Discussion] Lupin The Third:
Ok, will look into that. Thanks for your input. :)
[Xiaomi Mi A1 Guides, News, & Discussion] Lupin The Third:
May security patch update is being rolled out. Still 8.0.

More info to follow soon.
[Xiaomi Mi A1 Guides, News, & Discussion] tofikos:
:)

Wysłane z mojego Mi A1 przy użyciu Tapatalka
[Xiaomi Mi A1 Guides, News, & Discussion] HtcDesire2:
May security
[Xiaomi Mi A1 Guides, News, & Discussion] agm2112:
Flawless!
[Xiaomi Mi A1 Guides, News, & Discussion] bira_:
Is it due to Google cam installation ?

---------- Post added at 04:37 PM ---------- Previous post was at 04:31 PM ----------

I'm still on March update since April seems to be reported too buggy. I'm waiting for the improvements and bugs on may update to be reported, so that I can update. Pls help.
[Xiaomi Mi A1 Guides, News, & Discussion] funkybuff22:
Nope. I have installed gcam and the update installed without any issues.
[Xiaomi Mi A1 Guides, News, & Discussion] marniel647:
Does unlocking bootloader reset the phone. i just unlock my bootloader and it reset my phone.
[Xiaomi Mi A1 Guides, News, & Discussion] Lupin The Third:
It shouldn't reset the phone.
[Xiaomi Mi A1 Guides, News, & Discussion] whrynox:
In May patch, doing so would result in phone reset. This was posted in MIUI forum.
[Xiaomi Mi A1 Guides, News, & Discussion] marniel647:
It just reset my phone and i'm back with April Patch. why do i update OTA i just already installed TWRP. does this work Root even i flashed TWRP on my phone?
[Xiaomi Mi A1 Guides, News, & Discussion] agm2112:
Possibly because I messed up with persist partition. Nothing to do with gcam
[Xiaomi Mi A1 Guides, News, & Discussion] albsat:
I am on custom Rom and want to go to stock as I have lost my WiFi mac. I will use the persist restore app.

Is there an option to flash the stock rom, have it clean but without deleting the files in the internal memory (I have my photos and backups in it to restore later)? Thanks!
[Xiaomi Mi A1 Guides, News, & Discussion] muschi.muscholini:
I can confirm this.
[Xiaomi Mi A1 Guides, News, & Discussion] Abhi__s_nair:
No
[Xiaomi Mi A1 Guides, News, & Discussion] roshan2989:
new may ota has been uploaded V9.5.11.0.ODHMIFA
[Xiaomi Mi A1 Guides, News, & Discussion] Lupin The Third:
Direct link here for may OTA:

http://bigota.d.miui.com/V9.5.11.0....0.ODHMIFA_20180504.0000.00_8.0_1a04581058.tgz

Shortly I'll update the second post.
[Xiaomi Mi A1 Guides, News, & Discussion] heinhuiz:
Tried to flash this with flash_all_except_storage, but I lost all my data.
[Xiaomi Mi A1 Guides, News, & Discussion] Lupin The Third:
Weird!
[Xiaomi Mi A1 Guides, News, & Discussion] heinhuiz:
Yep...

Can't reproduce, because with my data my backups are lost :crying:.
[Xiaomi Mi A1 Guides, News, & Discussion] gattone_16:
yes, I lost all my data

even when I installed magisk, I reset the root again

---------- Post added at 02:45 PM ---------- Previous post was at 02:26 PM ----------

There's something in the boot.img that resets the phone
[Xiaomi Mi A1 Guides, News, & Discussion] Fibra Man:
WOW! Bad news!

Thank you.
[Xiaomi Mi A1 Guides, News, & Discussion] roshan2989:
Always make a backup before flash,and another thing unlockng the device may wipe your internal storage
[Xiaomi Mi A1 Guides, News, & Discussion] gattone_16:
I'm sorry

revert to the previous version V.9.5.10.0.ODHMIFA

I can not be without root
[Xiaomi Mi A1 Guides, News, & Discussion] Midomad:
Because with last may update,unlocking the bootloader reset all data.
[Xiaomi Mi A1 Guides, News, & Discussion] spicediablo:
Same here... So frustrating!!

Sent from Sagit
[Xiaomi Mi A1 Guides, News, & Discussion] barrack1:
Varben, whats the procedure to OTA update for those who have installed magisk and rooted their phones using your guide?

Would uninstalling magisk using the magisk manager gui fully revert the phone to stock for updating?
[Xiaomi Mi A1 Guides, News, & Discussion] Lupin The Third:
You can try that.

But, it may not work. There's another guide to update if uninstalling magisk doesn't work.
[Xiaomi Mi A1 Guides, News, & Discussion] paolocorpo:
I have a doubt

Could be it that your last failure with the saving data is probably related to the fact that you are managing an FULL STOCK Image and not a real OTA

I mean ... let consider a device unlocked+Magisk+Recovery RED WOLF

If you set Magisk as occult ... will be the OTA (the real OTA) installable ?
[Xiaomi Mi A1 Guides, News, & Discussion] Lupin The Third:
No that can't be. There should be something messed up by xiaomi in the factory image.

I'll try to investigate what is causing this.
[Xiaomi Mi A1 Guides, News, & Discussion] paolocorpo:
SO your guide:

with last stock update is not running well ?
[Xiaomi Mi A1 Guides, News, & Discussion] Shen Ron:
It's better to backup your data, flash the stock room with April security patches then reboot. Then you can install the OTA UPDATE and then follow the guide again to get root and restore everything afterwards
[Xiaomi Mi A1 Guides, News, & Discussion] paolocorpo:
Is ther eany link to download only the incremental May package ?
[Xiaomi Mi A1 Guides, News, & Discussion] Shen Ron:
Only the official site
[Xiaomi Mi A1 Guides, News, & Discussion] Lupin The Third:
This will work.

But if you flash the may security patch with miflash tool the userdata will be lost. This is what people are reporting.
[Xiaomi Mi A1 Guides, News, & Discussion] heinhuiz:
Thinking back, I wonder. Could this Slot A/Slot B thing of the A1 have saved me? Of course TWRP isn't there anymore, but is there another way to change slots? I thought this concept was invented to prevent data losses through bad updates.
[Xiaomi Mi A1 Guides, News, & Discussion] Lupin The Third:
There's only one slot for userdata. So, if that's formated you're fried :(
[Xiaomi Mi A1 Guides, News, & Discussion] roshan2989:
hi guys is there option to change long pres home button.cant seems to find the option in settings?
[Xiaomi Mi A1 Guides, News, & Discussion] Lupin The Third:
I don't remember stock rom having hardware button customisation.
[Xiaomi Mi A1 Guides, News, & Discussion] marniel647:
Anyone here rooted. I want to update to 2nd OTA of may but i cannot see my storage in TWRP. TIA
[Xiaomi Mi A1 Guides, News, & Discussion] HtcDesire2:
Another update?
[Xiaomi Mi A1 Guides, News, & Discussion] Fibra Man:
Yes, but I think that not solve the reset "issue". :(
[Xiaomi Mi A1 Guides, News, & Discussion] Lupin The Third:
Hi all, you may want to read this important information copied from miui forums:
[Xiaomi Mi A1 Guides, News, & Discussion] paolocorpo:
Are there other news regarding the others command ?
[Xiaomi Mi A1 Guides, News, & Discussion] Lupin The Third:
No, only about this one.
[Xiaomi Mi A1 Guides, News, & Discussion] Barmenchik:
Any detail about this OTA?
[Xiaomi Mi A1 Guides, News, & Discussion] Midomad:
There is nothing to fix.

Unlocking bootloader without data reset was a security flaw.
[Xiaomi Mi A1 Guides, News, & Discussion] paolocorpo:
Hi folks,

I am in Mi A1 unlocked

I want install MAGISK using TWRP but booting (without install it) to TWRP

Unfortunately the comand:

fastboot boot twrp.img

boots to system and not to TWRP

ANy help for me ?
[Xiaomi Mi A1 Guides, News, & Discussion] Lupin The Third:
2 things come to mind:

Wrong twrp image

Misconfigured fastboot drivers
[Xiaomi Mi A1 Guides, News, & Discussion] paolocorpo:
I have fixed using a TOOL (developed by [MENTION=6302075]sipollo[/MENTION]) that is using a different version of TWRP ... that one modified by mohancm
[Xiaomi Mi A1 Guides, News, & Discussion] roshan2989:
For those who to remove bloatware such as mi app,gmail and etc.here i share the bat file.

Put in the adb folder and plug in usb,make sure usb debugging enable and give the necessary permission.Please edit the bat file if you want disable anything.

Mi Launcher is disable by default.

I'm not responsible for any bricked device or anything.Has been tested in my device before release.

Some of the bloatware list

com.google.android.apps.messaging
com.google.android.apps.inputmethod.hindi
com.android.launcher3
com.google.android.gm
com.google.android.apps.tachyon
com.google.android.apps.inputmethod.zhuyin
com.google.android.music
com.android.dreams.basic
com.duokan.phone.remotecontroller
com.miui.bugreport
com.mi.android.globalFileexplorer
com.miui.spock
com.xiaomi.midrop
com.google.android.calendar
com.google.android.inputmethod.korean
com.google.android.inputmethod.pinyin
com.google.android.apps.books
com.mi.global.shop
com.google.android.play.games

Android messaging app is not bloatware,i just dont use

View attachment 4514011
[Xiaomi Mi A1 Guides, News, & Discussion] paolocorpo:
Please may you detail which are them removed bloatware ?

Inviato dal mio Nexus 7 utilizzando Tapatalk
[Xiaomi Mi A1 Guides, News, & Discussion] zk_eu:
Just one question. I have the May security path (on Android 8.0.0) on my A1 and I want to unlock the bootloader. The second post says that this will wipe my device. Does that mean the whole system too? Or just my data as like I would factory reset my device?
[Xiaomi Mi A1 Guides, News, & Discussion] Riigel:
Hello,

i need some help with the tutorial at Point "How to root stock ROM:", number 3/4.

I downloaded the latest Magisk Manager Version: v5.7.0 and installed it.

When i run Magisk manager, i can't click install or choose patch boot image.

I get only this message: "Magisk is not installed".

thx for any advice!
[Xiaomi Mi A1 Guides, News, & Discussion] Lupin The Third:
The data and (needs verification) internal sd card too.

What rom are you using?
[Xiaomi Mi A1 Guides, News, & Discussion] pipapaule:
I already have the may update installed. I'm so confused.

[IMG="updated"]https://i.imgur.com/3r1paG2.jpg[/IMG]

gcam still works.
[Xiaomi Mi A1 Guides, News, & Discussion] zk_eu:
Ok, so if I understand you correctly, all I need to do is unlock my bootloader and set up my system again? No need to flash the rom on? I then install Magisk and that is that :)?

If I don't use an SD card, I probably don't need to verify it?

Edit:

Got my answer. It only deletes personal data, not the system itself. Successfully rooted :).
[Xiaomi Mi A1 Guides, News, & Discussion] heinhuiz:
Is this a fact (source?) or an opinion?

If it is true that in the future unlocking always results in a full reset, we need to use another way to retain user data. Can Titanium Backup be used for that? I am not familiar with that app so I am looking for a step by step guide on how to do that, but for now I couldn't find one.
[Xiaomi Mi A1 Guides, News, & Discussion] Midomad:
It's a fact and it's like that on every device,unless you're new to Android!

Titanium Backup can back up you're apps, but better solution is to modify the flash with save data script from stock downloaded Rom (remove fastboot lock/unlock)and you're good to go bootloader will remain unlocked and data preserved.
[Xiaomi Mi A1 Guides, News, & Discussion] heinhuiz:
Do you mean: just remove the lines

fastboot $* oem lock
if [ $? -ne 0 ] ; then echo "lock error"; exit 1; fi

from flash_all_except_storage?

It's strange to provide a script that it meant to preserve data while on the last lines of it removes the data.
[Xiaomi Mi A1 Guides, News, & Discussion] Midomad:
Yes.

Data will be deleted only if you have unlocked you're bootloader previousely.
[Xiaomi Mi A1 Guides, News, & Discussion] heinhuiz:
Yep, I'm updated now.

What I did:

Downloaded and extracted http://bigota.d.miui.com/V9.5.11.0....0.ODHMIFA_20180504.0000.00_8.0_1a04581058.tgz

Deleted the two lines mentioned above from flash_all_except_storage.sh (that would be

fastboot %* oem lock || @echo "lock error" & exit /B 1

from flash_all_except_storage.bat if I would have used Windows)

Uninstalled Magisk and booted to bootloader

Flashed the ROM using the modified script

After reboot, applied OTA and rebooted again to install it

Booted to bootloader and installed TWRP recovery img from https://xdaforums.com/mi-a1/development/recovery-twrp-3-1-1-0-touch-recovery-t3688472

Followed the procedure in the Note under How to root stock ROM: in OP, steps 3 - 6 and then from step 3 in the 'normal' procedure up to:

10. Done

Thanks to [MENTION=3859635]varben[/MENTION] and [MENTION=4065345]Midomad[/MENTION].
[Xiaomi Mi A1 Guides, News, & Discussion] dvishalkhatri:
When unlocking the bootloader in may update will it erase the data ah?
[Xiaomi Mi A1 Guides, News, & Discussion] xflowy:
hey man! do i really need to apply your avmagiskModule-api2-eis.zip in order to use the gcam?

thanks!
[Xiaomi Mi A1 Guides, News, & Discussion] Lupin The Third:
What rom are you using?
[Xiaomi Mi A1 Guides, News, & Discussion] Lupin The Third:
Yes.
[Xiaomi Mi A1 Guides, News, & Discussion] xflowy:
stock.
[Xiaomi Mi A1 Guides, News, & Discussion] Lupin The Third:
Then you need it.
[Xiaomi Mi A1 Guides, News, & Discussion] barrack1:
I'm having trouble trying to root after fastboot flashing the latest 5th May rom - the Wifi doesn't work anymore after I flashed the patched boot image before trying to install Magisk through Magisk Manager. I also installed the second smaller May update before trying to root.

What I did:

- fastboot flash latest v9.5.11 rom with flash_all_lock

- apply OTA update to bring rom version up to v9.5.13

- unlock bootloader (which does a factory reset)

- do the boot patcher thing for Magisk using the boot image for v9.5.11

I suspect the second May update may have altered the boot image which messes things up. But hardly anyone seems to be having trouble with systemless rooting.
[Xiaomi Mi A1 Guides, News, & Discussion] Lupin The Third:
Hm, try extracting the boot.img of 9.5.13 and patch it. Use the how-to in op.
[Xiaomi Mi A1 Guides, News, & Discussion] barrack1:
How do I extract the boot.img when there is no rom.zip for 9.5.13? 9.5.13 is only available through OTA update.

9.5.11 rom is the latest official download.
[Xiaomi Mi A1 Guides, News, & Discussion] Lupin The Third:
As I said, there's a how-to in op for that.
[Xiaomi Mi A1 Guides, News, & Discussion] barrack1:
Sorry about that, was just about to edit my earlier post when I saw your reply.

Edit-

Just figured out that v9.5.11 will screw up the wifi and downloading the v9.5.13 OTA can be abit difficult because of that.
[Xiaomi Mi A1 Guides, News, & Discussion] heinhuiz:
You probably have to do the whole procedure again: first flash V9.5.11, then apply OTA, then extract boot.img.

If you use the boot.img from V9.5.11, in your System/About phone you'll see that version. After OTA and patching you should be at V9.5.13.
[Xiaomi Mi A1 Guides, News, & Discussion] Shen Ron:
I had the same problem with Wi-Fi. I fixed it by flash lock all, then unlocked the boot loader before setting up the device, reboot to start the setup again or if you would rather root first fastboot to twrp and flash magisk then reboot and setup. Just to clarify I followed the guide for rooting except for the patched boot image part, I went straight to twrp using adb and flashed magisk.
[Xiaomi Mi A1 Guides, News, & Discussion] barrack1:
Its better to start from v9.5.10 since it doesn't have the wifi problem of v9.5.11 which will screw up the OTA process and you will be stuck. OTA update from v9.5.10 will patch to the latest v9.5.13 (skips the buggy 9.5.11). I did it without losing root after the OTA (Jashancheema's method).
[Xiaomi Mi A1 Guides, News, & Discussion] heinhuiz:
Probably, it might solve your WiFi problem. Just try it. But I flashed V9.5.11 three times and never had a WiFi problem. I'm even surprised that your problem persists after the reset.

Why do you want to lock the bootloader while it resets your phone? Seems a big prize to pay for a minor security risk.
[Xiaomi Mi A1 Guides, News, & Discussion] barrack1:
It isn't just me and the very quick hotfix just a few days later makes me think that its a serious problem. Maybe your model of router isn't affected, but I had to reset the router as well because my other phone's wifi wasn't working as well.

I don't unlock the bootloader any more, at that time I just wanted to be sure that everything was cleared off.
[Xiaomi Mi A1 Guides, News, & Discussion] Potus ThePlant:
I'm currently on v9.5.11 and just got a notification for the May update. I currently have magisk and xposed installed, if I disable them, install the update and then reinstall them, everything should work just fine? Is there something I'm missing?
[Xiaomi Mi A1 Guides, News, & Discussion] gattone_16:
how did you install magisk root without resetting the phone?
[Xiaomi Mi A1 Guides, News, & Discussion] Lupin The Third:
If you unlocked the phone with april update or earlier than it's not an issue.

With may update onward the phone resets when unlocked.
[Xiaomi Mi A1 Guides, News, & Discussion] Lupin The Third:
You can try to uninstall them and update. It may or may not work. Be ready to use mi flash tool for the update.
[Xiaomi Mi A1 Guides, News, & Discussion] sanchezfranco:
Anyone else with the google problem (swipe left on screen)??? With the April or May version, it's just not showing anything. I've tried everything, uninstall the actual version of google, install a particular one, etc.

I don't know what else can I do., if anyone has through by this same problem and solve it, please share with me the solution.
[Xiaomi Mi A1 Guides, News, & Discussion] Xharos:
Can someone check the MD5 of the April zip? My connection dropped mid download and then I resumed it and I want to make sure it downloaded properly
[Xiaomi Mi A1 Guides, News, & Discussion] Potus ThePlant:
It did not work.
[Xiaomi Mi A1 Guides, News, & Discussion] mikskcas:
Hello everyone,

Just wanted to make sure after reading about bootloader.

If the bootloader is already unlocked, and you update march OTA, it will not delete user data (and keep unlocked bootloader) ?

Thanks !
[Xiaomi Mi A1 Guides, News, & Discussion] Lupin The Third:
You mean may OTA? If you are unlocked already, you should be safe.
[Xiaomi Mi A1 Guides, News, & Discussion] mikskcas:
Yes yes I meant may sorry...

Ok ! Thanks !

I want to update but I always keep bootloader unlocked so I hope the OTA doesn't relock.

Still not sure whether or not to update though, doesn't seem like the best update ever :)
[Xiaomi Mi A1 Guides, News, & Discussion] edwaine:
[MENTION=3859635]varben[/MENTION]

Head's up!

New Mi Flash Toolkit straight from Xiaomi's Server:

http://bigota.d.miui.com/tools/MiFlash2018-5-28-0.zip
[Xiaomi Mi A1 Guides, News, & Discussion] gloeyisk:
Thanks!
[Xiaomi Mi A1 Guides, News, & Discussion] karran963:
Got update 8.1
[Xiaomi Mi A1 Guides, News, & Discussion] heehaa123:
andorid corrupted

my OS corrupted when updating
[Xiaomi Mi A1 Guides, News, & Discussion] Rj.tri:
Hi...i have updated my phone to 8.1 but i have got only 2 option in power manue like power off and restart...but no emergency option....i have seen this option in youtube..but not in my phone....
[Xiaomi Mi A1 Guides, News, & Discussion] paolocorpo:
+1 here

I am on the same page

Inviato dal mio Mi A1 utilizzando Tapatalk
[Xiaomi Mi A1 Guides, News, & Discussion] Lupin The Third:
I'm on a custom ROM right now, so can't say much.

But, do you know what does that option in the reboot menu do?
[Xiaomi Mi A1 Guides, News, & Discussion] hieron123:
Varben, thanks for this thread with all the useful guides together in one place...

Any chance you're updating it anytime soon? I would like to root my device after June 5th update. So far no success. Data gets wiped when booting patched boot img... [emoji26]

Verstuurd vanaf mijn Mi A1 met Tapatalk
[Xiaomi Mi A1 Guides, News, & Discussion] _mysiak_:
Just boot TWRP, flash Magisk and that's it - it doesn't erase anything. There is no need to bother with patching boot image.

Phone sometimes doesn't boot with Magisk on first try - if it's booting for more than a minute, hold power off button until it restarts, it will boot correctly on next attempt. Or just wait until stock recovery appears with options "try again" or "perform factory reset" - choose "try again".
[Xiaomi Mi A1 Guides, News, & Discussion] hieron123:
Booting TWRP doesn't wipe data? It happened to me before...

Verstuurd vanaf mijn Mi A1 met Tapatalk
[Xiaomi Mi A1 Guides, News, & Discussion] _mysiak_:
Can't imagine why would it wipe data (at least current stable version).. Just "fastboot boot twrp.img", do NOT allow system modifications (do NOT swipe away question without reading it), install Magisk and reboot to system. You need to do it only once, for OTA you can use standard Magisk OTA update procedure. Or just repeat rooting procedure with TWRP, that's up to you.. :)
[Xiaomi Mi A1 Guides, News, & Discussion] Lupin The Third:
It will get updated. Been busy and also some time away... I'm thinking of returning to stock so I can update the guides properly after testing things myself.
[Xiaomi Mi A1 Guides, News, & Discussion] hieron123:
Ok so so the wipe data can be avoided by using IjazCI's method:

After this the oem unlock procedure is done, bypassing the 'wipe data' script from xiaomi. You can again reboot to bootloader and either boot into TWRP or boot your patched_boot.img.

Varben you can update your OP accordingly. Cheers!
[Xiaomi Mi A1 Guides, News, & Discussion] Lupin The Third:
I've seen that trick. However, i think xiaomi will patch that as it's still a security flaw.

Just my thought though, not an official one.
[Xiaomi Mi A1 Guides, News, & Discussion] akshaygalaxystarmod:
Can I Update it over 8.1 custom rom With Twrp
[Xiaomi Mi A1 Guides, News, & Discussion] styrubeast:
i got only May patch, where is 8.1?!
[Xiaomi Mi A1 Guides, News, & Discussion] Lupin The Third:
Somewhere over the air (ota)

It will arrive sooner or later.
[Xiaomi Mi A1 Guides, News, & Discussion] Lupin The Third:
What do you mean?
[Xiaomi Mi A1 Guides, News, & Discussion] Parnas72:
AFAIK 8.1 update has been retired shortly after deployment due to a couple of major bugs.