[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] BusterCZ:
Guys i am hopeless can someone help me?

Ive followed the instructions on first page..

Flashed MIUI 11.0.4.0 through MiFlash(tried global and china aswell)

Setup the phone (everything is working, FOD flawless)

Install official TWRP

Install Havoc with GAPPS

Install Magisk 20.3

Format data

The phone always boot without a problem and also pass safetynet (awsome). But everytime i try to use FOD its not working at all.. During the fingerprint setup its always saying that it registered only partial fingerprint or that the sensor is dirty (which it is not). When i finally added 3 fingerprints of the same finger and tried to unlock the phone using it it always fail instantly. (I touch the sensor and instantly it says failed)

I did also try to leave the finger on the sensor until it told me to take it off during the setup and still the same.

Is there something i can do about it?

edit:

I have taken a logcat file while trying to unlock the device with registered finger: (It always produces error "_ERROR_NOT_MATCH_NOT_LIVE_FINGER")

<<< log_count = 102 >>>
[03-03 18:15:19.472 734:3458 W/libperfmgr]
Failed to write to node: /dev/stune/camera-daemon/schedtune.boost with value: 0, fd: -1

[03-03 18:15:19.554 5040:5040 W/om.dp.logcatapp]
type=1400 audit(0.0:450493): avc: granted { search } for name="/" dev="sda24" ino=2 scontext=u:r:untrusted_app_27:s0:c185,c256,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir

[03-03 18:15:19.576 734:3458 W/libperfmgr]
Failed to write to node: /dev/stune/camera-daemon/schedtune.boost with value: 0, fd: -1

[03-03 18:15:19.594 5040:5040 W/om.dp.logcatapp]
type=1400 audit(0.0:450495): avc: granted { search } for name="/" dev="sda24" ino=2 scontext=u:r:untrusted_app_27:s0:c185,c256,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir

[03-03 18:15:19.614 5040:5040 W/om.dp.logcatapp]
type=1400 audit(0.0:450497): avc: granted { search } for name="/" dev="sda24" ino=2 scontext=u:r:untrusted_app_27:s0:c185,c256,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir

[03-03 18:15:19.762 734:3458 W/libperfmgr]
Failed to write to node: /dev/stune/camera-daemon/schedtune.boost with value: 0, fd: -1

[03-03 18:15:20.172 734:3458 W/libperfmgr]
Failed to write to node: /dev/stune/camera-daemon/schedtune.boost with value: 0, fd: -1

[03-03 18:15:21.059 1365:1365 W/UsageStatsService]
Event reported without a package name, eventType:16

[03-03 18:15:20.673 734:3458 W/libperfmgr]
Failed to write to node: /dev/stune/camera-daemon/schedtune.boost with value: 0, fd: -1

[03-03 18:15:21.067 1365:1600 E/libEGL]
eglCreateWindowSurfaceTmpl:718 error 300b (EGL_BAD_NATIVE_WINDOW)

[03-03 18:15:21.173 734:3458 W/libperfmgr]
Failed to write to node: /dev/stune/camera-daemon/schedtune.boost with value: 0, fd: -1

[03-03 18:15:21.498 753:753 W/LightService]
Got max brightness 2047

[03-03 18:15:21.520 1365:1600 E/libEGL]
eglDestroySurfaceImpl:900 error 300d (EGL_BAD_SURFACE)

[03-03 18:15:21.520 1365:1600 E/ColorFade]
eglDestroySurface failed: error 12301
java.lang.Throwable
at com.android.server.display.ColorFade.logEglError(ColorFade.java:701)
at com.android.server.display.ColorFade.destroyEglSurface(ColorFade.java:642)
at com.android.server.display.ColorFade.dismissResources(ColorFade.java:339)
at com.android.server.display.DisplayPowerState.dismissColorFadeResources(DisplayPowerState.java:216)
at com.android.server.display.DisplayPowerController.animateScreenStateChange(DisplayPowerController.java:1527)
at com.android.server.display.DisplayPowerController.updatePowerState(DisplayPowerController.java:902)
at com.android.server.display.DisplayPowerController.access$800(DisplayPowerController.java:91)
at com.android.server.display.DisplayPowerController$DisplayControllerHandler.handleMessage(DisplayPowerController.java:1951)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:214)
at android.os.HandlerThread.run(HandlerThread.java:67)
at com.android.server.ServiceThread.run(ServiceThread.java:44)

[03-03 18:15:21.524 1365:1600 E/LightsService]
Light requested not available on this device. 2

[03-03 18:15:21.527 751:839 E/SDM]
DRMCrtc::Perform: CRTC 112: Set mode 1080x2340x60x179431

[03-03 18:15:21.673 734:3458 W/libperfmgr]
Failed to write to node: /dev/stune/camera-daemon/schedtune.boost with value: 0, fd: -1

[03-03 18:15:21.679 751:839 W/SDM]
ResourceImpl::Perform: Invalid command 4

[03-03 18:15:21.740 1365:1365 W/UsageStatsService]
Event reported without a package name, eventType:15

[03-03 18:15:21.743 1365:2138 E/LightsService]
Light requested not available on this device. 2

[03-03 18:15:21.743 734:3458 W/libperfmgr]
Failed to write to node: /dev/stune/camera-daemon/schedtune.boost with value: 0, fd: -1

[03-03 18:15:21.842 734:3458 W/libperfmgr]
Failed to write to node: /dev/stune/camera-daemon/schedtune.boost with value: 0, fd: -1

[03-03 18:15:21.877 751:4209 W/SDM]
ResourceImpl::Perform: Invalid command 4

[03-03 18:15:21.885 751:839 E/SDM]
DRMCrtc::Perform: CRTC 112: Set mode 1080x2340x60x179431

[03-03 18:15:21.886 751:839 E/SDM]
DRMCrtc::Perform: CRTC 112: Set mode 1080x2340x60x179431

[03-03 18:15:21.897 2450:2450 W/View]
requestLayout() improperly called by com.android.systemui.statusbar.notification.stack.NotificationStackScrollLayout{6e5d26e I.ED..... ......ID 0,0-1080,2208 #7f0a02df app:id/notification_stack_scroller} during layout: running second layout pass

[03-03 18:15:21.988 734:3458 W/libperfmgr]
Failed to write to node: /dev/stune/camera-daemon/schedtune.boost with value: 0, fd: -1

[03-03 18:15:21.997 1365:1481 W/UsageStatsService]
Event reported without a package name, eventType:17

[03-03 18:15:22.049 1245:1245 W/android.hardware.biometrics.fingerprint@2.1-service]
onAcquired(6) (21)

[03-03 18:15:22.050 1365:1365 W/FingerprintService]
client com.android.systemui is authenticating...

[03-03 18:15:22.050 737:737 E/FingerprintInscreenService]
acquiredInfo: 6, vendorCode: 21

[03-03 18:15:22.051 737:737 E/FingerprintInscreenService]

[03-03 18:15:22.101 2450:2450 W/FingerprintManager]
Invalid acquired message: 6, 21

[03-03 18:15:22.106 1365:1600 W/PowerManagerService]
Screen on took 369 ms

[03-03 18:15:22.110 753:753 W/LightService]
Got max brightness 2047

[03-03 18:15:22.150 765:15992 E/NxpTml]
_i2c_write() errno : 5

[03-03 18:15:22.150 765:15992 E/NxpTml]
PN54X - Error in I2C Write.....

[03-03 18:15:22.150 765:15994 E/NxpHal]
write error status = 0x1ff

[03-03 18:15:22.150 765:765 E/NxpHal]
write_unlocked failed - PN54X Maybe in Standby Mode - Retry

[03-03 18:15:22.166 3853:3853 E/libnfc_nci]
[ERROR:NativeNfcTag.cpp(820)] nativeNfcTag_doDisconnect: tag already deactivated

[03-03 18:15:22.186 734:3458 W/libperfmgr]
Failed to write to node: /dev/stune/camera-daemon/schedtune.boost with value: 0, fd: -1

[03-03 18:15:22.199 32681:32681 E/cr_CompositorSurfaceMgr]
SurfaceState : detach from parent : 0

[03-03 18:15:22.206 32681:32681 E/cr_CompositorSurfaceMgr]
Transitioning to surface with format : -3

[03-03 18:15:22.221 1365:6610 W/ActivityManager]
Background start not allowed: service Intent { act=Orca.PERSISTENT_KICK_SKIP_PING cmp=com.facebook.katana/com.facebook.mqttlite.MqttService (has extras) } to com.facebook.katana/com.facebook.mqttlite.MqttService from pid=30142 uid=10176 pkg=com.facebook.katana startFg?=false

[03-03 18:15:22.214 30142:30142 W/CombinedTP21]
type=1400 audit(0.0:450498): avc: granted { search } for name="/" dev="sda24" ino=2 scontext=u:r:untrusted_app_27:s0:c176,c256,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir

[03-03 18:15:22.224 2130:2130 W/CombinedTP3]
type=1400 audit(0.0:450500): avc: granted { search } for name="/" dev="sda24" ino=2 scontext=u:r:untrusted_app_27:s0:c173,c256,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir

[03-03 18:15:22.629 775:775 E/ANDR-PERF-TARGET]
Error: Invalid logical cluster id 2

[03-03 18:15:22.629 775:775 E/ANDR-PERF-REQUEST]
Translate to physical failed

[03-03 18:15:22.629 775:775 E/ANDR-PERF-TARGET]
Error: Invalid logical cluster id 2

[03-03 18:15:22.629 775:775 E/ANDR-PERF-REQUEST]
Translate to physical failed

[03-03 18:15:22.632 1245:1548 W/android.hardware.biometrics.fingerprint@2.1-service]
onAcquired(6) (22)

[03-03 18:15:22.633 737:737 E/FingerprintInscreenService]
acquiredInfo: 6, vendorCode: 22

[03-03 18:15:22.633 737:737 E/FingerprintInscreenService]

[03-03 18:15:22.649 2450:2450 W/FingerprintManager]
Invalid acquired message: 6, 22

[03-03 18:15:22.687 734:3458 W/libperfmgr]
Failed to write to node: /dev/stune/camera-daemon/schedtune.boost with value: 0, fd: -1

[03-03 18:15:22.906 1245:1548 E/[GF_HAL][CaEntry]]
[sendCommand] QSEE TEE execute command failed.

[03-03 18:15:22.906 1245:1548 E/[GF_HAL][Algo]]
[authImage] exit. err=GF_ERROR_NOT_MATCH_NOT_LIVE_FINGER, errno=1141

[03-03 18:15:22.941 1245:1548 W/android.hardware.biometrics.fingerprint@2.1-service]
onAuthenticated(fid=0, gid=0)

[03-03 18:15:22.944 1245:1548 E/[GF_HAL][FingerprintCore]]
[onAuthDownEvt] exit. err=GF_ERROR_NOT_MATCH_NOT_LIVE_FINGER, errno=1141

[03-03 18:15:22.944 1245:1548 E/[GF_HAL][FingerprintCore]]
[onAuthReceivedEvt] exit. err=GF_ERROR_NOT_MATCH_NOT_LIVE_FINGER, errno=1141

[03-03 18:15:22.944 1245:1548 E/[GF_HAL][FingerprintCore]]
[onEvent] exit. err=GF_ERROR_NOT_MATCH_NOT_LIVE_FINGER, errno=1141

[03-03 18:15:23.188 734:3458 W/libperfmgr]
Failed to write to node: /dev/stune/camera-daemon/schedtune.boost with value: 0, fd: -1

[03-03 18:15:23.284 1245:1548 W/android.hardware.biometrics.fingerprint@2.1-service]
onAcquired(6) (23)

[03-03 18:15:23.284 737:737 E/FingerprintInscreenService]
acquiredInfo: 6, vendorCode: 23

[03-03 18:15:23.284 737:737 E/FingerprintInscreenService]

[03-03 18:15:23.285 2450:2450 W/FingerprintManager]
Invalid acquired message: 6, 23

[03-03 18:15:23.320 1365:3707 E/InputDispatcher]
Window handle Window{b90702e u0 com.android.systemui} has no registered input channel

[03-03 18:15:23.524 2130:2130 W/CombinedTP30]
type=1400 audit(0.0:450502): avc: granted { search } for name="/" dev="sda24" ino=2 scontext=u:r:untrusted_app_27:s0:c173,c256,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir

[03-03 18:15:23.688 734:3458 W/libperfmgr]
Failed to write to node: /dev/stune/camera-daemon/schedtune.boost with value: 0, fd: -1

[03-03 18:15:24.188 734:3458 W/libperfmgr]
Failed to write to node: /dev/stune/camera-daemon/schedtune.boost with value: 0, fd: -1

[03-03 18:15:24.321 733:21492 E/soundtrigger]
audio_extn_sound_trigger_update_stream_status: invalid input device 0x0, for event 2

[03-03 18:15:24.503 734:3458 W/libperfmgr]
Failed to write to node: /dev/stune/camera-daemon/schedtune.boost with value: 0, fd: -1

[03-03 18:15:24.534 734:3458 W/libperfmgr]
Failed to write to node: /dev/stune/camera-daemon/schedtune.boost with value: 0, fd: -1

[03-03 18:15:24.537 734:3458 W/libperfmgr]
Failed to write to node: /dev/stune/camera-daemon/schedtune.boost with value: 0, fd: -1

[03-03 18:15:24.537 733:3664 E/msm8974_platform]
platform_check_backends_match: Invalid snd_device =

[03-03 18:15:24.538 733:3664 E/voice]
voice_is_in_call_rec_stream: input stream is NULL

[03-03 18:15:24.538 733:3664 E/audio_hw_utils]
send_app_type_cfg_for_device: Could not get ctl for mixer cmd - Audio Stream Capture 38 App Type Cfg

[03-03 18:15:24.540 733:3664 E/audio_hw_tfa98xx_feedback]
pcm_dev_tx_id = 38

[03-03 18:15:24.556 733:3664 E/soundtrigger]
audio_extn_sound_trigger_update_stream_status: invalid input device 0x0, for event 3

[03-03 18:15:24.605 734:3458 W/libperfmgr]
Failed to write to node: /dev/stune/camera-daemon/schedtune.boost with value: 0, fd: -1

[03-03 18:15:24.694 2130:2130 W/CombinedTP3]
type=1400 audit(0.0:450504): avc: granted { search } for name="/" dev="sda24" ino=2 scontext=u:r:untrusted_app_27:s0:c173,c256,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir

[03-03 18:15:24.704 2130:2130 W/CombinedTP3]
type=1400 audit(0.0:450505): avc: granted { search } for name="/" dev="sda24" ino=2 scontext=u:r:untrusted_app_27:s0:c173,c256,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir

[03-03 18:15:24.732 734:3458 W/libperfmgr]
Failed to write to node: /dev/stune/camera-daemon/schedtune.boost with value: 0, fd: -1

[03-03 18:15:25.233 734:3458 W/libperfmgr]
Failed to write to node: /dev/stune/camera-daemon/schedtune.boost with value: 0, fd: -1

[03-03 18:15:25.558 1245:1245 E/[GF_HAL][FingerprintCore]]
[notifyErrorInfo] err code : 5.

[03-03 18:15:25.558 1245:1245 W/android.hardware.biometrics.fingerprint@2.1-service]
onError(5)

[03-03 18:15:25.564 1365:1365 W/FingerprintService]
client com.android.systemui is no longer authenticating

[03-03 18:15:25.565 737:737 E/FingerprintInscreenService]
error: 5, vendorCode: 0

[03-03 18:15:25.566 737:737 E/FingerprintInscreenService]

[03-03 18:15:25.604 5040:5040 W/om.dp.logcatapp]
type=1400 audit(0.0:450506): avc: granted { search } for name="/" dev="sda24" ino=2 scontext=u:r:untrusted_app_27:s0:c185,c256,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir

[03-03 18:15:25.616 1365:1481 W/UsageStatsService]
Event reported without a package name, eventType:18

[03-03 18:15:25.621 1365:1517 W/BroadcastQueue]
Background execution not allowed: receiving Intent { act=android.intent.action.USER_PRESENT flg=0x24200010 } to com.android.chrome/org.chromium.chrome.browser.sharing.click_to_call.ClickToCallMessageHandler$PhoneUnlockedReceiver

[03-03 18:15:25.622 1365:1517 W/BroadcastQueue]
Background execution not allowed: receiving Intent { act=android.intent.action.USER_PRESENT flg=0x24200010 } to com.google.android.gms/.auth.setup.devicesignals.LockScreenReceiver

[03-03 18:15:25.622 1365:1517 W/BroadcastQueue]
Background execution not allowed: receiving Intent { act=android.intent.action.USER_PRESENT flg=0x24200010 } to com.google.android.gms/.trustagent.UserPresentBroadcastReceiver

[03-03 18:15:25.622 1365:1517 W/BroadcastQueue]
Background execution not allowed: receiving Intent { act=android.intent.action.USER_PRESENT flg=0x24200010 } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver

[03-03 18:15:25.622 1365:1517 W/BroadcastQueue]
Background execution not allowed: receiving Intent { act=android.intent.action.USER_PRESENT flg=0x24200010 } to com.instagram.android/com.instagram.push.fbns.FbnsInitBroadcastReceiver

[03-03 18:15:25.633 765:15992 E/NxpTml]
_i2c_write() errno : 5

[03-03 18:15:25.633 765:15992 E/NxpTml]
PN54X - Error in I2C Write.....

[03-03 18:15:25.633 765:15994 E/NxpHal]
write error status = 0x1ff

[03-03 18:15:25.633 765:765 E/NxpHal]
write_unlocked failed - PN54X Maybe in Standby Mode - Retry

[03-03 18:15:25.733 734:3458 W/libperfmgr]
Failed to write to node: /dev/stune/camera-daemon/schedtune.boost with value: 0, fd: -1

[03-03 18:15:26.144 5040:5040 W/om.dp.logcatapp]
type=1400 audit(0.0:450507): avc: granted { search } for name="/" dev="sda24" ino=2 scontext=u:r:untrusted_app_27:s0:c185,c256,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir