Restore Stock - Alternative to MiFlash?

sednafx

Senior Member
Aug 11, 2011
355
127
0
Jacksonville
Hello XDA Community.

MiFlash appears to require a windows based machine to run the software (which I do not posses), therefore I am interested in an alternative method to restore my device to stock.

From my past experiences with nexus devices, I was able to download the factory image, extract, boot into fastboot, connect to a computer, and then execute the included flash_all.sh file. Is that still a working option for our Mi A1s?

Thank you in advanced!
 

sooti

Recognized Developer
Jan 26, 2012
2,391
6,585
193
Yes, you can just go to here
And just place all those commands into a .bat file and execute it (if your in windows), don't flash userdata partition if you want to save the user data and internal SD files