yashsingh1/xdaforums huggingface dataset:
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] joeyhuab:
I already checked crDroid's code. They use a different implementation of their torch gesture which doesn't apply to ours as they didn't include the option for modes and instead relied on long-press only.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Peter the Great:
Hello, I'm not on the Android 12 ROM and am still on Android 11 July 23rd build.

However, I did experience the same problem as you on Android 11 a few months ago. The UI "hiccups" and battery drain are due to this audio issue, btw. Anways, I ended up fixing the problem by going back to Android 10 firmware. Essentially, I was using Android 11 firmware when I wasn't supposed to. Newer ROM versions required Android 11 firmware, so I decided to not update, and have stayed on the July 23rd build ever since. Since you're not allowed to go to Android 10 firmware for this ROM, and since you've already said you have the latest firmware (and vendor), then the only other option is to disable the "Hey Google" detection in Google Assistant settings. For some reason, having the wrong firmware for this ROM will cause "Hey Google" detection to hiccup the whole system repeatedly, including audio. I sent logs in the Android 11 thread all those months ago, kinda funny seeing someone experience the same problem I had even on Android 12, it just never goes away lol.

Hope this helps.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] zenchikage:
I got some time over the weekend to clean flash everything and set things up again. I wanted to be sure before posting this, but I have been using it for 3 days and it has been pretty smooth. I initially could not set banking applications up, but that issue got resolved for me with the latest ROM update.

Currently I'm on the a12 vendor, firmware and latest EvoX a12 ROM (no root) -- I've got media, payments and "Hey Google" working fine for now.

I'd say give it a shot now. : )

Thanks!
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Arasthel:
EDIT: never mind, NFC is working fine as long as you don't flash the wrong magisk patched boot image 😅.

The ROM works great so far for me except for the NFC, which can't be enabled. However, some other people reported it to be working fine, so it might only be happening in a few cases. Here's a logcat:

Spoiler content hidden.

I can spot a SELinux denied permission message there before it all fails, but I'm not sure if it's the cause or another symptom of some other error. This is working fine on Voltage ROM if I'm not mistaken so maybe taking a look at what's different could help.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] hopeisaprison:
I have problem with inapp camera in telegram, it doesnt work in this rom. In other side, whatsapp/insta inapp camera works good
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] kellerman40:
Yes, same problem with Telegram. Other camera apps work fine. Otherwise no noticable problems with the rom.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] bram2202:
Nice work!!

Does anyone has a camera app (like gcam) and config that works for all lenses and modes?

Mine keeps on crashing as soon as i go to video mode.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Gogeta:
hi, thanks for the rom. what firmware are ppl using this rom with? i flashed this one https://xiaomifirmwareupdater.com/vendor/raphaelin/ but its not going past 'mi' boot logo. any help?

Edit: fixed after formatting all userdata.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] thefaraon:
I'm using LMC 8.2

Hasli: LMC8.2.Helena-R4

Download LMC8.2.Helena-R4 by Hasli.

www.celsoazevedo.com

With the XML : true DSLR

LMC8.2 Config - Google Drive

drive.google.com
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Clutch Muffin:
Would you be willing to share just what was the process of installation that you followed? I intend to set up my device exactly like yours, but I'm having a little trouble understanding the steps involved. The Latest firmware available to me is the A11 firmware. Do I install that and then flash this rom? Where did you get the A12 firmware?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] krawzer15:
How's the battery consumption in this rom? I really want a fresh change from MIUI 12.5
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] ChrisM243:
Is there any way to restore the look/style of the quick buttons (like airplane mode, wifi etc) to that of Android 11 with the way smaller buttons? So far all roms based on Android 12 have these annoying huge buttons.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] zenchikage:
Sure.

Some steps may be unnecessary, but I did this:

-- First off, clean everything: format internal storage from recovery.

-- Fastboot > Flash TWRP from here

-- Reboot to TWRP

-- Flash OrangeFox recovery from here

-- Reboot to OrangeFox

-- Flash Vendor from here

-- Flash Firmware from here

-- Flash latest Evo12 from this thread.

-- Clear cache

-- Reboot
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] bram2202:
The config only uses 1 cam, and doesn't work in photo mode!?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] thefaraon:
Allo cameras work fine for me (urnyx 7.3 don't work for all lenses)
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] jolinnard:
After clean install (format data, latest fw, etc) if I return back to recovery seems encrypted. If I understood correctly, is not possible (for now) to decrypt in recovery, but can I install Magisk Canary anyway? How? (adb sideload perhaps?). Thanks for the ROM @joeyhuab

Edit: NVM I found how :)
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] BernatVM:
I'm still having problems with the fingerprint lock with the latest verison. Is anyone else having problems with it too?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Rishav411:
Google photos unlimited backup not working.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Rishav411:
Google photos unlimited backup not working
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] vysakhp:
Hi

I have updated to the latest version of Evolution X (November 16, 2021) by dirty flashing from previous version (November 07, 2021).In the changelog I saw AptX Adaptive support is included but I am still stuck with old AptX only. By the way I am using Redmi Earbuds 3 Pro (a k a Redmi Airdots 3 internationally). Is there anyway I can get AptX Adaptive without clean flash?

Please see the list of Bluetooth codecs shown in my phone below.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Dimon420:
Hi. In the latest update, the colored battery icon stopped working(
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] joeyhuab:
Wait until you get to lower levels.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Omegal:
Hello,

I don't know if it's only for me but since the last update, my phone is very laggy.

Does someone has the same ?

Thanks.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Omegal:
I'm sorry. After 10mn, it's now ok.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] DragunovMZK:
All you have to do is lock the screen and unlock it. After this, the phone works normally. I noticed that this happens a while after starting the phone. This is not a problem.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Imperator_Dei:
It seems like a lot of time-based events are broken: dark mode doesn't automatically activate and night light neither
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Bibotheghost:
Many thanks for the great ROM 😍
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] PaleMartian:
On my phone with evox clean flash installation, 05/13/2022 update, Google One Backup keeps failing with lockscteen security on.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Mr-Valdez:
Is it normal that i reach 43°C while charging? Constant fast charging tho so ill take it.👍👍
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] lefterisv:
the right way to install magisk? because apparently the files are not encrypted to be installed via TWRP
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Papf:
Download lastest Magisk module and flash via TWRP/OrangeFox?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Meruccubus:
Hi, is there any possibility, I do not know, for example, a module for a magisk that will detect any controller as that from PlayStation 4/5. I'd like to play call of duty mobile. I have 8Bitdo FC30 pro but unfortunately it is not detected by the game in any mode :( any way for spoofing this controller as other?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Papf:
Ask google ;) I know this https://xdaforums.com/t/module-1controller-1-module-to-support-all-game-controllers.3865889
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] lefterisv:
thanks! I also install Disable_Dm-Verity_ForceEncrypt_11.02.2020.

Btw, which of Google Bloatware can safely remove??
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Meruccubus:
unfortunately this module still does not make the FC30 pro detectable by Call of Duty Mobile ;/
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Meruccubus:
Why CPU Prime cluster is locked at 2227MHz? And why I can't change it with Franco kernel manager? @joeyhuab How i can get full access to manage my phone components. I want under clock when I use phone to Facebook/Twitter or yt etc. And full performance when gaming but it's not possible for now why?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Peter the Great:
Pretty sure codm requires an xinput controller.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Peter the Great:
Use a different kernel that supports what you want. I believe Joey has a few messages in this thread about what the kernel needs to support or else it'll crash the device. Also, @'ing him doesn't matter since he reads the whole thread regardless
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Meruccubus:
Hi Peter, can you help me with the Kernel selection? Beg u.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Peter the Great:
I use the stock kernel so I cannot
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] joeyhuab:
This new build reverts the switch to Pixel thermals to mi thermald for now to better handle ambient temps. Reset battery stats is now added to Settings app. Light theme QS panel has been been permanently removed. Status bar toggles for mute and vibrate are now separated. Fullscreen gestures toggle has been replaced with a different implementation. Compact layout toggle is now available for 3 button navbar users. And clicking Evolution X version in about phone has been changed. This also includes the latest version of Soviet kernel (v4.14.278).

Changelog for the latest (05/16/2022) update

Device changes:

==============================

Switch back to mi thermald

Upstream to latest Soviet kernel (v4.14.278)

------------------------------

ROM changes:

==============================

Add "ro.hardware.egl_legacy" for ANGLE system driver

BatteryService: Fix battery led not turning off when unplugged at 100%

Call setBrightness when user stops swiping on statusbar

Evolver: Allow enabling compact layout of 3 button navigation bar

Fix bluetooth percentage not showing on battery widget

NavigationBarInflaterView: fix concurrent unsafe variable leads to nohint overlay reload forever

NavigationBarView: Show floating rotation if 2-button nav mode enabled

Nuke Light theme for QS panel

PackageManagerService: Protect forced enabled components at runtime

PermissionManager: fix NPE in getIndicatorExemptedPackages

Replace fullscreen gestures with hide gestural navigation hint bar implementation

Settings: Add Reset battery stats button

Settings: Change Evolution X version preference behavior

Settings: Remove Google Cell Broadcast Receiver package config

SystemUI: Add missing call to init isDeviceProvisioned in PhoneStatusBarPolicy

SystemUI: Make isTablet() use correct API for getting window metrics

SystemUI: Split status bar icon controls for vibrate and mute

SystemUI: migrate status bar manual brightness to float

SystemUI: unify statusbar manual & auto brightness code

Update SysUI to be compatible with latest Jetpack libraries

Update translations

apn: Grameenphone uses APN 'gpinternet'

core: Disable LiveDisplay display mode by default

fix ProcessCpuTracker.java file sLoadComparator issue

keystore: Rate limit attestation for Google Play Services

overlays: Acherus: Use correct path for some icons

use more loadDrawableAsUser in MediaDataManager

version: Uprev to 6.4 (Snow-Relapse)

DOWNLOAD
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] -j03-:
I've had the phone completely freeze with screen on (had to hard reboot) few times in the last few weeks. Both times this has happened after going to home and when presumably the chip downclocks.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Alexintheecho:
Thanks for the continuous updates dude! Just one question: can you explain me like I'm five why Light Theme for QS it's problematic? I know there's something wrong with that, but not what and why
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Meruccubus:
Idk, maybe only me but Need to report. After this update my headphones (Sony wf-1000xm4) starts interrupt the sound.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Meruccubus:
It's something wrong with Wi-Fi or Bluetooth because of when I have adaptive bitrate ldac, the music pauses every few seconds and at the highest bitrate it is virtually impossible to listen. Never had this problem. I disable wifi and now music play without any problem on highest bitrate but i Think sometimes music speed up a bit.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] joeyhuab:
Because the code isn't stable enough to keep messing with it. As previously stated, Google chose to remove light theme on QS to allow for better transitioning and to use less resources that strains the system since it won't have to use different colors during different theme modes.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] jaks218:
Anyone else expierence excess heat in the last 2-3 Updates? My phone gets really warm on the upper right backside right next to the camera (on the side with the control buttonns). Its really uncomfortable after browsing chrome/reddit and such apps for a couple of minutes.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Alexintheecho:
Wow, it's incredible how something apparently simple (at least, visually), it could give so many complications. Thanks for the answer, it's fascinating for me and my curiosity :)
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] yamato047:
@joeyhuab thank you for this wonderful ROM!

I've just started using it and noticed a couple of issues:

-fingerprint doesn't always work when device is locked (usually for a long time, i suspect it's related to doze maybe)

-sometimes device is unbearably slow but it seems to be fixed by locking then unlocking in my short experience

-front camera motor stopped working randomly

Please let me know how to get logs and I'll try to get them next time when these issues occur.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] joeyhuab:
1. Fingerprint doesn't always work because it's trying to save your battery. Imagine the drain if it always listens to your touch.

2. It's been explained that the lag only happens after a reboot. Once you lock and unlock after a few seconds, it goes away.

3. Motor's never broken for me. Calibrate in stock ROM then come back or use the motor calibration apk found around the forum or telegram.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] yamato047:
Thanks for the quick reply!

1. Yep, I've figured, thanks for clarification!

2. Yeah, you're right, I've seen the issue mentioned but thought it was resolved on more recent builds, it's not an issue and i can live with it.

3. It's Viper4Android and other kinds of audio mods - for some reason it stops working after enabling those magisk modules and starts working fine after deleting them

Thanks once again for this really amazing and smooth ROM, it gave my device a new life
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Meruccubus:
Joey beg u fix Bluetooth connection stability. For me now big latency and impossible to listen music with Wi-Fi ON (Sony wf-1000xm4 LDAC)
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] joeyhuab:
Dude, spamming my thread won't fix your issue. No one else has the same problems as you. I don't see anyone else reporting the same issue.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] jottect:
I'm listening flac audio through aptx to bluetooth earbuds and with wi-fi on all the time... working as expected, no issues here!
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Anand_theGeek:
Can someone list the major bugs common to all in this ROM. I am planning to flash this ROM and this can help me make an informed decision.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] zinko_pt:
Sure buddy, here you go:
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Mr-Valdez:
U dont get the lag after every reboot?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] joeyhuab:
He said major bugs. That isn't major unless you reboot like a madman.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Mr-Valdez:
Well he said bugs common to all so i thought it was major. Other than that, this is an excellent rom👌👌👌.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] zinko_pt:
Sorry for the unconventional answer.

There is no major bugs. I wouldn't consider the lag after first reboot even a bug, but rather a feature. Same kind of thing happens when you apply a major update in windows.

It's how it works. Because it works just fine.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Anand_theGeek:
What??? Is that sooooooo long😂😂😂
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] bradliam1:
Still having some problems with night light turning on off random times, not adhering to the schedule choosen, anyone else?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] joeyhuab:
Night light scheduling is broken. Just deal with it for now. I'm not fixing it anytime soon as there aren't any available fixes for it at the moment.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] vinyasmusic:
Flashed the ROM recently. Having issue with overnight battery drain of 20% and permission getting reset for apps like Microsoft Launcher and Glasswire.

Any solution for these.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] roirraW "edor" ehT:
<Moderator Note>: Thread cleaned.

EVERYONE

including @-j03-, @joeyhuab, and @nerzwerk: this is a courtesy warning. Next time, anyone involved will get something official.

@-j03- Welcome to XDA. Being a new user doesn't excuse you from XDA's rules, particularly Rule 2:

Everyone else, being not new users, and actually having been on the site seven to ten years, should know better.

If someone else breaks the rules, do not reply to them. Only report the post. This applies to everybody. If you merely don't like what someone else has said, but they don't break the rules, then just ignore it.

I'll unlock this thread in a minute or five. Go take a breather.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] paarkhi:
I think developer @joeyhuab is doing a great job by keeping this device alive with updates and constantly trying to fix the bugs by listening the user feedback, I am thankful for that.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Adly1991:
Of course .. almost the best custom Rom for k20 pro .. actually i was going to change the device but after installing the Rom .. i am enjoying it and i feel like it's a new device.. specially that i have premium edition so it can last longer with a great rom like this
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] joeyhuab:
Appreciate the clean up. And I advise to watch that guy's conduct. He's still doing laugh reacts even after your warning so I think he's not at all ashamed of what he did.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] LeandroN-:
New account because I can't remember the other one's credential.

EvoX for raphael in just a rom, it's THE ROM.

Constantly updated, pretty much every feature asked for ended up being added, and an AMAZING battery backup.

My 3 years old device with no battery replacement (rounding about 3000mAh) is easily able to reach 6h SOT, lasting a full day of work and reading.

Support from the developer and mods on the Telegram group is excellent.

Really, in a country where good quality-price phones are hard to get by, Joey's work is greatly appreciated. <3 uwu
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] bujing2:
Guys if you need best costom rom then flash latest Evolution X, thank you Joeyhuab
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] abhishek biswas:
Need charge limit in next build
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] cudi90:
Hello,

I have already tried many things to solve my problem with the fingerprint sensor.

I've cleared the cache after every update, done a complete clean flash, stored several fingers, even twice.

But unlocking the phone with just my finger while the screen is off doesn't always work.

Sometimes it works and then it doesn't.

I have installed the EU firmware.

Can anyone help me with this or is this a known problem?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] vinyasmusic:
Hey how are you getting 6hrs SOT , I am merely getting 4hrs even with higher battery health.

Any tips ?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Anand_theGeek:
@joeyhuab can you pls help me out with Evolution X Snow 2 ROM, I saw you are maintaining this rom as well. How is it different from the normal ROM. Where can I download the same?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] joeyhuab:
That's already a known feature. It turns off fingerprint listening to save your battery. Check the previous page. I've already explained this.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] joeyhuab:
I don't understand what you're trying to say. There's only 1 ROM for Evo per device.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Anand_theGeek:
Pls check this video
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] joeyhuab:
That's no different than the one linked in this thread.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] mark.dx:
There are so many factors that influence SoT, like how many apps running in background, did you connect to any bluetooth devices, do you use mostly LTE or wifi, do you play games or use heavy apps, do you often get calls or emails etc.

Some tips that what I can suggest :

- disable auto brightness and lower the brightness of your screen.

- remove/disable unused apps, some apps might run in background even when not used to fetch notification

- make sure your phone have better signal coverage. bad signal coverage makes your phone work harder to acquire signal, therefore consume more battery.

- disable ambient display completely

- disable some features when not used (location, bluetooth, nfc, etc.)

- if you just freshly install a new rom, wait 1-3 days for your phone to settle down before you assess the battery life. when freshly installed rom, many things happen in background ie. checking updates, backup, configure things etc. Even you didn't notice that usually you use the phone more intensively after flashing a new rom to check new features and things, all those things consume your battery faster without you noticing and start assuming the SoT are shorter than before. Wait for a while so your phone settle down and you can start to observe your battery consumption.

I think that's all I can suggest from me, Android 12 are so optimized compared to previous version we are no longer need to install apps like Greenify anymore.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] cudi90:
If I use the device for two days without restarting it, then over time there are micro lags when opening apps or when the gboard keyboard pops up. When I restart the phone, they go away for a while, but eventually come back.

I had the problem before the Clean Flash as well.

What could be the reason for this?