Flashing and using a custom recovery is a cool thing to do. Personally, using one is like riding a Ferrari over previously a Toyota Prius. A custom recovery allows us to flash almost any third-party binaries and hence we can gain root access or using custom Android ROM.
The only drawback, a common one, is the losing ability to install OTA Update. Once TWRP replaces the stock Mi Recovery on your phone, you may still get OTA Update. You can still download the update, but you cannot apply the update on your phone.
Fortunately, this paradigm has changed gradually. Thanks to several ported versions of TWRP such as Red Wolf and Orange Fox. Both recoveries are just two examples. Both have managed to add this function (with some other features) despite some of its codes are not available or are not accepted to be in official TWRP build.
The success of Red Wolf and Orange Fox is not without a catch. The ability to survive MIUI OTA needs a certain mechanism. Users need to do some tasks in the first place making sure that the custom recovery can really survive OTA when the update has been rolled out.
This guide is the solution to avoid MIUI OTA update not working after flashing TWRP. Flashing Orange Fox and following the mentioned steps below allow you to survive MIUI OTA easily.
Let’s start the tutorial.
Orange Fox Settings to Survive MIUI OTA on Redmi 5 Plus
How can I update my Redmi 5 Plus to latest MIUI version using OTA mechanism? Follow these steps:
Step 3. Download the full MIUI Recovery ROM (zip) that will be the basis of your future MIUI experience. For instance, MIUI Global Stable build, MIUI Beta/Developer build, or MIUI China Stable build. If your phone is running MIUI Global Stable, do not download the Beta build or the China Stable build. In this tutorial, we use MIUI 10 v10.0.4.0 Global Stable. Copy the zip file to your phone’s storage.
Step 4. Turn off your phone completely.
Step 5. Now press and hold the Power key and the Volume Up key simultaneously until you enter Recovery mode which in this case is Orange Fox TWRP.
Step 6. Go to the Orange Fox settings by tapping on the Cup icon.
Step 7. Now tap the last tab (also the cup icon) and you’ll see several options. Those are OTA Parameters. Activate all of those options:
- Support MIUI incremental OTA
- Include system in OTA survival
- Incremental OTA signature verification
- Aggressive stock recovery deactivation
- Disable boot check
- Disable DM-Verity
- Disable Forced Encryption.
See the picture:
Step 8. Now go back to the main menu.
Step 9. Tap the “Wipe” menu. Choose Data, Cache, and Dalvik. This process is going to wipe /data, /cache, and Dalvik.
Step 10. Go back to the main menu again. Now choose “Install“.
Step 11. Locate the full MIUI Recovery ROM zip file that you have copied earlier. Select it.
Step 12. Do the “Swipe to install” action. Wait for the OrangeFox to finish its job flashing the ROM. It may take a while because Orange Fox also takes “OTA_BAK” backup process. The backup file is located at /sdcard/Fox/OTA/ directory. Do not ever delete that directory and its files, the OTA Update will fail otherwise.
Step 13. Once the whole process is done, reboot your phone by tapping on the Reboot menu, then choose System.
That’s it. The whole settings necessary to update using OTA has finished.
You are required to do the setting process above once. You don’t need to repeat the procedure in the future.
What if an MIUI OTA Update being available?
- Once the system notifies you about new MIUI update being available, simply download the update as usual using MIUI Updater app.
- Update it as usual and allow your phone to reboot automatically. This reboot process will definitely enter Orange Fox recovery.
- OrangeFox will install the OTA update automatically. You don’t need to do anything. Just sit tight and wait since this might take several minutes.
- OrangeFox will also reboot the phone automatically upon completion of the installation of the MIUI OTA update.
Voila! Your phone has been updated to the latest MIUI version.
As a reminder, you only need to do the whole process (Step 1 – Step 13) once. However, you must repeat the procedure again if you switch to a completely different build of MIUI. For instance, from Global Stable to Global Beta or vice versa.
Quite easy isn’t it? Now tell us your experience in the comment section below. You may also ask any parts of the article that you don’t understand yet.
Found a broken link? Write a comment below!