Development [Recovery] [a32] OrangeFox Recovery Project [Stable-ish, Unofficial]

Search This thread

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    banner.jpg

    Code:
    /*
    *Disclaimer
    *
    * Your warranty is now void.
    *
    * I am 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 me for messing up your device, I will laugh at you.
    */

    Introduction
    OrangeFox Recovery is one of the most popular custom recoveries, with amazing additional features, fixes and a host of supported devices


    Features:
    Code:
        Synced with the latest Teamwin changes
        Designed with latest Material design 2 guidelines
        Implemented support for Flyme and MIUI OTA, and incremental block-based OTA in custom ROMs
        Included assorted customizations
        Inbuilt patches, like Magisk and password reset patch
        Several addons
        Password protection
        Fully open-source
        Frequently updated

    Status
    Stable-ish

    Tested on:
    SM-A325F (by me)
    SM-A325M (by
    @filipedonato)

    other models unknown. But should work.
    Please report back so i can update the op


    Downloads
    Click here.

    Bugs

    1. TWRP cannot decrypt userdata if you set lockscreen. (someone said it works, other it doesn't, so I'll just leave it here, YMMV)
    2. Flashing anything shows many "unlock" red lines. (They are currently harmless by our knowledge).
    3.USB-OTG
    4. Saving settings is fixed but for fixing settings such as theming resetting on reboot is by editing the bootable/recovery/twrp.cc and at line 396 (as of now) changing the bool to true. This makes the recovery load the themes twice. This should only be for encrypted devices but since it has fixed our issue we'll use this workaround until a proper solution has been found.


    Installation
    Code:
    If you have TWRP or any custom recovery installed and bootable, you can upgrade instead; Look below.
    
    <!> the installation will require WIPING DATA. You will also lose access to all Knox-based solutions like Secure Folder.
    Backup every precious data you have on your phone.
    
    <!> PC is required. Windows is preferred. (You probably know what you are doing when using Linux/Heimdall. We don't talk about Macs)
    
        Unlock Bootloader:
            1. Go to Settings > About Phone > About Software. Tap build number (10 times) until "you are now a developer" toast shows up.
            2. Go back, go to Developer Settings.
            3. Turn on OEM unlock toggle.
            4. Turn off your phone, hold vol-up + vol-down, then plug in charging cable (please don't use 3rd-party charging-only cable, it must have data transfer capability).
            5. Your device will boot into download mode with a warning. Accept it.
            
            6. Hold volume-up until the phone shows the bootloader unlock panel "Unlock Bootloader?".
            Press volume-up again. Now your phone bootloader is unlocked.
            <!> It will now begin the process of wiping data. Let it do its job.
            7. When it reboots to OS, finish setting up your device.
            8. Double check to make sure OEM Unlock is still ON.
             
        Preparing for the installation:
            1. Download everything above onto your PC.
            2. Rename OrangeFox recovery img file to recovery.img and add it to archive using any archiver and select gnu tar.
            3. Install Samsung USB Driver.
            4. Open Odin.
            5. Connect your phone to your PC. There should be a COM entry on the top.
            6. Make sure your phone is in Download Mode. (see step 4 of section Unlock Bootloader)
            7. Make sure that OEM LOCK and REACTIVATION LOCK on your screen show "OFF". If it's not off, DO NOT PROCEED ANY FURTHER.
    
            <!> For those with lock ON, use your device for 7 days without rebooting once. Then check the locks above again.
            ‎  
             
        Installing:
            1. Ensure phone is in Download mode.
            In Odin:
                Load in Userdata: VBMeta_disabler.tar file.
                Load in AP: OrangeFox TAR file.
            2. Prepare yourself. keep your hand on Volume-up and Power button (don't press yet).
            3. In Odin, press Start. It will flash, then reboot. When the screen turned off, quickly press Vol-up and Power button to boot to recovery (this should take about 20~30 seconds).
            <!> You should have OrangeFox up and running now.  
             
        Post-Installation:
            MUST: Trigger Multi-disabler.
                1. In OrangeFox, go to Terminal.
                2. Type multidisabler, then enter. If it fails with something about vendor free space, run it again.
                3. Run multidisabler again.
                4. Go to main screen. go to Wipe > Format Data, type yes then swipe.
                5. Reboot to Recovery. Now you can do other stuff.
                 
            Should: Backup all vital partitions:
                1. In OrangeFox, go to Backup
                2. Backup: EFS, Modem, NVRAM.
    
    
        Enjoy: Reboot your phone to have a rooted stock, install custom stuff or do whatever you want.
    
    
    
    Upgrade:
    
    <!> Use when you already have any custom recovery installed (TWRP, SHRP, PBRP and the likes)
    
        1. Download the recovery image.
        2. Copy it to phone, then reboot to OrangeFox (Combo is Power + Volume-up)
        3. Go: Install > select recovery.img file > select Recovery
        4. Swipe to confirm flashing.
        5. If success, reboot to recovery.
    
    <!> You can also use Odin to upgrade, the steps similar to the Install section. All Post-installation, if already done, is unnecessary to do again.

    Credits:
    • To the OrangeFox and TWRP team and everyone involved in making this all work.
    • @Long266 For his kernel and amazing work.
    • @ianmacd For multidisabler.
    • @afaneh92 For his a32x base tree and MTK-Samsung multidisabler.
    • @KrutosVIP For his experimental lineage kernel source from here.
    2
    New Build!

    Whats new?

    Fixed the settings such as theming resetting on reboot by editing the bootable/recovery/twrp.cc and at line 396 (as of now) changing the bool to true. This makes the recovery load the themes twice. This should only be for encrypted devices but since it has fixed our issue we'll use this workaround until a proper solution has been found.


    If you see the recovery trying to decrypt storage dont worry about it. its just because of this. It does nothing.
    1
    It's stable? I mean, i can install gsi's and zips?
    yes i use orangefox. flashing gsi works fine. same goes with zips
    1
    yes i use orangefox. flashing gsi works fine. same goes with zips
    Ok, i flashed it and is awesome!! Thanks for great work brother!
    1
    You should make a telegram group
    i dont really know on how to maintain one. me and someone else made it but its sitting dead i'll see later on. and i'll post a thread abt it if there are any updates