yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A2 Lite Guides, News, & Discussion] grufty47:
Thank a lot a1291762,

yes, my smarty is Magisk rooted and your command suite worked like charm! (Though as a newbie for Linux/Android commands I still need to understand the commands.)

PS D:\APKtool\platform-tools_r28.0.2-windows> adb shell

* daemon not running; starting now at tcp:5037

* daemon started successfully

daisy_sprout:/ $ su

daisy_sprout:/ # dd if=/dev/block/by-name/boot_a of=/sdcard/boot.img bs=1024k

64+0 records in

64+0 records out

67108864 bytes transferred in 0.555 secs (120916872 bytes/sec)

daisy_sprout:/ # exit

daisy_sprout:/ $ exit

PS D:\APKtool\platform-tools_r28.0.2-windows> adb pull /sdcard/boot.img

/sdcard/boot.img: 1 file pulled. 30.5 MB/s (67108864 bytes in 2.100s)

PS D:\APKtool\platform-tools_r28.0.2-windows>

Great, I pulled the boot.img (67108864 bytes, 10.0.7.0 build) into the directory \APKtool\platform-tools_r28.0.2-windows, I understand it is the original boot.img, not the patched_boot.img, correct? Unfortunately, it only works for rooted devices, hence, no chance to retrieve the boot.img for the root process, e.g. for patching with Magisk.

Thanks, grufty47
[Xiaomi Mi A2 Lite Guides, News, & Discussion] ProSvet:
Guide not applicable as for March 2019 update?

Dear people here, I'm not experienced user in flashing something through USB cable.

I feel using USB cables to modify viable system software of any device is too risky. It may seem much less risky to experienced people like some of you here.

So, in February 2019 I successfully followed steps 12-14 of the GUIDE to apply OTA update to my device, but now these steps seem to no longer work for me.

I stumbled on step 13, where I go to "Settings" > "System" > "System update" and try to install the OTA update. It downloads successfully but after some little time the "System update" interface reports that it will continue when the device will go into standby mode (also the "Continue" button at the bottom of the screen is available). Sorry if I translated something not correctly, because I have non-English interface.

So I think now I can't reboot without issues. (And I need to reboot to change SIM card.)

I need clear confirmation of wheter it is a temporary issue, or I need to follow some other guide to apply OTA update this time.

Of course I'd prefer to wait for updated Guide here in this forum thread, taking into account possible issues like the one I faced.
[Xiaomi Mi A2 Lite Guides, News, & Discussion] luckysquid:
Hi,

Do you have updated simply by running these commands?

Do you have disabled/removed Magisk or other?

Thanks
[Xiaomi Mi A2 Lite Guides, News, & Discussion] kokos1996:
Unfortunately I was not able to apply Mach update, so I had to make factory reset, then apply update. Patched boot for V10.0.7.0: https:// ufile.io/6itkf (link valid up to 2 May 2019).
[Xiaomi Mi A2 Lite Guides, News, & Discussion] wenna.speedy:
My steps:

1.download rom and unzip payload.bin

2.disable magisk (not apk)

3.turn off screen security

4.boot fastboot

5.flash imgs by all commands via fastboot (it takes couple of minutes)

6.boot updated rom (not rooted)

7.boot to fastboot again

8.boot rom with patched boot.img (fastboot boot patched_boot.img)

9.in magisk-direct install

10.reboot

11.you have updated rom with magisk working.

---------- Post added at 03:28 PM ---------- Previous post was at 03:00 PM ----------

You hadnt, follow my steps above nexttime.
[Xiaomi Mi A2 Lite Guides, News, & Discussion] kokos1996:
I would have done it without losing data, but there had been only MIUI dump for V10.0.6.0 - I prefer stock Android.
[Xiaomi Mi A2 Lite Guides, News, & Discussion] wenna.speedy:
Why are you lazy for searching this forum?

https://bigota.d.miui.com/V10.0.7.0.PDLMIXM/miui_DAISYGlobal_V10.0.7.0.PDLMIXM_ff29895bef_9.0.zip

https://androidfilehost.com/?fid=818070582850510260
[Xiaomi Mi A2 Lite Guides, News, & Discussion] kokos1996:
I found the same link you provided, but "miui_" in filename confused me, because I believed there are two types of ROM: MIUI and stock Android. Now I know that's not true and I can download pure Android from miui.com.
[Xiaomi Mi A2 Lite Guides, News, & Discussion] tecnicomeiaboca:
I'm on the V10.0.7.0 , I downloaded the vanilla boot from here and patched with latest magisk apk, and I'm trying to rooting my phone but it's not working. I boot the patched boot and the phone works properly, but when I open magisk apk it tells me I have no root, I refresh magisk and it says I'm rooted, and it needs to install an custom patch for magisk work properly, I tap yes and it gets failed. I tap on install magisk and it's like my phone is not rooted, only shows download the patch or patch a boot.img. What am I doing wrong?

[youtube]Hf_Lzg4xcRI[/youtube]
[Xiaomi Mi A2 Lite Guides, News, & Discussion] boe323:
reflash stock boot image and completley uninstall magisk, reboot, reinstall the apk, and run the safety check just so it doesnt ask you for a compatability patch, this seems to stop it downloading extra patches that you dont really need, then reboot and try to boot the patched boot image. If it still fails after then try to get it to recognize the temp root and run magisk uninstaller, or you can try running the uninstaller first, im not sure how the magisk uninstaller works, but yeah, try that. Also a little tip, through alot of painfull reinstalls and factory resets because i couldnt get safetynet to work after magisk install, dont add modules that creates a XBIN folder, the new magisk safetynet doesnt work now, it used to work just fine, i found out the hardway
[Xiaomi Mi A2 Lite Guides, News, & Discussion] wenna.speedy:
there is no official "miui" rom for daisy (a2 lite). it is only name of xiaomi subcompany of rommakers.
[Xiaomi Mi A2 Lite Guides, News, & Discussion] ncar123:
How to update magisk from 18.0 to 18.1?
[Xiaomi Mi A2 Lite Guides, News, & Discussion] Odienz:
Hi, can you please kindly share the command for the 5th step above here for total dummy like me.

Much appreciated if you can. Thanks.

---

Should I use this command:

fastboot flash [filename].img

one by one, to flash all the img files extracted from the payload.bin?
[Xiaomi Mi A2 Lite Guides, News, & Discussion] syndromtr:
fastboot flash devcfg_a devcfg.img
fastboot flash devcfg_b devcfg.img
fastboot flash dsp_a dsp.img
fastboot flash dsp_b dsp.img
fastboot flash modem_a modem.img
fastboot flash modem_b modem.img
fastboot flash rpm_a rpm.img
fastboot flash rpm_b rpm.img
fastboot flash tz_a tz.img
fastboot flash tz_b tz.img
fastboot flash keymaster_a keymaster.img
fastboot flash keymaster_b keymaster.img
fastboot flash cmnlib64_a cmnlib64.img
fastboot flash cmnlib64_b cmnlib64.img
fastboot flash cmnlib_a cmnlib.img
fastboot flash cmnlib_b cmnlib.img
fastboot flash system_a system.img
fastboot flash system_b system.img
fastboot flash vendor_a vendor.img
fastboot flash vendor_b vendor.img
fastboot flash aboot_a aboot.img
fastboot flash aboot_b aboot.img
fastboot flash boot_a boot.img
fastboot flash boot_b boot.img
fastboot flash sbl1_a sbl1.img
fastboot flash sbl1_b sbl1.img
fastboot flash mdtp_a mdtp.img
fastboot flash mdtp_b mdtp.img

these commands, one by one via command prompt or paste them in a textfile, rename to bat, becomes windows batch file...

but very risky, once it was interrupted in my system and i even lost fastboot! (phone didn't boot at all)

so a real backup of apps, files etc. recommended before you try
[Xiaomi Mi A2 Lite Guides, News, & Discussion] ee99161:
Still can't update. I pressed the uninstall on Magisk, like always, but nothing happened, and the update didn't install also. What should we do?
[Xiaomi Mi A2 Lite Guides, News, & Discussion] paul85:
Use this link with caution. Two different antivirus programs said there's a trojan in this file, so downloader beware.
[Xiaomi Mi A2 Lite Guides, News, & Discussion] dedebekri:
Using kaspersky on pc, and no such alert has been triggered. It is a decryption tool so it is normal to see false alarms.

Also, for those who want the fastboot file of latest rom 10.0.7.0;

http://bigota.d.miui.com/V10.0.7.0....0.PDLMIXM_20190318.0000.00_9.0_442d4f503e.tgz

Mi A2 Lite cihazımdan Tapatalk kullanılarak gönderildi
[Xiaomi Mi A2 Lite Guides, News, & Discussion] paul85:
I just used this method tonight and it worked great, no boot loop or anything. No need to uninstall or disable magicsk first either. I made the batch file, ran it in powershell, it gave a lot of errors which I assume are normal. They look like this but affected many of the parts of the exploded payload.bin file.

C:\minimal_adb_fastboot_1.4.3_portable>fastboot flash vendor_a vendor.img

target reported max download size of 534773760 bytes

Invalid sparse file format at header magic

sending sparse 'vendor_a' 1/2 (522101 KB)...

OKAY [ 12.236s]

writing 'vendor_a' 1/2...

OKAY [ 6.625s]

sending sparse 'vendor_a' 2/2 (43972 KB)...

OKAY [ 1.055s]

writing 'vendor_a' 2/2...

OKAY [ 39.681s]

finished. total time: 59.604s

At any rate, after waiting several minutes, the batch file ended, the patch was successful. I then rebooted, installed magicsk, patched the boot.img file I had placed in my download directory. I then booted into fastboot again, ran the command to load the patched boot file, it rebooted automagically, and then I'm golden again.
[Xiaomi Mi A2 Lite Guides, News, & Discussion] k4sh44:
Worked great.

Applications and user data remain, so thank you.
[Xiaomi Mi A2 Lite Guides, News, & Discussion] Odienz:
Thank you very much guys. Worked great, my phone updated and magisked again.

Won't have to worry mistakenly tap that "restart now" button on update notification again now!
[Xiaomi Mi A2 Lite Guides, News, & Discussion] krzygaj:
What steps did you take? can you share? did you update from 10.0.0.4.0 with Magisk?
[Xiaomi Mi A2 Lite Guides, News, & Discussion] Antho02:
i'll definitely give a try to this method!

do you think it can work from 10.0.3.0 ? i was unable to update to 10.0.4.0
[Xiaomi Mi A2 Lite Guides, News, & Discussion] syndromtr:
i told above. i had all troubles including phone not opening at all. even fastboot...

in my opinion, you need to first update to 10.0.4.0 from 10.0.3.0 with similar bat file and same method, payload extract and flash...
[Xiaomi Mi A2 Lite Guides, News, & Discussion] syndromtr:
the OP still works if you know what you're doing. here is detailed explanation:

while i was at 10.0.4.0: i performed OP steps 5 to 11.

and, after rooted, NO frozen apps (titanium backup or similar apps), enabled adaway AFTER Systemless Hosts Magisk module. i have also camera2api and viper4android modules in Magisk.

then, today, i applied OP steps 12 to 14 (of course followed guide, magisk stayed, no complete uninstall)

OTA passed tests, no "installation error"

after step 14, rebooted and i'm on 10.0.7.0 now. and rooted.

hope this helps.
[Xiaomi Mi A2 Lite Guides, News, & Discussion] saleyman:
Thank you, I still get an installation error while trying to install the update (step 13) from 10.0.4.0 to 10.0.7.0 :(.

Does AdAway have to be removed? (Systemless hosts are active)

Or Magisk Modules?
[Xiaomi Mi A2 Lite Guides, News, & Discussion] syndromtr:
installation error means, after rooting, you modified system partition(s).

i didn't remove adaway. but before steps 10-12, for guarantee, i started it, clicked "disable ad blocking" main window and rebooted.

magisk and magisk modules always stayed. no uninstall.

conclusion, if you cannot pass "installation error" last chance is extracting payload.bin and running batch file to flash required images via fastboot.
[Xiaomi Mi A2 Lite Guides, News, & Discussion] saleyman:
thank you I will try that.....
[Xiaomi Mi A2 Lite Guides, News, & Discussion] heathrow1:
I just updated my phone by flashing the Fastboot Image with xiaomiflash-tool. Installed magisk in the normal way afterwards. Worked like a charm without loosing any data.
[Xiaomi Mi A2 Lite Guides, News, & Discussion] BiG_FooT:
Could you explain a bit more in detail what you did? What's the fastboot image?
[Xiaomi Mi A2 Lite Guides, News, & Discussion] heathrow1:
1. Download Fastboot Image:

2. Unzip the Image and Open xiaomi flash Tool (official Download at xiaomi Website - use Google)

3. In xiaomi flash Tool choose the folder where you unzipped the Image and at the bottom choose the Option in the middle (keep User Data)

4. Restart the Phone in Fastboot Mode. Press refresh and then flash. (No need to uninstall magisk or its modules.)

5. The Phone will reboot after flashing and youre at the latest Version.

6. Afterwards Install magisk by patching the boot.img which ist in the folder where you unzipped the Image. Just follow the Guide in the First Post.

7. You got rooted Phone with magisk and latest Version.

Hope it will Help you guys.
[Xiaomi Mi A2 Lite Guides, News, & Discussion] frasca61:
i think that this is the right metod, it is the only that was good for me also in the past update.

Where have you found the new ROM ???? in the official web site of xiaomi is present today again the 10.0.3.0 ....

Can I trust this unofficial ROM?
[Xiaomi Mi A2 Lite Guides, News, & Discussion] rob420p:
Yes just use official it don't matter if it's the old one when u turn the phone back on just it the update notton
[Xiaomi Mi A2 Lite Guides, News, & Discussion] frasca61:
Also, for those who want the fastboot file of latest rom 10.0.7.0;

http://bigota.d.miui.com/V10.0.7.0.P...442d4f503e.tgz

my doubt is on the ROM 10.0.7.0 of the link !!!!
[Xiaomi Mi A2 Lite Guides, News, & Discussion] heathrow1:
The link is an adress on the official xiaomi Server. So i think it Iis official.
[Xiaomi Mi A2 Lite Guides, News, & Discussion] frasca61:
http://en.miui.com/download-354.html

This is official link !!! As you can see the ROM version is today again 10.0.3.0

:confused:
[Xiaomi Mi A2 Lite Guides, News, & Discussion] BiG_FooT:
If you doubt, don't use it. But the aforementioned link is for 'over the air' (OTA) updates
[Xiaomi Mi A2 Lite Guides, News, & Discussion] a1291762:
There have been no official releases after 10.0.3.0

People are sharing ota files and "generated" fastboot images. I don't know if it's possible to "verify" such images.

If you have trust issues. Install 10.0.3.0 and do ota.
[Xiaomi Mi A2 Lite Guides, News, & Discussion] heathrow1:
Maybe he can tell us, where he found that link..
[Xiaomi Mi A2 Lite Guides, News, & Discussion] frasca61:
good idea, my problem is that i have the phone with pie 10.0.3.0 rooted with magisk, as in the past i can upgrade the phone with MiFlash with the option "flash all except storage" , patch bios.img with Magisk Manager, fastboot boot with patched_boot.img and reinstall magisk directly, it is the only way that work fine in my experiece.

The problem is that if i try the same procedure with the new ROM 10.0.7.0 (unofficial???) and something goes left, i'm not sure about the possibility to do a roll back....
[Xiaomi Mi A2 Lite Guides, News, & Discussion] dedebekri:
It is NOT unofficial! Can't you read and see that the address refers to a file from official xiaomi website?

If you don't trust what you can see for yourself, just hope for santa to give you the OFFICIAL update!

Mi A2 Lite cihazımdan Tapatalk kullanılarak gönderildi
[Xiaomi Mi A2 Lite Guides, News, & Discussion] frasca61:
yes, you are right !!! how you found this link???
[Xiaomi Mi A2 Lite Guides, News, & Discussion] dedebekri:
Somebody from 4pda.ru forums shared it.

Also there is a website where you can find archive of links to previous rom files from xiaomi update server;

https://mirom.ezbox.idv.tw/en/phone/daisy/roms-global-stable/

Mi A2 Lite cihazımdan Tapatalk kullanılarak gönderildi
[Xiaomi Mi A2 Lite Guides, News, & Discussion] frasca61:
http://bigota.d.miui.com/V10.0.7.0.P...442d4f503e.tgz

https://mirom.ezbox.idv.tw/en/phone/...global-stable/

i'm very confused, i extract the file .img from payload.bin bat they are different respect the file inside the ROM aforementioned..

:confused::confused::confused:
[Xiaomi Mi A2 Lite Guides, News, & Discussion] dedebekri:
zip file is for upgrading from previous versions, tgz file is for flashing from zero (original fastboot file)

Mi A2 Lite cihazımdan Tapatalk kullanılarak gönderildi
[Xiaomi Mi A2 Lite Guides, News, & Discussion] elvinguitar:
Does this method still works for March 2019 update?
[Xiaomi Mi A2 Lite Guides, News, & Discussion] Tech0308:
Yes,I updated from Oreo to latest without a hitch
[Xiaomi Mi A2 Lite Guides, News, & Discussion] WaveAbuser:
Hi,

tried to update from 10.0.4.0 to the latest March 2019 update using step 12-14. Unfortunately I rebooted too early (after restoring the original image through Magisk and downloading the update when it said Installation error or something) and now I am stuck on the android one screen (non-flashing white one), and after a few seconds the screen goes black and the phone turns off.

I would like to fastboot the patched or non-patched image for 10.0.4.0.

[MENTION=8809292]AndroFluffy[/MENTION] in post #652 did upload the image, but the file no longer exists.

Does anyone have the 10.0.4.0 boot image and could share it please?

Or is "fastboot boot 10.0.4.0.img" not the right way for me to proceed?

Thanks for any help you can give.

Update:

I followed the instructions by [MENTION=4796531]dedebekri[/MENTION] in #694 and flashed 10.0.7.0 on my phone using fastboot. Gladly everything works (note: userdata is not being flashed so your personal data remain safe if you choose to go the same way). Magisk is also already up and running again.

See you again next month for the next update! :)
[Xiaomi Mi A2 Lite Guides, News, & Discussion] stes13:
delete this
[Xiaomi Mi A2 Lite Guides, News, & Discussion] rob420p:
Download a older magisk manager or flash the new magis c zip file
[Xiaomi Mi A2 Lite Guides, News, & Discussion] ZauCunha:
Hello! I've read all the posts in this thread that reffers to 10.0.7.0, but couldn't understand if there is any patched version of the boot.img file for this build so far.

My intention is to enable Camera2 API.

The method requires the patched_boot.img file, but I am on OTA march update 10.0.7.0.

Somebody can help me?
[Xiaomi Mi A2 Lite Guides, News, & Discussion] SuaveDandy:
I have issues with the pattern and the fingerprint scanner. I set them up. Then I installed a Magisk module. I rebooted. My fingerprint stopped working. I removed the pattern and set it up again. Fingerprint worked. I repeated that several times until I got bootloop. What's going on?
[Xiaomi Mi A2 Lite Guides, News, & Discussion] Odienz:
Sorry for this very late reply, hope this still relevant. I followed the steps above, and yes I'm upgrading from 10.0.0.4 with magisk to 10.0.0.7 with magisk also.
[Xiaomi Mi A2 Lite Guides, News, & Discussion] luckysquid:
hi, please help me

I applied OP steps 12 to 14

but I have "installation error" on ota update. So i don't install OTA

after step 14, (reinstall magisk in slot) rebooted and I see "to start android enter the PIN"

I insert PIN 1 to 9 (Pattern Lock) but don't work

help me :( :(
[Xiaomi Mi A2 Lite Guides, News, & Discussion] Antho02:
hi, i finally managed to update to 10.0.7.0 and instlled magisk

now i'd like to install TWRP

should i have dont it before magisk or i can do it now?

(boot on TWRP, flash TWRP zip, flash aboot.img from V9.6.4.0)
[Xiaomi Mi A2 Lite Guides, News, & Discussion] biasiman:
Hi,

I'm stuck with 10.0.2.0 as I've been scared to update OTA as when I did it in december with PIE I ended up in bootloop using the OTA method on first page (which worked well until PIE arrived). I was wondering now how to safely update to 10.0.7.0. I'va latest magisk with cam2api installed (just for the gcam). If I go to update in settings it doesn't tell me a generic "problem with installation" as when there was 10.0.3.0 and 10.0.4.0 available. It just tells me the update is about 1GB and there's a button "reboot now". If I reboot phone myself nothing happens (I switch it off every day) as i switched off the automatic updates. Don't know which improvements the 10.0.7.0 brought but I wouldn't like to remain in 10.0.2.0 forever :( many thanks
[Xiaomi Mi A2 Lite Guides, News, & Discussion] dedebekri:
Just flash this latest fastboot file via miflash

https://xdaforums.com/showthread.php?p=79268068

Afterwards you can root however you like, whether flashing magisk zip with twrp or root directly from the magisk app.

Mi A2 Lite cihazımdan Tapatalk kullanılarak gönderildi
[Xiaomi Mi A2 Lite Guides, News, & Discussion] luckysquid:
UPDATE:

I have flash 10.0.3.0 with XIaomi Tool.

Update to 10.0.7.0 and root with Magisk.

Do you think that PIN lock happened because I forget to disable it before ota?

DO you think that "installation error" on OTA happened because I have installed Youtube vanced?

THanks
[Xiaomi Mi A2 Lite Guides, News, & Discussion] :
delete pls
[Xiaomi Mi A2 Lite Guides, News, & Discussion] boe323:
Cant charge phone while power off after rooting with magisk, all versions 18.1 and over, anyone else having this issue??, im on latest march update., it also effects battery stats because each reboot it thinks the phopne has just been fully charged.
[Xiaomi Mi A2 Lite Guides, News, & Discussion] OPOt585:
It's common, you have to charge while turned on.
[Xiaomi Mi A2 Lite Guides, News, & Discussion] gabri84sv:
Hi guys, I try to apply ota update...I uninstall magisk, restore images, then I try to apply ota but I have the message that it's impossible to update. I return on magisk and I can only uninstall, not install...

I try to reboot and I have bootloop, I flash latest patched boot then the phone turn on. Magisk now ask me to update but if I try the direct intallation it can't do this, the error is "unable to unpack boot image".

Now I can't turn off the phone beacuse I have the same bootloop, how can I solved?

Thanx a lot
[Xiaomi Mi A2 Lite Guides, News, & Discussion] benjaialexz:
Re: Query

Hello, my question is, what if I replaced a font file on the system folder (but backed up the original file)? Would the update go through if I simply replaced the original font file to the system folder?

Note: That is the only change made to the system folder

Thanks in advance
[Xiaomi Mi A2 Lite Guides, News, & Discussion] Cappucinto:
Patched_boot for 10.0.7 is attached

View attachment patched_boot.zip
[Xiaomi Mi A2 Lite Guides, News, & Discussion] karenz88:
Where i can find V10.0.7.0 ROM

edit i see post up
[Xiaomi Mi A2 Lite Guides, News, & Discussion] Cappucinto:
Full fastboot ROM from the official XIAOMI servers:

http://bigota.d.miui.com/V10.0.7.0....0.PDLMIXM_20190318.0000.00_9.0_442d4f503e.tgz

Flashed it with MiFlash and all isses were solved for me.
[Xiaomi Mi A2 Lite Guides, News, & Discussion] gabri84sv:
I solved my problem with this upgrade...thanx a lot! :good::good::good:
[Xiaomi Mi A2 Lite Guides, News, & Discussion] OPOt585:
Will the fastboot image for the April update be available?
[Xiaomi Mi A2 Lite Guides, News, & Discussion] Nabukodonosor:
Hey guys. I've tried to OTA update but failed (I guess I messed with the System partition), but now I just want to give up, and install Magisk again, I want to ignore this update. When I go to Install, and choose Direct Install (recommended), I get an error "unable to unpack boot image". What should I do now? I was on 10.0.4.0.PDLMIXM before trying to update.
[Xiaomi Mi A2 Lite Guides, News, & Discussion] boe323:
find the patched boot image for 1.0.0.4 and reboot to bootloader, fastboot boot patched image and direct install again. Mine failed also , i had init.d folder that wont delete, so ive deciced not to bother aswell
[Xiaomi Mi A2 Lite Guides, News, & Discussion] Nabukodonosor:
OK, thanks, will do. Do you know what's new in the 10.0.8.0 version?

EDIT: I still get the same "failed" message. But my device is still rooted. :/

EDIT 2: How can I remove that notification "Couldn't install system update"? It's there even after reboot.
[Xiaomi Mi A2 Lite Guides, News, & Discussion] boe323:
restart the install and just pause it. I expect theres no fixes at all, just security patch. This method of installing security patches is just dumb,would be better if they found away to just install like an antivirus patch, no need for all this flashing this and that when theres nop change in anything but security.