- To install an OrangeFox
zip, simply flash it with OrangeFox (or any TWRP-compatible custom recovery) without any wipes - exactly the same way that you would flash any zip
- Do the same thing if you want to upgrade OrangeFox (see further details about upgrading OrangeFox below)
- When you flash an OrangeFox zip, there is no need to flash any DFE or any other such thing
- See below for detailed instructions on how to install OrangeFox via fastboot
¶ Via fastboot, and then recovery
need a PC for this. If you do not have a PC, or access to a PC, then you are stuck!
Note - these instructions are for A-only devices:
- Unlock your bootloader (if not already unlocked)
- Install adb, fastboot from here, and the relevant USB drivers onto your PC
- Install the
Mi Flash tool onto your PC (only for Xiaomi devices)
- Download the correct OrangeFox zip file to your phone, and to your PC
recovery.img from the OrangeFox zip file, and copy
recovery.img to your PC’s adb directory
- Reboot your phone into fastboot/bootloader mode
- Open up a command line window / terminal emulator on your PC
- Change to the adb directory on your PC
- Flash OrangeFox Recovery by using the
fastboot flash recovery recovery.img command
- Reboot into OrangeFox by pressing the
power + volume up keys, until you see the OrangeFox splash screen (the keys may be may vary on your device)
- After OrangeFox has booted up, check that everything is working – eg, that it has mounted the data partition successfully, and that the touchscreen works.
- Find and select the OrangeFox zip on your phone, tap on it, and swipe to install it (because OrangeFox Recovery needs some files from the zip)
- After installation, the phone will automatically reboot into OrangeFox
- First, you should remove any OrangeFox password/PIN protection that you have set in OrangeFox itself. Do NOT skip this step;
- Then flash the new OrangeFox zip with OrangeFox, in the same way that you would flash any zip
- If you have an old Xiaomi device, and/or you are running an old MIUI firmware (ie, based on Android 6.x, 7.x or 8.x) then this might be possible to boot a recovery image with "fastboot boot ..."
- If your MIUI firmware is based on Android 9 or later, then it might not be possible. Why? Because newer Xiaomi firmware updates in newer MIUI ROMs (based on Pie or later) will replace your bootloader with one that cannot "hotboot" a recovery image in this way (but see below about MIUI 12.5)
- Your only option in such a case is to flash the image, with "fastboot flash ..."
- This is not an OrangeFox issue, so please do not come to the OrangeFox groups to ask about it.
- Of course. Just be sure to NEVER forget your password/PIN. If you do, you will be on your own.