yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A2 Lite Guides, News, & Discussion] ZiPxxx:
Good job Simply described the instructions. It can't go wrong
[Xiaomi Mi A2 Lite Guides, News, & Discussion] ZiPxxx:
Ok
[Xiaomi Mi A2 Lite Guides, News, & Discussion] sol1dsn4ke:
I have a problem with the updates :( I can't update anymore from April ... the update installation always fails. Even if I uninstall Magisk and ADblock, I can't solve ... I have to reinstall something (is the image "dirty") ? are the magisk plugins (I've always had them)?
[Xiaomi Mi A2 Lite Guides, News, & Discussion] Majaque:
You need to reflash system and boot partitions (_a and _b)
[Xiaomi Mi A2 Lite Guides, News, & Discussion] a1291762:
The OTA process writes errors to logcat (see earlier posts on this thread). I had to reflash system and vendor, in addition to boot before I could get the most recent OTA.
[Xiaomi Mi A2 Lite Guides, News, & Discussion] Jaie55:
Use MiFlash, your phone is rooted, os that why u cant update
[Xiaomi Mi A2 Lite Guides, News, & Discussion] kevinccce:
is there any way to install magisk without using twrp?
[Xiaomi Mi A2 Lite Guides, News, & Discussion] Tech0308:
That's already the recommended way
[Xiaomi Mi A2 Lite Guides, News, & Discussion] culaponk:
hi, where i can find patched_boot for latest update 10.0.10.0?

thanks
[Xiaomi Mi A2 Lite Guides, News, & Discussion] Tech0308:
Look one page before, I've already posted a link
[Xiaomi Mi A2 Lite Guides, News, & Discussion] sxvinifp:
any patched for update 10.0.12.0?
[Xiaomi Mi A2 Lite Guides, News, & Discussion] sxvinifp:
Alright, just did the patched boot for v10.0.12.0. Working smoothly.

https://drive.google.com/file/d/1aO98fu3PZvRWjxUZBmcLU7WIGsJIwJmf/view?usp=sharing
[Xiaomi Mi A2 Lite Guides, News, & Discussion] ZiPxxx:
thank you it was speed. good job And sry my english
[Xiaomi Mi A2 Lite Guides, News, & Discussion] gkornaks:
Anyone got fastboot v10.0.12.0 yet?
[Xiaomi Mi A2 Lite Guides, News, & Discussion] kevinccce:
https://androidfilehost.com/?w=files&flid=297084
[Xiaomi Mi A2 Lite Guides, News, & Discussion] gkornaks:
Full fastboot image not just boot.
[Xiaomi Mi A2 Lite Guides, News, & Discussion] Gumka1977:
Is not for Daisy !!!
[Xiaomi Mi A2 Lite Guides, News, & Discussion] daro29:
Hi, despite the automatic updates blocked, the system has been updated by OTA to V.10.0.12.0. Magisk and twrp have been removed, no root, of course. Magisk manager remained but when attempting to install magisk there is no direct installation option. How can I install the magisk alone to save all data in my phone? Can I do it by in phone alone without using PC?
[Xiaomi Mi A2 Lite Guides, News, & Discussion] Tech0308:
If it's just installed without you, you should be able to follow the steps without unlocking the bootloader so data is lost
[Xiaomi Mi A2 Lite Guides, News, & Discussion] daro29:
I have unlocked the bootloader. TWRP + Magisk have worked without any problems before. So I will not lose any data from the phone when I install it all again on the existing system?
[Xiaomi Mi A2 Lite Guides, News, & Discussion] Majaque:
Doubt (X)

OTA won't install if you have modified crucial partitions. It looks like you messed something up during instalation.

Just set your phone into fastboot mode and boot patched boot.img from latest update, then install Magisk properly this time.
[Xiaomi Mi A2 Lite Guides, News, & Discussion] Tech0308:
The only part when you lose data is when you unlock the bootloader
[Xiaomi Mi A2 Lite Guides, News, & Discussion] saleyman:
To update from 10.0.10 to 10.0.12 is it better to install the batched boot or to wait for the latest fastboot and flash it by myself??
[Xiaomi Mi A2 Lite Guides, News, & Discussion] AlessandroL9:
Where did u find the vanilla boot.img in order to be patched? Did u extracted from the ota dump? Fastboot image? I can't find the vanilla boot.img for this update anywhere!

If you have it, can u share the vanilla boot.img? Thanks
[Xiaomi Mi A2 Lite Guides, News, & Discussion] a1291762:
Follow the process in this thread and patch the new boot image yourself. There may not be a fastboot version of 10.0.12.0

---------- Post added at 10:52 PM ---------- Previous post was at 10:47 PM ----------

When the ota runs, it writes the new vanilla image to the other boot slot. You can extract this before patching it.

When Magisk patches the boot image, it keeps a backup. It uses this when you uninstall Magisk. You can grab this any time, though if you've got multiple backup images it's hard to tell them apart.

There's a thread where someone has posted vanilla and patched boot images for 10.0.12.0.
[Xiaomi Mi A2 Lite Guides, News, & Discussion] AlessandroL9:
Not really. The "vanilla boot.img is around 64MB and the real vanilla boot.img taken from a fastboot image or ota dump are about 27MB, more or less the size of the magisk patched boot posted here. So, there's something strange in that "vanilla" image
[Xiaomi Mi A2 Lite Guides, News, & Discussion] sxvinifp:
I'm not sure I can send you the vanilla, but I can tell you how you can backup it/make your own IMG.

The same fastboot process you do to install Magisk, you do it with TWRP.

Just download the IMG (I used the "des_troy" one), then you "fastboot boot twrp.img" on an ADB Interface. Once you're there, you just go to "Backup", select only the "Boot" box, and save it.

(You can find the file in the TWRP folder)

Then you'll get a "emmc.win" file, but its structure should work the same as an "IMG", so you rename its extension to ".img" and patch it on the Magisk Manager app.

Now, I don't know if the original works as an IMG to be installed via fastboot, so if you ever need it to be restored, I'd use TWRP's Restore function (on the menu) and use the "emmc.win" backup.
[Xiaomi Mi A2 Lite Guides, News, & Discussion] a1291762:
Just a bunch of extra 0s.

dd does not know how big the image is so it copies the whold partition (64Mb).
[Xiaomi Mi A2 Lite Guides, News, & Discussion] daro29:
Thanks for your help, magisk managed to install on V10.0.12.0. Can I also install TWRP for this latest version? Where can I find files and instructions?
[Xiaomi Mi A2 Lite Guides, News, & Discussion] grufty47:
Its a heartache, nothing but a heartache, hit's you when it's too late...

I am not raving from Bonny Tyler but talking about upgrading Mi A2 lite from V10.0.10.0 to V10.0.12.0 with retaining Magisk. I was notified that V10.0.12.0 was ready to be installed on reboot hence I uninstalled Magisk with restoring the boot image. Nevertheless, OTA and reboot failed. Bootloop (coloured stripe running with boot attempts), eventually the password issue after trying to boot with patched versions of various stock boot images restored earlier. Sytem partition has not been touched. Thanks to fastboot ROM images in

https://xdaforums.com/mi-a2-lite/how-to/fastboot-xiaomi-mi-a2-fastboot-images-t3824871

I first flashed V10.0.12.0 system, system-other, flashed and booted boot image and then the full ROM images (flash-all, save storage) to my phone. However, still the password issue. Finally I booted the twrp-3.3.1-dees-troy.img, wiped everything but the internal storage and succeeded to unbrick my phone. After restoring apps, data and settings from the google cloud I am happy to rave from my V10.0.12.0 smarty which is by now also Magisk enabled (rooted). My advice:

Take a look at:

<https://xdaforums.com/mi-a2-lite/how-to/fastboot-xiaomi-mi-a2-fastboot-images-t3824871> if needed

Save the boot and patched boot images with the commands thankfully given by a1291762 in:

<https://xdaforums.com/mi-a2-lite/how-to/10-0-4-0-to-10-0-7-0-ota-keeping-magisk-t3916863>

and just boot twrp on actual need rather than to install it.

Thanks for sharing your experiences

grufty47

PS: Be nice to your smarty, don't press hard on the lower edge, I have already exchanged twice the display (w/frame) because of the fragility of the lower part of the display!!! (Apart from the fragility of the glass, there may be a hollow area at the lower edge)
[Xiaomi Mi A2 Lite Guides, News, & Discussion] biasiman:
I'm quite disappointed actually : bought it for size, battery and the possibility of GCAM and now I've a GCAM that doesn't focus anyway properly and fear to upgrade (I went already througha bootloop...) from now on always mobile with cam2api open...
[Xiaomi Mi A2 Lite Guides, News, & Discussion] Tech0308:
In this case try lineage is as bad ota doesn't mean a brick and also gcam focus is fixed
[Xiaomi Mi A2 Lite Guides, News, & Discussion] limdev:
After used "Install to Inactive Slot (After OTA)" in Magisk, and rebooted from the system update screen, the device boot in fastboot... What can I do now?

Using the command

fastboot getvar current-slot

I receive

current-slot: INVALID

Update: I changed the active slot to B, and the smartphone has started, then I tried to install again magisk booting the patched_img, with no success installation.

Tried it 2-3 times, after that I changed again the active slot, this time setting it to A. The smartphone has started but asking me the password, giving me always "wrong password".

Now, also resetting again the active slot to B, I always obtain the "wrong password" message, what can I do?
[Xiaomi Mi A2 Lite Guides, News, & Discussion] yashinodon:
Can I lock the Bootloader after rooting?
[Xiaomi Mi A2 Lite Guides, News, & Discussion] Tech0308:
No, as the boot image is altered
[Xiaomi Mi A2 Lite Guides, News, & Discussion] sebadamus:
https://xdaforums.com/search/thread/3836952?query=relock

Seems you can do it... but its not recommended in case something go wrong later it would be harder to recover or reflash phone.
[Xiaomi Mi A2 Lite Guides, News, & Discussion] yashinodon:
There's already an August update. I wonder if it will not bootloop my phone even after following the instructions on how to do OTA updates with Magisk? (Sorry, I'm pretty new to this fastboot, ADB, img, etc. thingy)
[Xiaomi Mi A2 Lite Guides, News, & Discussion] Chindose:
For the first since I rooted my phone since January, I have successfully applied an ota update.
[Xiaomi Mi A2 Lite Guides, News, & Discussion] sebadamus:
I am just doing it... the only thingy is I get the normal errors (as last OTA from 10.0.10.0 to 10.0.12.0) where I had to flash original partitions that did not match the OTA verification, but this time I dont have the latest complete full 10.0.12.0 rom to reflash the modified partitions I need (as explained in this thread first post)

So for now... after reflashing system.img (first dsg.img, then modem.img as those where found not ok by OTA, but could flash them and reboot), now after flashing system.img I got black screen of dead :-p telling cant load system... try again/factory data reset) I now realize or "think" that it is because I needed to reflash with latest 10.0.12.0 images :(

Here the fastboot images: https://xdaforums.com/mi-a2-lite/how-to/fastboot-xiaomi-mi-a2-fastboot-images-t3824871
[Xiaomi Mi A2 Lite Guides, News, & Discussion] yashinodon:
I'm doing the update but it says installation failed even after Restoring Images, and when I check SafetyNet status it says CTS profile match: false. But it was true during the first time I rooted it with Magisk. I'm confused now.
[Xiaomi Mi A2 Lite Guides, News, & Discussion] sebadamus:
You will have to explain more... "installation failed" ok... but what partitions gave you the error "The hash of the source data on disk for this operation doesn't match the expected value", have you looked with adb logcat? (there you can find what has failed during the update process)
[Xiaomi Mi A2 Lite Guides, News, & Discussion] yashinodon:
Nvm, thank you. I have flashed the entire fastboot images and erasing all my data (My phone's data are nothing important), and updated it to the latest August update. My problem now is how can I get the latest fastboot images for V10.0.0.13.0... Hmm, maybe I'll just wait for its release on the MIUI website.
[Xiaomi Mi A2 Lite Guides, News, & Discussion] xabier-bo:
Yes I think we had quite a similar problem...

As I'm still on holidays I've decided to wait a bit more in case I could retrieve userdata information, but I'm really puzzled that userdata encryption gets affected by this flashing (that it's not strictly a rollback)
[Xiaomi Mi A2 Lite Guides, News, & Discussion] sebadamus:
Yup, better wait to get 10.0.13.0 complete image or at least the complete update patch, since you will mostly sure have to re-flash dsp, modem and system (at least I had to since 10.0.10.0 on each update OTA told me I cant because found differeces, even I only had installed magisk modules that are supposed to be systemless). Anyway I might be wrong, or I might have installed some other stuff outside magisk modules, but cant recall.
[Xiaomi Mi A2 Lite Guides, News, & Discussion] Cappucinto:
Is there already a patched boot for V10.0.13.0?
[Xiaomi Mi A2 Lite Guides, News, & Discussion] xabier-bo:
You have one here:

https://xdaforums.com/showpost.php?p=80106536&postcount=44
[Xiaomi Mi A2 Lite Guides, News, & Discussion] yashinodon:
Can I install Busybox and pass the Safetynet test?
[Xiaomi Mi A2 Lite Guides, News, & Discussion] Jpmd69:
​

That's for Vannilla! not sure it will work on Daisy...:(
[Xiaomi Mi A2 Lite Guides, News, & Discussion] xabier-bo:
Vanilla is mostly used as a synonymous of stock.
[Xiaomi Mi A2 Lite Guides, News, & Discussion] Jpmd69:
so, does this means, one can patch it and fastboot it on a mi A2 lite?

---------- Post added at 11:32 AM ---------- Previous post was at 11:28 AM ----------

yes, it can...
[Xiaomi Mi A2 Lite Guides, News, & Discussion] xabier-bo:
BTW, new fastboot images http://bigota.d.miui.com/V10.0.13.0...0.PDLMIXM_20190813.0000.00_9.0_5d0d486f04.tgz
[Xiaomi Mi A2 Lite Guides, News, & Discussion] sol1dsn4ke:
I had written a few posts further back about not being able to do OTAs. This morning after disabling AdAway and uninstalling Magisk, the phone installed the August update. But he didn't ask me if I wanted to restart, he did it on his own, so I lost Magisk. To reinstall Magisk (and then have root) I just flash the patched boot image? which one could I use among those above? [V10.0.13.0.PDLMIXM] Thank you!
[Xiaomi Mi A2 Lite Guides, News, & Discussion] Majaque:
[MENTION=3520791]sol1dsn4ke[/MENTION], don't flash it, boot and then install using Magisk (it will make backup for future OTA)
[Xiaomi Mi A2 Lite Guides, News, & Discussion] sol1dsn4ke:
ah! OK, so I download the image and install it from Magisk? can I use those posted by "xabier-bo"? Thank you very much
[Xiaomi Mi A2 Lite Guides, News, & Discussion] grufty47:
you can retrieve it from your device using twrp-3.3.1-dees_troy-daisy and a PC:

1st: uninstall the Magisk images, 2nd: uninstall Magisk completely, 3rd: check the slot (fastboot getvar current-slot; a | b), do: <fastboot boot twrp-3.3.1-dees_troy-daisy> to get access to /dev/block/by-name to retrieve the boot file (boot_a | _b) , copy that to the external SDcard or internal Download directory, reboot, install the Magisk Manager (e.g. from the external SDcard or internal Download directory), patch the boot file as per the Magisk procedure, copy the Magisk patched boot file (in /storage/emulated/0/Download) to your PC and do <fastboot boot Magisk patched boot_a | _b.img> from Cmd line / Power Shell of your PC. After reboot check Direct Install in the Install menue of Magisk Manager to permanently get Magisk root again.

Done. Merits goes to a1291762 for the idea!

grufty47
[Xiaomi Mi A2 Lite Guides, News, & Discussion] sol1dsn4ke:
I can't install Magisk. If I select the patched img downloaded above, when Magisk tries to install them he tells me that they are not compatible ... :(
[Xiaomi Mi A2 Lite Guides, News, & Discussion] xabier-bo:
Could you describe the whole process you've done?
[Xiaomi Mi A2 Lite Guides, News, & Discussion] sol1dsn4ke:
Initially I wanted to flash the boot.img patched directly from the PC via the ADB commands (as I made the first time).

When I asked which img I could use for the August version, the "Majaque" wrote to me: "@sol1dsn4ke, don't flash it, boot and then install using Magisk (it will make backup for future OTA)".

What is the correct operation?
[Xiaomi Mi A2 Lite Guides, News, & Discussion] xabier-bo:
- fastboot boot patched_boot.img makes the phone boot as if it was rooted, but touches nothing (or in other words, temporarily rooted)

- from here, if you run Magisk and install it (directly - recommended), Magisk makes a backup of the stock boot and after installs a patched one.

- as now you have a stock boot copy, you will/would be able (don't know why sometimes fails) to install future OTAs, with a quite simple procedure.

- if you fastboot flash patched_boot.img, you also would have a rooted device, but won't be able to install future OTA without flashing the fastboot image
[Xiaomi Mi A2 Lite Guides, News, & Discussion] sol1dsn4ke:
I apologize, I had forgotten the procedure to install Magisk. Now I reread and it worked.

I apologize for the confusion created in the thread.

I patched the image found on the page before, "vanilla_boot.img". It is ok?

Thank you so much to everyone for your support
[Xiaomi Mi A2 Lite Guides, News, & Discussion] xabier-bo:
:laugh: No need to apologize!

I find that for those of us (at least myself) that had been starting at a certain moment, it's quite easy to "overread" fastboot boot: You are focused on other "difficulties" and as you're not an expert, it's easy to read fastboot flash. Maybe it should be underlined.

And yes vanilla is generally a synonymous for stock. Something related with flavours. Another metaphoric expression that non-connoisseurs don't usually know what it refers to.
[Xiaomi Mi A2 Lite Guides, News, & Discussion] georgestav99:
Google feed and weather
[Xiaomi Mi A2 Lite Guides, News, & Discussion] CafeSensei:
What should I do if I have a v10.0.13 build? Full version is PKQ1.180917.001.V10.0.13.0.PPDLMIXM. How should I go on downgrading the phone?

Edit: I just answered myself, in page 97 of this thread there is an answer with this link: https://xdaforums.com/showpost.php?p=80106536&postcount=44

Edit2: Yes, just done it with Xabier Bo method and the "magisk img" from the former link:
[Xiaomi Mi A2 Lite Guides, News, & Discussion] just.sun:
Any one have 10.0.13.0 patched_boot.img ?
[Xiaomi Mi A2 Lite Guides, News, & Discussion] Ansel26:
On mi flash what command did you use ?

I'm not an expert ?
[Xiaomi Mi A2 Lite Guides, News, & Discussion] x1_logic:
1. its not really stay on 98%, it just like bug, can not display the real indicator when its turned off, and you say its good? wow.

2. wow that's the stupidest statement I've ever read. the alarm does not working (when the cellphone is turned off) means something good. Did you understand how the alarm works? Did you understand how the clock works on a cell phone or smartphone? if you mean that the device force closed the alarm will save battery significantly, that's an extraordinary statement I've read here.
[Xiaomi Mi A2 Lite Guides, News, & Discussion] adriakus:
I'm not here to go into a discussion with you. This thread is for other stuff. But first, not having your phone charging at 100% and maintaining it is a good thing (https://batteryuniversity.com/). If it doesn't display the actual charge, it's another story. Second, I never said it's a good thing. Do you realize that in order to make the alarm sound via the clock app, the phone will have to turn on, right? Boot, unlock, etc. I'm sure there are tools that work below the OS and can play an alarm without having to turn on the whole device or turn on the device at a certain hour. But you didn't reply my question. Did the alarm work with the device turned off before?
[Xiaomi Mi A2 Lite Guides, News, & Discussion] fake__knv:
Thanks for this [MENTION=5474836]BubuXP[/MENTION] everything works great so far. Rooted my phone when its on the August update and successfully updated my phone to the September update using the guide. Thanks man! :good:
[Xiaomi Mi A2 Lite Guides, News, & Discussion] hossman:
I'm am getting ready to root my device and have a question about encryption.

I'm confident in rooting and have done so before on numerous devices.

I've read a few posts about troubles accessing phone after flashing items due to encryption issues. Is this happening when folks are trying to flash back to stock or what?

Are there steps to prevent these troubles? Is it something I need to worry about? I have never needed to worry about encryption in the past.

Thanks in advance
[Xiaomi Mi A2 Lite Guides, News, & Discussion] k4sh44:
I had some issue flashing my device back to 1st stock Mi rom because of my pin code.

Don't know though to be honest if it has something to do with encryption.
[Xiaomi Mi A2 Lite Guides, News, & Discussion] krzygaj:
Again, I had a problem with installing the update this time September's. I made a clean installation with miflash and then according to the guide. Now the September update has been installed without a problem - with earlier installation of Magisk. I hope that the next update will go without any problems.
[Xiaomi Mi A2 Lite Guides, News, & Discussion] proton242:
Magisk it's the problem, with september OTA work fine
[Xiaomi Mi A2 Lite Guides, News, & Discussion] Maximuous:
[MENTION=5474836]BubuXP[/MENTION] will i still get ota installed if i download the xposed framework from magisk? Sorry for the noob question.
[Xiaomi Mi A2 Lite Guides, News, & Discussion] BubuXP:
Theoretically it should work, but Xposed through Magisk made my phone behave strange, even after uninstalling it, so I don't know for sure...
[Xiaomi Mi A2 Lite Guides, News, & Discussion] Txatxiquesi:
Thanks for the guide, very usefull :good: , i have a question in case to apply new OTA updates , if i uninstall crap apps like google maps , gmail, youtube (i make a backup before), will be a problem for apply new OTAs?, i need to restore the apps before?.
[Xiaomi Mi A2 Lite Guides, News, & Discussion] BubuXP:
You can't uninstall them, but you can deactivate them.

If you remove them from /system you'll tamper the system partition and OTA updates will not work.

Or, you can use a Magisk module to remove those apps "systemlessly" (don't remember its name at the moment).
[Xiaomi Mi A2 Lite Guides, News, & Discussion] biaz:
Hope someone could help me, i´m very noob :crying:

I could Unlock the bootloader with CMD comands, but when i try to do: [fastboot boot patched_boot.img] CMD says "no such file or directory..." I know that I´m doing something wrong, but i don´t know what exactly. I have the ADB folder on C: (X: on my PC) and the patched_boot image inside.

Some ideas? :rolleyes:
[Xiaomi Mi A2 Lite Guides, News, & Discussion] ncar123:
Is the cmd opened inside the folder directory?
[Xiaomi Mi A2 Lite Guides, News, & Discussion] biaz:
OMG, so sorry :(

It´s done, very embarrasing, i was trying in a wrong folder.

Now it´s OK, very thankful.

X:\WINDOWS\system32

X:\WINDOWS\system32>cd\

X:\>cd adb

X:\adb>fastboot boot patched_boot.img

downloading 'boot.img'...

OKAY [ 0.842s]

booting...

OKAY [ 0.596s]

finished. total time: 1.438s

X:\adb>
[Xiaomi Mi A2 Lite Guides, News, & Discussion] ncar123:
:)

Glad to help you don't be afraid to ask questions...

Saying that as a noob to noob:eek:
[Xiaomi Mi A2 Lite Guides, News, & Discussion] Txatxiquesi:
I look the uninstalled apps directorys , and all are from data/data directory.

In the worst case, If when a new OTA is out and try to update , just will fail , or i can brick the phone?.
[Xiaomi Mi A2 Lite Guides, News, & Discussion] ncar123:
I think no one can answer for sure on that without trying, but I PERSONALLY think it will not brick the device it will only fail...
[Xiaomi Mi A2 Lite Guides, News, & Discussion] jrdhos:
you have video tutorial for this ?
[Xiaomi Mi A2 Lite Guides, News, & Discussion] Jrmhgnzls:
Whu i cant flash it? It says no such file directory
[Xiaomi Mi A2 Lite Guides, News, & Discussion] xabier-bo:
Here you are

https://xdaforums.com/mi-a2-lite/ho...-7-0-ota-keeping-magisk-t3916863/post80106536
[Xiaomi Mi A2 Lite Guides, News, & Discussion] Jpmd69:
Hi

Can you post the patch_boot.img for the lastest September update (10.0.14). Thanks!

---------- Post added at 10:41 AM ---------- Previous post was at 10:40 AM ----------

Hi

Can you post the patch_boot.img for the latest September update (10.0.14?. Thanks!