yashsingh1/xdaforums huggingface dataset:
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] bancelin:
Big thanks Joey !

Now that I'm unencrypted do I have to flash DFE after every update or can I OTA update ?

I have the answer on the post bellow sorry ...
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] surubutna:
Thanks for the reply.

The thing is I was encrypted (and am)
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] joeyhuab:
Yes. You can use Orangefox recovery as it has its own auto-DFE flasher feature if you don't want to flash the DFE zip each time after the ROM.

From what update did you come from? The June 13 one or from older builds? The changelog from the OTA app explains the necessary things in the NOTES. Try removing any magisk modules for now, and don't forget to BACKUP EVERYTHING to a flash drive or hard drive in a PC/laptop.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] bancelin:
Can I flash OrangeFox wtith mauronofrio twrp ?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] joeyhuab:
Yes. Use Naveen's OFox that I posted a few pages back.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] bancelin:
Merci Joey !

PBRP ?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] bancelin:
error sorry you can delete ...
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] surubutna:
June 13.

Since the phone is stuck on the boot logo, any chance you could comment here those notes?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] joeyhuab:
Yes.

It should flash just fine. Try to wipe cache first? If not, go back to the June 13 build, backup everything, flash the new one, restore in your recovery.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] nerzwerk:
@joeyhuab You mean same device tree like the june 13 Update (which i had problems with so reverted back) or the old one (9.6)?

Btw. I think you don't have to apologize that often. It's a Rom and people updating a Rom without taking a Backup they only have themselves to blame.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Simo1499:
just updated over last build,i lost magisk and can't install it,in recovert it just shows FOX folder (so i have to do wipe data i guess but i dont want to wipe everything again,especially because i already did it last time with the previous update)any suggestion?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Ubriacone:
I don't see anymore "full screen display" option in settings!
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] gps3dx:
Wish to report a bug with latest rom ver (happened with previous rom ver as well).

Can anyone please test it and report back if it reproduces ?

When "Night light" is enabled -> changing screen brightness disables "night light" overlayer affect.

note:

1. "DC Dimming" is enabled.

2. it doesn't matter how you change brightness, i.e. using "brightness control" or QS slider.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] BLacklion17:
hello @joeyhuab . Any chance to add the volume panel found in CherishOs rom?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] aravindm17:
using orange fox , after flashing getting error message " unable to unpack boot image "

Now phone is stuck on the boot logo . Tried uninstalling magisk . Still same
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] joeyhuab:
Dc Dimming breaks Night Light support. Turn it off when using Night Light.

No.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] bancelin:
I must instal DM-Verity in PBRP ? Or nothing to do for DFE ?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] vishvanjay:
Thank you for the updates. I have a habit of backing up my all data in Google Drive before doing anything to my OS .This Habit saved me from last update. So remember people ALWAYS Backup.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] nabil427:
@joeyhuab pls an A11 rom with same battery life as September 25th A10 build so I migrate to A11. Thanks ❤️❤️
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] masterkai:
Evox build date?, Magisk Version? unencrypted or not? Did you previously flash any screen overclock mod?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] bancelin:
All is fine for me with the last build !

Flash PBRP too and all ok !

Merci Beaucoup Joey !!!
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] jhedzkie:
Yeah. Should have learned. OTA bootlooped my device again. :v

EDIT:

I tried reflashing the last OTA that worked. Still bootloop. Used OFox/PBRP still the same. Any tips?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] masterkai:
Dfe?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] jhedzkie:
Just did. Still bootlooped.

Also tried flasing fresh/system wipe. No luck.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] bancelin:
crypted or unencrypted ?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] jhedzkie:
Unencrypted.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] bancelin:
I flash last update via PBRP all works fine ...
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] jhedzkie:
Yeah. Mine won't and not sure why. I might have to go last resort and use the xiaomi tool to flash full clean rom.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] masterkai:
Did you formatted to f2fs?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] allansrcx:
Hi! Guys, I got lost recovery "TWRP" after installing last build (the one before 20210621),

so I cannot get even O'Fox recevery as permanent anymore just get to fastboot screen.

How could I restore a O'Fox or TWRP as default again?

thx
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Ziomal_1313:
Installed. Everything works is great. Good job. Do you have any idea that the seconds work on aod? As I have connected the charger work normally. When I disconnect the charge it jumps after a few seconds, sometimes it will stop for longer. This issue also works on other roms. So the problem does not occur in the system and in the clock. I would just add that the lock screen is also ok.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] nerzwerk:
flash recovery over fastboot (google it and you will find tutorials).

Sadly for me the new tree doesn't seems to work. The new orangefox creat a bootloop, dfe doesn't change anything and so on...I'm really sad. 2 Years of using and now nothing work. Think I have to stay on the version from 9.6, too bad, but till then this was the best Rom I ever used.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] allansrcx:
done, fashed and updated to newest and went fine!
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] masterkai:
Flash orangefox or pbrp zip

reboot to recovery

Flash dfe

Format data (Click Yes)

reboot to recovery

wipe system, data ,cache

Flash Rom

Flash Dfe

Works 100%
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] nerzwerk:
Good explanation thanks, this will help some people I think. I will stay on 9.6 because of DFE. For me safety is more important then what the new device tree could improve. Only a personal preference. And I think without DFE you can't use EvoX anymore.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] robypeach:
Hello, same happened here.

Flash again TWRP recovery through fastboot and immediately flash it again (TWRP started just once), or if it doesn't work, restore an old backup recovery partition.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Kamkol:
Well, i liked this rom but as long as encription doesnt work this is a no go for me. This was BEST rom until recent update. rip
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] TomVenom:
Well, I must admit and resign myself. It was absolutely the most fabulous ROM ever installed on any smartphone.

But now, after having lost everything since previous OTA update, and now again my phone is unusable since this last recent OTA update.

Too much.

Sadly.

RIP.

Moving to another thread and rom.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] loserrahul:
no demand but this rom with miui vendor was legendary
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] suisujin2:
I flashed the new version via TWRP and of course something went wrong. It stuck at the Mi logo while booting. Since it was often recommended here I flashed DFE via sideload because TWRP couldn't read /sdcard. It did not help. I went the hard way and did a full wipe and format data. Now TWRP could read /sdcard again but failed to restore my backup. I flashed this ROM again and eventually got it working but now TWRP cannot read my data again. I can see all files except /sdcard. It's just empty. There are no directories with gibberish names like I had in the past when the device could not decrypt my data. Under android settings it says that my device is encrypted but TWRP doesn't ask me for a code.

Long story short, the ROM boots normally but TWRP don't ask for a password to decrypt and /sdcard is just empty. So I cannot flash anything via TWRP.

Should I flash TWRP again? Or should I take other measures to fully encrypt my device and make TWRP working again correctly?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] masterkai:
Just format data, reboot to recovery , your twrp will again read your sd card and after that follow these steps:

Those Gibberish words means your system is not unencrypted & cannot decrypt data. And you can't recover that data unfortunately.

[Note: If anyone ever "Format Data" always reboot to recovery before flashing anything]
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] suisujin2:
Thanks for responding.

Currently I have not any weird file names but I just can't access /sdcard. This is not the end of the world because I've a backup of my data.

Can I encrypt my data again by just format data, reboot into recovery and wipe system/data/cache without flashing DFE?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] masterkai:
Don't do that in 13.6 & latest update or your phone will get into bootloop [ You need to be unencrypted] . But yes you can do that in previous update 9.6.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] suisujin2:
Now I understand the problem with the new version.

I think for me it is time to try LOS 18.1 when I must format data anyway.

Again, thanks for helping.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Kromasm:
♪ all my troubles seemed so far away ♫ when I have setup OrangeFox recovery !

Releases · naveenjohnsonv/android_device_xiaomi_raphael-ofox

Contribute to naveenjohnsonv/android_device_xiaomi_raphael-ofox development by creating an account on GitHub.

github.com

My phone is encrypted for those who ask.

Thank you for the great ROM btw ! :-)
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] bancelin:
Is there a way to have auto Switch data sim card ?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] masterkai:
Yes In Qs panel.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] allansrcx:
Hi! something wrong happen to me.

as I asked before, I did get error with missing recovery on my device, and by

flashing fabric fastboot rom > flashing O'Fox > Flashing lastest rom gone ok.

But i tried reboot the phone using "advanced options" and then the phone go to fastboot logo, no recovery, no boot...

I repeat the previews steps > flash stock> recovery > evo ... its ok, but even when i use advanced menu it stucks on fastboot :(
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] allansrcx:
now for this last try i got `for /F "tokens=2 delims=: " %i in ('fastboot getvar anti 2>&1 | findstr /r /c:"anti:"') do (set version=%i )`
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] bancelin:
Thank you ,yes I use it but nothing automatic ?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] bestestusername:
Is the latest release safe to update without doing anything extra? Just flash on TWRP?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] masterkai:
use this twrp
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] bestestusername:
That isn't twrp
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] bestestusername:
You just flashed OrangeFox, then updated through OTA, no other special requirements?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Sabyerrr:
Hi, I want to ask some things before applying the latest OTA update.

1. Do I need to flash the DFE zip again even though my phone's encryption status is ENCRYPTED?

2. What do I do to prevent the formatting of my internal storage data upon applying the OTA update?

I hope I get clear responses, thanks!
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] TheAmazingLovro:
Im not sure for number 2 but I always flash dfe even tho Im unencrypted. And if you are unencrypted I would recommend you update with recovery, so you go to recovery and you can but dont need to wipe dalvik cache and cache, then flash rom and dfe then reboot.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] 3lei:
Hi. for me yes. i didn't flash DFE and i lost my dat again. i did full wipe last time.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] bancelin:
Instal PitchBlackRecoveryProject before applying OTA update
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] dev-DaT:
just a warning for everyone that wants to update to latest update and is coming from march 2021 update or earlier. don't flash, will result in soft brick.

Edit:

I should have read a few pages back in the thread, this is known problem apparently... RIP ROM.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] masterkai:
Well pitch black recovery and orange fox recovery is based on twrp while adding some additional features and modifications.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] K285490:
Is there any way to install the Mi 9T Pro MIUI 12 camera app on that ROM? I tried different camera apps and none of them is even close to the stock one from MIUI 12.

Thanks!
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] MI 9t user:
Hey I just flashed evolution x on my k20 pro.

But I'm not able to connect to internet through mobile data.

Everytime I have to turn on the aeroplane mode then the mobile dat works, that to only for a minute or two.

Please help.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Kursem:
hello, did you manage to fix this? it happened to me too, and I could only boot to recovery using adb command.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] masterkai:
Check your apn, See if you are in roaming or not and select your network type to global.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] masterkai:
Do you flash this ROM via adb?

This problem shows that the ROM you are flashing has lower ARB version i.e. 1

while the ROM you currently have installed has version 2. Check your version-

[Reboot device into fasboot mode, connect to pc, open command prompt and type "fastboot getvar anti" and see the ARB version]
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] MI 9t user:
Network type set to global, I'm not roaming, tried different apn settings, nothing worked.

I tried using other sim cards they work fine with the phone, but when I switch to Airtel network freezes.

I also discovered that the Internet works fine with fine with few games like pubg ,and it stops wihile using the per installed pixel goodies of the rom and other apps like you tube.

I can't figure it's a problem with my service provider(Airtel) or issue in the rom itself.

Please Help.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] dev-DaT:
Can someone please tell me what i am doing wrong?

1. I have flashed back 12.0.6 MIUI CN ROM (everything seems to work).

2. Installed twrp recovery (latest) trough fast boot

3. wipe /system /cache /dalvik /data

4. install Evolution X

5. reboot and get into fastboot menu and restart from step 1

edit: it seems that after Evolution X install, my partitions are gone. thats why i can only reflash afterwards

edit 2: seems like flashing Orangefox recovery after step 2 seems to fix it and i have now installed Evolution X. (couldnt get orange fox to work when installed from fastboot, but installing from TWRP works.)
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] alan smithee:
In the current state of the ROM it seems you have to disable force encryption (aka DFE) after flashing the ROM.

If you flash Orange Fox Recovery (which will replace TWRP) you'll be able to enable DFE in the options easily. Otherwise you'll need to flash a zip file.

Here are the steps to follow:

1. Flash Orange Fox

2. Format data (required to revert to unencrypted state, you will loose any stored files)

3. Reboot to recovery

4. enable DFE in options

5. Flash Rom and boot to system
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] alan smithee:
While I do understand how to get the ROM running, I still have some questions regarding encryption afterwards.

1. Am I assuming correctly that if I encrypt my device after flashing the ROM or disable DFE, I will not be able to access my files in recovery ?

2. If 1 is correct, will encryption be supported in further updates or is this situation permanent ?

I'd be obliged if someone could clarify these points.

Many thanks to @joeyhuab for the hard work regardless, the ROM is stunning.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] dev-DaT:
Once you encrypt phone, and reboot into recovery you have to enter the pattern / code you set in OS, the recovery will decrypt files and you will be able to access the files.

If the situation is permanent i suggest @joeyhuab to update the OP on how to flash it properly to avoid these situations.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] dev-DaT:
Camera recording does not work in last update, at least not with the provided gcam.

Guess I'll have to flash another gcam version.

Also, brightness control by sliding over status bar is broken as well. This used to work.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] joeyhuab:
I added the latest OrangeFox recovery in the original post.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Hoskote:
Joey, I tried the latest build released on 21-Jun-2021 and observed that the slow charging issue is continues. Hence I am forced to roll-back to Evolution 5.7 version May'21 build. I request you to address this issue in the next build please
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] masterkai:
You need a proper clean install. My airtel sim works fine. And yes there is freezing issues while playing pubg. Previous update 8.6 with immensity kernel was great for pubg.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] masterkai:
UltraM8 & Burial both are great gcam.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] K285490:
comment below, forgot to add quote the first time.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] K285490:
I have the exact same issue. Mi 9T Pro with latest Evo X on Movistar Spain network.

Didn't had any issues before flashing, doesn't have any issues with WiFi, and the Mobile Data works for a few seconds after turning off and turning back on the Mobile Data toggle, but quickly disappears.

I compared the Access Point configurations from a similar phone with a stock MIUI, and I tried to reset all network options from settings. Nothing helped.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Kursem:
of course not. I'm flashing this ROM via unofficial ofox that's recommended if you want encryption.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] xmsxms:
Went through quite a few steps from https://xdaforums.com/t/rom-11-raphael-official-evolution-x-06-21-2021.4179163/post-85241343

to finally get the storage visible in both orange fox and system. Had to enable 'DFE' in Orange fox even though the instructions don't mention this and I didn't want to disable encryption.

After setup I attempted to 'Encrypt Phone' but this seemed to result in a crash and then failure to boot to system - having to wipe again.

Edit: if I don't enable dfe from Orange fox the phone is encrypted, however I do not get prompted to decrypt in Orange fox, thus can't see any data. It complains about not being able to find the crypto footer in /data.

Therefore all flashing needs to be done using an external PC and tool. Perhaps I should have stayed with twrp given I want/need to use encryption.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Limbless:
Lucky I made a backup first, because I just did an update from the system menu and it was stuck on the booting screen (not a bootloop, just infinitely sitting at it), which I eventually gave up on, and then OrangeFox couldn't find any of the internal storage. Am now attempting to restore the backup, but I don't get how the update killed it.

Alright, attempting to restore the backup gave me "extractTarFork() process ended with ERROR: 255" when it got to the 'data' section; everything before that claimed to have successfully restored, but the phone wouldn't boot to system, only to recovery. I'll keep trying... something.

Still not working. I think it might be possible if I could find the exact version of the ROM I was using before updating, but I'm really not sure which it was, since I was using the inbuilt system and not downloading them myself. Is there any way to discover the version number from the backup files?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Kursem:
I managed to boot with encryption, this is what I did based on the tutorial I read from telegram group.

Flash OrangeFox R11.1_2 beta.

(optional) Backup your data.

Wipe /system, /cache, /data, dalvik cache, and /vendor.

Go to settings, manage partition, select data, and format data.

(optional) If you want F2FS filesystem, select cache partition, change fs, then pick F2FS option. Do the same for data partition.

Reboot recovery.

Flash latest MIUI 12 vendor (QFKMIXM, QFKEUXM, or QFKINXM).

Without wiping anything, flash latest Evolution-X (don't worry, it'll replace your /vendor partition anyway).

Boot into system.

First boot maybe look like it's stuck in splash screen, just wait for about ~5 mins.

It may or may not boot, your experience may vary. I do not know how to consistently boot to /system with encryption enabled. One time when trying, I managed to boot but I couldn't get back to recovery but instead stuck in fastboot. If that happened to you, you could boot to latest official twrp by using fastboot command, then wipe internal storage, restarting all over again.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] kdbhakta:
hello all i updated to current build so far i have seen a few things id like to say ...

1. google meet crashes after every few minutes.

2. the pitch black or dark mode isnt applying on every app only the dark grey applies.

3. battery health shows only 2984 of 4000 (this one im most worried about as my phone is just an year old and i dont use it roughly at all.

clean flashed the rom 3 times but all the same ... pls help ... am i doing anything wrong ???
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Kursem:
for number 2, it's up to app developer if they want to support dark mode, and what color bucket they use. you could use "override force-dark" toggle on developer options, but it is set by google to use dark grey.

for number 3, the problem is your device, it shows as reported by the kernel. it has nothing to do with the rom.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] xmsxms:
I was able to boot with encryption fine. It's simply a matter of formatting /data then installing. It's a bit complicated because when you format /data you don't have the .zip for flashing anymore - so it needs to be done via an external flashing tool rather than recovery.

The problem I am having now is that the recovery tool is unable to mount /data for decryption as it cannot 'find a crypto footer'. Thus I cannot see anything in recovery other than system/vendor etc. i.e cannot flash anything else. I have managed to flash majisk via the external flashing tool.

Are you able to mount /data and view it in Orange fox recovery with encryption enabled?