Mi A2 back to stock?
I'm looking for help on putting my mia2 back to stock (currently running calyxOS) so I can install UBPorts on the device. I'm completely lost and any help would be GREATLY appreciated
@kernelpancake Download and extract [https://bigota.d.miui.com/V10.0.13.0.PDIMIXM/jasmine_global_images_V10.0.13.0.PDIMIXM_20190807.0000.00_9.0_9083804c9e.tgz](android 9 rom stock)
I assume that you use linux and you have fastboot installed.
Put your phone in fastboot mode (power + vol down)
Enter inside the extracted directory and execute this:
sudo sh flash_all.sh
@nero355 no idea, I've only used in linux
@nero355 I believe there are scripts in there that lock and some that doesn't. Don't remember exactly the name of the scripts, but it should be obvious by looking at the content of the script as it would be the last couple of commands in the scripts that does the locking. Should be safe to lock though (it is the stock rom after all). I locked mine when I did the same some time ago, before trying UT, didn't have any issue with locking. If you're using android you probably want it locked anyways or some apps will refuse to run.
Fortunately I don't use those apps so I don't really care about the Widevine L1/L3 stuff or any banking crap that's not supposed to be on anyone's phone anyway!
But you should really be VERY carefull with relocking any phone!
- Some don't like it all!
- Some will be hardbricked if the software/firmware/etc. on the phone differs even slightly from what is was shipped with!
A lot of people made that mistake already and regret it ever since!