The ADB commands worked like a charm. What do you think happened? So I can help others with the same problem.
Same here, Mi 11 Ultra after OTA/TWRP update look everything okay,but some apps hangs.
The compile command resulted some Faliure just some example:
"
c:\Temp\xiaomi\bin\windows>adb shell pm compile -a -f --full
[com.miui.screenrecorder] Success
[com.android.cts.priv.ctsshim] Success
[com.google.android.youtube] Failure
[com.qualcomm.qti.qcolor] Success
[com.android.internal.display.cutout.emulation.corner] Success
[com.google.android.ext.services] Success
[com.android.adservices.api] Success
[com.android.art.compatible] Success
[com.android.internal.display.cutout.emulation.double] Success
[com.android.providers.telephony] Success
[com.android.configinfrastructure] Success
[com.android.dynsystem] Success
[com.miui.powerkeeper] Success
[com.android.healthconnect.controller] Success
[com.google.android.googlequicksearchbox] Success
[com.miui.qr] Success
[com.imaginecurve.curve.prd] Success
[com.android.providers.calendar] Success
[com.alibaba.aliexpresshd] Failure
..
After reboot everything looks okay (Faliured ones also), all apps working now.