yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Luca14071978:
Hi, practically doing an update with the miui 11 (using xiaomi.eu rom) the archive encryption has been activated, now how can I bypass the encryption ?? I tried with Miflash to flash the rom via fastboot but it gives me error.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] olddos1997:
Great tool guys, flashed it on my phone yesterday and works a whole lot better than TWRP.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
I am not sure what you mean by "archive encryption" - but if you have encryption issues, the solution is to format the data partition, and then allow Xiaomi.eu to encrypt the storage in its own way.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] SykoraLukas:
Can't find these in settings (ver. 10.0 _2):

a. Support MIUI incremental OTA

b. Include system in OTA survival

c. Incremental OTA signature verification

I want to be able to flash miui OTAs
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] SykoraLukas:
is there any recovery that supports that?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
The next release of OrangeFox (currently in beta testing) will support it.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] olddos1997:
That's nice. Hoping that all goes well.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Hot-Proton:
There is no beta. I am in the Beta Channel and i dont see it.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
Did I mention a public beta?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] SykoraLukas:
Okay thanks
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] olddos1997:
I am having problems installing OF on MIUI 11. See, I flash the recovery file first with the computer and then I flash the zip file inside my phone. Reboots again, no problem. But if I reboot into the system and then try to boot to the recovery, I find out that it gets replaced with the stock recovery. Tried keeping system as read only, but nothing changes. Anything I can do to avoid this? Sorry if this is like a really old problem, but I see no references of it in the documentation. Thanks in advance.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
With MIUI it sometimes depends on how you try to boot into recovery mode from the ROM (using the power + vol+ hardware combination will often prevent MIUI from installing its own recovery). If you are getting persistent problems, then the easiest solution is flash magisk.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] olddos1997:
So, if I flash Magisk, I will stop getting these problems?

Edit: Tried that, and my system got stuck in a bootloop. Lucky I had the uninstaller...
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Walden0:
Is aggressive stock recovery deactivation enabled in OF settings?

Also, try flashing dmveritydisabler as well if it is already enabled.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] olddos1997:
Yes it is.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
Try magisk version 20.1
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] olddos1997:
That's exactly the version I flashed.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] 1n00bB:
If you're on MIUI try Magisk 19.3
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] olddos1997:
Doesn't the "Disable DM-Verity" option in OF do the same too?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Walden0:
Yes it does the same.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] tit0um:
hi there,

do you have by any chance the link to the latest twrp img to allow a boot into recovery to install orangefox?

i just move to miui 11 and my old twrp.img doesnt seem to do the trick anymore...

or if you have any other recovery image that could do the trick, would be nice of you.

thanks.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Walden0:
You can just use orangefox recovery image as well. Extract it from the zip.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] tit0um:
thank you, didn't think about that one :)

can i use fastboot boot OrangeFox-R2.img or should i directly flash it?

i am usually cautious so i try the boot befoe forcefully flashing.

update: yes the boot doesn't seem to do to trick and i just needed to flashy.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] matthias1976:
I've made backup with latest ofox of lineageos 16 and PE9+

After some testing of android 10 i wanted go back on lineage16 with my backup.

i restored system, vendor, data and boot from my backup.

Its booting forever.

When i cancel and enter recovery again it says enter password for data partition.

I dont got any.

Seems i have to Farmat Data !?

But i wanted to restore my backup.

How restore old backup ? At what point format data and how get data back from backup !?

All 3 backups i cant restore....LOS 16, PE9+ and xuaomi.eu.

All endless booting.

pls help....
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Walden0:
It's because you are restoring an encrypted /data partition of another rom. Either chose to skip data partition or format data. (In both cases you will lose apps' data)

Don't rely on nandroid backup for data. Use apps like migrate, oandbackup, titanium backup etc. You should keep backups of important partitions that can't be flashed by Roms, like efs and modem.

One thing you can try to get your apps back is to extract the backup zip and look into /data partition> /data/app (directory) for the apks to install. In /data/data you can find the data of the respective apks in folders that you can try to copy paste one by one , but I don't think that will help as apps will start to crash immediately or after some time. Still no harm in trying.

All the best.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] matthias1976:
I can't backup and restore my rom ?

Thought its recovery all about !?

I dont wanna restore pe9 data to LOS.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Blackdragonbird:
Hi, I resolved to test this recovery before upgrading my Xiaomi EU rom in my Note 7 pro. The problem is, I tried to do a clean install and wiped everything except USB-OTG, and now for some reason I cant access the internal storage anymore, I can install the rom, boot into it but when the phone is booted and runing the system the files app can't see anything in the internal storage, in windows after allowing file transfer the internal storage is show but I can't copy anything to it, like it is locked, Also I can't see the files I put inside the sdcard folder to flash the rom. What I need to do to be able to use the internal storage again?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Walden0:
You can if data is decrypted.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Walden0:
You sure you didn't flash redmi note 7 lavender's recovery in note 7 pro violet?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Blackdragonbird:
Yes, I flashed the violet version in my system. Was the first thing I noted when in the recovery download page, that I was in the lavender version download.

Anyways I came back to TWRP and it fixed the issue.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Walden0:
Great to know that. Although you should post the issues in respective device forums.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] matthias1976:
How to do that ?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Walden0:
What I meant was that you can restore the backup of a decrypted data partition. Yiu cannot decrypt an encrypted one manually, that is the purpose of this feature called encryption, to keep your data safe if device gets lost/stolen.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
Are we talking about violet or lavender here?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] matthias1976:
lavender
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
With lavender, moving from one ROM to another one would normally require formatting your data partition. As for backup and restore, read this: https://xdaforums.com/showpost.php?p=79771469&postcount=3
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] PYCON:
I'm using Orange since the end of the summer, maybe 3 months. It works fine, no issues at all except for one thing :

it requires more or less 50 - 60 seconds to enter in... :eek: Don't know why. Once booted, with the list of files / folders, no lags and no issues. Just boot it seems to be slow. Don't know... :confused:
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
Decryption can take time, depending on your ROM and on whether you are using default password or a lockscreen password with secure startup (which will take much longer to boot anything). I am using AmulyaX's Lineage 16 (default password), and it takes maximum 20 seconds to boot the recovery.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] matthias1976:
i got it now.

Will try next time.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] PYCON:
I'm using no PIN at boot, no finger print, no gesture, no password o code. Nothing. At all. I simply swipe up to unlock system :D
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
OrangeFox R10.0_3 beta 001 released

I have released R10.0_3 beta 001. You can get a copy here: https://sourceforge.net/projects/orangefox/files/lavender/

Please be sure to

read all the release notes

on the download page.

This is

beta

software. Treat it as such. The purpose of this beta is for a wider (public) testing after initial closed tests. Note that this is

not

for noobs. And the purpose is

not

so that I can be asked for support, but, rather, so that I can get

reports

of what works, what does not work (with full details,

and logs

). The reports will help us to identify and deal with any remaining bugs before we make a Stable release.

Thanks.

Changelog:

* support for MIUI incremental OTA

* full system-as-root implementation

* updated magiskboot binary

* lots of little fixes

* support for wiping /vendor

* support for backing up of EFS

* handle "Android Rescue Party" messages

* save historic logs (compressed zips - to the /sdcard/Fox/logs/ folder)

* extra information in the logs about the installed ROM (if any)

NOTES:

Setting up MIUI OTA

:

- Read point "#2" here - https://xdaforums.com/showpost.php?p=76885728&postcount=3
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] hyborian:
Thanks, I was just about to ask about adding the EFS Backup. Hope whoever tests this can test if it restores properly too.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] RedMiAndroid:
How to update OrangeFox?

Hello,

I've installed OrangeFox R10.0-1. How can I update to the actual version?

Thanks for help.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Walden0:
Just flash the latest version from recovery like any other zip.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] chiyoung:
How do you restore the original recovery from Xiaomi?

I would like to get OTA back, and simply flashing MIUI form recovery doesnt touch Orange Fox Recovery.

Do I need to flash the MIUI via PC?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] atendedor_de_boludos:
You can flash any recovery rom from here with the latest OF
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Walden0:
Disable 'Stock recovery deactivation' in orangefox settings and flashing miui will also flash stock recovery.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] audinswfc:
Apologies for the noob question but can someone tell me if it's safe to wipe the vendor and vendor image partitions please? I'm unsure which partitions are safe to wipe prior to switching ROMs. Thanks.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
Never wipe vendor!

Only wipe cache and dalvik - and for clean flash, wipe data also. If you are changing from one ROM to different ROM, you should

format

data instead of just wiping (this will also erase the contents of your internal storage - so better have a backup of your internal storage). And remember - immediately after wiping or formatting data, reboot the recovery

before

doing anything else.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] mangesh511:
do we need to flash first twrp recovery before flashing orangefox recovery ?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] audinswfc:
So what would happen if I wiped vendor? Also are you saying it's not necessary to wipe system either?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Andrio:
Oops. I didn't know it. I use to wipe everything except my external storage.:rolleyes:
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
There is nothing to be gained from wiping it manually, because the ROM installation process will automatically wipe the vendor partition before flashing its own vendor image. On the other hand, if you wipe manually, you would be left with no vendor partition if the new ROM doesn't flash its own vendor image.

Yep. It makes even less sense to wipe system, because every new ROM would install its own system image - which automatically involves wiping the existing system partition.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
No. You can do it from fastboot.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] mangesh511:
Thanks.got confused after reading procedure.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] audinswfc:
Thank you, very useful to know. I did already wipe vendor and system so I was getting worried but I did back them up first and Pixel Experience 10 must've had its own vendor partition as everything is running smoothly, phew!
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] pplu00:
Bug in Thread FAQ?

I was triyng to install this recovery in a new XRN7 (stock) along several hours and it fails all times. I was using as guide FAQ#1.

I tried a lot of things until I view in README.md.OrangeFox that command in FAQ#1.9 is wrong.

What works for me was:

fastboot flash recovery recovery.img

Hope this help.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] xyz210:
try flashing twrp recovery then flash OFox via recovery
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] pplu00:
No need more operations, using right command (in README) works OK.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] vagelis74:
If I flash OF recovery IMG with adb after that i should flash and the zip file from recovery?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
Yes.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] KazuDante:
Change of directory for customizations

Noticed one anoying issue , after changing the theme to my liking ect , all configs are gone besides splash screen modifacation so im assuming its saving and xml or something in internal storage. Is there away to make it look in external storage if it does not find the file that holds the config data in internal so that even if a user has to clean flash a new rom that customizations done to orangefox wont be wiped as well . ?

[MENTION=5850987]DarthJabba9[/MENTION]
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
As you would do with your important files, backup your /sdcard/Fox/ directory to wherever, and restore the backup later.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Vojta1:
data encryption with Havoc 3.0

Even I read readme file very carefully, I still cannot figure out how to deal with data encryption issue. Here is what I tried and results:

ticked disable force-encription and dm-verity, left ROM unecrypted - that is the only way I could access data partition from OF.

Then I performed encryption from ROM, disabled safe boot - after doing this data partition was unable to access from OF.

Then I also tried to install rom with unticked disabling force-encryption and dm-verity and also unticked disabling force-encryption and ticked disabling dm-verity - both with same result - even when I disable safe boot from ROM, I still cannot access data partition from OF which forces me to format the partition every time I want to update the ROM. Am I missing something?

I am flashing also bitgapps and magisk after each install, but don't think it's relevant.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
https://xdaforums.com/showpost.php?p=79771468&postcount=2

BTW: I have experienced no such problem with Havoc 3.0 (or any other ROM).
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Vojta1:
So if I understand correctly this behavior that I described is unusual, I am probably missing something somewhere.

I will try to update the OF to latest stable 10.0_2 as I see I am using currently 10.0 and see if it makes any progress.

Edit: OK so it is fixed now, I updated to 10.0_2 and I can now access data partition from OF. Thanks
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] ariel5zal:
hi..im still on ver 10 stable..if i want to update to the latest version,do i need to backup or just flash the latest..cause i dont want any issue..thanks
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
With lavender, flashing

anything

can cause an issue (ie, requiring formatting data because of borked encryption). If you really don't want an issue, then you don't flash anything. Lavender's encryption is extremely flaky, and quite broken. Literally almost anything can end in having to format data. So you now know the risks ...
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] ariel5zal:
okey thanks for the information ?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
:good: That being said, I flash OrangeFox (img) virtually every day, without any problem at all, in order to test new things - but then I know the risks, and am willing to take those risks.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] olddos1997:
So, if I enable that option in OF, will it stop MIUI from replacing the recovery?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Walden0:
No but you can do that by enablinging the setting "aggressive stock recovery deactivation" . I think it is enabled by default.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] olddos1997:
It is, but I mentioned it doesn't help avoiding the system from replacing the recovery. OP's tip of installing Magisk did not work, as the system gets stuck in a bootloop after a reboot. I really don't know what to do anymore.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
Which version of the recovery are you using? It would help to see some logs ...
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] mangesh511:
even after i am able to flash orangefox successfully and able to boot into recovery

miui recovery is restoring back again.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] xdacalvien:
Anyone can help me? I can't mount Micro-USB (OTG) at OrangeFox.

How to fix it?

PS: I can use at normal system, just show 0MB at OrangeFox.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
Tap on the icon and wait for a few seconds.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] xdacalvien:
Solved it by FAT32 Format USB Drive. :)
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] vlachorumsapiens:
[removed]
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] olddos1997:
I am using the latest stable version, but I unfortunately don't have any logs... Sorry.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] SykoraLukas:
Tried to update from 10.3.6.0 to 11.0.4.0 via OFOX but I got "decryption failed" message.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] narutoshire:
Is the latest version still 10.0_2 stable? If not, what's the latest version?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Shiroyuki82:
Thanks for this, got my rn7 bamboozled. this one revived it :3
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] souhail39:
in fox backup list which case should i select
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
https://xdaforums.com/showpost.php?p=79771469&postcount=3
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] beybus:
What can I do if I wiped the data trying to flash the last official miui and then later Pixel Experience and i'm getting the error 7 message everytime?

I'm using the last orangefox, wiping the usual things before flashing. I'm stuck with a dead phone at the moment.

If I recall correctly I was on android 9 before but I tried flashing latest miui10 and it gives me the same error.

Here's the log:
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
First, an excerpt from the log is not very useful. You need to attach the full logs.

Secondly, you really need to read the release notes: https://xdaforums.com/showpost.php?p=79771468&postcount=2
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Angel Pach:
Why if i change the language to Spanish the font revert back to stock?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
I know nothing about "sdcard1.f2fs.win* files" and I've never seen any of that before.

Without seeing the recovery logs of the restoration process, I cannot comment.

You might want to read this very carefully - https://xdaforums.com/showpost.php?p=79771468&postcount=2
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] okAndrea:
I restored a data backup of my phone which I had already restored a few times but when system booted and asked me for my login sequence it said it was not correct so now I am locked out. What up with that and how to resolve please?

Also, I googled it and I read that after 5 times you enter wrong sequence you should get the option to restore the login gesture but I don't, any way round?

Thank you for your help!
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
Any number of things may be the issue, and since we're not into speculation, you need to explain in full detail

exactly

how you got here, at which point the prompt for login appears, and whether this happens only on booting up the system or whether it also happens when you boot up the recovery.

In any case, after restoring a backup, you would have been given the option of removing the password. You should have accepted that option.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] okAndrea:
I did not come here to blame anyone, just for help solving something if possible and if not give a heads up that there may be an issue.

BTW I never got an option to remove password unless you mean going into settings of the phone and remove the unlock sequence manually. On hindsight I should have.

If I am on XDA its because I try different ROMs and with everyone I've tried I have always used the same procedure to restore data partition and it always worked fine, perfectly I would say in reality.

the procedure I always use is:

1) Format Data Partition

2) Wipe all Cache, Data and System

3) Install custom rom

4) boot phone

5) once I see its working I reboot

6) install a backup from Orange Fox

7) reboot

8) profit

This time around at 8) I saw all notifications come up and animated background turn on so I know the backup installed well but when I try to pass the sequence screen it says that the pattern is wrong.

As I said I have used this backup quite a few times with different ROMs and it always worked till last night when it locked me out. So I thought it must be ROM related and I tried to restore with PE, EvoX and CleanDroid always with the same result.

I even googled on how to restore the sequence and it says that after 5 wrong attempts I should get the option to restore but that does not work either as after a number of wrong attempts it just locks me out for 30 seconds before I can try again.

So my question is "is there anything I can possibly do to restore a backup or not?"

Forgot to mention that I have 3 other data backups and the problem is the same with all of them which is the main reason I think it must be some glitch in Orange Fox.

Thank you again,