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

Search This thread

rmedure

Senior Member
Dec 30, 2013
117
20
Austin, TX
Great work here, thanks!!

I'm OP8 Plus with OOS12 (IN2025_11_C.21) installed both slots. I've had success so far with OrangeFox R12.1, EROFS and FBEv1. I've been able to successfully fastboot to OF recovery, decrypt data, make backups, and even fastboot flashed recovery to both slots and reboot recovery from phone working as well.

Has anyone been able to verify data restore working on IN2025 phone with this recovery?

Cheers!
 
  • Like
Reactions: Marcyvee

sms2000

Senior Member
Mar 5, 2009
818
151
Modi'in
OnePlus 8 Pro
I have OnePlus 8 Pro with OOS 13.
Tried the OrangeFox-R12.1-Unofficial-OPKONA-OOS13-V14.img and it cannot decrypt the data partition.

Should I use another version?

EDIT: found the FBEv1 version

EDIT2: with the custom FBEv1 version, the touch screen doesn't work. Still there...
 
Last edited:

Wishmasterflo

Senior Member
Nov 21, 2018
1,494
1,090
Stockholm
OnePlus 8T
I have OnePlus 8 Pro with OOS 13.
Tried the OrangeFox-R12.1-Unofficial-OPKONA-OOS13-V14.img and it cannot decrypt the data partition.

Should I use another version?

EDIT: found the FBEv1 version

EDIT2: with the custom FBEv1 version, the touch screen doesn't work. Still there...
I guess the one who created the FBEv1 Version has not created a OOS13 Version.
 
  • Like
Reactions: SchWeinSAuG

Wishmasterflo

Senior Member
Nov 21, 2018
1,494
1,090
Stockholm
OnePlus 8T
I've just update to EvolutionX 7.4. The Update has overwritten the recovery with the developer one, but when i boot OF from fastboot the touch screen doesn't work anymore.
Yes because EvoX 7.4 is OOS13 based so you need to use a OOS13 based Version of Orangefox.
I have one for FBEv2 encryption but I guess for FBEv1 there is no OOS13 based Version existing yet.
 
  • Like
Reactions: Marcyvee

barisgg

Senior Member
Jan 19, 2017
108
25
I managed to get the unofficial lineage os 20 and this on my one+ 8 with gapps and this as my recovery, able to unencrypt. Trial and error folks.

adb sideload doesn't work but you can boot into recoveries that can, and this will fully back your stuff up
 

SchWeinSAuG

Senior Member
Sep 7, 2013
296
41
Samsung Galaxy Tab S2
OnePlus 5
I guess the one who created the FBEv1 Version has not created a OOS13 Version.
hey there
yesterday I installed Oos13 unintentionally on my Op8pro and i am really pissed bout myself.
i am on holiday and no access to PC. so i am stuck with oos13, root is gone since phone restarted after update.
Is there any chance i can sideload magisk.zip whe i boot Organgefox recovery in fastboot at home?


thanks
 

Wishmasterflo

Senior Member
Nov 21, 2018
1,494
1,090
Stockholm
OnePlus 8T
hey there
yesterday I installed Oos13 unintentionally on my Op8pro and i am really pissed bout myself.
i am on holiday and no access to PC. so i am stuck with oos13, root is gone since phone restarted after update.
Is there any chance i can sideload magisk.zip whe i boot Organgefox recovery in fastboot at home?


thanks
Yes Magisk is added in the Orangefox addons. So just boot to Orangefox and click on the fox addons in the options and then Install Magisk.
 
  • Like
Reactions: SchWeinSAuG

ossizwei

Senior Member
Nov 15, 2014
81
64
Prohn
OnePlus 8 Pro
My device ist a 1+ 8pro Modell IN2023 EU-version, LPDDR 5(proved). I'm on LineageOS 19.Before installing LOS 19.1 i was on OOS 12.1 Rom.
I wanted to test OFox, because i will make easy backups of my Phone. So I tried to boot OFox recovery with "fastboot boot" command. But allways I ended up in a Screen with colored pixels in first quater of the screen. Rest of screen is black. After a few seconds the device shutdown. Phone only restarts by long pressing power and down bottom.
So i tried to boot LOS 19.1 recovery with "fastboot boot" command. It works without problems.
So my question is, must original OOS System version 11 or 12 be installed on my phone, to use OFox?
Don't want to flash OFox with the risk of brick the phone.
 

Wishmasterflo

Senior Member
Nov 21, 2018
1,494
1,090
Stockholm
OnePlus 8T
My device ist a 1+ 8pro Modell IN2023 EU-version, LPDDR 5(proved). I'm on LineageOS 19.Before installing LOS 19.1 i was on OOS 12.1 Rom.
I wanted to test OFox, because i will make easy backups of my Phone. So I tried to boot OFox recovery with "fastboot boot" command. But allways I ended up in a Screen with colored pixels in first quater of the screen. Rest of screen is black. After a few seconds the device shutdown. Phone only restarts by long pressing power and down bottom.
So i tried to boot LOS 19.1 recovery with "fastboot boot" command. It works without problems.
So my question is, must original OOS System version 11 or 12 be installed on my phone, to use OFox?
Don't want to flash OFox with the risk of brick the phone.
For this Orangefox you should be on OOS12 or OOS13 on both slots.
When you are on OOS12 boot the OOS12 based Orangefox and for OOS13 the OOS13 based Orangefox.

Also if you have issues booting the V14 please try V13 of Orangefox.
 

SchWeinSAuG

Senior Member
Sep 7, 2013
296
41
Samsung Galaxy Tab S2
OnePlus 5
Yes Magisk is added in the Orangefox addons. So just boot to Orangefox and click on the fox addons in the options and then Install Magisk.

Since i am on oos13 F15, i was able to boot with the oos113_v14 version of OF.
when i want to backup my whole phone , so i could switch back to current state, do i have to remove Lockpin ?
and backup all options ?
 

greatestandroidfan

Senior Member
Aug 12, 2010
80
23
Ok, tried the fastboot boot OrangeFox-R12.1-Unofficial-OPKONA-OOS13-V14.img method on OnePlus 8 Pro EU with crDroid 9 (A13, F.15 firmware) - and it boot to recovery! (y)

But - there is always one :p - it provides decryption of /data with PIN or Password only.
As I'm using pattern I'd always have to change unlock method to PIN before entering Recovery.

Wrote to both slots a & b permanently with:
fastboot flash recovery_a OrangeFox-R12.1-Unofficial-OPKONA-OOS13-V14.img
fastboot flash recovery_b OrangeFox-R12.1-Unofficial-OPKONA-OOS13-V14.img

Note: Decryption on Oneplus 8 and 8 Pro is only working when using a unified ROM which is using FBEv2 since this recovery is using FBEv2!
EDIT: Ja well, hit that roadblock... crDroid9 seems NOT to use FBEv2... :cry:
decrypt ended with signal: 6
/data partition seems to be f2fs...
 
Last edited:

Wishmasterflo

Senior Member
Nov 21, 2018
1,494
1,090
Stockholm
OnePlus 8T
Ok, tried the fastboot boot OrangeFox-R12.1-Unofficial-OPKONA-OOS13-V14.img method on OnePlus 8 Pro EU with crDroid 9 (A13, F.15 firmware) - and it boot to recovery! (y)

But - there is always one :p - it provides decryption of /data with PIN or Password only.
As I'm using pattern I'd always have to change unlock method to PIN before entering Recovery.

Wrote to both slots a & b permanently with:
fastboot flash recovery_a OrangeFox-R12.1-Unofficial-OPKONA-OOS13-V14.img
fastboot flash recovery_b OrangeFox-R12.1-Unofficial-OPKONA-OOS13-V14.img


EDIT: Ja well, hit that roadblock... crDroid9 seems NOT to use FBEv2... :cry:
decrypt ended with signal: 6
/data partition seems to be f2fs...
Then try the FBEv1 Orangefox.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    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!)
    1
    If memory serves, you can hold down the Power btn + Volume Down btn together for about 10 seconds or so and it'll force a reboot of the phone.
    1
    Are the FBEv1 still in development?
    I dont know, the FBEv1 Versions are not done by me.
    I only do the FBEv2 Versions.
  • 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 12.x, 13 ROMs) (OOS12/OOS13 Based)

    Download FBEv1 Version Oneplus 8
    Download FBEv1 Version Oneplus 8Pro

    Boot it with: fastboot boot OrangeFox-R12.1-Unofficial-OPKONA-V14.img
    or flash it with: fastboot flash recovery OrangeFox-R12.1-Unofficial-OPKONA-V14.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

    ROM Flashing instructions:
    (take a look at the Spoiler above if you need to switch OOS Firmware Base for your ROM)
    -Flash ROM
    -Flash OrangeFox (only when your device is on the same OOS FW as the recovery)
    -Reboot to recovery (to switch slot)
    -Flash Gapps (if needed)
    -Flash Magisk (Magisk can be installed through Fox addons - Install Magisk as well)
    -Format data
    -Reboot to system

    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):
    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: V14 beta
    Last Updated: 16-Jan-2023

    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)


    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
    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
    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!)
    2
    thanks so much for hookin up the op8 users with a recovery that has some substance :)

    Am I correct in assuming that I'm not seeing anything in my data partition (for backup purposes) because of this?



    Just wanting to make sure I wasn't missing something!
    Yes correct.
    2
    I think I have to format data partition.
    Now I can boot or install orange fox, but I can't decrypt data. What can I do without decrypt it?
    Can I install ota updates? Flash zips from USB otg? Flash Magisk through the tool?
    Yes you can install via USB OTG or ADB sideload