[OFFICIAL][R10.0][Stable] OrangeFox Recovery Mi A3 [laurel_sprout]

Search This thread

trkzmn

Senior Member
May 3, 2018
69
119
OrangeFox Recovery Project
logo.jpg
Redwolf fork​
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

Download:
Stable Builds
OrangeFox Recovery R10.0_2.1 [Latest]

INSTALLATION:

1- How to install OrangeFox Recovery ?

Method-1=
1. Download the OrangeFox zip file and copy it to your device (internal or external storage)
2. Extract the recovery.img from the zip and store it, on the folder where you have adb and fastboot files, on your PC
3. Open a cmd line and execute these commands (being on that folder, of course):
- adb devices (to make sure your device is detected)
- adb reboot bootloader (to reboot into fastboot mode)
- fastboot getvar current-slot (to check what's your current active slot)
- fastboot set_active b (if your active slot was a, if it was b then change it to a)
- fastboot erase boot
- fastboot flash boot recovery.img
- fastboot reboot (NOTE : Before hitting "Enter", long press Vol + on your device until you see the Android One logo. By doing this your device will be forced to boot into Recovery and not into System)
4. When OrangeFox recovery boots, if you have the stock boot.img that matches the build on this "currently active" slot, flash it into boot partition. If you don't have, then just ignore this step...(it's not mandatory)
5. Install the OrangeFox zip (always install the latest build available)
6. Change slot to the one that was active on the beginning of these steps and reboot to Recovery (just to make sure that the slot, in fact, was changed)
7. Reboot to System
8. Enjoy!

Method-2=
0. Backup your ROM and all your files
1. Download the OrangeFox zip file to your device
2. Reboot to your 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!


2 -How to flash rom(s) using OrangeFox Recovery:

1. Format data (TIPPING YES).
2. Flash rom zip (PE, BEAST, ATOM
ETC...)
3. Flash OrangeFox-Recovery.zip again. ( INSTALLER, THE PHONE WILL REBOOT TO ORANGE RECOVERY (IF YOU DONT FLASH THIS AGAIN, RECOVERY WILL DISAPPEAR)
4. Flash Magisk v20.
5. Flash Gapps (optional).
6. Flash Patch_no_fde.


Frequently Asked Questions, MIUI OTA, Troubleshooting, and Sundry Information:
* See https://forum.xda-developers.com/showpost.php?p=76885728&postcount=3

Credits
* TeamWin - for TWRP
* The OrangeFox Team - for your hard work
* ATG and Dadi11 - for Redwolf
* Kirillmaster4 - for graphics
* z31s1g - for TWRP theme
* @mauronofrio - for the decryption on Mi A3
* All our helpers and testers ( @prakaship78 , @nelinthon_Kekis , @Dvyhrs , @ihsaneDZ and the others ) - for your patience and help

FEATURES:
* Supports Treble and non-Treble ROMs
* Up-to-date Oreo kernel, built from sources
* Increased compatibility with TWRP
* Updated with latest TWRP commits
* Built-in support for installing init.d functionality
* Built-in support for installing Magisk
* AromaFM [only for some devices]
* Password
* Support for Miui and Custom ROMs
* Better language support
* Optimized versions of community scripts
* Fox theme engine:
- choice of theme (black, dark, etc)
- choice of color scheme
- choice of splash screen
* Alternative lockscreen
* And many more!

Screenshots - see below

Visit to https://orangefox.tech/
 
Last edited:

dennis46419

Senior Member
Dec 5, 2010
253
70
Any rom there for orange fox or still only fastboot Roms?

And big thx for the recovery works like a charm

But i don't flash any rom for now
 

Typhus_

Senior Member
...bla bla bla...

INSTALLATION:
Method-1=
1. Download the OrangeFox zip file, copy to your computer and your device.
2. Unpack the zip and input recovery.img to your pc desktop.
3. Open cmd and give this command "fastboot flash boot recovery.img"
4. Reboot to recovery.
5. When boot orangefox recovery install > OrangeFox-R10.0_2-laurel_sprout.zip [Download Latest Build] .
6. Enjoy :)

...bla bla bla...

Hello!

Thanks for your work, truly appreciate it.

Could you update the OP with the install method that I'm going to describe next? It's just to avoid future complications (lost of Wi-Fi, sound, etc...) for Noob users.

  1. Download the OrangeFox zip file and copy it to your device (internal or external storage)
  2. Extract the recovery.img from the zip and store it, on the folder where you have adb and fastboot files, on your PC
  3. Open a cmd line and execute these commands (being on that folder, of course):
    adb devices (to make sure your device is detected)
    adb reboot bootloader (to reboot into fastboot mode)
    fastboot getvar current-slot (to check what's your current active slot)
    fastboot set_active b (if your active slot was a, if it was b then change it to a)
    fastboot erase boot
    fastboot flash boot recovery.img
    fastboot reboot (NOTE : Before hitting "Enter", long press Vol + on your device until you see the Android One logo. By doing this your device will be forced to boot into Recovery and not into System)
  4. When OrangeFox recovery boots, if you have the stock boot.img that matches the build on this "currently active" slot, flash it into boot partition. If you don't have, then just ignore this step...(it's not mandatory)
  5. Install the OrangeFox zip (always install the latest build available)
  6. Change slot to the one that was active on the beginning of these steps and reboot to Recovery (just to make sure that the slot, in fact, was changed)
  7. Reboot to System
  8. Enjoy :)

Why do I suggest this? Well, please read the hidden content:


By doing this method (which seems more complicated but I've tried my best to explain it as if I were explaining it to a 4 years old kid...) we will flash the recovery.img into the "inactive" slot, thus, not breaking anything on the "currently active" slot. When OrangeFox boots, it will patch both slots boot ramdisks. But the thing is, on the "currently active" slot (the one inactive on the beginning) it will patch the recovery.img but, on the "currently inactive" slot (the one that was active on the beginning), it will patch the stock boot.img, thus, no bug will happen that usually appears when a user accidentally flashes the wrong boot.img into boot partition. On the other hand, if we have the stock boot.img, that matches the build on the "inactive" slot, we could flash it into boot partition before installing the zip that patches ramdisk. By doing this we will patch both stock boot.img present on both slots (instead of patching recovery.img and boot.img).

Cheers!

---------- Post added at 12:04 ---------- Previous post was at 11:16 ----------

Hello....again...

I've just tested the install method that I've explained but, unfortunately, it's not working.

OrangeFox recovery only boots if the installer zip is run through TWRP...don't really know why since I've tested a lot of times doing this exact same method with TWRP recovery, and it's working. It should be working here as well.

Anyway the OF recovery boots but I think that it does not decrypt data. It doesn't gets frozen on the welcome screen (like before) but it doesn't decrypt (I see all the files with the "weird" names). This, of course, is only bad for those who want to remain on stock ROM. For anyone who wants to move on to custom ROMs, just format user data and your set to go.

Cheers!
 
Last edited:

Shineali

Senior Member
Feb 22, 2009
62
10
Hi all, can we do a backup of all data (system, boot...) And restore with orangefox?
I'm afraid to test any rom and not to be able to return to the original configuration... I have the 5 october update
 
  • Like
Reactions: RJ-

trkzmn

Senior Member
May 3, 2018
69
119

RJ-

Member
Sep 11, 2019
25
11
Ahemdabad
There is recovery.img

I already changed name to .img and then try..but nothing happened
 

Attachments

  • IMG_20191022_160841.jpg
    IMG_20191022_160841.jpg
    251.1 KB · Views: 1,789

Typhus_

Senior Member
Anyone fix this error

There is recovery.img

I already changed name to .img and then try..but nothing happened

On the first image your running commands on "C:\Program Files\Minimal ADB and Fastboot" folder.

On the second image your showing the files on "C:\adb" folder.

You must run the commands on the folder where you have the img file stored! Rename the file!!? WTF!?

Besides, you didn't read the instructions carefully, not only your running the command to change slot wrong but, also, you've tried to flash recovery.img into currently active slot before trying to change slot (based on your command history on first image).

PLEASE!

If you're not comfortable doing these simple steps, or if you don't have patience to read all instructions carefully, then just DON'T DO ANYTHING!!

People with this kind of behavior are the main reason why most devs often just drop development. How will you be able to successfully flash a ROM and/or report true bugs, if you're not able to just execute simple commands that have been explained step by step? Maybe my instructions weren't clear enough....perhaps I should have start the steps with:

"Turn on your computer";
"Put your hands on your keyboard and mouse";
"Login to your account";
etc....

ALSO, the recovery on the OP has been updated. Even if you did everything correctly you would end up on fastboot since your trying to flash the wrong OF version!

Please, search, please read, please...USE YOUR BRAIN!
 
Last edited:

Shineali

Senior Member
Feb 22, 2009
62
10
Hi I tried to install but i get an error during orangefox first boot there's no option to install orangefox....zip ot seems like the files were encrypted. They have a strange names...
It could be that didn't give permission to write? O do the steps again bit didn't ask me for permission.

Thanks in advance.
 

trkzmn

Senior Member
May 3, 2018
69
119
Hi I tried to install but i get an error during orangefox first boot there's no option to install orangefox....zip ot seems like the files were encrypted. They have a strange names...
It could be that didn't give permission to write? O do the steps again bit didn't ask me for permission.

Thanks in advance.
Seems files are encrypted.
- Format data
- Flash OrangeFox.zip
 
  • Like
Reactions: Shineali

Top Liked Posts

  • There are no posts matching your filters.
  • 24
    OrangeFox Recovery Project
    logo.jpg
    Redwolf fork​
    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

    Download:
    Stable Builds
    OrangeFox Recovery R10.0_2.1 [Latest]

    INSTALLATION:

    1- How to install OrangeFox Recovery ?

    Method-1=
    1. Download the OrangeFox zip file and copy it to your device (internal or external storage)
    2. Extract the recovery.img from the zip and store it, on the folder where you have adb and fastboot files, on your PC
    3. Open a cmd line and execute these commands (being on that folder, of course):
    - adb devices (to make sure your device is detected)
    - adb reboot bootloader (to reboot into fastboot mode)
    - fastboot getvar current-slot (to check what's your current active slot)
    - fastboot set_active b (if your active slot was a, if it was b then change it to a)
    - fastboot erase boot
    - fastboot flash boot recovery.img
    - fastboot reboot (NOTE : Before hitting "Enter", long press Vol + on your device until you see the Android One logo. By doing this your device will be forced to boot into Recovery and not into System)
    4. When OrangeFox recovery boots, if you have the stock boot.img that matches the build on this "currently active" slot, flash it into boot partition. If you don't have, then just ignore this step...(it's not mandatory)
    5. Install the OrangeFox zip (always install the latest build available)
    6. Change slot to the one that was active on the beginning of these steps and reboot to Recovery (just to make sure that the slot, in fact, was changed)
    7. Reboot to System
    8. Enjoy!

    Method-2=
    0. Backup your ROM and all your files
    1. Download the OrangeFox zip file to your device
    2. Reboot to your 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!


    2 -How to flash rom(s) using OrangeFox Recovery:

    1. Format data (TIPPING YES).
    2. Flash rom zip (PE, BEAST, ATOM
    ETC...)
    3. Flash OrangeFox-Recovery.zip again. ( INSTALLER, THE PHONE WILL REBOOT TO ORANGE RECOVERY (IF YOU DONT FLASH THIS AGAIN, RECOVERY WILL DISAPPEAR)
    4. Flash Magisk v20.
    5. Flash Gapps (optional).
    6. Flash Patch_no_fde.


    Frequently Asked Questions, MIUI OTA, Troubleshooting, and Sundry Information:
    * See https://forum.xda-developers.com/showpost.php?p=76885728&postcount=3

    Credits
    * TeamWin - for TWRP
    * The OrangeFox Team - for your hard work
    * ATG and Dadi11 - for Redwolf
    * Kirillmaster4 - for graphics
    * z31s1g - for TWRP theme
    * @mauronofrio - for the decryption on Mi A3
    * All our helpers and testers ( @prakaship78 , @nelinthon_Kekis , @Dvyhrs , @ihsaneDZ and the others ) - for your patience and help

    FEATURES:
    * Supports Treble and non-Treble ROMs
    * Up-to-date Oreo kernel, built from sources
    * Increased compatibility with TWRP
    * Updated with latest TWRP commits
    * Built-in support for installing init.d functionality
    * Built-in support for installing Magisk
    * AromaFM [only for some devices]
    * Password
    * Support for Miui and Custom ROMs
    * Better language support
    * Optimized versions of community scripts
    * Fox theme engine:
    - choice of theme (black, dark, etc)
    - choice of color scheme
    - choice of splash screen
    * Alternative lockscreen
    * And many more!

    Screenshots - see below

    Visit to https://orangefox.tech/
    7
    Anyone fix this error

    There is recovery.img

    I already changed name to .img and then try..but nothing happened

    On the first image your running commands on "C:\Program Files\Minimal ADB and Fastboot" folder.

    On the second image your showing the files on "C:\adb" folder.

    You must run the commands on the folder where you have the img file stored! Rename the file!!? WTF!?

    Besides, you didn't read the instructions carefully, not only your running the command to change slot wrong but, also, you've tried to flash recovery.img into currently active slot before trying to change slot (based on your command history on first image).

    PLEASE!

    If you're not comfortable doing these simple steps, or if you don't have patience to read all instructions carefully, then just DON'T DO ANYTHING!!

    People with this kind of behavior are the main reason why most devs often just drop development. How will you be able to successfully flash a ROM and/or report true bugs, if you're not able to just execute simple commands that have been explained step by step? Maybe my instructions weren't clear enough....perhaps I should have start the steps with:

    "Turn on your computer";
    "Put your hands on your keyboard and mouse";
    "Login to your account";
    etc....

    ALSO, the recovery on the OP has been updated. Even if you did everything correctly you would end up on fastboot since your trying to flash the wrong OF version!

    Please, search, please read, please...USE YOUR BRAIN!
    4
    OrangeFox Recovery R10.0_2.1 Changes
    * Fix stuck in fastboot mode after flashing OrangeFox with fastboot
    4
    Post Changes
    1. OrangeFox recovery installation made easier with explanations (Thanks to @Typhus_)
    2. Custom rom install method added (Thanks to @nelinthon)
    2
    ...bla bla bla...

    INSTALLATION:
    Method-1=
    1. Download the OrangeFox zip file, copy to your computer and your device.
    2. Unpack the zip and input recovery.img to your pc desktop.
    3. Open cmd and give this command "fastboot flash boot recovery.img"
    4. Reboot to recovery.
    5. When boot orangefox recovery install > OrangeFox-R10.0_2-laurel_sprout.zip [Download Latest Build] .
    6. Enjoy :)

    ...bla bla bla...

    Hello!

    Thanks for your work, truly appreciate it.

    Could you update the OP with the install method that I'm going to describe next? It's just to avoid future complications (lost of Wi-Fi, sound, etc...) for Noob users.

    1. Download the OrangeFox zip file and copy it to your device (internal or external storage)
    2. Extract the recovery.img from the zip and store it, on the folder where you have adb and fastboot files, on your PC
    3. Open a cmd line and execute these commands (being on that folder, of course):
      adb devices (to make sure your device is detected)
      adb reboot bootloader (to reboot into fastboot mode)
      fastboot getvar current-slot (to check what's your current active slot)
      fastboot set_active b (if your active slot was a, if it was b then change it to a)
      fastboot erase boot
      fastboot flash boot recovery.img
      fastboot reboot (NOTE : Before hitting "Enter", long press Vol + on your device until you see the Android One logo. By doing this your device will be forced to boot into Recovery and not into System)
    4. When OrangeFox recovery boots, if you have the stock boot.img that matches the build on this "currently active" slot, flash it into boot partition. If you don't have, then just ignore this step...(it's not mandatory)
    5. Install the OrangeFox zip (always install the latest build available)
    6. Change slot to the one that was active on the beginning of these steps and reboot to Recovery (just to make sure that the slot, in fact, was changed)
    7. Reboot to System
    8. Enjoy :)

    Why do I suggest this? Well, please read the hidden content:


    By doing this method (which seems more complicated but I've tried my best to explain it as if I were explaining it to a 4 years old kid...) we will flash the recovery.img into the "inactive" slot, thus, not breaking anything on the "currently active" slot. When OrangeFox boots, it will patch both slots boot ramdisks. But the thing is, on the "currently active" slot (the one inactive on the beginning) it will patch the recovery.img but, on the "currently inactive" slot (the one that was active on the beginning), it will patch the stock boot.img, thus, no bug will happen that usually appears when a user accidentally flashes the wrong boot.img into boot partition. On the other hand, if we have the stock boot.img, that matches the build on the "inactive" slot, we could flash it into boot partition before installing the zip that patches ramdisk. By doing this we will patch both stock boot.img present on both slots (instead of patching recovery.img and boot.img).

    Cheers!

    ---------- Post added at 12:04 ---------- Previous post was at 11:16 ----------

    Hello....again...

    I've just tested the install method that I've explained but, unfortunately, it's not working.

    OrangeFox recovery only boots if the installer zip is run through TWRP...don't really know why since I've tested a lot of times doing this exact same method with TWRP recovery, and it's working. It should be working here as well.

    Anyway the OF recovery boots but I think that it does not decrypt data. It doesn't gets frozen on the welcome screen (like before) but it doesn't decrypt (I see all the files with the "weird" names). This, of course, is only bad for those who want to remain on stock ROM. For anyone who wants to move on to custom ROMs, just format user data and your set to go.

    Cheers!