[RECOVERY][UNOFFICIAL] OrangeFox Recovery Project [OnePlus 8 / 8t / 8 Pro / 9r] [02-Aug-2023]

Search This thread

Primokorn

Senior Member
Nov 17, 2012
11,543
7,742
OnePlus 8 Pro
Why is it so difficult to backup/restore OOS 13?
The backup/restore of /data isn't very useful when we have root (it can be handled by Swift Backup or Migrate apps).
 

Jonas2802

Senior Member
Aug 17, 2016
71
20
OnePlus 8 Pro
I got a dumb question maybe. I#m on a custom ROM thats based on AOSP on A12.1L. Devcheck App says im on EXT4 partition. SO what FBE-Version do I have to use. And what is FDBe?
 

Wishmasterflo

Senior Member
Nov 21, 2018
1,691
1,338
Stockholm
OnePlus 8T
Google Pixel 7a
I got a dumb question maybe. I#m on a custom ROM thats based on AOSP on A12.1L. Devcheck App says im on EXT4 partition. SO what FBE-Version do I have to use. And what is FDBe?
If you are using Oneplus 8 Pro which has FBEv1 encryption and you are on OOS12 you need to use a recovery whith FBEv1 encryption. My Orangefox Version can only decrypt data on ROMs with FBEv2 encryption.

So this one works for OP8Pro OOS12. https://telegra.ph/OrangeFox-OnePlus-8-Pro-11-17
 

Wishmasterflo

Senior Member
Nov 21, 2018
1,691
1,338
Stockholm
OnePlus 8T
Google Pixel 7a
okey then I guess I have to go with the FBEv1 version as you've mentioned above:D
Booting the v1 Version i end in the QUalcomm CrashDump mode so i guess my ROMS firmware and the OrangeFox's firmware dont match, right
Yes exactly.
I guess the FBEv1 Orangefox Verison for the 8Pro is only for OOS12 based ROMs. That never got updated with OOS13 base afaik.
And if you are on a Android 12 ROM check if it is OOS12 based (or based on old OOS11).
And then you should make sure that you have OOS12 on both slots before flashing any recovery, otherwise you could end up in crashdump mode.
To get the same OOS base on both slots you can flash copy-partitions from recovery or flash my flashable firmware once which will get flashed to both slots.
 

Jonas2802

Senior Member
Aug 17, 2016
71
20
OnePlus 8 Pro
Yes exactly.
I guess the FBEv1 Orangefox Verison for the 8Pro is only for OOS12 based ROMs. That never got updated with OOS13 base afaik.
And if you are on a Android 12 ROM check if it is OOS12 based (or based on old OOS11).
And then you should make sure that you have OOS12 on both slots before flashing any recovery, otherwise you could end up in crashdump mode.
To get the same OOS base on both slots you can flash copy-partitions from recovery or flash my flashable firmware once which will get flashed to both slots.
OKey, and being on a ROM that's based on AOSP, means the firmware is not based on OOS isn't it? So being on a AOSP based ROM there's no way to get OrangeFox working
 

Wishmasterflo

Senior Member
Nov 21, 2018
1,691
1,338
Stockholm
OnePlus 8T
Google Pixel 7a
OKey, and being on a ROM that's based on AOSP, means the firmware is not based on OOS isn't it? So being on a AOSP based ROM there's no way to get OrangeFox working
No the firmware is always based on some OOS Version. AOSP or CLO/CAF has nothing to do with the OOS base.
So all ROMs for our Oneplus devices are based on a specific OOS base and that OOS firmware base needs to be on both slots before flashing any new recovery and ROM.
And the recovery needs to be on the same OOS base as your phone is on, otherwise touch screen does not work on Orangefox or it does boot into crashdump if you dont have the same OOS base firmware on both slots.
 

Jonas2802

Senior Member
Aug 17, 2016
71
20
OnePlus 8 Pro
No the firmware is always based on some OOS Version. AOSP or CLO/CAF has nothing to do with the OOS base.
So all ROMs for our Oneplus devices are based on a specific OOS base and that OOS firmware base needs to be on both slots before flashing any new recovery and ROM.
And the recovery needs to be on the same OOS base as your phone is on, otherwise touch screen does not work on Orangefox or it does boot into crashdump if you dont have the same OOS base firmware on both slots.
So OOS 12 was firmware for Android 12, thus every A12+ Custom Rom has a OOS12 firmware right. THough the OOS 12 EXT4 Version of OrangeFox should work right
 

Wishmasterflo

Senior Member
Nov 21, 2018
1,691
1,338
Stockholm
OnePlus 8T
Google Pixel 7a
So OOS 12 was firmware for Android 12, thus every A12+ Custom Rom has a OOS12 firmware right. THough the OOS 12 EXT4 Version of OrangeFox should work right
Usually yes but it depends on the ROM dev, so if it is an really old Android 12.x ROM it could be that it is still OOS11 based, but I assume that most Android 12 ROMs now are based on OOS12.
Yes so then use the ext4 Version of Orangefox.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 17
    OrangeFox Recovery Project

    logo.jpg

    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.x ROMs) (OOS13 Based)
    Download (for Android 12.x, 13 ROMs) (OOS12 Based)

    Download FBEv1 Version Oneplus 8 (OOS13 Based) by Deepongi
    Download FBEv1 Version Oneplus 8Pro (OOS12 Based) by saurabh_parab
    Download FBEv1 Version Oneplus 8Pro (OOS13 Based) by saurabh_parab


    Boot it with: fastboot boot OrangeFox-R12.1-OPKONA-V21.img
    or flash it with: fastboot flash recovery OrangeFox-R12.1-OPKONA-V21.img

    If the touchscreen is not working for you after booting/flashing Orangefox please make sure that the booted Orangefox is on the same OOS base as your phone is on!

    Note: fastbootd is not working on the OOS13 based Orangefox!!


    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!

    Firmware Flasher Download

    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: V21
    Last Updated: 02-Aug-2023

    Changelog
    R12.1 V21 02-Aug-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
    * Deepongi for Orangefox recovery for Oneplus 8
    * saurabh_parab for Orangefox recovery for Oneplus 8 Pro
    6
    OrangeFox Recovery Oneplus 8/8Pro/8t/9r R12.1 V16

    For OOS13 and OOS13 based custom ROMs

    Changelog:
    - OOS13 Based (should work with both ext4 and EROFS ROMs)
    - Fixed device detection for Oneplus9R
    - Misc changes and adjustments
    - Updated with latest Orangefox source changes
    - Updated with latest Meteoric Kernel

    Download link to this new Version as well as old OOS12 based Versions is in the OP.
    4
    Updated Version

    Changelog

    R12.1 V14 16-Jan-2023
    - Updated Version with OOS13 F19 OP9R Kernel
    - Synced with latest fox_12.1 changes
    - Fixed props settings for the different Kona devices
    - Fixed file formatting from Windows to Linux which was causing file issues in the device tree
    - Added a Magisk flashable Module for Orangefox (thanks to MeHigh.G)


    Still known issues:
    - USB file transfer not working in the OOS13 based Orangefox
    - Fastbootd not working in the OOS13 based Orangefox
    - No EROFS OOS13 based Version yet (will build that later, want to fix the other issues first!)
    3
    If we're on 12 now, can we flash this through magisk, or do we need to sideload?
    To flash Orangefox do it with fastboot flash recovery Orangefox.img .
    The other ways to flash might not work or throw errors.
    3
    OrangeFox can't decrypt the data partition on my phone using Global OOS v13 January security update. I use OrangeFox-R12.1-OPKONA-V19-Android13.img to boot to recovery to check it.

    As result I can't install custom rom without able to see data partition.

    I go to Mange Partition and select Data, it shows that it is using f2fs file system. Is this cause? Should I just change file system to ext4?
    Data decryption (if you use Oneplus 8 or 8Pro) is only working if the used ROM is using FBEv2 encryption. So my Orangefox Version can only decrypt data on FBEv2 encrypted ROMs not FBEv1.
    For FBEv1 there is a seperate Orangefox Version for OP8 and OP8Pro.

    Also I have just uploaded a new Orangefox Version V20 to my Github with the latest Orangefox sourced changes!