yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
OrangeFox R11.1_2_3_A12 Beta released

I have released OrangeFox 11.1_2_3_A12 Beta.

Changes

:

* Support FBE metadata encryption

NOTES

:

* This is an Android 12 (and higher) only release. Do NOT use with Android 11 or earlier

* Make a FULL backup of your data and internal storage BEFORE flashing this release

* After restoring backups that include encrypted data, and booting to Android, you should reboot the ROM once or twice, using the power button, even if all you see is a blank screen

* This is beta software. Treat it as such

* Report problems in the "OrangeFox Recovery Beta testing" chat on Telegram. You should make a FULL report, and you MUST include the recovery log

Downloads

:

OrangeFox download site: https://orangefox.download/device/violet

FAQ and Guides

: https://wiki.orangefox.tech/en/guides

Donations

:

Support the OrangeFox Project by donating at our OpenCollective page.
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
OrangeFox R11.1 _2 Stable released

I have released OrangeFox R11.1_2 Stable (A12).

Changelog

:

* Support Android 12 and Android 13 encryption

* Update the Magisk addon to v25.2

* Updated kernel

* Support FBE metadata encryption

NOTES:

* This is an Android 12 (and higher) release. Do NOT use with Android 11 or earlier.

* Make a FULL backup of your data and internal storage BEFORE flashing.

* After restoring backups that include encrypted data, and booting to Android, you should reboot the ROM once or twice, using the power button.

Downloads

:

OrangeFox download site: https://orangefox.download/device/violet

FAQ and Guides

: https://wiki.orangefox.tech/en/guides

Donations

:

Support the OrangeFox Project by donating at our OpenCollective page.
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] jasonwang:
which version for Android 10?
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
Which Android 10?
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
OrangeFox R11.1 _4 Stable, with Android 14 support released

I have released OrangeFox R11.1_4 Stable

Changelog

:

* Add support for Android 14 decryption

* Update to the latest upstream commits

* Lots of other enhancements

NOTES:

* This is a release for Android 12/Android 13/Android 14.

* Do NOT use with Android 11 or earlier.

* Do NOT use with MIUI ROMs.

* Always make a FULL backup of your data and internal storage BEFORE flashing.

Downloads

:

OrangeFox download site: https://orangefox.download/device/violet

FAQ and Guides

: https://wiki.orangefox.tech/en/guides

Donations

:

Support the OrangeFox Project by donating at our OpenCollective page.
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] Easwar06:
does the latest version support retrofit dynamic partion?
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
Read the post just above your post.
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] striandi:
Maybe we need wipe vendor function。I fix anxcamera FC by wipe vendor（peter`s twrp) and reinstall recently。
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
No, we don't.
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] Venkatesh Siva:
NICE
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] TheMrBinary:
Does this recovery support encryption like on peter's ?

I'm using xiaomi.eu
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
https://xdaforums.com/showpost.php?p=80351633&postcount=2
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] plesit:
Aroma FM not work
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
Post the logs. I should like to see which version you are running that has Aroma FM in it.
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] newtonc:
I can't install any rom. at first it was encrypted, formatted data (using partition menu), then rebooted to recovery. Copied latest miui eu rom, flashed it, wiped caches, rebooted, it keeps rebooting to recovery.
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
Logs!
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] newtonc:
Help me, how do I get this boot loop logs?
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
Assuming that you have a valid (uncorrupted) MIUI ROM installer, and that your recovery settings are appropriate,

1. Format data

2. Flash MIUI

3. Copy logs (Menu->Copy Log to SD)

4. Post logs
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] plesit:
aroma fm

this is the log
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
Ok, so you are trying to flash an external AromaFM zip. It will not work, as you have discovered. There is a pretty good reason why OrangeFox for violet doesn't include the AromaFM feature - Aroma is not supported on this device. Unfortunately, it will never be supported on violet (and many new high-end Xiaomi devices) unless and until "someone" resurrects the (obsolescent) Aroma project.
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] JZ™:
I wanna flash this recovery..

I'm encrypted

Has magisk

Has PTWRP

Im also on Pixel Experience (pie 9.0)

Steps for flashing Orange Fox please
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
It's all in the OP.
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] hackmonker:
Hey so I tried to flash a custom rom yesterday however it keeps rebooting to recovery. Any suggestions? I can provide log If needed.
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] JZ™:
You need to format data. Flash rom. Then flash fcrypt disabler.
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] namhoang235:
Just flash orange and you are ready to go. Ofcourse you lose encrypt and internal card must backup firstly, it completely formated
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] JZ™:
So after flashing, the storage gets formatted?
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] erlukas:
Unrestorable backup

Yesterday I tried some experiment with other ROM that the one I'm using. So I was a good boy and performed a backup. Experiment went bad so I had to restore the backup but, to my surprise, it failed with a createTarFork() error and code 255 restoring data partition. So I had to perform a clean install for my previous rom and reinstall all software. So be prevented that maybe you can not restore your backups done with this recovery.

I am going to change to another recovery that is capable of doing such a basic task.
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
Of course, that is your prerogative, and I wish you good luck with it. But without any logs, I am unable to comment, other than to state the obvious fact that others have backed up and restored data without any problem, and to point out that error 255 is not a new problem (and neither is it an OrangeFox issue). Hint: run a search on this forum, and/or on Google, and check the TWRP "issues" site.
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] BuGGy:
Will i be able to install aroma_gapps using this recovery?
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] newtonc:
hello, here are the logs, files without a 1 are the logs right after installing the zip, files with 1 are after rebooting

keeps rebooting to recovery, checked md5 and it is ok
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
Does this problem happen when you flash any ROM at all, or only when you flash MIUI 11? I ask because there is a curious entry in the log:

Now, I have seen probably thousands of recovery logs, but this is the first time that I have seen this rescue party trigger. My conclusion is that something went seriously awry with the ROM (seems like possible sepolicy issues).

Your best bet is to report this to the ROM devs. But before doing that, you can try formatting the data partition again (after installing the ROM) to see whether it solves anything.
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] newtonc:
Hello and thanks for the reply. Let me tell you my evolution. I had installed miui eu 9.9.something with peters twrp. Installed your orange recovery, then updated to 9.10.10, it worked A-OK. I saw that the stable version of miui eu had been released, and I wanted to install this.

Because i wanted a fresh system I formated data before installing this miui stable. Installed and this reboot loop happens.

So after your message I tried to go back to 9.10.10, which as I said was working before, and the same reboot loop happens. Here is the log.View attachment 4842317
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] newtonc:
I can confirm that going back to miui eu 9.9.26 works, thank you. Do you have any tips as to what to say to the devs?
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
Obviously, the MIUI 11 ROM did something somewhere that is causing this. The message in the log is basically an "SOS" message from the ROM (to ask the recovery to give the user the option of wiping his data, instead of just having an endless bootloop). The reason for the SOS message is given - something related to sepolicy.

So, the possible solution is to format data again. If that doesn't work, then you might have to flash a fastboot MIUI ROM with the Mi Flash tool in order to restore the device to a known state - just make sure you don't accidentally lock your bootloader again.
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] newtonc:
i went back to 9.9.26 and it works. funny thing is that dirt flashing 9.10.10 worked...
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
I am glad it all works now. But this was a ROM issue. And it is the first time in several years of Android development that I have seen any ROM trigger a Rescue Party.
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] antarix:
i wish you could help me with custom flashing.

not new to flashing but my device stays on a bootloop. nothing works.

only miui flashing works and i have lost all of my data
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
I am not sure how this is a recovery issue. If you follow the installation instructions of your ROM devs, everything should be fine. In any case, what you have just written is of zero assistance in determining what might be the problem, which makes it impossible to help you.
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] erlukas:
Thank you. I already switched to Peter's and it works like a charm (not as fine looking, though) I wish you luck with the project. Maybe I will give it another try sometime .
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
Enjoy. ;) <= click on the emoji on the left - and when you have read that, see this.
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] erlukas:
Thanks for the info. I already read the last post but supposed it has been solved since it is from mid September. Once this is said, I think I will stick with Peter's right now, although I suspect the basic recovery system is the same in both projects. Peter's seems to work for me, at least for the time being.

Please don't get me wrong. I think this is as good a project as any other and people put a lot of effort in it using their free time but at this time it does not suit me and have to use other.

As I said, luck with the project and I expect to return to it soon.
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
You clearly didn't read the second link. The extractTarFork error 255 is a core TWRP problem (ie, it is embedded in any recovery that is based on TWRP sources). It has existed for years, on all sorts of devices, and will likely continue to exist for a long time - until some deep stuff is resolved. By all means continue to use whatever recovery seems to work for you - but if you think that simply changing recovery means that this will not happen again, you are in for a surprise. Basically, it is pot luck whether it does or not. A single file in your data or vendor partition can trigger the error when you are trying to backup, or trying to restore a backup. If I were you, I would not rely solely on a recovery "tar" backup of my data partition. Of course you are free to do as you wish.
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] erlukas:
Yeah, I read it but I did not look the dates. I supossed it was a recent problem. Gald to hear that is a pending problem and that performing a backup with any that is TWRP based is like throwing dice. It will make me think things twice before playing with my phone. Thank you again for your kind help.
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] avik735:
Sounds like you did not know that playing with your phone was dangerous in the first place. Anyhow, it's a wise idea not to put all your eggs in one basket and backup data in as many ways as you can. Just because this issue exists does not mean you will encounter it every time. I myself have experienced it multiple times on Peter's twrp and that's why I switched to orangefox to see if anything changed. Luckily for me, it did, but that's all it was - pure luck, because afterwards I have switched back to Peter's again and that time, did not encounter any problem. It is really a weird hit and miss kind of an issue.
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] ganeshkmr21:
Am encrypted but the TWRP isnt asking for Password and shows encrypted folders.

can someone tell me what what's wrong? Formatting Data partition doesn't fix it.
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] JZ™:
Reflash twrp then bro..
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] ganeshkmr21:
I tried even flashing the stock rom through fastboot. still no success. Dont know what am doing wrong.

The decryption on twrp works fine with MIUI. but when i switch to custom rom. the rom shows encrypted but the twrp doesnt ask for pw.
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
Post the logs.
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] JZ™:
Sad to hear buddy
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] ganeshkmr21:
Here's the log.

It gives the following error in the log when i open TWRP

"E:Error making /sdcard/Fox directory:

Required key not available"
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
The log shows failure in the decryption attempts. This raises a number of questions:

1. Which ROM is this?

2. Does the ROM support wrappedkey encryption?

3. What happened when you rebooted the recovery immediately after formatting data?

4. Does this ROM decrypt correctly with any other recovery?
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
Testing for incremental MIUI OTA updates

Hi all

I have been working on fixing the problems with incremental MIUI OTA updates. I now have it working properly - according to one other tester - but I would like this feature to be tested extensively before making a public release. If you are interested in beta testing this, please let me know.

Please note that this feature is currently in beta (with all the risks that "beta" entails).

Thanks.
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] JZ™:
Thanks buddy. For your efforts. U a good man
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] st4zz:
Ask

This TWRP support installed for MIUI 11.0.4.0 China..??

Please reply and give me step by step for flashing if the custom recovery supported on miui 11 china, because I'm trauma after my Redmi Note 7 Pro hardbrick and now my phone position on the rom miui 11 china after flashing from hardbrick...

thx :)
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] JZ™:
[MENTION=5850987]DarthJabba9[/MENTION] I've flashed the latest Pixel Experience (Android 10) on my device. It flashed flawlessly thnks to OFRP, but when i booted back to recovery the internal storage wont get decrypted...The folder name shows some gibberish like WkbaSPhsjsksnxbgdbzybfn. I wonder why?
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
It is probably a decryption failure. But I need the logs before I can comment further.
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] JZ™:
Here you go bro
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
This doesn't show any problem with decryption. You need to post logs that show the problem.
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] JZ™:
How to do that?
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
https://sourceforge.net/projects/orangefox/files/violet/README.md

How do I take the OrangeFox logs for posting?

There are a variety of ways:

Tap on "Menu->More->Copy Log to SD", and swipe. This will copy the logs to your internal storage ("/sdcard/Fox").

Connect a PC to your device via adb, and run the commands:

adb pull /tmp/recovery.log

[*] adb pull /tmp/dmesg.log
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] JZ™:
Will tryy brother
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] mGforCe:
I can try out. Let me know via PM how to reach ?
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] mGforCe:
I faced similar issue yesterday, detailed here and for me, it was so bad that even after trying all possible options which I could think of, ended with data format :(

Post that tried few ROMs with Orange. The xiaomi.eu MIUI 11 definitely doesny work with OrangeFox. Same issue again even after fresh format using fastboot ROM.

Chinese Beta rom 9.10.17 did work well. Not sure why, for [MENTION=617597]newtonc[/MENTION] even 9.10.10 had issues.

What can be the root cause here?
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
I know nothing about MIUI 11 on violet. But I would have thought that moving to MIUI 11 should normally involve formatting data. That is the only way to ensure that the new ROM is starting with a clean slate, and in a known state (ie, no problematic carry-overs from anything previously done).

In the other thread, you said OrangeFox might have "initated some commands/tweaks to make MIUI boot and that broke something". My question is "some commands/tweaks

like what

?"

PS: the moral of the story is to backup your personal stuff before flashing

any

ROM (indeed, before flashing

anything

). Any number of things can go wrong during even routine flashing. Not having backups is equivalent to playing Russian roulette with your personal data.
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] mGforCe:
Thanks for replying. MIUI 10 to MIUI 11 Stable version is like upgrade. No format data was required using the TWRP.

I don't know else would have shared. I was just asking if something is done like dm-verify etc etc.

Backup was done, via TWRP & otherwise. But my post was not about the same.

The irony is that backup didn't work.. ended with same error extractfork as you shared in this thread earlier.

This was more the reason to try OrangeFox and see if it can work with MIUI 11
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
That means nothing. Even an incremental OTA update can brick a phone.

Dm-Verity should not brick a phone (there is nothing new about dm-verity) - but then with Xiaomi devices anything is possible.

In any case, without logs, anything that is said would be mere speculation. So the first thing is to see all the logs.
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] ne0t:
dm-verify disabler is not needed on xiaomi.eu rom, don't flash it.

I dirty-flashed xiaomi.eu 10 to xiaomi.eu 11 without problem, and i'm using OF recovery.

Backup won't work on data partition if you use dual space / dual apps feature.
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] mGforCe:
MIUI 10 to MIUI 11 worked well for me. The issue was else.

You would have to read my original post here for full background of issue.

PS: I have no dual apps etc
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] :
Thanks for the recovery !

How to wipe vendor ?
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] ne0t:
I'm using xiaomi.eu 11 (upgraded to 11.0.4.0 from 11.0.3.0 under OF) and twrp backup doesn't work since I used dual app, it was working great before I used dual apps, it's still not working now even I've deleted all dual apps app, maybe i need to delete manually these '999' folders.

This is a known issue with twrp backup and it had been like this since more than a year ago and still not fixed yet, it has been mentioned many times in xda forum.

Try read this :

https://xdaforums.com/oneplus-6/how-to/255-error-twrp-backup-restore-999-t3801632/amp/
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
You don't need to wipe it.
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] ashish289:
Whenever I format data or system using this recovery I can't boot into the system after flashing rom.

Only way to boot into system after this is by flashing firmware and ROM from Twrp recovery.

Don't matter if I flash ROM in Twrp and then wipe data using orange fox there is always this problem.
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
Well, you certainly have quite a unique experience then, since others are clearly able to flash ROMs and boot into the system. Without logs, I am afraid I can't comment any further.
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] :
I have the same problem which Ashish mentioned after flashing and rebooting phone boots in recovery even after formatting data internal storage too have to use pitchblack recovery again to boot and use Rom
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] ashish289:
recovery log
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
Thanks - but this long only shows that there was a rescue party trigger and the reason for the trigger (set policy failure). It doesn't show what happened before. What is needed is logs taken immediately after flashing the ROM and just before booting the ROM. This will show everything that happened in the recovery up till that point.
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] ashish289:
This problem do not effect flashing.

Problem occurs when I format the data with orange fox.
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
Same diff. I need to see the logs taken immediately after that event.
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] st4zz:
Working

This TWRP working on my phone with steps:

- Flash via fastboot

- Open TWRP (press vol + and power)

- Re-Flash again the TWRP on recovery OrangeFox

- Install Disable-DM-Verity

- Press back > open Menu > Manage Partition > Data > Format Data

- Reboot system

- Done,, twrp permanent :)

Thank bro, I like this your twrp project :)
[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
OrangeFox R10.0_2 beta 001 released

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

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)

* fixed problem with formatting data

NOTES:

1.

Setting up MIUI OTA

:

- Read point "#2" here - https://xdaforums.com/showpost.php?p=76885728&postcount=3

2.

AOSP-based Android 10 ROMs

(particularly PE):

- there might be a need to format data before decryption works

- the "Disable DM-Verity" box should be unticked before flashing an AOSP-based Android 10 ROM