• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

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

Status
Not open for further replies.
Search This thread

DarthJabba9

Senior Member
May 5, 2014
3,729
3,566
Greater London
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 is FREE SOFTWARE

Supports Treble, Miui, Custom Roms

Downloads:
1. OrangeFox download site: https://files.orangefox.tech/OrangeFox-Stable/dipper/
2. SourceForge: https://sourceforge.net/projects/orangefox/files/dipper/

Release Notes:
1. See README.md here: https://sourceforge.net/projects/orangefox/files/dipper/
2. Read very carefully the contents of post #2 below.

Documentation and Frequently Asked Questions: https://wiki.orangefox.tech/en/guides

INSTALLATION:
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 current OrangeFox or 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!

Frequently Asked Questions; Installation from stock recovery; MIUI OTA; Troubleshooting; Sundry Information:
* See https://wiki.orangefox.tech/en/guides

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

FEATURES:
* Updated with latest TWRP commits
* Built-in support for installing init.d functionality
* Built-in support for installing Magisk
* 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!

Screenshots
see https://files.orangefox.tech/Screenshots/R10/

Other useful information - see below


XDA:DevDB Information
OrangeFox Recovery Project, Tool/Utility for the Xiaomi Mi 8

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


Version Information
Status: Stable
Current Stable Version: R10.1
Stable Release Date: 2020-04-08

Created 2020-01-23
Last Updated 2020-04-08
 

DarthJabba9

Senior Member
May 5, 2014
3,729
3,566
Greater London
R10.0_1_001 Beta released

I have released OrangeFox R10.1 Beta 001.

Downloads:
OrangeFox download site: https://files.orangefox.tech/OrangeFox-Beta/dipper/
Sourceforge: https://sourceforge.net/projects/orangefox/files/dipper/

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

Device-specific changes:
- Fixed language translations
- Updated the initd addon to use Anykernel3 (better support for system-as-root devices)

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

Backup and restore
Read this post for detailed advice. Do not try to backup/restore anything without first reading it.

Incremental MIUI OTA:
Due to recent changes in stock MIUI, you must not disable DM-Verity when flashing a stock MIUI ROM that is based on either Android Pie, or Android 10 (the relevant option in OrangeFox is now unticked by default). If you disable DM-Verity, incremental MIUI OTA updates will definitely not work.
 
Last edited:

Xiaomi063

Member
Jan 26, 2020
12
4
I have Orangefox R10.0-3, and I cannot install R10.0-4 or the new beta R10.1. I tried both flashing from bootloader with fastboot commands (recovery.img) and installing the R10.1 beta zip from Orangefox R10.0-3. Phone won't boot to recovery and will just reboot to android. I have install.log but have less than 10 posts and have no idea how to attach files. I'll PM you with the log.
 

arifqur

Senior Member
Nov 12, 2005
3,689
1,102
I have Orangefox R10.0-3, and I cannot install R10.0-4 or the new beta R10.1. I tried both flashing from bootloader with fastboot commands (recovery.img) and installing the R10.1 beta zip from Orangefox R10.0-3. Phone won't boot to recovery and will just reboot to android. I have install.log but have less than 10 posts and have no idea how to attach files. I'll PM you with the log.

How did you flash from fastboot? You extracted the image file from the zip?
 

DarthJabba9

Senior Member
May 5, 2014
3,729
3,566
Greater London
I have Orangefox R10.0-3, and I cannot install R10.0-4 or the new beta R10.1. I tried both flashing from bootloader with fastboot commands (recovery.img) and installing the R10.1 beta zip from Orangefox R10.0-3. Phone won't boot to recovery and will just reboot to android. I have install.log but have less than 10 posts and have no idea how to attach files. I'll PM you with the log.
The log that you sent to me by PM looks perfectly fine, and everything should work.

Judging from what you said in the other thread where you first explained your problems, I think that something is seriously broken in your device. It may be that your bootloader has been modified by something you flashed before. In the previous thread, you describe the current situation. But what you have not told us is exactly how you got here in the first place. Without that information, one can only speculate. And my speculation is that the recoveries (whether flashed in fastboot or recovery mode) install correctly. However, something in the modified bootloader is ignoring them (or perhaps your partition sizes are borked). If this speculation is correct, then I think you might have to flash a full fastboot MIUI ROM (of whatever ROM came with the phone in the first place) and let it wipe everything (just don't accidentally lock your bootloader again). This should reset the partitions and also replace the recovery partition with stock MIUI recovery. Then you can start all over again by flashing an OrangeFox img with fastboot.

But unless you can retrace all your steps to identify what you originally flashed that started all these problems (and avoid it in the future) you might well end up in the same situation again.
 

Xiaomi063

Member
Jan 26, 2020
12
4
The log that you sent to me by PM looks perfectly fine, and everything should work.

Judging from what you said in the other thread where you first explained your problems, I think that something is seriously broken in your device. It may be that your bootloader has been modified by something you flashed before. In the previous thread, you describe the current situation. But what you have not told us is exactly how you got here in the first place. Without that information, one can only speculate. And my speculation is that the recoveries (whether flashed in fastboot or recovery mode) install correctly. However, something in the modified bootloader is ignoring them (or perhaps your partition sizes are borked). If this speculation is correct, then I think you might have to flash a full fastboot MIUI ROM (of whatever ROM came with the phone in the first place) and let it wipe everything (just don't accidentally lock your bootloader again). This should reset the partitions and also replace the recovery partition with stock MIUI recovery. Then you can start all over again by flashing an OrangeFox img with fastboot.

But unless you can retrace all your steps to identify what you originally flashed that started all these problems (and avoid it in the future) you might well end up in the same situation again.

I bought this phone second hand, it already had bootloader unlocked and came with TWRP wzsx150 installed. It had MIUI 11 global, not sure the exact version (11.0.1, 11.0.2...) but it was android 9, and the same day I got it I installed the latest xiaomi.eu beta rom on it, before trying to install other custom roms or installing another recovery.
I already tried flashing full fastboot MIUI Global rom using fastboot with MiFlash software, tried two versions: 11.0.6.0 and 10.1.2.0. When doing that the same happens, MIUI works correctly and I can install xiaomi.eu roms but not any other custom rom and only a reduced number of recovery versions.
Is there anything more I should check? like partition format or partition size? should I format all partitions?
I used MiFlash 20180528, not the latest version, don't know if this could affect the flashing process...
 

DarthJabba9

Senior Member
May 5, 2014
3,729
3,566
Greater London
I bought this phone second hand, it already had bootloader unlocked and came with TWRP wzsx150 installed. It had MIUI 11 global, not sure the exact version (11.0.1, 11.0.2...) but it was android 9, and the same day I got it I installed the latest xiaomi.eu beta rom on it, before trying to install other custom roms or installing another recovery....
Flashing a full fastboot ROM with the Mi Flash tool should have sorted out any problems. That is normally a last resort, and it should work. If it didn't work, then I am out of ideas. This might well be some sort of ARB issue - but I have no experience at all with ARB, so I can't tell. Perhaps it was already broken before it was sold to you. Who knows?

I know of no reason why the device should be happy with some recoveries, and not with others. There is no logic to it, that I can see.

Unfortunately, this discussion is now off-topic, as this is not a recovery issue (I thought it might have been - but it is obvious that it isn't). I guess you might have to cut your losses and stick with whatever recoveries and ROMs work with your device - and perhaps return to wzsx150 and the most recent MIUI Global (which would avoid ARD issues). Good luck!
 

CMBoii

Senior Member
Nov 20, 2019
93
15
I flashed the last stable version and it works flawlessly. I love that it flashes dfe automatically.

However, I don't know If I can use my old backups made by the twrp i was using, can I?

Thanks you!
 

DarthJabba9

Senior Member
May 5, 2014
3,729
3,566
Greater London
.... However, I don't know If I can use my old backups made by the twrp i was using, can I?
You can always try - but I wouldn't hold out much hope. It all depends on whether the partition tables are compatible. Also, OrangeFox expects its backups to be in /Fox/BACKUPS/ whereas twrp looks somewhere else - so there has to be some renamings of directories if OrangeFox is to be able to locate the backups.
 
  • Like
Reactions: Boiisxu
Status
Not open for further replies.

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 is FREE SOFTWARE

    Supports Treble, Miui, Custom Roms

    Downloads:
    1. OrangeFox download site: https://files.orangefox.tech/OrangeFox-Stable/dipper/
    2. SourceForge: https://sourceforge.net/projects/orangefox/files/dipper/

    Release Notes:
    1. See README.md here: https://sourceforge.net/projects/orangefox/files/dipper/
    2. Read very carefully the contents of post #2 below.

    Documentation and Frequently Asked Questions: https://wiki.orangefox.tech/en/guides

    INSTALLATION:
    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 current OrangeFox or 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!

    Frequently Asked Questions; Installation from stock recovery; MIUI OTA; Troubleshooting; Sundry Information:
    * See https://wiki.orangefox.tech/en/guides

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

    FEATURES:
    * Updated with latest TWRP commits
    * Built-in support for installing init.d functionality
    * Built-in support for installing Magisk
    * 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!

    Screenshots
    see https://files.orangefox.tech/Screenshots/R10/

    Other useful information - see below


    XDA:DevDB Information
    OrangeFox Recovery Project, Tool/Utility for the Xiaomi Mi 8

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


    Version Information
    Status: Stable
    Current Stable Version: R10.1
    Stable Release Date: 2020-04-08

    Created 2020-01-23
    Last Updated 2020-04-08
    12
    OrangeFox R10.1 Stable released

    I have released OrangeFox R10.1 Stable

    Downloads:
    Sourceforge: https://sourceforge.net/projects/orangefox/files/dipper/
    OrangeFox site: https://files.orangefox.tech/OrangeFox-Stable/dipper/

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

    Device-specific changelog
    - this release is targeted at Android 10 ROMs; those on Pie ROMs should stay with the previous Stable release
    - updated the kernel and libraries to Android 10
    - this release is system-as-root (SAR)
    - try to deal with any AVB 2.0 issues
    - updated the Magisk addon to v20.3
    - try to avoid "error 255" during data backups where there are dual-app or multi-user setups
    - use the system (installed ROM) fingerprint where possible [experimental]
    - lots of little fixes
    - support for block-based incremental OTA updates in aosp ROMs that support this (this requires some setup procedures similar to those for MIUI OTA updates - read the FAQ & Guides - https://wiki.orangefox.tech/en/guides)
    - release date: 08 April 2020

    FAQ and Guides: https://wiki.orangefox.tech/en/guides
    11
    OrangeFox R10.1_002 Beta released

    I have released OrangeFox R10.1_002 Beta.

    Downloads:
    OrangeFox download site: https://files.orangefox.tech/OrangeFox-Beta/dipper/

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

    Device-specific changes:
    - Updated the kernel and libraries to Android 10
    - Updated the Magisk addon to v20.3
    - This release is system-as-root (SAR)
    - This release is targeted at Android 10 ROMs. Those on Pie ROMs should stay with the previous release
    - Release date: 16 March 2020

    NOTES:
    - This is a system-as-root (SAR) build, and it is only for Android 10 ROMs and higher.
    - It is possible that, because the recovery is now SAR, some flashable zips that are not properly configured will not work any more, and will need to be updated. Any such issues should be reported to the developer of the flashable zip, and should not be reported here (I will simply ignore such reports).
    - Do NOT flash this release if you are running a Pie ROM. If you are running a Pie ROM on your device, then you MUST stay with the older releases
    - All future releases will follow this path

    FAQ and Guides: https://wiki.orangefox.tech/en/guides
    10
    R10.0_1_001 Beta released

    I have released OrangeFox R10.1 Beta 001.

    Downloads:
    OrangeFox download site: https://files.orangefox.tech/OrangeFox-Beta/dipper/
    Sourceforge: https://sourceforge.net/projects/orangefox/files/dipper/

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

    Device-specific changes:
    - Fixed language translations
    - Updated the initd addon to use Anykernel3 (better support for system-as-root devices)

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

    Backup and restore
    Read this post for detailed advice. Do not try to backup/restore anything without first reading it.

    Incremental MIUI OTA:
    Due to recent changes in stock MIUI, you must not disable DM-Verity when flashing a stock MIUI ROM that is based on either Android Pie, or Android 10 (the relevant option in OrangeFox is now unticked by default). If you disable DM-Verity, incremental MIUI OTA updates will definitely not work.
    4
    Why should I use this beta version instead of the stable one?
    Because you want me to be able to make a Stable release for Android 10 ....