yashsingh1/xdaforums huggingface dataset:
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Lermite:
Did you manage to get Gcam working?

It worked fine on my 9T with MSM 6.0 but it doesn't any more with 7.0, with GCam_7.2.010_Urnyx05-v2.3.apk as well as GCam_7.3.018_Urnyx05-v1.0.apk.

time: 1583763809648
msg: java.lang.NullPointerException: Cannot return null from a non-@Nullable @Provides method
stacktrace: java.lang.RuntimeException: java.lang.NullPointerException: Cannot return null from a non-@Nullable @Provides method
at lmq.run(Unknown Source:4)
at bom.run(Unknown Source:60)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7397)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:915)
Caused by: java.lang.NullPointerException: Cannot return null from a non-@Nullable @Provides method
at cqy.a(Unknown Source:5)
at djv.get(Unknown Source:70)
at pmn.get(Unknown Source:15)
at dwi.a(Unknown Source:3)
at dju.b(Unknown Source:0)
at djy.get(Unknown Source:2)
at pmn.get(Unknown Source:15)
at djp.get(Unknown Source:2)
at pmn.get(Unknown Source:15)
at jcz.get(Unknown Source:48)
at pmn.get(Unknown Source:15)
at pmm.get(Unknown Source:4)
at dzd.get(Unknown Source:408)
at pmn.get(Unknown Source:15)
at pmm.get(Unknown Source:4)
at bjn.b(Unknown Source:13)
at bjn.a(Unknown Source:0)
at bsr.run(Unknown Source:2)
... 8 more
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] VladSor:
Try this https://f.celsoazevedo.com/file/cfiles/gcm1/GCam_7.2.010_Burial-vB_release03.03.20.apk

https://www.celsoazevedo.com/files/android/google-camera/dev-burial/
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Lermite:
Yours works fine. Thank you!
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Lermite:
The XR 3.0 still has the VoWifi icon glitch.

While the mobile data is enabled in more of the Wifi, the VoWifi is enabled as well but the status bar displays the VoLte icon instead.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] jc001:
Hi , I have a trouble, the google backup have a wrong name ...

Have you any ideas?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] NotizMe:
When I go to TWRP it is encrypted. I am on TWRP 3.4.0-2 have tried literally all other Recoveries for Mi 9T/K20 and nothing works to decrypt my storage. It doesn't ask me for a password or anything.

If I install only ROM without firmware I can boot but still encrypted.

If I install ROM + Firmware in any order I can boot but still encrypted.

If after booting with the folders encrypted, install gapps through USB OTG it boots and gapps works.

I can't install magisk, I get stuck in bootloop.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Lermite:
My Mi 9T is encrypted and this recovery handles it properly:

https://sourceforge.net/projects/syberiaos/postdownload

It ask for my schema to decrypt Data and it does it successfully.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] NotizMe:
I think you were meant to send the recovery link.

I managed to see the drive unencrypted but every time I try to install magisk I get stuck in bootloop
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Lermite:
My bad. Here is the right link for the proper recovery:

https://sourceforge.net/projects/syberiaos/files/twrp/recovery_11_davinci.img/download

To install Magisk, you need to flash MagiskR first, then Magisk-v21.1 over it.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] NotizMe:
Thank you so much it worked.

So for anyone who has the same problem as me ( encryption):

1) Download this recovery https://sourceforge.net/projects/syberiaos/files/twrp/recovery_11_davinci.img/download

The phone folder system should be unencrypted.

2) Flash MagiskR from this link: https://xdaforums.com/t/install-magisk-on-android-11-r-100-functional.4162761/

( I didn't do the last step I just downloaded official V21.1)

3) Phone boots and its rooted
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] stronzetto:
Is this ROM good for daily use?

What I need to do if I come from MIUI 12.0.5 global?

My phone is already unlocked

Thanks
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] androidext:
This Rom has an option to disable Heads up / Pop-up notification for all apps? Thanks!
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] tempe222:
Merry Christmas, somewhat late!

Is there a list of links with the files used (ROM, Firmware, NikGApps, Magisk, but especially the decrypt-treble and Orangefox recovery) and an installation instruction for these? Or are other files recommended by now?

Thanks a lot, tempe
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] tempe222:
... another question: Is somebody using this ROM with microG? It's supposed to work on XR 2.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Lermite:
OrangeFox-R11.0_2-Unofficial-davinci in only advised if you disable the encryption by flashing Disable-Force-Encryption-Treble after flashing the rom, before booting on system, because it's unable to handle the encryption properly.

If you keep the encryption, you have to chose the Syberia Recovery for Android 11 (recovery_11_davinci), whose the link has just be given.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] tempe222:
Thanks! I want to disable decryption and I found OrangeFox-R11.0_2-Unofficial-davinci. But where do I get an up-to-date Disable-Force-Encryption-Treble ?

Also: When installing another TWRP: Do I have to install it through fastboot or is there another way to replace my current (official) TWRP?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Lermite:
I don't remember where I downloaded mine from but it seems to be available here: https://androidfilehost.com/?fid=1322778262904004415

To replace a recovery by another, you just have to flash it through the recovery while selecting "recovery" as target partition.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] tempe222:
Thank you so much for your quick reply! But where can I select "recovery" as target partition? I hit "install", then select the .zip file and then...?

EDIT: Found it! Extracting the recovery.img file and installing it.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] petrus97:
The fingerprint lock works pretty bad
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Lermite:
Mine usually works flawlessly after I clean install the rom without installing anything else.

But it doesn't work any more at all after I restore all my app and set the system.

I have still no clue what interfere with the fingerprint feature so I got used to a schema instead.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] vblanche:
Hi, in the first post, the link "HERE" for "instructions" does not work, correct?

How do I install latest version from XRv1? "dirty" flash? thanks.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] laritagk:
hola estoy experimentando un problema. los mensajes de audio que envío por Whatsapp el volumen es bajo. intente borrar apk, datos, caché y nada. el micrófono funciona bien, solo me pasa en WhatsApp y WhatsApp bussines. ¿Puede alguien ayudarme?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] lolo9393:
Have you got a solution for this problematic issue?

I've faced the same with most of the Vanilla rom and I got it solved by going with rom having embedded Gaaps.

It seems separate Gaaps break something here.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] lolo9393:
Hi

Have you got a solution for this problematic issue?

I've faced the same with most of the Vanilla rom and I got it solved by going with rom having embedded Gaaps.

It seems separate Gaaps breaks something here.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Ardysan:
Guys bunch of questions...

1) Phone crashed overnight, logged off both google accounts, when I try to log into google account and enter password - it just skips back to "enter your email address" part. Reboot/nothing helps (currently at Rel-v7.0 version of MSM). Is it just Google Play problem again?

2) Feel its time to upgrade. Can last version of MSM Xtended be dirty flashed on top of the Rel-v7.0 (back from March 2020)?

3) Have not done it a while, would really want to avoid problems with copying back and forth so much data on/off the phone while doing clean install. But if clean install is an only option, is TWRP 3.3.1-0 good for latest v3 MSM?

4) Can someone share the exact procedure for clean/dirty flashing? (like what to press on the phone to enter TWRP, how to un-encrypt, etc). Which Magisk, which Gaps, etc. etc...

Thank you!
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] vblanche:
+1, thanks
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Ardysan:
Anyone? Really need some help here.

Not sure which version of Gaps and Magisk to use best with v3 MSM
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Ardysan:
OMG... I flashed 3.4.0 TWRP and now it loads into recovery, and the phone screen is totally UNRESPONSIVE!

I was able to roll back to TWRP 3.3.1-0 - in it the screen is responsive again. But if I try to use any TWRP from this link: https://drive.google.com/drive/folders/1_MOz90jPd9uORHcbJtSoCsxu4vFj4sNr

Screen becomes unresponsive on TWRP screen

Guys. What do I do??
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Lermite:
Just flash the proper recovery for Android 11: https://sourceforge.net/projects/syberiaos/files/twrp/recovery_11_davinci.img/download
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] tempe222:
MSM Extended on Mi 9T with MicroG:

Just in case someone is interested in installing MicroG (which is an battery-friendly, data-sensitive, open source Google Play Services replacement and a part of Nanodroid - more info see here). It's supported from Version XR 2 (see the changelog), so I tried it.

To install, I followed the installation guide Lermite gave in this thread (clean installation of XR 3) and did a reboot into system after installing the ROM. Important: DO NOT install GApps!

- There, it is important to turn on settings -> X-Tensions -> Xtras -> Allow signature spoofing.

- Then I booted into recovery and I installed Magisk 21.2, mounted System manually and afterwards installed MicroG (download see link above). It installs as a Magisk module.

- Then after a reboot into system, I opened the MicroG app and followed the MicroG installation steps here. Since signature spoofing is enabled, no worries about the first part.

- Voila, it works!

My findings:

- All apps I use are working besides Google Maps - a known fact about MicroG (you can use Maps Go instead). I have to admit, though, that I avoid other Google apps, so I don't know about them.

- GPS takes a little longer than with Google Play Services (5-10 sec, at the very first use be patient for some minutes).

- Other than that, I haven't noticed any disadvantages yet. The battery life seems somewhat better, but not too significantly.

- I think it's worth a try, especially if you don't want Google to know everything you're doing.

So long, tempe
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Maxd63:
Don't worry, it's normal. You need to use your PC to flash the latest TWRP, using fastboot.exe.

Do something like that :

fastboot flash recovery C:/.../twrp-3.5.0_9-0-davinci.img

If no devices are recognized, you need to install android / adb drivers !

Good luck.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] rogeros123:
I have the same problem :( after installing the ROM the fingerprint works great. After setting up the phone and restoring the copy it almost stops working at all. I was recovering from Migrate 4.0 I also can't find what causes this problem. Same was on my previous Havoc ROM
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] rogeros123:
Note: the problem with the FOD for me caused the inclusion in the developer options "show screen touches". I reset completely system and tested everything step by step. I set up system, did a restore from the Migrate 4.0 application and restored a copy from a previous Havoc ROM. Everything works ok. Only after turning on / system / developer opt / show taps ON -> and then FOD stop working. Maybe it will help someone?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Lermite:
The "'Show taps on" can be one of the causes of the FOD failure, but it's not the only one as the FOD always stopped working after I restore all my stuff without ever enabling "Show taps on".

I plan to do a test step by step too but as it require much free time, I don't know yet what I can do it.

Thanks for your feedback anyway. Any clue about this issue could help to get rid of it.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Lermite:
MSM XR 3.0 still has the VoWifi glitch.

When the VoWifi is enabled and set while the Wifi is on, it's properly applied according to the operator name in the Quick settings but the status bar shows the VoLte icon instead of the VoWifi's.

The Wifi has the be disabled to get the status bar to display the VoWifi icon.

I managed to get the VoWifi icon with MSM XR 2.0, by disabling the mobile data, but even this doesn't work with XR 3.0: it keeps showing the VoLte icon no matter what.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] rogeros123:
I have a new problem, the Revolut banking application does not work for me in this ROM. It starts but the verification process stops in my sephie photo. Someone is using Revolut and it works? I have root and Magisk but turned on the hide magic option and hid the app. Previously on another rom it worked.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Lermite:
The payment apps can be tricky to make working properly on a rooted phone but a simple banking app usually only need Magisk Hide and renaming the Magisk Manager package, because some apps detect the root by searching for Magisk Manager.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] rogeros123:
it's definitely not a root problem because on another phone with root and enabled magisk hiding it works fine.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Lermite:
Did you grant all the permission it requires?

I'm running out of ideas :/
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] rogeros123:
of course, I turned on all permissions, even those not required, I added :( There must always be a problem :( as I thought everything was ok
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] imzirus:
How to fix full immersive mode not working?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] rogeros123:
So what other rom would you recommend for android 11 and Mi9T at the moment? After two days on it, I can say that it drains the battery a bit too much, although it's not very bad.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] imzirus:
Hoping for continous update, i love extensions in these rom
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] roukr:
Sure, there will be ROM update in January with XR 4.0....patience.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] imzirus:
Thank you so much, hoping for a fix in chat bubble, sometmes it freezes my screen then reboot randomly
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Ardysan:
Thank you everyone for help figuring out the installation. Installed, works quite nicely.

I also have Revolute, and it was able to install and work without any problems.

I do have another, small issue. I am using Nova Launcher (because I could not find a way to use Lines icon pack/change icons with the Xlauncher - is there a way?)

And with Nova I ran into this old problem, when I swipe up, to go to home screen from the app - the home screen is empty, then icons appear. This problem pops up on different phones here and there through the years, Nova dev team reply is - talk to your ROM developer, we can't fix it.

It was not happening on the previous version of MSM. Not sure if there is enough info for @VladSor to figure out this issue...
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] VladSor:
Hello Everyone,

Here is the new Update of MSM Xtended XR-v4.0 with Fixes & more feature addition:-

Device Changelog: Click HERE

ROM Changelog : Click HERE

Download ROM : MSM Xtended XR-v3.0 for davinci

NikGApps -: NikGApps Core Latest Android 11.0 Build

Best Regards

Team-Xtended
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] jc001:
Hey guys, there is a mistake, it's XR v4.0 ;)
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] VladSor:
fixed
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] vblanche:
ah...see...VladSor still rocking...thanks VladSor.

how do I perform a dirty flash? thanks
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] petrus97:
pruebas....

She was already the best rom aosp ...
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Ardysan:
@VladSor

That weird lag with Nova launcher, - homescreen redraw after a 1-2 second delay remains (after swiping up to home screen from any app). Is there a way to try fixing it? It was not present in MSM version back from June.

Guys, is there a way to use icon packs/change icons with Xtended launcher?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] imzirus:
Nickgapss core not flashing, now all google services keep stopping, how to fix?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] VladSor:
Telegram Camera Fix

module for magisk
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] VladSor:
tri open Gapps nano
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] zielonyrad01:
I can't find opengapps for Android 11... Link please.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] jc001:
OpenGApps - Browse /arm64/test at SourceForge.net

OpenGApps daily releases

sourceforge.net

Google is your friend !!!

;)
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] testguest:
NikGapps are working fine on my end. I dirty-flashed XR-v4.0 over XR-v3.0.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] imzirus:
Pls fix chat bubbles, the screen freeze everytime i use chat bubble
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] imzirus:
Also heads up still not working 😔
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Lermite:
I've found out that blocking the connections of some apps through AFWall+ or the rom settings doesn't work when a Private DNS (DoH) is defined.

I've finally had to give up on the private DNS despite I enjoyed this feature :(
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] shadowstep:
THREAD CLEANED

Just a friendly reminder to keep it civil, on-topic and refrain from putting fuel to fire by responding to posts that you think are offensive or hateful. Just report if you feel something isn't right and let us take care of it for you, so that we can make your experience on the forum better. :)

Always remember that the developers are doing this as a hobby, and there are plethora of options to choose from. If something doesn't work for you, report (respectfully, with logs, steps to reproduce, etc.) and wait. If you can't, you can always move on to a different ROM which works for you.

Now let's all take a deep breath, and get back on topic, shall we?

Regards,

shadowstep

Forum Moderator
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] vblanche:
Hi, how was your procedure for this dirty flash? thanks.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Lermite:
Damn, the Safetynet test fails on my phone with XR 4.0, because of CTS match.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] roukr:
Try Safetynet patch

[MODULE] Fix CTS Profile Match Fail - Play Integrity Fix

To Fix CTS Profile Match Fail issue and to fix "Play Integrity", use the Magisk Module mentioned in this article. This Magisk module will help to get...

droidholic.com
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Lermite:
Thank you!

I didn't imagine getting rid if this issue would be so easy.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] rogeros123:
Hi, what's your average power consumption when the phone is dormant for an hour on this rom currently?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Lermite:
My MI 9T runs the XR 4.0.

Actually, my mobile network is unavailable.

According to my settings, my phone switched to the VoWifi instead of the VoLte as the 4G is unavailable.

In the status bar, a tiny VoWifi icon is displayed over the mobile network icon but the VoLte icon is still displayed in place of the VoWifi one.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Nothingpersonal19p2:
Hey i have a problem with my device i tried everything but battery problem is in every rom i was charging and İts discharge so quickly İts Like battery stats %10 battery usage but phone's charge is 79 device is redmi note 9 pro joyeuse
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] VladSor:
Hello Everyone,

Here is the new Update of MSM Xtended XR-v5.0 with Fixes & more feature addition:-

Device Changelog: Click HERE

ROM Changelog : Click HERE

Download ROM : MSM Xtended XR-v5.0 for davinci

Open GApps Pico - Latest Android 11.0 Build

Best Regards

Team-Xtended
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Paweueek:
Is SBC XQ/HD supported in this ROM maybe?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Lermite:
I've flashed the XR 5.0 over the XR 4.0 with a dirty flash, without flashing again Magisk and NickGapps which both survived the rom flash.

The only issue so far is that FontFix, my usual app to change the system font, doesn't work anymore.

I've managed to change the font by messing with the system files but only the "Regular" version got replaced by mine.

That's why I'd like the font Roboto Condensed to be included to the system fonts list, to allow me to simply select it instead of messing with the system files to get an approximate result.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] yuvaneshwaren:
hows the battery life looking on this romw ith normal usage?
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Lermite:
I'm used to a schema to unlock my phone.

Since the XR 4.0, the lockscreen schema is at the bottom of the screen. It makes it easier to use but it's over the fingerprint sensor.

I've tried to test a fingerprint in more of the schema but despite one fingerprint is registered, the lockscreen doesn't allow to unlock by FP, probably because the icon can't be displayed as the schema takes its place.

The schema at the bottom of the screen is welcomed while no other unlock way is set.

But when a fingerprint is set in more, the schema should be moved higher enough to allow the FOD to be displayed as well.

EDIT / UPDATE:

The FOD icon appears after I lock my phone while an app is running in foreground.

If I lock it without any foreground app, from the launcher, only the schema is displayed as unlock method.

A good point: when it's displayed, the FOD works well, almost a miracle as it never worked on my phone before the XR 5.0 and I've never managed to find out what caused this issue.

EDIT / UPDATE 2:

I've figured out what went wrong.

Locking the phone can be done through two different ways:

- Accessibility: Locks the device like the power button was pressed. Requires Android Pie.

- Device administrator: Locking ompletely the device requires a PIN code. This doesn't allow to unlock by fingerprint.

My mistake was to lock my phone differently depending on the app running in foreground:

- Without any app, only the launcher, I used a Automate widget with only the block "Lock device", which locked obviously as administrator and ended up hiding the FOD.

- With any app in foreground, I used a gesture of Vivid Navigation Gestures, which locked through Accessibility obviously, allowing the FOD to unlock.

I've solved this issue by replacing my Automate widget by a Nova Action widget which locks though accessibility and therefore allows the FOD :cool:
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] degirmenci:
google play services are not allowed to read sms, so it can not automatically fill in the passwords received by sms.
[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] degirmenci:
I had to flash the google play rom right after flashing it