[UNOFFICIAL][RECOVERY][Rolex/Riva] OrangeFox Recovery Project [12/06/22] [R11.1_1][FDE+FBE]

Search This thread

iusmac

Senior Member
Feb 26, 2022
93
59

kFnygkf.png


OrangeFox 11.1(1) UNOFFICIAL
———————————————————————
Based on: TWRP 3.6.2 (Android 11) | Author: iusmac | Kernel: 4.9.309

Summary:
Code:
Decrypt any Android and any encryption method (FDE or FBE) + Original features

*** DISCLAIMER ***
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.

Installation:
Using recovery:
1. Download the OrangeFox .zip file to your device
2. Boot into to an existing recovery
3. Install OrangeFox .zip file
4. The recovery should reboot automatically into OrangeFox
5. Enjoy!

Using Fastboot:
1. Download the OrangeFox .zip archive to your device and .img image to your PC
2. Connect your device to PC and enter into Fastboot Mode
3. Flash .img using the following commands:
Code:
fastboot erase recovery
fastboot flash {put-here-orangefox-recovery-file-name}.img
fastboot boot {put-here-orangefox-recovery-file-name}.img
4. After the last command your device should boot into OrangeFox
5. Install OrangeFox .zip archive
6. The recovery should reboot automatically
7. Enjoy!

Stock Features:
* Supports Treble and non-Treble ROMs
* Updated with latest TWRP commits
* Built-in support for installing init.d functionality
* Built-in support for installing Magisk
* Password protection
* Torch and LED
* Support for custom ROMs
* Better language support
* Optimized versions of community scripts
* Fox theme engine allows to set: custom scheme/theme (black, dark, etc)
* Gesture navigation
* Backup OrangeFox settings to internal storage or SD card
* And many more!

New Features (added by author):

* Make sure that the "Enable FBE" button has changed to "Disable FBE" (or vice versa if disabling)

How it works:
Formatting is needed to erase all traces of full disk encryption (FDE) + we need a completely new file system (recovery will take care of this). Immediately after that, the recovery switches encryption type to FBE in the ROM's vendor.

Some definition:
Android 7.0 and higher supports file-based encryption (FBE). File-based encryption allows different files to be encrypted with different keys that can be unlocked independently.
https://source.android…/encryption/file-based
What does FBE encryption look like?
1. The contents and names of files/folders are encrypted using random characters:


2. Upon system startup, the device is absolutely usable and does not require to enter a password. FBE decryption is bound to Lock Screen and occurs at the time of unlocking using PIN/Password/Pattern.
At the time of writing this post, 100% of our devices use Full Disk Encryption (FDE). Traditionally, FDE encryption is enabled inside ROM's settings, and personally, I did not encounter problems with this type of encryption before Android 10. Unfortunately, on new Androids FDE is very unstable. Moreover, in Android 13 (T) it will be possible to encrypt only using FBE method because FDE method is officially deprecated and will be completely removed.
Android T (AOSP experimental) removes support for full-disk encryption entirely.
https://source.android…y/encryption/full-disk

Some FDE issues on Android 10+:
1. The device hangs on boot logo (requires formatting of /data to fix).
2. The device may boot up successfully and be detected as encrypted, but most of the installed applications and settings disappear forever.
3. The device boots correctly but is not detected as encrypted.

Having tried a bunch of ROMs, I have never encountered the problems above and have always been able to successfully encrypt the device with FBE method. Therefore, if you are interested in encryption, accustom yourself to encrypt immediately after ROM flashing, since everything is quite handy ;)

Warning: decryption on Android 12+ and workaround | FIXED in OrangeFox R11.1(4)
FIXED in OrangeFox R11.1(4)

Unfortunately, all ROM's on Android 12+ for our device can successfully be encrypted/decrypted using FBE method, but decryption in recovery is problematic. This is an Android bug, which doesn't expose the decryption keys used by the recovery. Indeed, this is a recovery problem; Android 12 stores decryption keys elsewhere, so recovery can't find them. OrangeFox / TWRP devs are already in the process of adapting to the changes of Android 12. As soon as new recovery is ready I'll build a new release and everything will work. Fortunately, I found out that passwordless decryption works.

Temporary workaround:
1. Reboot to ROM
2. Remove the Lock Screen protection (PIN/Password/Pattern)
3. Reboot to recovery, the data will be automatically decrypted
4. When you're done, reboot to system and enable Lock Screen protection again

Note: you'll need to do this until the ROMs fix the decryption keys related issue.

If you don't remove the Lock Screen protection, then instead of the data you will get:

This is a GUI implementation of usb-stor-export.sh script for geeks.

For the folks, I implemented a way to export entire eMMC memory. How to use this:
1. Disconnect from PC if connected
2. Go to Mount and swipe the slider
3. Connect the device to the PC
4. Your PC should detect a 16/32GB device, as if you connected an external hard drive



Now, all partitions are at your disposal. You can resize them to add to /data :rolleyes:, or make an image of the entire eMMC memory (highly recommend) or backup a specific system partition and restore even on another device. Backup using recovery will not do this to you. :D

(!) DO EVERYTHING AT YOUR OWN RISK! I AM NOT RESPONSIBLE FOR YOUR ACTIONS ON SYSTEM PARTITIONS!
(!) EVEN IF YOU HAVEN'T TOUCHED ANYTHING, ALWAYS UNMOUNT THE DISK FROM THE OS AND ONLY THEN TAP "Unexport".
It displays life time estimation for your eMMC memory. The percentage means how many reserved blocks have been consumed.
The status can be:
- Undefined = The kernel driver cannot detect eMMC memory state
- Normal = Your eMMC memory is fine
- Warning = Your eMMC memory consumed about 80% of reserved blocks
- Urgent = Your eMMC memory consumed almost 100% of reserved blocks
- Reserved = Your eMMC memory consumed all 100% of reserved blocks and will put itself in read-only mode very soon



For geeks: tap on it to print all HEX values to the console.
This is a hidden feature of OrangeFox itself that I've simply exposed. :D Unfortunately, important commands like fastboot boot exit with an error, because we are still in recovery and things are kind of busy ... But for something not used/static, like flashing partitions, it's working.
Now, using OrangeFox's embedded Terminal you can do everything you normally did using a PC.
* If you made a male-to-male USB using an USB-OTG cable, then plug the USB-OTG into the device that will send commands.


Illustration: Xiaomi helps Asus 🤣
This is to make sure your eyes feel comfortable 😊
7. Ability to reboot into Fastboot Mode
8. Binaries: nano, tar, sed and xz utils
9. Support mounting of NTFS drives via OTG
10. Handy aliases (l, ll, la, lo) for `ls` command
11. Colorful support for prompt string (PS1) and for `ls/grep/egrep/fgrep` commands when using ADB/AromaFM
12. VIM - Vi IMproved Editor
13. UI rendering at 60 FPS
14. Support Python
15. Semi-transparent Lock Screen background as in stock TWRP
16. Saving screenshots in /tmp/screenshots if /sdcard is not mounted

Miscellaneous:

Sometimes got this error when flashing old ROM's of Android 9 and lower. To fix it:

1. Open .zip archive and search for file:
Code:
META-INF/com/google/android/updater-script
2. Open it and remove parts where /system is mounted:
Code:
mount("ext4", "EMMC", "/dev/block/bootdevice/by-name/system", "/system", "");
run_program("/tmp/install/bin/backuptool.sh", "backup", "/system");
unmount("/system");
also this one
Code:
mount("ext4", "EMMC", "/dev/block/bootdevice/by-name/system", "/system", "");
run_program("/tmp/install/bin/backuptool.sh", "restore", "/system");
unmount("/system");
3. Save it and repack .zip archive
Can be fixed by installing a more recent Firmware.

For rolex | For riva

* Firmware for riva is also available on Android 8, so experiment. The Firmware V10.1.1.0.NCKMIFI (Android 7.1) works 100%.


Changelog:
-- OrangeFox 11.1(5) --
* Synced with latest OrangeFox R11.1 sources (September 2022)
* Correct FBEToggler button position in some circumstances
* Handle FBE encryption toggling on Android 13+
* Added fastboot support when rebooting to fastboot from OS
* Moved nano editor to ZIP to save space in ramdisk
* Revert back to /sdcard1 path for Micro SDCard mounting
* Disabled APEX
* Removed logcat binaries to free space in ramdisk
* Updated ueventd from Android 11
* Fixed mke2fs issues when wiping
Thanks to @wisanggeni aka Ervan Kurnia for collaborating
* Updated kernel to 4.9.326-2.2-iusmac
* Updated Magisk to v25.2

-- OrangeFox 11.1(4) --
* Synced with latest R11.1 sources based on TWRP 3.6.2 (Android 12.1)
* Fixed ABX format conversion on Android 12 ROMs
* Moved not vital dependencies to /persist partition after flashing recovery using .zip archive
* Added a 'missing dependencies' pop-up at start-up with an invite to flash recovery using .zip archive
* Added full FBE decryption support for Android 12 ROMs
* Removed extra languages (Chinese, Spanish, Hungarian) to free space in ramdisk
* Added to the console an invite to downgrade the recovery for those who use FBE encryption and Android 11 or lower

-- OrangeFox 11.1(3) --
* Upgraded built-in Magisk to v25.1
* Fixed some bugs
* Added to the console an invite to update the recovery for those who use FBE encryption and Android 12 or higher

-- OrangeFox 11.1(2) --
* Replaced 'Percent' with % for eMMC Lifetime Used value
* Added 'Back' button to FBE Encryption Toggler page
* Added synchronization of the fstab encryption flag with the /data encryption type
* Added battery temperature next to CPU temperature
* Enabled OTA by default

-- OrangeFox 11.1(1) --
* Synced with latest R11.1 sources based on TWRP 3.6.2 (Android 11)
* Upgraded Linux kernel to 4.9.309 (from Android 12)
* Upgraded built-in Magisk to v25
* Added nano, tar, sed, xz utils binaries
* Fixed Full Disk Decryption (FDE) on Android 12+
* Added File Based Encryption (FBE) support
* Added NTFS support for OTG devices
* Added handy aliases (l, ll, la, lo) for `ls` command
* Added colorful support for prompt string (PS1) and for `ls/grep/egrep/fgrep` commands when using ADB/AromaFM
* Fixed nano non starting on OrangeFox's embedded Terminal due to missing terminal info
* Added prebuilt VIM - Vi IMproved Editor v8.2.1643
* Added FBE Encryption Toggler to Partition Manager page
* Enabled reboot to 'Fastboot' item unconditionally
* Labeled /dsp partition as 'DSP'
* Moved MicroSD card mount point from /sdcard1 to /external_sd
* Added GUI implementation for USB Storage Exporter by 0xCAFEBABE to Mount page
* Added eMMC Lifetime Used indicator to Partition Manager page
* Add entering to Fastboot mode page to Main menu
* Added fastboot v29.0.6
* Increased UI rendering to 60 FPS
* Added Python v3.10.4
* Added Dark/Light Mode Toggler
* Made the lockscreen background semi-transparent as in stock TWRP
* Added support for saving screenshots in `/tmp/screenshots` if `/sdcard` is not mounted
* Removed Splash changing (it requires ramdisk repacking in recovery.img which exceeds bootloader limit)


CaseR11.1(3) or olderR11.1(4) or newerLatest version
My ROM is not encryptedX
I have an encrypted MIUIX
My ROM was encrypted using ROM's settingsX
My ROM is Android 11 (or lower) and it's encrypted with FBE methodX
My ROM is Android 12 (or higher) and it's encrypted with FBE methodX
Download latest OrangeFox release | Find all OrangeFox releases
 

Attachments

  • Mount.png
    Mount.png
    55.6 KB · Views: 179
  • Console.png
    Console.png
    123.9 KB · Views: 171
  • Files.png
    Files.png
    56.6 KB · Views: 154
  • Backups.png
    Backups.png
    59.1 KB · Views: 144
  • Wipe.png
    Wipe.png
    54.8 KB · Views: 138
  • Menu.png
    Menu.png
    58.7 KB · Views: 133
  • Protected Lockscreen.png
    Protected Lockscreen.png
    56.9 KB · Views: 132
  • Export Device Storage.png
    Export Device Storage.png
    139.3 KB · Views: 120
  • Reboot.png
    Reboot.png
    27.4 KB · Views: 105
  • Semi-transparent lockscreen.png
    Semi-transparent lockscreen.png
    59 KB · Views: 95
  • Manage Partitions (All).png
    Manage Partitions (All).png
    50.4 KB · Views: 83
  • Manage Partitions (Data).png
    Manage Partitions (Data).png
    56 KB · Views: 80
  • FBE Encryption Toggler.png
    FBE Encryption Toggler.png
    77.9 KB · Views: 92
  • About.png
    About.png
    158.1 KB · Views: 85
  • Fastboot mode.png
    Fastboot mode.png
    104.7 KB · Views: 92
  • Terminal + Python.png
    Terminal + Python.png
    79.6 KB · Views: 71
  • White Theme Toggler.png
    White Theme Toggler.png
    112.1 KB · Views: 63
  • Theme.png
    Theme.png
    33.7 KB · Views: 165
Last edited:

iusmac

Senior Member
Feb 26, 2022
93
59

OrangeFox 11.1(3) + OrangeFox 11.1(4) Update
CaseR11.1(3) or olderR11.1(4) or newerLatest version
My ROM is not encryptedX
I have an encrypted MIUIX
My ROM was encrypted using ROM's settingsX
My ROM is Android 11 (or lower) and it's encrypted with FBE methodX
My ROM is Android 12 (or higher) and it's encrypted with FBE methodX
Code:
-- OrangeFox 11.1(4) --
* Synced with latest R11.1 sources based on TWRP 3.6.2 (Android 12.1)
* Fixed ABX format conversion on Android 12 ROMs
* Moved not vital dependencies to /persist partition after flashing recovery using .zip archive
* Added a 'missing dependencies' pop-up at start-up with an invite to flash recovery using .zip archive
* Added full FBE decryption support for Android 12 ROMs
* Removed extra languages (Chinese, Spanish, Hungarian) to free space in ramdisk
* Added to the console an invite to downgrade the recovery for those who use FBE encryption and Android 11 or lower

-- OrangeFox 11.1(3) --
* Upgraded built-in Magisk to v25.1
* Fixed some bugs
* Added to the console an invite to update the recovery for those who use FBE encryption and Android 12 or higher
Download latest OrangeFox release | Find all OrangeFox releases
 
  • Like
Reactions: ayunatsume

iusmac

Senior Member
Feb 26, 2022
93
59
OrangeFox 11.1(5) Update
Code:
* Synced with latest OrangeFox R11.1 sources (September 2022)
* Correct FBEToggler button position in some circumstances
* Handle FBE encryption toggling on Android 13+
* Added fastboot support when rebooting to fastboot from OS
* Moved nano editor to ZIP to save space in ramdisk
* Revert back to /sdcard1 path for Micro SDCard mounting
* Disabled APEX
* Removed logcat binaries to free space in ramdisk
* Updated ueventd from Android 11
* Fixed mke2fs issues when wiping
  Thanks to @wisanggeni aka Ervan Kurnia for collaborating
* Updated kernel to 4.9.326-2.2-iusmac
* Updated Magisk to v25.2

 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 3

    kFnygkf.png


    OrangeFox 11.1(1) UNOFFICIAL
    ———————————————————————
    Based on: TWRP 3.6.2 (Android 11) | Author: iusmac | Kernel: 4.9.309

    Summary:
    Code:
    Decrypt any Android and any encryption method (FDE or FBE) + Original features

    *** DISCLAIMER ***
    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.

    Installation:
    Using recovery:
    1. Download the OrangeFox .zip file to your device
    2. Boot into to an existing recovery
    3. Install OrangeFox .zip file
    4. The recovery should reboot automatically into OrangeFox
    5. Enjoy!

    Using Fastboot:
    1. Download the OrangeFox .zip archive to your device and .img image to your PC
    2. Connect your device to PC and enter into Fastboot Mode
    3. Flash .img using the following commands:
    Code:
    fastboot erase recovery
    fastboot flash {put-here-orangefox-recovery-file-name}.img
    fastboot boot {put-here-orangefox-recovery-file-name}.img
    4. After the last command your device should boot into OrangeFox
    5. Install OrangeFox .zip archive
    6. The recovery should reboot automatically
    7. Enjoy!

    Stock Features:
    * Supports Treble and non-Treble ROMs
    * Updated with latest TWRP commits
    * Built-in support for installing init.d functionality
    * Built-in support for installing Magisk
    * Password protection
    * Torch and LED
    * Support for custom ROMs
    * Better language support
    * Optimized versions of community scripts
    * Fox theme engine allows to set: custom scheme/theme (black, dark, etc)
    * Gesture navigation
    * Backup OrangeFox settings to internal storage or SD card
    * And many more!

    New Features (added by author):

    * Make sure that the "Enable FBE" button has changed to "Disable FBE" (or vice versa if disabling)

    How it works:
    Formatting is needed to erase all traces of full disk encryption (FDE) + we need a completely new file system (recovery will take care of this). Immediately after that, the recovery switches encryption type to FBE in the ROM's vendor.

    Some definition:
    Android 7.0 and higher supports file-based encryption (FBE). File-based encryption allows different files to be encrypted with different keys that can be unlocked independently.
    https://source.android…/encryption/file-based
    What does FBE encryption look like?
    1. The contents and names of files/folders are encrypted using random characters:


    2. Upon system startup, the device is absolutely usable and does not require to enter a password. FBE decryption is bound to Lock Screen and occurs at the time of unlocking using PIN/Password/Pattern.
    At the time of writing this post, 100% of our devices use Full Disk Encryption (FDE). Traditionally, FDE encryption is enabled inside ROM's settings, and personally, I did not encounter problems with this type of encryption before Android 10. Unfortunately, on new Androids FDE is very unstable. Moreover, in Android 13 (T) it will be possible to encrypt only using FBE method because FDE method is officially deprecated and will be completely removed.
    Android T (AOSP experimental) removes support for full-disk encryption entirely.
    https://source.android…y/encryption/full-disk

    Some FDE issues on Android 10+:
    1. The device hangs on boot logo (requires formatting of /data to fix).
    2. The device may boot up successfully and be detected as encrypted, but most of the installed applications and settings disappear forever.
    3. The device boots correctly but is not detected as encrypted.

    Having tried a bunch of ROMs, I have never encountered the problems above and have always been able to successfully encrypt the device with FBE method. Therefore, if you are interested in encryption, accustom yourself to encrypt immediately after ROM flashing, since everything is quite handy ;)

    Warning: decryption on Android 12+ and workaround | FIXED in OrangeFox R11.1(4)
    FIXED in OrangeFox R11.1(4)

    Unfortunately, all ROM's on Android 12+ for our device can successfully be encrypted/decrypted using FBE method, but decryption in recovery is problematic. This is an Android bug, which doesn't expose the decryption keys used by the recovery. Indeed, this is a recovery problem; Android 12 stores decryption keys elsewhere, so recovery can't find them. OrangeFox / TWRP devs are already in the process of adapting to the changes of Android 12. As soon as new recovery is ready I'll build a new release and everything will work. Fortunately, I found out that passwordless decryption works.

    Temporary workaround:
    1. Reboot to ROM
    2. Remove the Lock Screen protection (PIN/Password/Pattern)
    3. Reboot to recovery, the data will be automatically decrypted
    4. When you're done, reboot to system and enable Lock Screen protection again

    Note: you'll need to do this until the ROMs fix the decryption keys related issue.

    If you don't remove the Lock Screen protection, then instead of the data you will get:

    This is a GUI implementation of usb-stor-export.sh script for geeks.

    For the folks, I implemented a way to export entire eMMC memory. How to use this:
    1. Disconnect from PC if connected
    2. Go to Mount and swipe the slider
    3. Connect the device to the PC
    4. Your PC should detect a 16/32GB device, as if you connected an external hard drive



    Now, all partitions are at your disposal. You can resize them to add to /data :rolleyes:, or make an image of the entire eMMC memory (highly recommend) or backup a specific system partition and restore even on another device. Backup using recovery will not do this to you. :D

    (!) DO EVERYTHING AT YOUR OWN RISK! I AM NOT RESPONSIBLE FOR YOUR ACTIONS ON SYSTEM PARTITIONS!
    (!) EVEN IF YOU HAVEN'T TOUCHED ANYTHING, ALWAYS UNMOUNT THE DISK FROM THE OS AND ONLY THEN TAP "Unexport".
    It displays life time estimation for your eMMC memory. The percentage means how many reserved blocks have been consumed.
    The status can be:
    - Undefined = The kernel driver cannot detect eMMC memory state
    - Normal = Your eMMC memory is fine
    - Warning = Your eMMC memory consumed about 80% of reserved blocks
    - Urgent = Your eMMC memory consumed almost 100% of reserved blocks
    - Reserved = Your eMMC memory consumed all 100% of reserved blocks and will put itself in read-only mode very soon



    For geeks: tap on it to print all HEX values to the console.
    This is a hidden feature of OrangeFox itself that I've simply exposed. :D Unfortunately, important commands like fastboot boot exit with an error, because we are still in recovery and things are kind of busy ... But for something not used/static, like flashing partitions, it's working.
    Now, using OrangeFox's embedded Terminal you can do everything you normally did using a PC.
    * If you made a male-to-male USB using an USB-OTG cable, then plug the USB-OTG into the device that will send commands.


    Illustration: Xiaomi helps Asus 🤣
    This is to make sure your eyes feel comfortable 😊
    7. Ability to reboot into Fastboot Mode
    8. Binaries: nano, tar, sed and xz utils
    9. Support mounting of NTFS drives via OTG
    10. Handy aliases (l, ll, la, lo) for `ls` command
    11. Colorful support for prompt string (PS1) and for `ls/grep/egrep/fgrep` commands when using ADB/AromaFM
    12. VIM - Vi IMproved Editor
    13. UI rendering at 60 FPS
    14. Support Python
    15. Semi-transparent Lock Screen background as in stock TWRP
    16. Saving screenshots in /tmp/screenshots if /sdcard is not mounted

    Miscellaneous:

    Sometimes got this error when flashing old ROM's of Android 9 and lower. To fix it:

    1. Open .zip archive and search for file:
    Code:
    META-INF/com/google/android/updater-script
    2. Open it and remove parts where /system is mounted:
    Code:
    mount("ext4", "EMMC", "/dev/block/bootdevice/by-name/system", "/system", "");
    run_program("/tmp/install/bin/backuptool.sh", "backup", "/system");
    unmount("/system");
    also this one
    Code:
    mount("ext4", "EMMC", "/dev/block/bootdevice/by-name/system", "/system", "");
    run_program("/tmp/install/bin/backuptool.sh", "restore", "/system");
    unmount("/system");
    3. Save it and repack .zip archive
    Can be fixed by installing a more recent Firmware.

    For rolex | For riva

    * Firmware for riva is also available on Android 8, so experiment. The Firmware V10.1.1.0.NCKMIFI (Android 7.1) works 100%.


    Changelog:
    -- OrangeFox 11.1(5) --
    * Synced with latest OrangeFox R11.1 sources (September 2022)
    * Correct FBEToggler button position in some circumstances
    * Handle FBE encryption toggling on Android 13+
    * Added fastboot support when rebooting to fastboot from OS
    * Moved nano editor to ZIP to save space in ramdisk
    * Revert back to /sdcard1 path for Micro SDCard mounting
    * Disabled APEX
    * Removed logcat binaries to free space in ramdisk
    * Updated ueventd from Android 11
    * Fixed mke2fs issues when wiping
    Thanks to @wisanggeni aka Ervan Kurnia for collaborating
    * Updated kernel to 4.9.326-2.2-iusmac
    * Updated Magisk to v25.2

    -- OrangeFox 11.1(4) --
    * Synced with latest R11.1 sources based on TWRP 3.6.2 (Android 12.1)
    * Fixed ABX format conversion on Android 12 ROMs
    * Moved not vital dependencies to /persist partition after flashing recovery using .zip archive
    * Added a 'missing dependencies' pop-up at start-up with an invite to flash recovery using .zip archive
    * Added full FBE decryption support for Android 12 ROMs
    * Removed extra languages (Chinese, Spanish, Hungarian) to free space in ramdisk
    * Added to the console an invite to downgrade the recovery for those who use FBE encryption and Android 11 or lower

    -- OrangeFox 11.1(3) --
    * Upgraded built-in Magisk to v25.1
    * Fixed some bugs
    * Added to the console an invite to update the recovery for those who use FBE encryption and Android 12 or higher

    -- OrangeFox 11.1(2) --
    * Replaced 'Percent' with % for eMMC Lifetime Used value
    * Added 'Back' button to FBE Encryption Toggler page
    * Added synchronization of the fstab encryption flag with the /data encryption type
    * Added battery temperature next to CPU temperature
    * Enabled OTA by default

    -- OrangeFox 11.1(1) --
    * Synced with latest R11.1 sources based on TWRP 3.6.2 (Android 11)
    * Upgraded Linux kernel to 4.9.309 (from Android 12)
    * Upgraded built-in Magisk to v25
    * Added nano, tar, sed, xz utils binaries
    * Fixed Full Disk Decryption (FDE) on Android 12+
    * Added File Based Encryption (FBE) support
    * Added NTFS support for OTG devices
    * Added handy aliases (l, ll, la, lo) for `ls` command
    * Added colorful support for prompt string (PS1) and for `ls/grep/egrep/fgrep` commands when using ADB/AromaFM
    * Fixed nano non starting on OrangeFox's embedded Terminal due to missing terminal info
    * Added prebuilt VIM - Vi IMproved Editor v8.2.1643
    * Added FBE Encryption Toggler to Partition Manager page
    * Enabled reboot to 'Fastboot' item unconditionally
    * Labeled /dsp partition as 'DSP'
    * Moved MicroSD card mount point from /sdcard1 to /external_sd
    * Added GUI implementation for USB Storage Exporter by 0xCAFEBABE to Mount page
    * Added eMMC Lifetime Used indicator to Partition Manager page
    * Add entering to Fastboot mode page to Main menu
    * Added fastboot v29.0.6
    * Increased UI rendering to 60 FPS
    * Added Python v3.10.4
    * Added Dark/Light Mode Toggler
    * Made the lockscreen background semi-transparent as in stock TWRP
    * Added support for saving screenshots in `/tmp/screenshots` if `/sdcard` is not mounted
    * Removed Splash changing (it requires ramdisk repacking in recovery.img which exceeds bootloader limit)


    CaseR11.1(3) or olderR11.1(4) or newerLatest version
    My ROM is not encryptedX
    I have an encrypted MIUIX
    My ROM was encrypted using ROM's settingsX
    My ROM is Android 11 (or lower) and it's encrypted with FBE methodX
    My ROM is Android 12 (or higher) and it's encrypted with FBE methodX
    Download latest OrangeFox release | Find all OrangeFox releases
    1
    OrangeFox 11.1(2) Update
    Code:
    * Replaced 'Percent' with % for eMMC Lifetime Used value
    * Added 'Back' button to FBE Encryption Toggler page
    * Added synchronization of the fstab encryption flag with the /data encryption type
    * Added battery temperature next to CPU temperature
    * Enabled OTA by default

    1

    OrangeFox 11.1(3) + OrangeFox 11.1(4) Update
    CaseR11.1(3) or olderR11.1(4) or newerLatest version
    My ROM is not encryptedX
    I have an encrypted MIUIX
    My ROM was encrypted using ROM's settingsX
    My ROM is Android 11 (or lower) and it's encrypted with FBE methodX
    My ROM is Android 12 (or higher) and it's encrypted with FBE methodX
    Code:
    -- OrangeFox 11.1(4) --
    * Synced with latest R11.1 sources based on TWRP 3.6.2 (Android 12.1)
    * Fixed ABX format conversion on Android 12 ROMs
    * Moved not vital dependencies to /persist partition after flashing recovery using .zip archive
    * Added a 'missing dependencies' pop-up at start-up with an invite to flash recovery using .zip archive
    * Added full FBE decryption support for Android 12 ROMs
    * Removed extra languages (Chinese, Spanish, Hungarian) to free space in ramdisk
    * Added to the console an invite to downgrade the recovery for those who use FBE encryption and Android 11 or lower
    
    -- OrangeFox 11.1(3) --
    * Upgraded built-in Magisk to v25.1
    * Fixed some bugs
    * Added to the console an invite to update the recovery for those who use FBE encryption and Android 12 or higher
    Download latest OrangeFox release | Find all OrangeFox releases
    1
    Solved this problem with installing via fastboot miui with android 7 onboard.
    read the post better... 🙄