yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Rubens95:
It's the password of your mi account used to unlock the bootloader. In any case to flash a custom rom you have to format data and this remove encryption on internal storage. Any time you change rom or do Simply a factory reset you need formatting data because of this "feature"
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Rafaelia:
Thanks for this, It's my first time using OFR. The extra features are cool, I'm gonna keep it as stock recovery :)
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] aron11195:
when i flashed xiaomi.eu it auto checks disable dm verity but not force encryption.. is it normal?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
It should not auto-check either of them. Which version are you running? Did you flash the zip?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] aron11195:
ur latest, i flashed OrangeFox from lazyindians twrp.. clean flashed again and this time i thoroughly checked that nothing is checked but after flashing xiaomi.eu while following the logs (sorry couldn't save the log) while its flashing i noticed something about orangefox flash dm verity which didn't happen when i was on twrp..

now finished setting up my apps,magisk modules and configuring everything on miui. checking again on orangefox everything is unchecked again.. if i need to reflash this rom again i'll be sure to save the log.

using stable xiaomi.eu 10.3.1, just upgraded to 10.3.2 using miui updater. everything seems to be in order. nothing out of the ordinary.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Akr0n:
I want to install MIUI eu developer, can I update via OTA after this flash?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] inigoim:
I get the same message. The thing is, I know my mi account password, but it says it's wrong, and I'm 100% sure it is the password I'm typing, so what should I do, format data from the recovery?

Edit: And apparently the OS has also overwritten the recovery

Edit2: I don´t know who or why, but after trying repeatedly to flash the recovery and install magisk, at some point it stopped overwritting the recovery. I think it could either be for wiping the data or for installing magisk
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Rubens95:
Yes, I meant format data from recovery (where you are asked to type "yes"). Otherwise you can enter fastboot mode and type "fastboot -w", it should have the same effect
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] inigoim:
Ohh so that's what made the recovery stay after reboot. Thanks!
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
Sorry, but I don't know what this means. Each release has got a version number. That is what I was asking for - and then I will know whether it is my "latest" or not. You also did not answer the question whether you flashed the zip.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Rubens95:
As far as I know orange fox is never overwritten by stock recovery even if you flash miui, so if you install OF once you're ok for the rest of your life?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] nfsmw_gr:
Great to hear you'll keep supporting the device.

This is the first time I tried OrangeFox and I really like it tbh.

It reminds me of the change from clockworkmod to TWRP, that big of a difference it has compared to good ol' TWRP.

P. S. When you say it has it's quirks, which quirks are you referring to?

The one week unlock waiting period?

The encryption/decryption issues?

Something else?

I'm just curious to see since I haven't spent a lot of time with the RN7, got it a few weeks back as a backup device because my Mi 8 broke (R. I. P.) and the Mi 10 isn't available yet.

Thanks in any case. :)
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Xipe_Totec:
forgive me for the possibly dumb question: can I update OrangeFox to the newest version by flashing over the latest zip using OrangeFox?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] CheepPlüm:
Yes...;)
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Xipe_Totec:
thanx :)
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] paskalion:
Need some help here. My RN4 (mido) always getting E1001 : Failed to update system image error.

Using OrangeFox 10.1 recovery. But then again if I'm using official TWRP 3.3.1.0 also getting same error.

If I use MiFlash to flash the latest stock MIUI (version 11), it says flash successful but after boot from flashing, it just loading nonstop. I even wait for it to load overnight but it still stuck at the 3 dot loading page forever.

Please advice. Thanks in advance.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
This is not a mido forum, so this discussion is OT here.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] zpower:
Hello ?

I am using the PE10+ ROM.

How to properly backup step by step?

In the past i made a backup, but when I tried to restore didn't work because data as been empty.

Since the new PE10+ uses different encryption, is it possible to make a perfect backup without errors?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] zpower:
Do i need delete passwords, pin, fingerprints or other else protection before backup?

Last time backup, boot, cache, data system and vendor and when restore cannot acess to my data. Like I've been made an clean flash so because of that I'm afraid to do something wrong
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
You can delete passwords/pins before taking a backup - or you can leave them. However, if you don't first delete them, then you must accept the invitation to delete the ROM password when you restore the backup, otherwise, any password/pin that you enter will always be treated as being wrong.

Nothing can ever be 100% safe, and things can go pear-shaped at any time. Make sure you read this before proceeding further - https://xdaforums.com/showpost.php?p=79771469&postcount=3
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] zpower:
Ok thanks.

One last question.

Can i do backup direcity to my PC? If yes, how?

My backup its to big to save in SD card because i´ve only 16GB. Only can do if i exclude internal storage backup ... :(
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
No, you can't. You need to get a bigger microSD, or a memory stick with OTG, or backup only data and/or internal storage (you can always flash the full ROM anyway, so you really don't need backups of the boot, system or vendor images).
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] iPAQ 6515a User:
Let me chip in.

Just (as recommender in OP) backup data (and cache if want). The rest is already in your original flashable ROM.

Restoring is smooth:

Flash the ROM

Boot up

Reboot to recovery

*Sometimes you need to adb twrp and then flash fox

Restore your backup

Reboot

Voilà
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Xipe_Totec:
sorry for asking, I could not find any info about that: why when I backup my files it saves with very weird date and time format? (like 20 april 1976, 2.27 am?)
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
Because that is the way it is designed to work. Feel free to change the suggested backup name if you don't like it.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Xipe_Totec:
sorry I could not express myself.

It's fine the auto-generated backup name is based on current date and time. I don't understand why the phone thinks we are in 1970 and (even if I set the correct timezone in the options) time is still wrong.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] iPAQ 6515a User:
Are you using a custom ROM?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Xipe_Totec:
I do
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] iPAQ 6515a User:
It may be the reason
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Xipe_Totec:
EDIT: well, i flashed another rom and the problem disappeared. weird.

thank you for the answer
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] F4JL0:
Hi guys i try to flash this recovery i flash it sucessfully (it says finished) but when i want to reboot to recovery(holding Volume UP + Power) it just reboots to fastboot (tried using fastboot flash rcovery recovery.img also fatsboot boot recovery.. ) didnt help
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
This is a problem that I have never seen on this device. But you have given no useful information, so I can't comment.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] F4JL0:
Hi man what useful information you want

I wanted to flash this recovery i downloaded latest version

BL unlocked

Usb debugging on

Oem unlock on

I flash with fastboot flash

it says finished

than i want to reboot by holding volume up+ power but it just boots me into fastboot not recovery
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
- Which OrangeFox zip

- Which ROM

- Which firmware version
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] F4JL0:
he downloaded latest version 10.1

hes on MIUI 11.0.7.0
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] polware:
Verify that you unlock the bootloader, then run again this steps:

-Reboot your phone into Fastboot mode

-Open a command line window

-Flash OrangeFox using: fastboot flash recovery recovery.img

-Immediately finish the flash without error, hold VOLUME UP + POWER just until the Redmi logo appears.

-Now you will see OrangeFox logo
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
Sigh. We are discussing a problem that has never happened before, and that should not happen - and I am trying to be patient - but can we have some

precision

here? What is the

exact

name of the OrangeFox zip file that downloaded? Precisely which MIUI 11.0.7.0 build is he using? How did he get it onto his device?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] F4JL0:
Hi guys I'm really sorry

We found out that he flashed violet version of orange fox and he has lavender.

After flashing lavender version everything works

Thanks for really fast reply
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
I was quite sure that something like this is what had happened. That is why I was insisting on the name of the OrangeFox zip that he downloaded.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] F4JL0:
Thanks for your fast reply
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] TapaSte:
No wipes needed before installing orangefox via twrp ?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] CheepPlüm:
Nope....Just flash OF it restarts Automaticly....
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] TapaSte:
Dmverity and force encrypt included ?

rn8t
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
You don't need them. And you should never use them with lavender.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] TapaSte:
I've redmi note 8t (willow). :)

rn8t
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
So, why are you in this thread?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] TapaSte:
Because the installation process seems exactly the same for both devices.

rn8t
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
The installation process is the same for all devices. You need to go to a willow thread, or, in the absence of one, to the telegram group chat.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] FilippPAOK:
Hello, I tried to flash latest Evolution X 4.20 but failed.

Here are my steps (I was on latest global MIUI 11 stock rom, Orange Fox version R10.0_2):

- I wiped system, data, cache, dalvik cache (as the dev of the rom suggests) and rebooted to recovery.

- Then, I flashed the Orange Fox R10.1_02 (I thought that this was needed to flash Android 10 rom) and recovery rebooted automatically.

- Formated data (typed "yes") and rebooted to recovery

- Then I tried to flash EvoX but it said that the zip is corrupted. I deleted the zip, downloaded EvoX again and tried flashing, but then it showed Error 7

- I flashed latest Global Firmware and tried flashing EvoX again, but still Error 7, I repeated this step with the same result (I also tried to flash once with zip signature verification enabled, but signature verification failed)

- Rebooted to recovery (not knowing what else to do) and tried flashing EvoX again but again it said that the zip is corrupted. Generally, every time I rebooted to recovery it was saying that the zip is corrupted, no matter what I tried to flash but then if I delete the zip file and put it back from my pc to the sd card this error wasn't showing. When this error wasn't showed, on EvoX error 7 was happening. I also tried latest PE+ and again error 7.

- I installed Orange Fox version R10.0_2 again, and the same errors happened (zip corrupted, error 7)

I also tried deleting the first lines of updater-script on EvoX (found out how to do it on Lineage OS website saying how to fix error 7, the lines were pretty much the same as in EvoX) but got Error 6 and a message that it couldn't mount /system_root. I went to manage partitions and mounted system_root, tried to flash EvoX with the modified updater-script and it said "failed to extract META-INF/com/google/android/update-binary"

I tried formating data, flashing firmware and switching Orange fox versions numerous times. The same errors kept happening.

Any tips on how to flash EvoX succesfully? What exactly did I do wrong? I kept a backup of the stock rom I was before, I don't really want to flash it as I am trying to install EvoX but if there is no other way I can go back to it safely (hopefully).
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
I am running EvoX 4.20 and I had absolutely zero issues flashing it. Just saying that you got "error 7" is meaningless. That error can be triggered for any number of reasons, and the specific reason will be shown in red, and in the log file. So, unless you post the log or explain the full message that accompanies the error 7, any response would just be pure speculation.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] FilippPAOK:
Thanks for replying. Here is exactly what is displayed on my screen:

Patching system image unconditionally...

E1001 : Failed to update system image.

Updater proceas ended with ERROR: 7

Do you have the correct device and firmware version? Search online for error 7.

Error installing ZIP file '/sdcard1/EvolutionX_4.20_lavender-10.0-20200408-0134-OFFICIAL.zip'

Updating partition details...

...done

This is what happened right now, after reinstalling Orange fox R10.1_02 , wiping everything except vendor and sdcard, rebooting to recovery, formating data, rebooting to recovery, flashing Firmware fw_lavender_miui_LAVENDERGlobal_V11.0.5.0.PFGMIXM_dbe0179bf8_9.0.zip , flashing EvoX 4.20, in that exact order.

---------- Post added at 09:06 PM ---------- Previous post was at 08:46 PM ----------

Here is log file I got in Orange Fox.

https://pastebin.com/346UkyGe
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
You do seem to have a corrupt or invalid zip file -

I think you should compare the checksum of what you downloaded against what the dev says it should be (the md5sum of the "EvolutionX_4.20_lavender-10.0-20200408-0134-OFFICIAL.zip" that I installed is: ae2f20f2d7e75297a368c803b19368f6)
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] FilippPAOK:
I checked the md5. It is the same as the one you send me. The thing is that, every time I rebooted to recovery and then tried to flash a zip from the sd card, it will say that the zip is corrupted, no matter what I flash. If then I delete the file from the sd card and put the exact same file from my pc back into the sd card, the zip will flash normally, thay's how I flashed the firmware and Orange Fox. But, on the roms I tried this (EvoX and PE+) it would show error 7.

I think I found a workaround though and I managed to finally flash EvoX. What I did is to put the rom's zip file from my pc to the internal storage instead of the sd card. When I flashed that from the internal storage, it worked. So, there seems to be something wrong with the sd card (?), which is very weird, I used the exact same card to flash stuff on this phone and on other phones as well. If you have any idea about what could possibly be the cause of something like this, please inform me.

Anyway, I did the exact same trick to succesfully flash latest Predator kernel and magisk 20.4, then deleted the files from the internal storage (so that I don't get asked for a password), rebooted to recovery and then rebooted into system withouth problems. Thanks for helping. :)
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] CrashOverride93:
[MENTION=5850987]DarthJabba9[/MENTION], does this recovery supports command line scripting for automation purposes?

Example from TWRP recovery: https://twrp.me/faq/openrecoveryscript.html
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
I think your sdcard is faulty (this is nothing new), and it probably will deteriorate progressively. If I were you, I wouldn't trust anything important to it. You may want to reformat it (which will hopefully mark out any bad sectors so that nothing will be written to those sectors). Perhaps the card itself is dying and perhaps reformatting it will not save it - but it is worth trying.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] nfsmw_gr:
Could it be a firmware issue?

Because I'm running crdroid just fine as we speak but can't install the latest update that got out yesterday with the same error and I'm now searching for other firmware versions to try.

(a link would be nice)

EDIT:

Used the latest stable firmware from here and Error 7 is gone for me:

https://xiaomifirmwareupdater.com/firmware/lavender/
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
Global, China, India, or Europe?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] nfsmw_gr:
China, but most likely the others will work as well as long as they're stable and not beta.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] CrashOverride93:
Thank you for the reply, but I waited for bit longer reply :D

For example...

If yes, as you confirmed, where is the cmd html documentation? As OrangeFox Wiki does not show it anywhere.

In case of not (because I'm right), I assume (from your reply) that OrangeFox uses the same scripting engine (OpenRecoveryScript) as TWRP does. So same commands structure. Confirm that please.

And... As OF detects more partitions, cmds should be adapted to work with them too. So, I think you know about what I'm talking about here...
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
Since OrangeFox's base code is based on TWRP base code, the answer is "yes". The TWRP documentation is equally applicable here, so there is no need to duplicate it.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Ratoriku:
decrypt feature is very good
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] hyborian:
Yes, I use Tasker to create an OpenRecoveryScript to run an automated nandroid backup every other day, no problem. Of course, I include in the script commands to run some zips to backup System Image and Vendor Image, which OpenRecoveryScript has no option for.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] CrashOverride93:
Ohh, nice to see a Tasker user here :)

What are the commands to tell it to back up non registered partitions?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] hyborian:
P.S. I use some of your creations, you are a master ...

Just a simple install, see below ... this is my shell script in Tasker, creates openrecoveryscript in cache (i.e. temporary only). After OFox reboots automatically back to system, another Tasker task moves the created system and vendor image backups to the latest TWRP directory (I always have 3 backups).

The zip files were created by Fellz Mods which you can find in his Telegram channel.

local sysfile=%Path_SD_Card"Zips/FellzMods/system.img-backup-20200404.zip"

local vendorfile=%Path_SD_Card"Zips/FellzMods/vendor.img-backup-20200404.zip"

cd cache

cd recovery

cat <<EOF >openrecoveryscript

backup BDO TWRP_LATEST_BD_%Shell_Date_Time2

install $sysfile

install $vendorfile

EOF
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] hiepbg:
Newer version 10.1_2 has a different MD5, not the MD5 in new txt.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] kamesofficial:
I have a problem with OrangeFox. I installed it and crDroid and I can't see my files in recovery mode. Same on PC.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Snuk265:
You need to Format data in ofox ... Format not wipe
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] kamesofficial:
And if I do that I should flash again the ROM? Or I will lose only my files?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
You should not need to flash the ROM again.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] kamesofficial:
I did what you said and I still can't acces my files, they are still crypted.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
If you formatted your data partition, there would be no files at all.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] kamesofficial:
I know. After I formatted my data partition I still couldn't view my files in the recovery mode. I was trying to flash Magisk but there is no folders like Downloads or Documents, or even files. I can't do anything. I asked for support from the developers but they are ignoring me.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
Which files? The ones that were totally wiped when you formatted data? You're not making any sense!

I am the developer - and I am answering you. :rolleyes:
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] kamesofficial:
I will tell you every step that I did. I formatted the data as you said. Then I did the setup for the ROM (I configured the phone again), after that I downloaded Magisk in the Download folder. I rebooted the phone to the recovery mode, and there is no common folders, like Downloads, Documents and many others, only folders named "282hw9wj1n2020w0" or like that, as you can see in the image.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
We can go back and forth on this forever, or you can post the logs, so that one can see what exactly is going on. Better still, you can speak to your ROM's developer or go to the ROM's thread.

Bottom line: nothing is wrong with OrangeFox.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] aparty:
Hello,

I'm new with Xiaomi Redmi Note 7 (lavender).

Actually I have stock rom MIUI Global 10.3.5.0 stable EU version (PFGEUXM).

Only sequence to lock screen, no privacy encryption.

I unlock bootloader.

Now I want to install "OrangeFox Recovery" to make an entire backup.

Then I want to root my phone and contnue to use the stock MIUI 10.3.50.

I think I need "OrangeFox-R10.1_01-Stable-lavender.zip" because of Android 9 (Pie) on MIUI 10.

I don't want to use TWRP because I read it isn't compatible with my phone.

I have to extract recovery.img from "OrangeFox-R10.1_01-Stable-lavender.zip" and install it with fastboot.

Then I'm a little confused (I was wrong? I don't Know).

Could you help me with a step by step guide to install OrangeFox Recovery?

Thanks.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] aparty:
Ok. Thanks for guide.

Could you confirm me that "OrangeFox-R10.1_01-Stable-lavender.zip"

is the correct Recovery to use with stock MIUI 10.3.50 (PFGEUXM)?

Not 10.1_02

Thanks.