Mini F.A.Q. (work with TWRP)
For simplicity, we translate into
Cleaning what is it done for and what to live on
1) Before flashing another firmware do the following
Tap on the screen as a tick 1 to 4 on 5 (svayp for cleaning)
Personally, I recommend, "wipe up and the device Memory section, as well as format the Data sectionfor a more complete and proper cleaning and later rolling the firmware through a removable card, or downloading the firmware from the phone, after a full cleaning, it is also IMPORTANT to remember when you wipe (clear) the device memory all data from the phone will be erased, so transfer the data to the card or computer in advance , if there is no such possibility then before flashing it is desirable to delete two folders Android and Miui After we select the folder where the firmware was downloaded and we taped on it (for example, on my sd card in the Download1 folder and in my case firmware miui.su
If you want to add more files for "joint" flashing (mods, supersu, etc. then
marked in red / Add another zipand / or instead
yellow / swipe for firmware(I repeat, if in this way we sew up the stock, official firmware, together or after, you need to flash either
scriptprotection, or SuperSu.) Now we wait for the system to flash and then Swap to boot the system, or press the checkmark / Sbip before flashing for firmware / Automatic restart after installation, in this case, restart after flashing to install the firmware
After that, wait until the initial installation screen appears.
2) Update firmware via TWRP. There are two ways to "dirty roll" and update with wipe. When dirty, just go to the folder where our firmware is downloaded, tap it and swipe for the firmware, the second way, before updating, go to Cleanup and select as in the screenshot
, then go to the folder where our firmware is taped and if it was installed for example supersu We add another zip and select the supersu file (This is done because with the wipe the cache will fly off everything that was added by the mods not embedded in the firmware)
In the same way we can, through TWRP, separately to the firmware, you can sew mods, fixes, etc.
In case you did not backup the firmware and thanks to fashion, fix, etc. the phone does not boot (often hangs on the MI logo), you can artificially reboot into rekoveri (power button + volume plus, to the victorious "), make wipe cache and flash our firmware with a new one, in this case 99% of the firmware will safely boot, thus avoiding data loss
Note: TWRP is able to sew not only zip archives but files with the img extension. (often kernels, other TWRPs). In order to flash files with the img extension. find the folder where it is downloaded, then tap onand after our files will appear with the img extension, we select and rekoveri will suggest through what to flash it, respectively, the kernel via boot, TWRP via recovery
Note: in some TWRPs there is a Select Storage key in the bottom left section for selecting a drive (SD card or OTG) if you want to select files for installation from there