Flash older ROM, turn on USB debugging, authorize device on PC, then flash newer ROM (without wiping data, dirty flash) and make a logcat.
https://xiaomi.eu/community/threads/logging-with-adb-logcat.63684/
Make a thread on xiaomi.eu forum if you want to use English, on this forum we use Polish.
Wchodzimy na stronę i podajemy numer IMEI oraz adres email.
Orange: https://www.orange.pl/zobacz/weryfikacja-imei
Plus GSM: https://www.plus.pl/formularze/formularz-imei
T-Mobile: https://www.t-mobile.pl/c/sprawdzenie-imei
Play Mobile: https://www.play.pl/nowy/uslugi/sprawdz-wlasciciela-telefonu-imei