• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[OFFICIAL][RECOVERY]OrangeFox Recovery Project [R11.1]

Search This thread


Senior Member
Jun 24, 2007
bonsoir sur mon redmi note 7 j'ai réussi a unlocker mon bootloader pour pouvoir installer lineage-18.1-20210411-UNOFFICIAL-lavender.zip ROM mais je n'arrive pas a rooter mon téléphone j'ai essayer beaucoup de programme sans succès si quelqu'un a une solution qui me pemettrait d'y arriver merci de me l'indiquer mon adresse mail : [email protected]


MOD EDIT: English Translation Below

good evening on my redmi note 7 I managed to unlock my bootloader to be able to install lineage-18.1-20210411-UNOFFICIAL-lavender.zip ROM but I can not root my phone I tried a lot of programs without success if anyone 'one has a solution that would allow me to get there, please let me know my email address: [email protected]
You should install the latest OrangeFox Recovery.

Once OF is installed, you should be able to root your Redmi Note 7 using Magisk, instructions are here: https://topjohnwu.github.io/Magisk/install.html

(the Magisk developer changed the method of installing Magisk from the traditional 'flash zip in recovery' method several months ago, personally this just seemed to confuse & make the whole process more difficult and prone to failure, so I think you should just stick to the "Custom Recovery" method given at the bottom of the instruction page)


Senior Member
Dec 21, 2018
So i flashed MIUI 12.5 again due to an idiot mistake that i made, and tired of twrp i decided to chance to OF, please tell me if i'm wrong, first download file attached in DartJabba's post, then turn off and boot to fastboot, flash TWRP via adb (i already have the tools), reboot to recovery, flash OF via zip, reboot, profit?


Senior Member
May 5, 2014
Greater London
So i flashed MIUI 12.5 again due to an idiot mistake that i made, and tired of twrp i decided to chance to OF, please tell me if i'm wrong, first download file attached in DartJabba's post, then turn off and boot to fastboot, flash TWRP via adb (i already have the tools), reboot to recovery, flash OF via zip, reboot, profit?


Senior Member
Dec 21, 2018
Ok, server is back :)

How do I flash it?!? I downloaded it, went into fastboot, flashed recovery.img. BUT it still reboots into the system and not into recovery...

Any advice?
Yes happened to me many times, the only thing you have to do is keep pressing Power + Volume up together when you are still on fastboot screen (dont release yet until it reboots to OF), otherwise it will reboot normaly and the recovery will be stock again
  • Like
Reactions: Goldenmeadow


Senior Member
Oct 13, 2011
Southwestern Ontario
I was following installation steps from their guide and didn't pay attention :)
But then read TWRP installation steps and they specifically mentioned it.

All good!
Yes happened to me many times, the only thing you have to do is keep pressing Power + Volume up together when you are still on fastboot screen (dont release yet until it reboots to OF), otherwise it will reboot normaly and the recovery will be stock again

Top Liked Posts

  • There are no posts matching your filters.
  • 138
    OrangeFox Recovery Project
    * Your warranty is now void.
    * We're not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this recovery
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at us for messing up your device, we will laugh at you.
    OrangeFox is FREE SOFTWARE

    Supports Treble, Miui, Custom Roms

    OrangeFox download site: https://orangefox.download/device/lavender

    Read very carefully the contents of post #2 below.

    Support the OrangeFox Project by donating at our OpenCollective page.

    0. Backup your ROM, your data, your internal storage, and your settings/apps, to an external device
    1. Download the OrangeFox zip file to your device
    2. Reboot to your custom TWRP-based Recovery
    3. Install the OrangeFox zip file as a normal zip
    4. The device will automatically reboot into OrangeFox recovery after installation (allow this to happen)
    5. Enjoy!

    Guides; Frequently Asked Questions; Installation; Troubleshooting; Sundry Information:
    * See https://wiki.orangefox.tech/en/guides

    * TeamWin - for TWRP
    * The OrangeFox Team - for your hard work
    * All our testers - for your patience and help

    * Updated with latest TWRP commits
    * Built-in support for installing init.d functionality
    * Built-in support for installing Magisk
    * AromaFM
    * Flashlight
    * Password, torch, led
    * Support for Miui and Custom ROMs
    * Superb new UI and themes
    * OrangeFox theme engine:
    - choice of theme (black, dark, etc)
    - choice of color scheme
    - choice of splash screen
    * Alternative lockscreen
    * And many more!

    Other useful information - see below

    XDA:DevDB Information
    OrangeFox Recovery Project, Tool/Utility for the Xiaomi Redmi Note 7

    DarthJabba9, MrYacha
    Source Code: https://gitlab.com/OrangeFox

    Version Information
    Status: Stable
    Current Stable Version: R11.1
    Stable Release Date: 2021-05-10

    Created 2019-06-21
    Last Updated 2021-05-10
    OrangeFox R11.1 Stable released

    OrangeFox download site: https://orangefox.download/device/lavender

    Changelog for R11: https://wiki.orangefox.tech/changelog

    FAQ and Guides: https://wiki.orangefox.tech/en/guides

    1. The UI for OrangeFox is very different from that of any other recovery. All the expected features are there, but you need to look around and familiarize yourself with the new interface.

    2. * A very good place to start is by reading the guides here: https://wiki.orangefox.tech/en/guides

    3. Kernel sources: https://github.com/stormbreaker-project/android_kernel_xiaomi_lavender.git

    4. For lavender, always leave "Disable DM-Verity" and "Disable Forced Encryption" unticked.

    5. Backup and restore - see post number 3 below. Do not try to backup/restore anything without first reading it.

    6. Encryption is fully supported on lavender. However, there are different protocols for lavender encryption, and some of them are not compatible with each other. If you change from a ROM using one protocol to a ROM using a different one, you will need to format your data, otherwise decryption will be impossible. This is not an OrangeFox issue, so please do not ask us to "fix" it. Basically, lavender encryption is extremely flaky (ie, you should consider it to be deeply broken). So if you want to try different ROMs, then you must be prepared to format your data partition. It is best to do this before flashing the new ROM (after backing up your internal memory, of course).

    7. If you are returning to MIUI from a custom ROM, you must format your data partition before flashing MIUI. Then bootup MIUI and let it encrypt the data partition again, before doing anything else.

    8. If you are returning from MIUI to a custom ROM (or from one custom ROM to another, or from one MIUI base to another), you must first format your data partition, then reboot the recovery, then flash the full custom ROM, then boot the ROM, let it encrypt the data partition, then reboot to recovery (and if you have a backup of your data partition, you can now restore your data backup). Do not skip any of these steps, or there may be tears.

    9. If you ever move from MIUI 10 to MIUI 11, then do not be in a hurry to return to MIUI 10, because the road ahead is fraught with untold difficulties and headaches. Just suck it, and stay with MIUI 11. If you really must return to MIUI 10, your best bet is to flash a full MIUI 10 fastboot ROM with the Mi Flash tool (just make sure that you don't accidentally lock your bootloader again). And even with this approach, you will probably still have problems. Please note that I will not answer any questions relating to any dramas arising out of trying to move back from MIUI 11 to MIUI 10. You have been warned!

    10. If you are going to report any problems, you must provide full and complete details of the problems, and what led to those problems, and you must also post the recovery log.

    11. If you experience a situation where you have set a PIN, but the recovery asks for a password (or vice versa, etc), then you must ask your ROM devs to fix their ROM by applying this patch. This is not a recovery issue, so please do not ask us to "fix" it. Alternatively, you can always open a terminal in the recovery (or via "adb shell") and run "twrp decrypt password".

    12. This device originally only had Full-Disk Encryption ("FDE"). This situation still remains with respect to MIUI ROMs, and ROMs based on Android Pie. However, many new AOSP ROMs based on Android 10 are now using File-Based Encryption ("FBE"). If you are moving from a ROM with one kind of encryption to the other kind, you must format your data partition before booting the new ROM for the first time. Furthermore, if your ROM has FBE, and you have set up a lockscreen password/PIN in the ROM, then you will always be prompted for your password every time you want to enter the recovery - and you must supply your lockscreen password/PIN in order for the recovery to be able to decrypt data. This is how FBE works, and there is no getting around it (other than not using a lockscreen password/PIN in your ROM).

    Our channel - https://t.me/OrangeFoxRecovery
    Download - https://orangefox.download/device/lavender
    The OrangeFox App - App Downloads | App Discussions
    Creating and Restoring backups

    Backing up and restoring can be very problematic if not done properly. Since you will be relying on the backups, this needs to be done with great care. So, I am devoting a separate post to this topic.

    Here, I will explain what works for me (your mileage may vary). But, first of all, read this: https://twrp.me/faq/whattobackup.html (and note especially the recommendations concerning "system" versus "system_image", and "vendor" versus "vendor_image").

    1. In my opinion, only your data partition (and perhaps the internal storage) should be backed up via a Recovery. While this may seem a bit unusual, you really should always keep a copy of your full ROM's zip installer.

    By keeping a copy of your ROM's zip installer, restoring the ROM would be a simple matter of formatting data, clean-flashing the ROM, booting up the newly flashed ROM (to make sure that it actually boots, and to let it encrypt the storage in its own way), and then rebooting to recovery mode. This would give you a working device, and a fresh copy of the boot, system, and vendor partitions. Then you only need restore the backed up data (and internal storage), and you have your system again.

    2. For full backups in recovery mode (if you must), the safest option would normally consist of:
    • Boot
    • Data
    • System_Image
    • Vendor_image
    • Internal storage
    3. Do not rely entirely on a nandroid (ie, Recovery) backup of your internal storage (ie, your user data, photos, etc). It is wise to have copies in the cloud, and/or on your PC.

    4. Do not rely entirely on a nandroid (ie, Recovery) backup of your data partition. It is wise to let your ROM backup your settings and apps data to the cloud (eg, google drive), or use an app to do the same. This provides a second line of defence. The reason for this advice is the dreaded "extractTarFork() error 255" which can sometimes (and randomly) occur when backing up, or (more devastatingly) when restoring a /data partition backup. Nandroid backups of the /data partition are potentially unreliable, and that is just the way it is. You might also want to read this.

    5. Always take a backup of your user data (to an external storage device or the cloud) every time you want to flash something (anything - ROM, recovery, mods, OTA updates, or whatever else). Particularly, with a device like lavender (with very flaky encryption), flashing or updating anything at all can potentially lead to your needing to format your data partition to get rid of broken encryption (this is especially the case with regard to moving from any ROM to any other ROM). Ignore this advice at your own peril.

    6. Creating backups of encrypted data is fraught with risks. If you want to backup the data partition of an encrypted device, you would be very well advised to first delete the lockscreen password/pin in the ROM before booting to recovery to create the backup. If you don't do this, you must accept the invitation to delete the ROM password (also available in the OrangeFox add ons menu) immediately after restoring the backup. Note - with lavender, if you have any of those new Android 10 custom ROMs that use FBE, you will have to work out for yourself what works for you ...

    7. Do not try to restore a backed-up data partition from one ROM to another ROM.

    8. Do not try to restore a backup of an encrypted device to a device that is not encrypted, or to a device that is encrypted with a different encryption protocol.

    9. Watch this space for more stuff to be added in the future.
    OrangeFox R10.0_2 released

    I have released OrangeFox R10.0_2 Stable (OrangeFox-R10.0_2-Stable-lavender.zip)

    Changes: Supports Android 10 encryption (tested on Pixel Experience)

    1. OrangeFox download site: https://files.orangefox.website/OrangeFox-Stable/lavender/
    2. SourceForge: https://sourceforge.net/projects/orangefox/files/lavender/
    OrangeFox R10.1_3 Stable released

    I have released OrangeFox R10.1_3 Stable.

    OrangeFox download site: https://files.orangefox.tech/OrangeFox-Stable/lavender/
    Sourceforge: https://sourceforge.net/projects/orangefox/files/lavender/

    Changelog (General for R10.1): https://wiki.orangefox.tech/en/changelog#orangefox-r101

    Device-specific changes:
    - New kernel
    - Several optimisations and fixes
    - Release date: 05 June 2020

    FAQ and Guides: https://wiki.orangefox.tech/en/guides