yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
OrangeFox R10.1_01 Stable released

I have released OrangeFox R10.1_01 Stable for lavender.

Downloads

:

Sourceforge: https://sourceforge.net/projects/orangefox/files/lavender/

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

Changelog (General for R10.1)

: https://wiki.orangefox.tech/en/changelog#orangefox-r101

Device-specific changes

:

- Fixed language translations

- Updated the initd addon to use Anykernel3 (better support for system-as-root devices)

FAQ and Guides

: https://wiki.orangefox.tech/en/guides
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] hamedhd:
Probably the best recovery for lavender

I had a serious problem on flashing new miui with Android 10

All other twrp recoveries was unable to decrypt data but this one works perfectly

I've flashed it via fastboot
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] promiselove:
Deleted
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
Read the instructions and release notes: https://xdaforums.com/redmi-note-7/development/official-orangefox-recovery-project-t3941822
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
Do you understand a word of what you read (if you did read it)?:rolleyes:
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] promiselove:
I know what your think.

6. Encryption is fully supported on lavender. However, there are different protocols for lavender encryption, and some of them are not compatible with each other. If you change from a ROM using one protocol to a ROM using a different one, you will need to format your data, otherwise decryption will be impossible. This is not an OrangeFox issue, so please do not ask us to "fix" it. Basically, lavender encryption is extremely flaky (ie, you should consider it to be deeply broken). So if you want to try different ROMs, then you must be prepared to format your data partition. It is best to do this before flashing the new ROM (after backing up your internal memory, of course).

To my way of thinking those rom are same.

xiaomi.eu_multi_HMNote7_V11.0.4.0.PFGCNXM_v11-9.zip

xiaomi.eu_multi_HMNote7_20.1.9_v11-10.zip

But, it's different right?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] ivanliao:
First is P,second is Q beta.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] ssaikia3:
So I was on AOSIP Quiche. It was all going fine, than I thought of trying Yodita, since everyone is praising and making all kinds of comments about how good the rom is. So I went ahead and wiped my system and the cache partitions, leaving data as is, and flashed Yodita over it. Booted fine. Tried it for a day. And I have to tell you that it performs remarkably well. It was all fine. Than I got bored, as this Rom was not about features and I cannot do without a few of them, and decided to switch back to Quiche. Did follow the same exact above-mentioned process. But this time I faced data encryption and had to wipe everything. Not a big deal for me though, as I keep everything on cloud, hence nothing was lost. But what has happened, left a question in my mind. If both the rom had different encryption method (or whatever), I should've faced encryption the very first time I tried to boot not on the second time.. Any thoughts?

Please mind that this is not a report on anything. Its been bugging me for a few days. So put in your ideas and help your brother sleep ◉‿◉ . Also I understand if you're not interested, as I don't have any log or any kind of supportive data about the strange behaviour.

TL;DR - Dirty flashed Yodita over Quiche -> fine. Dirty flashed Quiche over Yodita ->encrypted. Any idea?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
I think the conclusion is pretty obvious: yodita can handle quiche encryption, but not vice-versa.

And, yes, this is not an OrangeFox issue.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] ssaikia3:
I never said it was. I know the obvious.

This. This I didn't imagine could be an option. I probably will have to dig a little more on this. Thanks for the response.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
If you value your sanity, don't. Lavender encryption is fundamentally broken (probably beyond repair by even Xiaomi). That is why every lavender user who wishes to try different ROMs must be prepared to format data at a moment's notice.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] thunderteaser:
Still weird encryption troubles with MIUI

I am using latest OrangeFox R10.1 and I wanted to upgrade my stock global MIUI 10 to latest MIUI 11.0.4.0, so I downloaded the recovery zip and flashed it in recovery. MIUI OTA is enabled and of course I have set it to keep encryption and dm-verity. So far so good: I booted into MIUI 11, my data was there and accessible, OrangeFox survived, Magisk was kept and everything was fine.

Everything except the rom, which suffered from terrible lags, freezes and crashes (it seems to be a common issue with MIUI 11).

So I wanted to revert to the previous version. I made sure that anti-rollback was fine, so I flashed the MIUI 10 rom through recovery and the OTA BAK process was run once again. So I expected everything to be fine just as when I flashed 11.0.4.0, but at boot it asked for a password (which I don't have, since I have encrypted data with PIN + Fingerprint). Rebooting to recovery also prompted me to decrypt data, but unsuccessfully.

Luckily, I was prepared this time, as I backed up pretty much everything. So I tried restoring my data image backup (encrypted, of course), but it still asked to decrypt with a password. Sad enough, I had to format data.

I know this is not an issue with OrangeFox, but I would like to take some preemptive steps before flashing a ROM once again. The goal would be not to format my data partition.

So, what should I do next time?

1) If I encrypt my ROM with Password + Fingerprint, will the same password work if OrangeFox prompts to decrypt data?

2) Should I disable encryption before flashing a rom?

3) Should I backup a non-encrypted data partition?

BTW I'm pretty happy with OrangeFox, so thumbs up and keep up the good work. :good:
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
See point #9 here - https://xdaforums.com/showpost.php?p=79771468&postcount=2
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] thunderteaser:
Funny how I've read everything *except* that. I didn't need to flash a fastboot image though as a format data was enough to make it work. However, can you answer these questions just in case for whatever reasons it happens again?

1) If I encrypt my ROM with Password + Fingerprint, will the same password work if OrangeFox prompts to decrypt data?

2) Should I disable encryption before flashing a rom?

3) Should I backup a non-encrypted data partition?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
1. If the recovery suddenly starts asking for a password when it never did so before, that is evidence of borked encryption. Only formatting data would recover that situation.

2. I have no idea what you mean. The only way you can "disable encryption" is by formatting data. And the notes are clear about when you would need to format data.

3. You cannot run this device properly while decrypted, so I see no purpose in doing this.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] jhebtio:
In my case its the same encryption. I think thats how it works. I used the same pattern when OS is running and in recovery mode.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] NobodyUser:
How to update orange fox recovery ?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] thunderteaser:
That makes sense. Thank you
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
Flash the zip.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] dkoek:
The possibility of flashing MIU OTA updates. Does that imply the original Chinese MIU version or does it also works with the EN MIU version?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
It applies to any MIUI ROM that receives official OTA updates for itself.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] jhebtio:
Why Twrp and Orange Fox recovery says my device (RN8) is willow after i flash ginko global images.?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
This is OT here. This is a lavender thread.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] kep2008:
Why, when creating a backup, does Persist section show 0 mb?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
Good question. Because it is not mounted at that stage, and it is only ever mounted on a "need to" basis (for obvious reasons). Of course one can mount it and then get the file sizes and then unmount it again ...

Edit

: upon looking closer, it turns out that the "0mb" displayed is due to the sizes being displayed as whole numbers. I have changed the code so that the display will be in decimals.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] kep2008:
If possible add backup persist
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
Huh? You have always been able to do that.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Nobiewhaty:
Thanks For great works!

It's very useful and powerful!
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] beybus:
So after a long battle with flashing magisk that resulted in a bootloop everytime I was only able to boot again after flashing the magiskuninstaller. I decided to flash magisk again, flash dmverityencryption disabler and format data as some users suggested.

Now i'm stuck in a full on bootlop.

I decided to wipe everything and just flash the latest miui11 (11.0.4.0) cause that fixed my problems last time. But this time i'm still stuck in a bootloop after flashing the rom. I also noticed that the persist partition is missing for some reason, not sure if it's supposed to be like this. Luckily the phone still boots to orangefox so hopefully I can fix this.

Any advice guys?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] dkoek:
Read post #2. It's all there

https://xdaforums.com/showpost.php?p=79771468&postcount=2
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] beybus:
Thanks for the answer. Well I flashed the room using miflash, fastbooted the orangefox and everything works but how do I flash magisk 20.3 now to avoid the bootloop I got the first time?

Is flashing lazyflasher no-verity-opt-encrypt and then magisk the way to go?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
This is not an OrangeFox issue. You need to ask the dev for your ROM.

Do not try it - else there will be :crying:
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] tufoz:
how can i disable the data encryption passwor? :(
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] tufoz:
i tried different roms, Derpfest, PE, Evolution X, every single rom after flashing it ask me the data encryption password has to be related to Orangefox recovery..
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
Did you even read the link that I provided?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] bla.tiga:
I want upgrade my orange fox, are they need format data?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] bobfarley:
Hello all and thanks to [MENTION=5850987]DarthJabba9[/MENTION] .

I've installed orangefox, miui.eu and magisk successfully first time but this encryption thing is driving me potty! Here are my steps -

1. Wipe data, cache and dalvik cahe - reboot recovery

2. Format data - reboot recovery

3. Install miui.eu rom - reboot recovery

4. Boot rom, enter a pattern and my rom says it is encrypted

Now when I boot back to recovery I am not asked for a pattern and can see my data making me think it is not encrypted.

I have tried enabling the developer option which forces for the pattern to be entered before the phone is decrypted at boot but I am asked for the wrong passcode/pattern.

I have read the readme, a general orangefox guide and of course DarthJabba9's post 2 and 3 but still have this problem. Disable dm-verity is unticked as well as the disable force encryption. I've tried it without magisk but it makes no difference. I've also tried the process multiple times in different orders, always reboot recovery between steps and always formatting recovery.

The miui.eu and this forum says that this should work. Could anyone help at all?!? - Thank you
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
The recovery will always decrypt automatically unless instructed not to do so. How this instruction is triggered is a ROM issue, so you need to look in your ROM's forums. But here are some quick tips:

1. Read point #11 on post #2, if that is your problem.

2. If that is not your problem, and you want to be prompted for password before the phone boots up anything (ROM or recovery), you have (on MIUI) to encrypt with lockscreen password.

3. The recovery itself has its own password protection feature.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] bobfarley:
I did see point 11. The issue was I would only be promted for a password in recovery if I used the option in developer settings to prompt for a password before boot. Then in recovery it would always be different from the one chosen in the rom. Despite having always formatted data in recovery before rom installation.

Before doing this in developer settings my rom was showing as encrypted under privacy/encryption but I wouldn't be prompted for the code in recovery until changing this developer setting. I'm new to xiaomi phones but I thought this is was the whole point in encryption. I was surprised to have access to my data without putting in my code. There doesn't seem to be much point in encrypting it in the first place if the recovery decrypts it automatically without the password.

I wasn't sure if this was the intended behaviour of the recovery.

I did see that you can use a seperate password in recovery though so this is perhaps a workaround. Again the installation was a breeze though up until this point.

Thank you very much for your hard work.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Mandrakerj:
DarthJabba9

I'm in doubt

What is the correct Backup to perform on my Redmi Note 7 that works and allows restoration?

Because there are two pieces of information and I don't know which one would work for me on Orange Fox.

What would be the correct way below?

- Boot

- System

- Vendor

Or is this another way?

- Boot

- System_Image

- Vendor_image

- Data

- Internal storage

I need a backup of my entire system in TWRP. Before I got it on Android 5 and 6.

But I tried to perform a Full Backup on Orange Fox and checked all options.

When I tried to Restore, Orange Fox was frozen a little more than half of the Backup and therefore I was unable to restore the backup.

I need a correct way to guarantee me a full backup and don't miss anything.

And that mainly allows to restore later.

Would you help me??
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
You are effectively asking me to re-interpret a message which, in my view, needs no interpretation at all. I think I made myself clear enough the first time, and I stated clearly what in my opinion is "the

safest option

". You need to read that post again.

As far as phone backups are concerned, there can be no guarantees.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] hyborian:
He already gave you the answer, read the link he posted. It is clear as day in the link, with the words "safest option"
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Mandrakerj:
I have my Booloader unlocked

I have the latest Rom Xiaomi.eu beta (Q) installed.

And if I want to go back to Rom Stock, can I install directly from Orange Fox?

Is there any risk of Blocking my Redmi Note 7?

My Bootloader is unlocked and I have Root.

Thanks a lot for the help!
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
https://wiki.orangefox.tech/en/guides
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Truvor:
Is there any way to backup directly on PC with OrangeFox Recovery?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
If you are referring to a nandroid backup, the answer is "No". Of course you can always copy files manually, with MTP or via adb.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] tonriel:
at the time of flashing Xiaomi.Eu on my RN7 I get an EOL verification and after that the Recovery restarts and I am left in nothing, it gives me errors. I walk in OrangeFox 10.1 stable
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] vlouis:
Directly to PC no, if you want to save to external device, can try to USB-storage (otg cable - I never tried).
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
Sorry, but I have no idea what you mean. And I also need to see the logs.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] matthias1976:
USB OTG works fine :good:
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Tatoh:
Hi all, I was flashing Xiaomi.eu back from a week of testing some ROMs. In the middle of it, the device restarted while I was away. Now I can't mount system nor cache and I can't touche almost any option without restarting the recovery. I'm downloading a fastboot ROM to try to flash with the tool. I'll read any suggestions at this point. Thanks in advance.

PD: Can't move the logs away from the device sadly.

EDIT: Solved, just flashed fastboot ROM. Gonna start over.

EDIT2: Damn I have to wait to unlock the bootloader again... :eternalsadness:
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
The first thing to do with any fastboot ROM after extracting the tgz archive is to delete every batch file or script that has "lock" in its name. This is the best way to guarantee that you cannot accidentally re-lock your bootloader.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Khan69:
I can't download the file

can someone upload the file to like google drive or something ? I cannot download the file for some reason
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Gueztar:
Re-unlock doesn't required to wait. You can just unlock it again and again with the same account and same device. I was in your case, sometimes. No need to wait.

There will be a waiting time, if :

- you have new device

- you log in with new mi account
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Tatoh:
Yes, I was kinda obfuscated at the moment and just flash it, for some reason my phone does not like USB3 and couldn't unlock it, then I use an older pc a just worked. The OFOX started to behave strangely so I just downgrade a version and now works fine. Sorry for the disturbance.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
I have no idea what this means. The latest version is the most stable version - and downgrading would do no good.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Tatoh:
Firstly started to reboot in almost all the options I tap, then I couldn't flash anything. I tried to flash Xiaomi.eu and it just rebooted in the middle of it. Sadly, as I said before I couldn't get the logs if I can replicate the problem I'll get them.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
Well, I think there's something else going on with your phone. The behaviour that you have just described is one that I have never seen before.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Karthik Vinayan:
Is there any way I can backup directly to my PC and restore back

With the internal storage included and with the bare minimum it comes up more than the size of my sdcard( 16GB). I am backing up internal just in case as I was thinking of flashing a very buggy build
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] matthias1976:
is there a way extract only a single file from ofox backup ?

On pc maybe. ?

With 7zip i can look in file but can't open or unzip
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
File-based backups are simple tar archives. If you are dealing with a single archive backup, you should be able to extract it with the GNU tar utility. It might require a bit of faffing around, and, if it is compressed, you will need to pass it through gzip.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] matthias1976:
its FDE Backup
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
I have no idea what that means.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] matthias1976:
Ok
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Aaagogo:
can someone point me in the direction to the resources to learn to write a batch file to execute in OrangeFox Recovery;

i would like to automate a series of steps that i do whenever there is a rom update;

i will reboot into OrangeFox Recovery, mount "system" and proceed to manually delete certain *.apk folders in /system/app and /system/priv-app which i do not use and consider them bloatware.

thanks
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
Search Google for linux shell scripting.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Aaagogo:
i am trying to download

https://files.orangefox.tech/OrangeFox-Stable/lavender/OrangeFox-R10.1_01-Stable-lavender.zip

and the link shows 404 file not found.
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
That problem has already been fixed ...
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] Beast14:
Um no it doesnt seem like its fixed, because im getting the same issue right now. Please fix?
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] DarthJabba9:
It came back :( (server issues). MrYacha is looking into it...

In any case, there is another download directory - https://sourceforge.net/projects/orangefox/files/lavender/
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] moham_96:
Hi,

I'm trying to flash this using fastboot, I extracted the recovery.img from the zip and ran:

fastboot flash recovery recovery.img

but if i boot into recovery I still get the xiaomi recovery, it also leads to unbootable device because it asks for a password on boot

I haven't setup any password so I can't get into the phone and I have to format the userdata partition from fastboot to be able to boot to system again.

I also tried to erase the recovery partition before flashing

fastboot erase recovery

but it didn't help,

booting the image directly also doesn't work

fastboot boot recovery.img
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] NegilisticBluesman:
I had the same issue, check if your bootloader is unlocked and the name of the recovery image. In my case i just tried another image.

---------- Post added at 11:24 AM ---------- Previous post was at 11:14 AM ----------

Try this one https://4pda.ru/pages/go/?u=https:/...geFox-R10.1_01-Stable-lavender.zip&e=83626345

---------- Post added at 11:27 AM ---------- Previous post was at 11:24 AM ----------

Also you can try to flash through twrp recovery if it is flashable

---------- Post added at 11:29 AM ---------- Previous post was at 11:27 AM ----------

https://4pda.ru/forum/index.php?showtopic=946312&view=findpost&p=85953626

There is russian language, use translater:o
[Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O] moham_96:
My bootloader is unlocked using xiaomi official tool, this is the output of "fastboot oem device-info"

(bootloader) Verity mode: true
(bootloader) Device unlocked: true
(bootloader) Device critical unlocked: true
(bootloader) Charger screen enabled: false
OKAY [ 0.001s]
Finished. Total time: 0.001s

Can you run the command above on your phone and post the output to see if there is any difference ?

Regarding the orangefox recovery you linked i tried it and it gives the same results, TWRP is also broken for me.

This is very frustrating :mad::mad: