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

Search This thread

shlok_01

Member
Jan 10, 2017
9
0
Xiaomi Mi A3
Cannot go past bootloader mode

Hello!
I am running A10 v11.0.14 QFQMIXM on my Mi A3.
I have been trying to install OrangeFox Recovery but every time I flash it on slot B(fastboot set_active b), and try to force reboot the phone into recovery pressing Vol+ key before entering "fastboot reboot" command , the phone always boots up in bootloader(Fastboot) mode and never into recovery.
Previously when I was running Android 9, this process seemed to work perfectly but now after updating to A10 it does not.

Please let me know if I am doing anything wrong and it will be really helpful.
 

garylawwd

Forum Moderator
Staff member
Hello!
I am running A10 v11.0.14 QFQMIXM on my Mi A3.
I have been trying to install OrangeFox Recovery but every time I flash it on slot B(fastboot set_active b), and try to force reboot the phone into recovery pressing Vol+ key before entering "fastboot reboot" command , the phone always boots up in bootloader(Fastboot) mode and never into recovery.
Previously when I was running Android 9, this process seemed to work perfectly but now after updating to A10 it does not.

Please let me know if I am doing anything wrong and it will be really helpful.
Because the default ofox.img is built with Android 9 kernel so won't boot on Android 10.
Use twrp.img for Android 10 to get a custom recovery and then inside twrp flash the ofox installer.zip

SHRP recovery is now recommended though as ofox and twrp have problems with formatting data
 
  • Like
Reactions: Technical

shlok_01

Member
Jan 10, 2017
9
0
Xiaomi Mi A3
Because the default ofox.img is built with Android 9 kernel so won't boot on Android 10.
Use twrp.img for Android 10 to get a custom recovery and then inside twrp flash the ofox installer.zip

SHRP recovery is now recommended though as ofox and twrp have problems with formatting data

Hey @garylawwd!
Can you please link me to that? Also if there's any specific installation info. please share. ?
Thanks n cheers!
 

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!