yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] aparty:
Well, thank you so much.

Could you now explain me something about encryption?

I read:

I am using OrangeFox, and now when I set a password or PIN in my ROM, they are rejected as being wrong

You will get this behaviour if you are using Lavender, and your device is not encrypted. This is the result of bugs in Lavender, which means that, if the device is not encrypted, then passwords/PIN/fingerprint will not work. The only solution at the moment is to encrypt your device. This is not an OrangeFox issue (so, please do not ask OrangeFox developers any questions about it). It is also not a ROM issue. It is a Xiaomi bug in Lavender.

more:

I am using OrangeFox, and I am being asked for a password (or PIN). But I have not set a password (or PIN)

If your device has FBE encryption and you have set up a password/PIN in the ROM (or if it has FDE encryption, and you enabled Secure Startup in the ROM) then you will be asked for a password (or PIN, or whatever) - just supply the ROM's password/PIN.

If you did none of the above, then this is usually a sign of broken encryption (you may have flashed a ROM which has different encryption protocols from the ROM that you had before, or you may have flashed a firmware zip which uses an incompatible keymaster module - or whatever other reason). If this is the case, then you will need to format your data partition (which will also wipe all the contents of your internal storage). If you have no backups, then that would be most unfortunate.

I have no encryption now. I have no secure startup.

I use only the lock screen with sign.

I don't understand what I have to expect in my case. Could you explain me better, thanks?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] iPAQ 6515a User:
[MENTION=5850987]DarthJabba9[/MENTION]

Hey,

Again thanks for this great recovery. I have two questions and hopefully you will be able to answer them both.

1. Is there a way to use openrecovertscript to unlock automatically the password locked recovery? I would like to use Tasker to automatically do the nand backup while asleep, however the script pauses on password fox screen. Any suggestions, and yes I know I can remove the password to fox recovery.

2. It is more informative than anything else. As you know I tried your latest fox for Android 10 with miui pie with no problems (miui 10), I also updated to miui 11 and still no probs, although miui 11 on my phone is still pie. As you clearly stated that the latest recovery is for Android 10, well I went back to the previous version of your recovery (to play it 100% safe). The thing is that in your description you said it was only for Android 10, but also mentioned miui 11 (on most phones it is Android Q, but not all).

So here is my question..... Your compatibility is based on Android 10 or miui 11 (no matter what system)?

Like I said I know it works fine as I was the rabbit. But would love to know for sure the answer to clear any doubts out there (and learn)

TIA
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
No.

Android 10.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Dheeraj Menon:
He seems to have switched from an FDE to FBE ROM which means he will have to format data again as far as I know

---------- Post added at 08:17 AM ---------- Previous post was at 08:12 AM ----------

As far I know Aosp ROMs based on Android 10 are supported but Miui 11 ROMs based on Android 10 are not supported [MENTION=5850987]DarthJabba9[/MENTION] Correct me if I'm wrong here
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
Correct.

Wrong! :eek: Where did you get this idea? The latest Stable release supports all Android 10 ROMs, MIUI or AOSP.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Dheeraj Menon:
Thank you for the clarification sir
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
Np ...
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] loziogiulio:
Hi guys,

i'm in big trouble.

I restore a backup with OF and now the android password (pattern) is wrong, but it cannot be, beacause it's absolutly correct!

Please help me! Do you have some suggestions about it?

Many, many thanks!

Giuliano
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
Point #6 here - https://xdaforums.com/showpost.php?p=79771469&postcount=3

In fact, you would do well to read very carefully the entire post.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] hejbabi:
Tried several different roms (both stable and beta xiaomi EU roms), formating data and doing a clean install and every time I try to boot into recovery afterwards it asks for my password and when I enter it it says the partition can't mount. It did not do this for me before but once I went from beta to stable a couple of months ago this started to happen. I was not pleased with the stablen rom for other reasons so I went back and thought this problem would solve aswell but it did not. Any advice?

PS thank you for this awesome recovery it has been a lifesaver! :)
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Tatoh:
When you format a partition, you should reboot to the recovery a then just start flashing things, just to be sure.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] sirefra:
problem

after flashed the recovery everytime i boot the phone it turns into recovery? What's the problem? I cannot go on system
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Tatoh:
It usually boots to recovery if you don't install any rom.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] ahadrox:
I'm on MIUI Global 11.0.5.0 PFGMIXM (Android 9). After unlocking the bootloader, I want to flash MIUI 12 closed Chinese beta (Android 10) ROM. So which recovery version should I flash ? R10.1_02 or R10.1_01 ?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] olddos1997:
The former.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Psicovirus:
I have orange fox latest and latest firmware, I'm currently on 4.20, when I try to flash 4.20.1 it gives me error 7, any ideas?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
https://www.google.com/search?source=hp&ei=bt2nXp7cDJCPlwSrn6LgAQ&q=TWRP+error+7&oq=TWRP+error+7
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Toreeulus:
When I tried to restore my data and internal storage it appears this message: "extracttarfork() process ended with error=255". Does my data lost forever or is there a way to save them?

----EDIT----

Even though one of the moderators was very rude to me, they provided me with a solution. Export the backup files on your pc, rename all .win000 files to .tar and extract them. You will find all your data
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Toreeulus:
Go inside the zip file and search the updater-script (you can find it on META-INF-> Google->Android), open it like a txt file and delete everything in asserts' voice. If you still have problems, delete everything before ui_print ("- ");
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] vlouis:
This "latest firmware" is Pie stable or android 10 beta? I had same issue with android 10 beta firmware. Flash the stable Pie firmware, reboot to recovery and try to flash the rom.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Angel Pach:
Kernel Problem Lavender

Hi, any way to evite latest ofox install his own kernel, is breaking miui 11 Q wifi and in aosp ROM every time i change kernel, the ofox one still after reboot
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
I have no idea what you are talking about. You may wish to post logs that show the problem.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] sohamsen:
I think he want to tell that for some people ofox installs a ofox-genome-caf-q kernel , sort like that,

As he is on MIUI Q, if ofox replaces stock kernel with that, it will break WiFi and cam ,I think that's what happening with him
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
Thanks. However, I still don't get it. There is no reason why OrangeFox would replace a ROM's kernel (which resides in the device's boot partition). The recovery partition is normally quite different from the boot partition, and OrangeFox is only installed to the recovery partition (except perhaps for A/B devices - which lavender is not). The installation script is public, and anyone can examine it. With more than 70 devices from many different manufacturers officially supported, if this was an issue, then everybody on every device should experience it. I certainly have not, and neither has anyone on the OrangeFox team, and neither have thousands and thousands of OrangeFox users, on all sorts of devices, running all sorts of ROMs, including MIUI.

Could it possibly happen? I really fail to see how a script that flashes a recovery to the recovery partition could possibly touch the boot partition. But if it ever happens (and of course anything is possible in theory - including the sun falling down on our heads), then something would already have previously gone seriously awry on the device, long before OrangeFox was installed (eg, corrupt partition tables, cross-contamination of the boot and recovery partitions, disk errors/corruption, etc) - and, I would certainly need to see the logs of the OrangeFox installation process, to see what part (if any) was played by the OrangeFox installer.

This is really just a long-winded way of saying what has always been emphasised to anyone wishing to report a problem - "POST THE LOGS!!!". One log is better than 10,000 words ...
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] sohamsen:
Yes you are absolutely right! Never happened to me either ,
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
Let's wait until the logs are posted ...
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] rscm:
I just wiped /system and lost all internal storage, is that normal? For me isn't, mostly because there is an option to select internal storage when you wipe and that one wasn't selected

I lost a backup I made and some files I can recover... mostly will lose time recovering stuff, but if for some reason had important files that could be a disaster.

Orange Fox R10.1_02 / Stable

TWRP 3.3.1
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] vkmcondor:
Dude always have off device backup, in a hdd or pc
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
No. And I have never heard of something like that happening. And you should never wipe system anyway.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] rscm:
I have other backups... that's not the point

---------- Post added at 07:47 PM ---------- Previous post was at 07:38 PM ----------

Well it just happened

Wiped:

Dalvik

Cache

System

all gone, even the Fox dir so I can't reinstall Magisk w/o reflashing OrangeFox

-

About should I have to do it?, That's not the point

I had the option to choose *Internal storage but I didn't

Is like formatting all the mount points where the system (POSIX) is (/boot, /, etc) but your home (/home) mount point and after that... all /home is also lost... and you say... wtf I never choose /home? what happened?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
You are the only one who knows, because you are the only one who was there. With no logs, anything that anyone else says would be mere speculation. What I do know is this - I have never heard of a situation where just wiping system has resulted in the internal storage being erased. There is simply no connection between the two partitions.

So you asked the question - "is that normal?" No, it is

very

far from normal, and, as far as things, go, it is virtually impossible. Wiping internal storage can only happen when you format data, or wipe internal storage manually, or flash a ROM which encrypts the storage when it first boots up. Beyond that, I can say no more.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] rscm:
then from your last answer I can say was my fault

because I formated /data, and assumed wrong about won't touch the internal storage

thanks for the answer, again was my fault I should rtfm
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
A crucial fact that was somehow omitted from the combative narrative ...
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] yrkael01:
I just need to flash another firmware and I'm on crdroid

Is it risky ?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] vlouis:
Flashing anything it's more or less risky. If you need, flash latest stable firmware.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] a9u5_h:
Last time i was on miui eu rom and then im moving to flash the pe rom, in the recovery i did format the data partition and wipe the cache dalvik data etc, then when i flash the pe rom its failed because no digest file found or something, and when i try to install another rom its keep failed with no digest file found now and force me to install fastboot rom. Im on the latest orange fox btw when i try to flash the pe rom
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] hyborian:
A minor question .. In TWRP, when I am looking at files on the external SD card, and I reboot back to system, and back to recovery, TWRP remembers the directory I was in before I rebooted to system.

In OF, I am always by default in the internal SD card when I look at files for example. I don't know if there is a way to make it remember, I can't seem to figure it out.

Thanks
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
https://wiki.orangefox.tech/en/guides/report
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
It can't be done.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] zpower:
Hello ?

It's possible to make backup of data and internal storage using adb command to pc?

My data and internal storage it's to big to fit in my 16GB SD card.

I know I know... (buy a bigger SD card or otg adapter)
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
For data, you can try "adb backup --twrp ...".

The backup command is deprecated in adb, so whether it will work or not is another matter. You can read this for details - https://twrp.me/faq/openrecoveryscript.html
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] lnski:
I am using the TWRP and planning to use OrangeFox, will my data erase?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] olddos1997:
Nope. Just flash away.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] prank4real:
i have a small (maybe great doubt).

first time flashing my cellphone so....

1 - i sucessfully unlocked my bootloader (checked it via commandprompt)

2 - install adb and fastload

3 - i installed unofficial twrp

4 - tried to boot in recoverymode and instead of twrp i always boot in redmi recovery mode.

so after a few research i learned about fox recovery which seems way way better...

so what i need to understand is if this is what i need to do to install evolution x (or miui.eu still dont know) in my cellphone

1 - unlock bootlader (check)

2 - install adb/fastload (check)

3 - install orangefox (via adb)

now the doubt...

boot into recovery orangefox or copy the rom to the device????

thats where i am stuck (still need to install fox but not gonna try it until someone tells me how to do it)

thx guys
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Tatoh:
You should boot into the recovery first because if you don't it will get replaced with the stock one.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] prank4real:
so i should install fox, boot into recovery fox (i shut down cellphone and log with they keys pressed?) and then load the normal OS, copy the rom to the drive log agian in fox format and install... thats it?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] whalesplaho:
after unlocking Bootloader, you fastboot twrp or orangefox your choice. make sure yhu copy tha rom to flash on your memory card cos if yhu copy into internal memory it will get deleted when yhu formatting data.

what fastboot code did yhu use to flash twrp?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] prank4real:
fastboot flash recovery twrp.img

fastboot boot twrp.img

but i rebooted it didnt enter twrp

when u say copy to internal memory ur saying to a sd card or some partition on the cellphone? cause i dont have a sd card
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Tatoh:
Yes, push the buttons to go directly to the recovery you installed, then do the flashing procedure. If you fail to do this, just flash ofox again and boot directly to it.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Bananabill0002:
Hi to everyone, I had problem with decryption in the past . Now I can use recovery/root/os properly but tin orange fox instead of my storage there are some file with strange names like"hsveushdkdkidvshdjdk". How could I solve?

Inviato dal mio Redmi Note 7 utilizzando Tapatalk
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] prank4real:
understood... only doubt is where to put the rom, like i said i dont have a sd card... do i conect the cellphone to pc and put on the drive taht appears

?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] whalesplaho:
tha fastboot boot might not work.... yhu can just use fastboot reboot den hold on volume+ while rebooting to boot into recovery..... i mean sd card cos when yhu format data, it will wipe all internal memory contents.

---------- Post added at 04:49 PM ---------- Previous post was at 04:47 PM ----------

yeah, it will work too....
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] prank4real:
now i installed orange, and rebooting in recovery mode it asks for a password :(

i am so lost
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Tatoh:
If ofox is asking for a password, you just need to format data.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] prank4real:
no instead of booting into fox it boots into a blackscreen which says "to start the android insert the password"

and only let me do emergency calls... it doesnt boot into recovery and dont boot into android either... i think i broke my phone
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
No, you didn't. All that you need to do is to format your data partition. You do this from recovery. Bootup OrangeFox. If it asks for a password, just press the back key, and then go to Menu->Manage Partitions->Data->Format Data. Type "yes", and swipe to format. Then go to the Reboot menu and select System. This will boot up your ROM. It will take several minutes. After it boots up, then you can setup your system again.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
Format data.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] prank4real:
it goes straight here... i was able to load factory recovery and wipe my phone reinstalling factory android.... unable to load orange fox
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] kingfared:
You can try pulling the internal storage with "adb pull /sdcard ." and have it restored after with "adb push /sdcard/* /sdcard/" commands.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] s@ilor:
Hello :)

Understand if i got error 255 while creating data backup, there is no way to fix it, right? Pixel Experience and OrangeFox latest both.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] s@ilor:
I think i found workable solution making backup of data. In my case the rest partitions except data are backing up just fine. So i used old style Titanium Backup for most important apps and settings, just backup them all in internal storage. And with OrangeFox made test backup/restore of entire internal storage and finally restore data with Titanium. Yes, it's a longway, but workable.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
https://wiki.orangefox.tech/en/guides/backups
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Yaroslavv12:
Как сделать что бы чекбокс "не шыфровать Data" ставился автоматически ?

How to make the “not polish Data” checkbox set automatically?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] s@ilor:
Thanks for pointing to good reading. Now i have other issue. After checking log for nature of "error 255", it seemed to be problem with /data/tombstone files. I deleted those files manually, and tried to make backup data partition once again. OrangeFox did not return "error 255". This time It just did nothing. I was waiting for about 15 minutes and cancelled backup. Other partitions backing up fine. So, perhaps i have to give up and enjoy only flashing tool capability.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
I have never heard of /data/tombstones causing a problem with backups (but there is always a first time for everything!). That directory just contains debug logs. Something is probably broken elsewhere in your ROM. You should post your recovery log.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] s@ilor:
Good day,

I'm trying now to reproduce my issue, choosing backup of data + system. Now it again ends with "error 255". Here's screenshot of what files were created. And i cannot post log here, forum app does not allow to do so.

Thanks anyway, appreciate your help.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
1. If you can't post the the log here, then you need to put it somewhere where it can be accessed (eg, pastebin). I really can't comment without logs.

2. I have no idea why you are choosing to backup system, contrary to the advice in the documentation.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] sindhu123456:
hello, so im using xiaomi redmi note 5 pro, then i install orangefox and disable dm veriety, after i install it and it cause bootloop, how to fix it without losing my data ? someone please help me :(
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Tatoh:
Your first move should be going to the right forum, this is for redmi note 7.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] sindhu123456:
help me please :(

i don't know i'm new here just a moment ago, i just hoping the developers help me with this bootloop after installing orangefox + disable dm veriety
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] olddos1997:
Enable DM Verity?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
Wrong thread. This thread is for lavender.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Tatoh:
Every phone is different, you should not try things for other phones even if they have the same soc. You risk bricking it.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] sindhu123456:
is that work?

i haven't try it because i bring my phone to service center, they said if the hard reset work the twrp will stay in my phone, and after that they said it can't be flash or hard reset, they told me to go to IC MSC

and i went to other service center because i don't know where is the IC MSC, and they said they will work on it and my phone is still there for 3 days

i saw other people have same problem as me but there is no solution that i found
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
Can we please not discuss another device here? This thread is for lavender discussions only. Thanks.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] MrCego:
How to flash New TWRP Oficial from OrangeFox? Or isn't needed?

Enviado desde mi Redmi Note 7 mediante Tapatalk
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] mohitrowdy:
Simply flash as recovery img
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] jackk9:
Hi, just a simple question. I'm actually on LineageOS official. I was wondering whether there would be a way to use OTA with ofox. Does anyone knows anything?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
There hasn't been any problem with other devices, so I don't expect a problem with lavender. But that depends on Lineage and how they have set up their OTA for this device. Why not just try and see?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] dedavlade:
It works fine. Just download the OTA and apply it the updater app, ofox will take care of the rest.

I am on Lineage official too and I haven't had any issues with OTAs using orangefox.