• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[Official][Stable]OrangeFox Recovery for realme X2 Pro [R11][RMX1931]

Search This thread

Jerry08

Senior Member
Oct 17, 2013
505
341
LG V60 ThinQ
OrangeFox Recovery Project
ofrp.png


Installation
* Download Latest OrangeFox
* Assuming you already have twrp installed, copy the downloaded zip to device. Then Install.
* After successful installation it auto-reboots to OrangeFox recovery. Enjoy


Working

ADB
Decryption of /data
Screen brightness settings
Correct screenshot color
MTP
Flashing (opengapps, roms, images and so on)
Backup/Restore
OZIP decryption
Vibration support
USB OTG


Bugs

Report with proper logs.​

Credits:
@MrYacha & @DarthJabba9 for this amazing custom Recovery
And the most 4j17h for pushing me to make it...
And whole HyperTeam for all the help in the beginning of my android development...


XDA:DevDB Information
[Official][Stable]OrangeFox Recovery for realme X2 Pro [R11][RMX1931], ROM for the Realme X2 Pro

Contributors
Jerry08, 4j17h
Source Code: https://gitlab.com/OrangeFox/

ROM OS Version: Android 10

Version Information
Status: Stable

Created 2020-08-04
Last Updated 2020-09-03
 
Last edited:

Jerry08

Senior Member
Oct 17, 2013
505
341
LG V60 ThinQ
How to use F2FS

- boot to OrangeFox,
- go to 'Manage partitions'
- format data,
- select 'data', change filesystem, f2fs,
- select 'cache', change filesystem, f2fs,
- reboot,
- enjoy...
 
Last edited:
  • Like
Reactions: Gourav007

SebTech33

Senior Member
Feb 25, 2016
77
10
Will you need a modified vbmeta like the one on twrp?
And will it work on my global version?

Sent from my Realme RMX1931 using XDA Labs
 

asusgarb

Senior Member
Jul 4, 2010
1,781
346
Nope fp wasn't working after flashing rui, tested by me. Probably need to wait for official rui release.
So what needs to be done to have a working FP sensor? But it's broken even without root?

---------- Post added at 06:03 PM ---------- Previous post was at 05:55 PM ----------

So what needs to be done to have a working FP sensor? But it's broken even without root?
I know I could simply flash it from twrp and try but, except for OTG working, are there any particular reasons to use this instead of twrp?

I've read that OrangeFox is based on twrp, but offers a better support to Treble than twrp.
 
  • Like
Reactions: P1f

Jerry08

Senior Member
Oct 17, 2013
505
341
LG V60 ThinQ
So what needs to be done to have a working FP sensor? But it's broken even without root?

---------- Post added at 06:03 PM ---------- Previous post was at 05:55 PM ----------


I know I could simply flash it from twrp and try but, except for OTG working, are there any particular reasons to use this instead of twrp?

I've read that OrangeFox is based on twrp, but offers a better support to Treble than twrp.
Having also magisk/app manager, flashlight(if anyone would ever use it in recovery), password change. Just try it and check yourself.
 

johnnyjoe

Senior Member
Jun 3, 2011
266
87
Hi!

Switch to this recovery today. I'm having some trouble, stucked in a bootlooad: realme white logo and reeboots to recovery. Can someone help me?

I've tried the normal procedure, with the latest rom from Realme support in UK, after wiping system and data. No good.

What should I do? Do I need to install other rom? What about vbmeta? What should I wipe different?
 

Jerry08

Senior Member
Oct 17, 2013
505
341
LG V60 ThinQ
Hi!

Switch to this recovery today. I'm having some trouble, stucked in a bootlooad: realme white logo and reeboots to recovery. Can someone help me?

I've tried the normal procedure, with the latest rom from Realme support in UK, after wiping system and data. No good.

What should I do? Do I need to install other rom? What about vbmeta? What should I wipe different?
It's a issue with vbmeta. You have to flash vbmeta via fastboot with disable flags:
Code:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
 
  • Like
Reactions: johnnyjoe

johnnyjoe

Senior Member
Jun 3, 2011
266
87
It's a issue with vbmeta. You have to flash vbmeta via fastboot with disable flags:
Code:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

Hi @Jerry08! I've tried that, many times, but no luck. I get the "fastboot.exe: unknown option -- disable-verity" error.

I've tried to download all short of adb/fastboot versions, I've installed the latest android studio, minimal adb, etc., but I can't find a way to get a fastboot that works.

I'm sure that my phone is seen after typing fastboot devices. I'm open my powershell window on the folder that has the files.

Can you please help? I'm not sure what I'm doing wrong. Thanks! : )

---------- Post added at 12:39 PM ---------- Previous post was at 12:14 PM ----------

[/COLOR @Jerry08, I think I get it to work:

C:\vbmeta>fastboot devices
513a895e fastboot

C:\vbmeta>fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
Rewriting vbmeta struct at offset: 0
Sending 'vbmeta' (0 KB) OKAY [ 0.008s]
Writing 'vbmeta' OKAY [ 0.002s]
Finished. Total time: 0.031s

After that, It keeps rebooting to recovery.

How can I format and install everything from scratch?

Here's what happened.

Yesterday, I tried to reboot to TWRP but, for some reason I can think off, I couldn't. I thought to try oragefox. When I was installing oragefox, and since I got the fastboot error, I maybe installed vbmeta and then the recovery - or I installed it without vbmeta, can't be sure now. After that, it kept rebooting to recovery. After a while, since I could'n fix it, I eraser caches, system and data and tried to flash the rom from scratch. No luck, I can't pass the reboot to recovery. I switch back to twrp, oragefox sometime got a full black screen and only the flash worked by vol up and power, and it was difficult o restart the phone.

Thanks! : )

What can I do to get my phone back?
 
Last edited:

Jerry08

Senior Member
Oct 17, 2013
505
341
LG V60 ThinQ
It's a issue with vbmeta. You have to flash vbmeta via fastboot with disable flags:


Hi @Jerry08! I've tried that, many times, but no luck. I get the "fastboot.exe: unknown option -- disable-verity" error.

I've tried to download all short of adb/fastboot versions, I've installed the latest android studio, minimal adb, etc., but I can't find a way to get a fastboot that works.

I'm sure that my phone is seen after typing fastboot devices. I'm open my powershell window on the folder that has the files.

Can you please help? I'm not sure what I'm doing wrong. Thanks! : )

---------- Post added at 12:39 PM ---------- Previous post was at 12:14 PM ----------

[/COLOR @Jerry08, I think I get it to work:

C:\vbmeta>fastboot devices
513a895e fastboot

C:\vbmeta>fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
Rewriting vbmeta struct at offset: 0
Sending 'vbmeta' (0 KB) OKAY [ 0.008s]
Writing 'vbmeta' OKAY [ 0.002s]
Finished. Total time: 0.031s

After that, It keeps rebooting to recovery.

How can I format and install everything from scratch?

Here's what happened.

Yesterday, I tried to reboot to TWRP but, for some reason I can think off, I couldn't. I thought to try oragefox. When I was installing oragefox, and since I got the fastboot error, I maybe installed vbmeta and then the recovery - or I installed it without vbmeta, can't be sure now. After that, it kept rebooting to recovery. After a while, since I could'n fix it, I eraser caches, system and data and tried to flash the rom from scratch. No luck, I can't pass the reboot to recovery. I switch back to twrp, oragefox sometime got a full black screen and only the flash worked by vol up and power, and it was difficult o restart the phone.

Thanks! : )

What can I do to get my phone back?

Did you wipe or format data(option where you type "yes")? The best you can do now is to format data(option where you type "yes") and try boot to os. And if it does not help, than follow Updating colorOS via Custom Recovery and as last step format data(option where you type "yes").

Now for the RUI users.
There's still a lot issues i face in rui. So BEWARE! Like today I updated Magisk Canary to latest and got bootloop, couldn't boot to recovery and data partition got ****ed up. I had to flash ofox via fastboot and format data to get it back working.
 
Last edited:
  • Like
Reactions: P1f and johnnyjoe

johnnyjoe

Senior Member
Jun 3, 2011
266
87
Did you wipe or format data(option where you type "yes")? The best you can do now is to format data(option where you type "yes") and try boot to os. And if it does not help, than follow Updating colorOS via Custom Recovery and as last step format data(option where you type "yes").

Now for the RUI users.
There's still a lot issues i face in rui. So BEWARE! Like today I updated Magisk Canary to latest and got bootloop, couldn't boot to recovery and data partition got ****ed up. I had to flash ofox via fastboot and format data to get it back working.

@Jerry08, format data, after installing rom, did work! Thanks a lot. : )

I did format data to install rom. After installing the rom I would get the phone to bootloop. Formating data after the rom was installed did solve it.

Thank you, one more time. : )
 
  • Like
Reactions: Miroyas

Aze0077

Member
Mar 21, 2016
12
4
By any chance was fingerprint working after installing RUi using this recovery?
There are reports of FP broken when using twrp

FP works fine for me using this recovery before i update to rui i turned of lock screen password and booted to orange fox than wiped dalvik cache , cache, system. vendor and internal storage kept un touched than flashed rui after that i try to reboot back to recovery to install magisk but internal storage is not decting so i reboot to system and phone booted to rui every thing works fine sofar:) now finding a way to root it
 

P1f

Senior Member
Sep 20, 2010
290
136
Bucuresti
Did you wipe or format data(option where you type "yes")? The best you can do now is to format data(option where you type "yes") and try boot to os. And if it does not help, than follow Updating colorOS via Custom Recovery and as last step format data(option where you type "yes").

Now for the RUI users.
There's still a lot issues i face in rui. So BEWARE! Like today I updated Magisk Canary to latest and got bootloop, couldn't boot to recovery and data partition got ****ed up. I had to flash ofox via fastboot and format data to get it back working.


Exact same thing happened to me, and i did the same format data to fix it, I thought it was my fault somehow.
I will stay unrooted for now in order to use fingerprint and since Safetynet check was failing for me anyway ever since the server side change from Google
 

Top Liked Posts

  • There are no posts matching your filters.
  • 14
    OrangeFox Recovery Project
    ofrp.png


    Installation
    * Download Latest OrangeFox
    * Assuming you already have twrp installed, copy the downloaded zip to device. Then Install.
    * After successful installation it auto-reboots to OrangeFox recovery. Enjoy


    Working

    ADB
    Decryption of /data
    Screen brightness settings
    Correct screenshot color
    MTP
    Flashing (opengapps, roms, images and so on)
    Backup/Restore
    OZIP decryption
    Vibration support
    USB OTG


    Bugs

    Report with proper logs.​

    Credits:
    @MrYacha & @DarthJabba9 for this amazing custom Recovery
    And the most 4j17h for pushing me to make it...
    And whole HyperTeam for all the help in the beginning of my android development...


    XDA:DevDB Information
    [Official][Stable]OrangeFox Recovery for realme X2 Pro [R11][RMX1931], ROM for the Realme X2 Pro

    Contributors
    Jerry08, 4j17h
    Source Code: https://gitlab.com/OrangeFox/

    ROM OS Version: Android 10

    Version Information
    Status: Stable

    Created 2020-08-04
    Last Updated 2020-09-03
    4
    OrangeFox will be back soon, mostly likely official.

    While waiting for official you can test new R11 build, links updated.
    3
    So what needs to be done to have a working FP sensor? But it's broken even without root?

    ---------- Post added at 06:03 PM ---------- Previous post was at 05:55 PM ----------


    I know I could simply flash it from twrp and try but, except for OTG working, are there any particular reasons to use this instead of twrp?

    I've read that OrangeFox is based on twrp, but offers a better support to Treble than twrp.
    Having also magisk/app manager, flashlight(if anyone would ever use it in recovery), password change. Just try it and check yourself.
    2
    Sold phone, won't be supporting this anymore.

    Admins please lock this thread.
    2
    It's a issue with vbmeta. You have to flash vbmeta via fastboot with disable flags:


    Hi @Jerry08! I've tried that, many times, but no luck. I get the "fastboot.exe: unknown option -- disable-verity" error.

    I've tried to download all short of adb/fastboot versions, I've installed the latest android studio, minimal adb, etc., but I can't find a way to get a fastboot that works.

    I'm sure that my phone is seen after typing fastboot devices. I'm open my powershell window on the folder that has the files.

    Can you please help? I'm not sure what I'm doing wrong. Thanks! : )

    ---------- Post added at 12:39 PM ---------- Previous post was at 12:14 PM ----------

    [/COLOR @Jerry08, I think I get it to work:

    C:\vbmeta>fastboot devices
    513a895e fastboot

    C:\vbmeta>fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
    Rewriting vbmeta struct at offset: 0
    Sending 'vbmeta' (0 KB) OKAY [ 0.008s]
    Writing 'vbmeta' OKAY [ 0.002s]
    Finished. Total time: 0.031s

    After that, It keeps rebooting to recovery.

    How can I format and install everything from scratch?

    Here's what happened.

    Yesterday, I tried to reboot to TWRP but, for some reason I can think off, I couldn't. I thought to try oragefox. When I was installing oragefox, and since I got the fastboot error, I maybe installed vbmeta and then the recovery - or I installed it without vbmeta, can't be sure now. After that, it kept rebooting to recovery. After a while, since I could'n fix it, I eraser caches, system and data and tried to flash the rom from scratch. No luck, I can't pass the reboot to recovery. I switch back to twrp, oragefox sometime got a full black screen and only the flash worked by vol up and power, and it was difficult o restart the phone.

    Thanks! : )

    What can I do to get my phone back?

    Did you wipe or format data(option where you type "yes")? The best you can do now is to format data(option where you type "yes") and try boot to os. And if it does not help, than follow Updating colorOS via Custom Recovery and as last step format data(option where you type "yes").

    Now for the RUI users.
    There's still a lot issues i face in rui. So BEWARE! Like today I updated Magisk Canary to latest and got bootloop, couldn't boot to recovery and data partition got ****ed up. I had to flash ofox via fastboot and format data to get it back working.