[FASTBOOT][OTA] Xiaomi Mi A1 OTA & FASTBOOT Images

edwaine

Senior Member
Dec 19, 2013
737
734
133
Quezon City
Could someone tell me if the mobile is still certified after installation via MiFlash?
I got no screenshots for proof because I revert back to Pixel Experience ROM but the Device is still certified. If you want, you can try it on your device.

Sent from my Nokia 7 plus using Tapatalk
 

N1ck474

Senior Member
Aug 19, 2015
1,018
290
103
Faenza
Maybe instructions are for OP's builds.

With MiFlash ordinary commands:
Flash all=flash all and wipe.
Flash all except storage=Save user data and lock bootloader (doesn't work anymore after May update, cause lock bootloader automatically wipes your data).
Flash all and lock=flash all, wipe and lock the bootloader.

For now, with MiFlash no way to keep userdata.
 

elbi14

Senior Member
Nov 16, 2013
122
22
48
29
Tangerang
Maybe instructions are for OP's builds.

With MiFlash ordinary commands:
Flash all=flash all and wipe.
Flash all except storage=Save user data and lock bootloader (doesn't work anymore after May update, cause lock bootloader automatically wipes your data).
Flash all and lock=flash all, wipe and lock the bootloader.

For now, with MiFlash no way to keep userdata.
Ah i see.

Thank you
 

N1ck474

Senior Member
Aug 19, 2015
1,018
290
103
Faenza
I have flashed both (MiFlash and Fastboot OP) but both stuck at Mi Logo, from May 9.5.13.0
Erasing data doesn't start, just stuck at first Mi Logo, reflashed May and all works fine.
 

wrick17

Senior Member
Sep 16, 2012
409
147
0
29
Bangalore
www.socalled.co.in
Maybe instructions are for OP's builds.

With MiFlash ordinary commands:
Flash all=flash all and wipe.
Flash all except storage=Save user data and lock bootloader (doesn't work anymore after May update, cause lock bootloader automatically wipes your data).
Flash all and lock=flash all, wipe and lock the bootloader.

For now, with MiFlash no way to keep userdata.
If you are using fastboot, then you can prevent the script from locking the bootloader again.

Before you do flashall except storage, edit the script (.bat or .sh) and remove the line "fastboot oem lock". Save it. And then run the script. It'll flash the whole image, preserve the user data and not lock the bootloader.

Cheers.
 

N1ck474

Senior Member
Aug 19, 2015
1,018
290
103
Faenza
If you are using fastboot, then you can prevent the script from locking the bootloader again.

Before you do flashall except storage, edit the script (.bat or .sh) and remove the line "fastboot oem lock". Save it. And then run the script. It'll flash the whole image, preserve the user data and not lock the bootloader.

Cheers.
How con i edit it? Thank you