OrangeFox Recovery Project
OrangeFox Recovery for the Oneplus 8 / 8t / 8 Pro / 9r
Download (for Android 13 ROMs) (OOS13 Based)
Download (for Android 12.x, 13 ROMs) (OOS12 Based)
Download FBEv1 Version Oneplus 8 (OOS13 Based)
Download FBEv1 Version Oneplus 8Pro (OOS12 Based)
Download FBEv1 Version Oneplus 8Pro (OOS13 Based)
Boot it with: fastboot boot OrangeFox-R12.1-OPKONA-V18.img
or flash it with: fastboot flash recovery OrangeFox-R12.1-OPKONA-V18.img

Code:
/*
* 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 Recovery for the Oneplus 8 / 8t / 8 Pro / 9r
Download (for Android 13 ROMs) (OOS13 Based)
Download (for Android 12.x, 13 ROMs) (OOS12 Based)
Download FBEv1 Version Oneplus 8 (OOS13 Based)
Download FBEv1 Version Oneplus 8Pro (OOS12 Based)
Download FBEv1 Version Oneplus 8Pro (OOS13 Based)
Boot it with: fastboot boot OrangeFox-R12.1-OPKONA-V18.img
or flash it with: fastboot flash recovery OrangeFox-R12.1-OPKONA-V18.img
Orangefox R12.1 can only be flashed to the recovery partition if you have OOS12 Firmware, but you can still boot it with fastboot boot if you are on OOS11 Firmware and need to decrypt data on Android 12 or Android 13 ROMs.
Some things like USB OTG etc are not working when using fox_12.1 on OOS11 Firmware!
If the touchscreen is not working for you after booting/flashing Orangefox please Update your OOS/Firmware to a newer Version!
Take a look at this Post from TWRP in regards of Backup and Restore or
here from the Orangefox wiki.
Keep in mind! Never flash a recovery file if you are not on the same OOS Firmware as the recovery is for, otherwise you will end up in Qualcomm Crashdump mode or just a black screen.
Always just do a fastboot boot recovery.img until you are on the same OOS Firmware on your phone as the recovery is for, only then you can flash it with fastboot flash recovery as well!
From OOS11 Firmware to OOS12 Firmware ROM
------------------------------------------------------
Check DDR RAM type (from Windows cmd)
adb shell getprop ro.boot.ddr_type
0 - represents your device is LPDDR4X (use DDR0 Firmware file)
1 - represents your device is LPDDR5 (use DDR1 Firmware file)
or from Terminal on your phone
getprop ro.boot.ddr_type
0 - represents your device is LPDDR4X (use DDR0 Firmware file)
1 - represents your device is LPDDR5 (use DDR1 Firmware file)
When you are on OOS12 use this from the Orangefox Terminal:
cat /proc/devinfo/ddr_type
Download latest Orangefox 12.1 img file from here
Download OOS12 flashable Firmware for your phone from here or, Oneplus 8t, Oneplus 9r
adb reboot bootloader
fastboot boot OrangeFox_R12.1-xx.img
adb sideload fw_Oneplus8T_EU_c21_DDR0.zip
adb rebooot bootloader
fastboot flash recovery OrangeFox_R12.1-xx.img
fastboot reboot recovery
Apply Update - apply via ADB
adb sideload ROM.zip
Factory reset/Format Data
Reboot System
From OOS12 Firmware to OOS11 Firmware ROM
------------------------------------------------------
Please only use this right now when you have DDR4 RAM in your phone!
Check DDR RAM type (from Windows cmd)
adb shell getprop ro.boot.ddr_type
0 - represents your device is LPDDR4X (use DDR0 Firmware file)
1 - represents your device is LPDDR5 (use DDR1 Firmware file)
or from Terminal on your phone
getprop ro.boot.ddr_type
0 - represents your device is LPDDR4X (use DDR0 Firmware file)
1 - represents your device is LPDDR5 (use DDR1 Firmware file)
When you are on OOS12 use this from the Orangefox Terminal:
cat /proc/devinfo/ddr_type
Download latest Orangefox 12.1 img file from here
Download OOS11 flashable Firmware for your phone from here or, Oneplus 8t, Oneplus 9r
Download Recovery_OOS11_FW_Android12_decryption.img from here
adb reboot bootloader
fastboot boot Orangefox R12.1 recovery
flash OOS11.0.13.13 Firmware
flash ROM.zip
reboot to bootloader
fastboot boot Recovery_OOS11_FW_Android12_decryption.img
Factory reset/Format Data
Reboot System
Always just do a fastboot boot recovery.img until you are on the same OOS Firmware on your phone as the recovery is for, only then you can flash it with fastboot flash recovery as well!
From OOS11 Firmware to OOS12 Firmware ROM
------------------------------------------------------
Check DDR RAM type (from Windows cmd)
adb shell getprop ro.boot.ddr_type
0 - represents your device is LPDDR4X (use DDR0 Firmware file)
1 - represents your device is LPDDR5 (use DDR1 Firmware file)
or from Terminal on your phone
getprop ro.boot.ddr_type
0 - represents your device is LPDDR4X (use DDR0 Firmware file)
1 - represents your device is LPDDR5 (use DDR1 Firmware file)
When you are on OOS12 use this from the Orangefox Terminal:
cat /proc/devinfo/ddr_type
Download latest Orangefox 12.1 img file from here
Download OOS12 flashable Firmware for your phone from here or, Oneplus 8t, Oneplus 9r
adb reboot bootloader
fastboot boot OrangeFox_R12.1-xx.img
adb sideload fw_Oneplus8T_EU_c21_DDR0.zip
adb rebooot bootloader
fastboot flash recovery OrangeFox_R12.1-xx.img
fastboot reboot recovery
Apply Update - apply via ADB
adb sideload ROM.zip
Factory reset/Format Data
Reboot System
From OOS12 Firmware to OOS11 Firmware ROM
------------------------------------------------------
Please only use this right now when you have DDR4 RAM in your phone!
Check DDR RAM type (from Windows cmd)
adb shell getprop ro.boot.ddr_type
0 - represents your device is LPDDR4X (use DDR0 Firmware file)
1 - represents your device is LPDDR5 (use DDR1 Firmware file)
or from Terminal on your phone
getprop ro.boot.ddr_type
0 - represents your device is LPDDR4X (use DDR0 Firmware file)
1 - represents your device is LPDDR5 (use DDR1 Firmware file)
When you are on OOS12 use this from the Orangefox Terminal:
cat /proc/devinfo/ddr_type
Download latest Orangefox 12.1 img file from here
Download OOS11 flashable Firmware for your phone from here or, Oneplus 8t, Oneplus 9r
Download Recovery_OOS11_FW_Android12_decryption.img from here
adb reboot bootloader
fastboot boot Orangefox R12.1 recovery
flash OOS11.0.13.13 Firmware
flash ROM.zip
reboot to bootloader
fastboot boot Recovery_OOS11_FW_Android12_decryption.img
Factory reset/Format Data
Reboot System
ROM Flashing instructions:
(take a look at the Spoiler above if you need to switch OOS Firmware Base for your ROM)
From OOS to custom ROM
- Boot to Orangefox
- Format data
- Switch slot
- Reboot to recovery
- sideload/flash ROM
- sideload/flash Orangefox.zip
- reboot to recovery
- Flash Magisk (Magisk can be installed through Fox addons - Install Magisk as well)
- Reboot to system
From custom to custom ROM
- Boot to Orangefox
- Format Data
- sideload/flash ROM
- sideload/flash Orangefox.zip
- Reboot to recovery
- Flash Magisk (Magisk can be installed through Fox addons - Install Magisk as well)
- Reboot to system
For Updating a custom ROM
- Boot to Orangefox
- sideload/flash ROM
- sideload/flash Orangefox.zip
- Reboot to recovery
- Flash Magisk (Magisk can be installed through Fox addons - Install Magisk as well)
- Reboot to system
The Messages failed to mount system, vendor after flashing a ROM can be ignored.
That is due to mounting those for both ext4 and EROFS and of course you can have only one of them.
If you get a Bootloop after flashing a ROM and having done a Format Data do the below:
Boot to bootloader and:
- fastboot devices
- fastboot -w
- fastboot reboot
Source Code: https://gitlab.com/OrangeFox
Device Tree (A12/A13): https://github.com/Wishmasterflo/device_oneplus_opkona/releases
Device Tree OP8/8Pro FBEv1: https://github.com/SENSEIIIII/twrp_device_OnePlus_instantnoodlep
Wiki/FAQ: https://wiki.orangefox.tech/en/guides
OrangeFox Version: R12.1
Version: V18
Last Updated: 19-May-2023
ChangelogR12.1 V18 19-May-2023
- Updated with latest Orangefox source changes
old Changelogs
Credits
* ApexLegend007 for Android 12.1 device Tree
* The-Incognito for Recovery Trees of Oneplus 8T
* YumeMichi For Implementing Erofs and Other Misc
* bigbiff for decryption
* Pranav Talmale for decryption
* Systemad for original tree
* CaptainThrowback for original tree
* mauronofrio for original tree
* BillGoss for Backup and Restore
* Qnorsten for OOS fix
* TWRP team
* OrangeFox team
Last edited: