yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] 1n00bB:
If it's really doesn't work for you, which is weird, you can extract OrangeFox zip and inside you'll find;

recovery.img (flash it manually via fastboot)

Fox folder (copy it manually to internal storage)
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] JAYDEEP VASANI:
saved my day man ...cause of that password error in twrp i searched and after wiping couldnt detect files or usb ......your twrp(orangefox twrp) helped me alot like it gets device detected on pc very easily which i think best for now for me . Thanks .
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] SecretKiller:
Lavender's Firmware Encryption Password Bug

Hi, at first, Thank you for your great work! Recovery works just great, no problem found. I have just one question. It is just for curiosity... What caused the bug of the "TO START ANDROID, PLEASE ENTER PASSWORD" After the first flash of the recovery? I got that error, I did the format data, and it did NOT disappeared. So I flashed Magisk, and it "fixed" this bug. How could that be possible? I'm just curious. I fixed that problem. Thank you anyway!
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
Without logs, it is not possible to comment on this.

Edit

: I note that you are asking exactly the same question on a different TWRP thread. Perhaps you want to tell us which recovery you are actually using? In any case, the logs will show clearly which recovery you are using.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] SecretKiller:
Hi! At first, thank you really for your answer! I tried with all recovery available, and the results is the same. I guess we need log.. Right? Do I have to take log BEFORE And AFTER the problem appears? Another way to trigger this "bug/error" is to just remove magisk. I don't know how, but, if you remove magisk, or flash a kernel without magisk, at next boot you will find /DATA encrypted and NO PASSWORD WILL BE ACCEPTED. Even the right one. And if this happen, you are forced to format data. Restoring magisk WILL NOT RESOLVE THIS ISSUE.

I am available to help and to work on it by testing and grabbing logs(I'll lose all my data, but I don't mind it)

So, if I give you logs, then you will be able to help me? Thank you anyway! Really!

Edit: Hey, I forget to ask it: HOW CAN I GRAB THE KERNEL LOG? Not the recovery one but the System's Kernel Log... You know, when in the "TO START ANDROID PLEASE ENTER PASSWORD SCREEN" (When asking for password to decrypt your device), I can't use adb commands... What's the best and easiest way to grab log at that time? Thanks
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
Strictly speaking, this is not an OrangeFox issue at all. It is a ROM issue. So you need to check with the developers of your ROM. Formatting data (format,

not

just wipe) should fix all these issues completely, without magisk. If

formatting

data doesn't fix the issue all by itself (without requiring magisk), then you have serious problems with your ROM (and/or firmware). Again, ask your ROM's developers.

As for your other questions, read this: https://files.orangefox.website/FAQ.md
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] vkmcondor:
I am on stock MIUI 10.3.5 India with latest Magisk.

Can I dirty flash newer versions by downloading full recovery rom from xiaomi's site using your recovery?

My bootloader is unlocked.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Prof.Dr.Insane:
I reflashed my rom and now my password does not work anymore. Is there a standard password? any ideas to solve this problem ?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] dd721411:
First of all: Do you have a RN4 or RN7? I saw you posted the same question on both Orange Fox Recovery for RN4 and RN7.

Second: Have you searched for similar posts to your problem in these threads and/or your ROM's thread? Have you read any posts above yours?

Last but not least: Try to record and submit relevant logs so that developers can read through them and hopefully help you fix the problem. :fingers-crossed:
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
https://files.orangefox.website/OrangeFox-Stable/lavender/README.md
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] f4cu.3s:
Maybe I have a weird device as while flashing ROM vendor files I get Error 7

I seem to be unable to flash a custom ROM, I have the 128GB version of Redmi Note 7 (not Pro) which still is lavender, SD660 and 4GB of RAM, in teory only change is more space.

While I flash any ROM I get an Error 7, but It only happens in the part that flash Vendor files.

Is it because of an incompatibility with recovery? I have tried TWRP 3.3.0 but on unnoficial build so I don't know where to start.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
This thread is for OrangeFox recovery discussions only. Please do not come here to discuss issues with other recoveries.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] f4cu.3s:
I apologize if I express myself incorrectly, English is not my native language. The error occurs when I use Orangefox (10.0-1 and 10-0) and TWRP.

Specifically I have tried SyberiaOS and RR, with both recovery. When Vendor starts flashing after some progress it fails and shows error 7.

When I install Magisk I do not receive the error.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
Post the logs.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] nagesh nani:
Orange fox recovery wipe lo no vender option miss ple solution.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] dd721411:
Can you please use Google Translate? It seems like you commented in many threads and most if not all of your posts are difficult to understand.

If you mean there isn't a 'Wipe Vendor' option, OP said it's not necessary to have that.

You should search for the keyword 'vendor' to see OP's explanation or you go read the README file on the very first post.

Cheers! :fingers-crossed:
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] f4cu.3s:
I wipe/format (cache/dalvik,system,data,media) reboot to recovery and then flashed Syberia

btw I was able to flash unofficial LineageOS 16.0

lastrecoverylog.log

recovery.log

dmesg.log
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
I think you should speak to the devs of Syberia and RR. It seems to me that there is an issue with the vendor image -

BTW, why are you wiping media?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] f4cu.3s:
I will, thanks you!

I wipe it to clean all data from the phone. I only use MIUI for the time i needed to unlock the bootloader but i left some stuff in it and it was easy to just format all than cleaning after.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] pythoner:
I have a Problem. My wifes phone has a 4 Digit Pin for encryption where 2 Numbers are the Same (example: 4846). I can't enter a pattern for that because i can't use the Same dot twice.

How can i get a Keyboard in Orangefox instead of the pattern for encryption?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] johnyMichelson:
Hey.

First of all, great work on this recovery.

[MENTION=5850987]DarthJabba9[/MENTION], I'd like to ask - would OrangeFox be able to read /data if someone made a file-based encryption patch and integrated it into a custom, AOSP-based ROM? (probably involving fstab and init)

Thanks in advance.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] nagesh nani:
Orange fox recovery wipe lo no vendor option ple help
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] johnyMichelson:
You do not need to wipe vendor (like, ever, so the option is not available). Read the instructions (OrangeFox's) *carefully*, and wipe only what's needed - wiping vendor isn't, and you don't need the option.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] witopanjoel:
when I wipe system, data, dalvik, and cache, I got error message "mke2fs -t ext4 -b 4096 /dev/block/mmcblk0p63917500 process ended with ERROR: 1" and unable to wipe System, please help what should i do?

Solve: do format data
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] krazyace35:
Try this tutorial

https://xdaforums.com/showpost.php?p=69980946&postcount=2497
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] mario156090:
Does it support OTA?

Enviado desde mi Redmi Note 7 mediante Tapatalk
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
idk.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Redmice:
Hi, I've downloaded the files in order to flash Orange Fox Recovery, I've flashed the zip file on my phone using Orange Fox Recovery. The command line says that's its going to Recovery in 5 seconds. The first boot is ok but on the second boot, I'm sent to the stock MIUI Recovery. What did I do wrong? Btw, I'm using the Redmi Note 7 and the zip file is called "OrangeFox-R10.0-1-Stable-lavender".

I flashed Orange Fox Recovery using the command prompt on my computer.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] darhma:
Do you installed orangefox with fastboot? If you installed with fastboot you have to restart in recovery not by command line but with the buttons vol+ and power then you have to flash a custom rom or at least magisk because if you restart the stock miui the custom recovery is overwritten by the stock one
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Redmice:
Can I backup in the Orange Fox recovery before installing a custom ROM?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] darhma:
Yes you can. I recommend to make a copy of the backup to the sd card or a drive otg or to the pc because there's the possibility that you have to format data if there's the request for password to decrypt the device
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Redmice:
Well I flashed it using the computer using the command prompt while my phone was in fastboot. So does that count?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] darhma:
Yes flash orangefox like you did before, once you've flashed orangefox don't restart the phone with the fastboot command but holding together volume up and power button. When in recovery make the backup (remember to make a copy) and then install the custom rom
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Redmice:
So if the files in my internal storage were gone and the backup files were in my pc would I just transfer the files from the PC to the phone and then flash the backup file?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] darhma:
You can copy to pc your personal files (photos, video, downloads etc.) or if you make a full backup (also your internal storage) you have to restore only internal storage for your personal files once installed the new rom. If you want to backup your apps to restore them in the new rom you have to use titanium backup or migrate from google play store.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Redmice:
Hey I flashed a new ROM I used it for a while. Then I booted back to recovery but now it's asking for my password. I see words such as Data Partition on the screen . I pressed the home button and all my files are gone but they're still there after I boot into system. What do I do now?

Edit: When I boot into recovery, it actually says "Data Partition is Encrypted" and asks for my password.

Any suggestions?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Fried Keyboard:
Did you set up a lock screen password? If so try using that as the password for the encryption.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Redmice:
How do I revert back to stock MIUI Recovery from Orange Fox Recovery?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
1. Flash a fastboot MIUI ROM with the Mi flash tool (guaranteed to work); or

2. Flash the stock recovery image from fastboot (never tried this before - but it might work)
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] im_amit:
To flash this recovery on miui. We need to flash twrp first? Or from stock recovery it'll work?

Or can we do it using fastboot? If yes how?

Pardon me. I am a newbie.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Walden0:
You can do it both ways , if you have any twrp flashed already then just flash the OF zip from it. If not , then read the FAQ here :

https://xdaforums.com/redmi-note-5/...ngefox-recovery-project-t3807479/post76885728
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] tattare1987:
Does this recovey has the same bug as twrp?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Sithhy™:
So... My /data & internal storage got encrypted because of the stupid Xiaomi firmware bug after flashing a ROM which now leaves me unable to decrypt them. After I enter TWRP or OrangeFox, it asks me for a password, which is the one I set for my lockscreen. I put it in, says /data got decrypted, but then says it can't mount internal storage as data can't be mounted... Is there any way I can save files from my internal storage, or is there no help? I have access to my external sdcard through MTP in TWRP/OF but that doesn't help me much either. Tried flashing files that decrypt the partitions, but they are unable to finish flashing for some reason...
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Syoenth:
Can I flash the update ROM recovery downloaded form MIUI site in Orangefox?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Walden0:
you can not access the internal storage from aroma file manager ? If it is possible then copy paste the files to an external storage. If that is not possible then you might try to backup internal storage from recovery to an external storage and afterwards uncompress the file.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Sithhy™:
Yup, I got no access to internal storage in any way... Not through TWRP, not through MTP, no nothing. I've found a command online that supposedly copies the decrypted data from your phone to your PC & the guy who I got it from said it was only 6GB for him, yet for me it just went over 100GB in size & it's still going without an end in sight (altough I have a 128GB phone...)
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] bhelmouth:
so i got "unable to find partition for path '/system' "

when flashing rom, but so far nothing seems out of place.

should i be worried ?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] hackerpower:
Yes, the full rom, just dirty flash it and then flash magisk.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] epiteto:
Is it possible backup made with orange fox cause no possibility to add fingerprint after data restore ( old fingerprints removed before perform orange fox data/system backup ) ?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
No.

The most likely causes would be firmware, or, not being encrypted.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] vkmcondor:
It works,I have unlocked bootloader
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] epiteto:
Maybe different firmware.... in fact i flashed different kernel after restore.... i understand nothing about encryption.... tell me how to having nothing to do with this stuff please.... only had problems like this or formattimg data to see something in my sd when been in recovery.... and, of course, after restoring...
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Redmice:
If I format data partition, boot back to recovery will the nandroid backups I have made in the past still be there?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
I do not understand what you mean. But I will say this - formatting data removes all encryption. If the data remains unencrypted (and it will remain unencrypted unless your ROM encrypts it again, or you encrypt it manually), then you will not be able to use fingerprint. This is how this device works, and this is not an OrangeFox issue.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
Formatting the data partition will also wipe your internal storage. If you made your backups to the internal storage, they will be gone forever. If you made your backups to the external SD, they will still be there, of course.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Redmice:
What if I copied the nandroid backup to my computer, formatted data and paste the backup back to my phone, would the backups be in the 'backup' tabs? If not would flashing backups restore my phone?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
Possibly - if everything is restored to where it was before.

I have no idea what exactly this means. In any case, the most straightforward solution is to buy an external SD and select it as the partition for backups.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Redmice:
I was just wondering if I could flash the backups as if it was a custom ROM. I'm sure the nandroid backup is in a file so if I find the file can't I just swiped to flash it. Would that restore my phone?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
Well, you can always try - and then you can tell us what you experienced.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Redmice:
Of course but I will have to do it in my spare time. Wish me luck ?!
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
Good luck! :fingers-crossed:
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Redmice:
Just one more question, is flashing the same as restoring?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
Sorry, but I have no idea what this question means!
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Redmice:
Nvm I will try it out in a few weeks
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] leodelacruz:
Sr magnificent work. Thanks for your sharing
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] FuLygon:
do i need to uninstall magisk when performing ota update from updater ?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] miwashi:
I'm not sure what is meant by no ota support.

I have a stock phone flashed with twrp. I get xiaomi ota updates as they are rolled out automatically. Does it mean that after installing orangefox, I will no longer be informed of new ota updates automatically? And I have to manually search for them, download them manually and install through orangefox?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
You will continue to be informed of new updates - but you will not be able to install it successfully (even if you try, but it will not succeed - you will get error messages in OrangeFox and MIUI will tell you when you reboot that the OTA update was not successful). You will need to download the full ROM manually and install it thorugh OrangeFox.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
If you are talking about custom ROMs, no. If you are talking about MIUI, I am sure you read the blurb that MIUI incremental OTA is not supported.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] miwashi:
Thank you, I was reading the documentation and it said not to backup system and vendor partitions, and instead backup system image and vendor image partitions. Does this mean i need to remember to do the the opposite of twrp? Two by default selects system, vendor and boot when doing a backup.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] FuLygon:
magisk on custom rom it automatically reinstall but dont know about miui, i would like to pe but im just gonna wait a bit more for the plus edition to stable, anyway what if i dirty flash miui, magisk would reinstall and phone would be fine right ?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] darhma:
After dirty flashing miui you have to flash magisk again
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
https://xdaforums.com/showpost.php?p=79771468&postcount=2
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] win32r:
Hello. You planned update recovery for Android 10 rom (with decryption bug fix)?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
No.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] MartinYTCZ:
Sorry to ask, but why not?

It's already in sources afaik, so just a new build should be enough :D
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
In that case, I hereby assign that task to you. ;)
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] hyborian:
Ok, I think I got the answer.

Note 7 is shipped as utilizing the system as root setup. Unofficial TWRP cannot handle this and does not mount system as root, so it resulted in behaving like no system-root, just like the old days.

OrangeFox, on the other hand, I guess, did the right thing and mounted or allowed system as system-root.

Now I see some requests to other TWRP developers to include the system-root option in their TWRPs, I think in preparation for Android 10 and other stuff.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
OrangeFox R10.0_2 released

I have released OrangeFox R10.0_2 Stable (OrangeFox-R10.0_2-Stable-lavender.zip)

Changes: Supports Android 10 encryption (tested on Pixel Experience)

Downloads

:

1. OrangeFox download site: https://files.orangefox.website/OrangeFox-Stable/lavender/

2. SourceForge: https://sourceforge.net/projects/orangefox/files/lavender/
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Redmice:
Ok so I found that the backups are in the backups file of the fox file. You can transfer the backup file to your computer (but it's actually time consuming) and you can transfer it back to the phone (time consuming again). When you go to the backups section, the backup will be there and you can just restore your backups.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] darhma:
You can save the backup directly in your sdcard and restore it from there
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Redmice:
Yh I was only saying it for people who don't have an SD card but thx for the suggestion.?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] nagesh nani:
Anna pie lo encryption problem. ple help any solution
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] FuLygon:
okay i just download fastboot rom, i did see and extract the recovery.img from the tgz file (that is stock recovery right?), so can i do this, instead of dirty flash recovery rom over the old one using orangefox, i will: uninstall magisk, flash stock recovery that i just extracted through adb, boot up the phone, perform an OTA update, after update done, flash orangefox again through adb and install magisk, this should be work and "safer" than dirty flash right ? can OP or someone help me about this
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] darhma:
Download the full recovery rom from here:

https://xiaomifirmwareupdater.com/miui/

then flash it with orangefox and before reboot to system flash magisk. You can do a dirty flash but if you prefer you can clean flash it.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] FuLygon:
ye i know that one way to go for an update yes you did answer me about that before, but i wanna ask if i could restore stock recovery image extracted from fastboot rom using adb to perform ota update, after that install orangefox again with adb and install magisk, dont know if it gonna work
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] darhma:
Why you want to do a so complicated thing? It's a lot easier to update with orangefox and if you want to reinstall orangefox and magisk there's no reason to complicate matters
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] FuLygon:
welp i ask about that method since FAQs say dirty flash is not recommended even though i dirty flash a lot on redmi note 4x, but its custom rom, havent dirty flash miui before, if you say that, i guess i will stick to dirty flash then, thanks
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] darhma:
Anyway if you want to use the stock recovery for ota update just uninstall magisk and reboot to system: miui overwrite the custom recovery with the stock one then make the ota update, reinstall via adb orangefox and flash magisk