yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] Don'tNoticeMe:
No. I flashed this kernel with magisk installed and it just gave me a log of "patching kernel so reflashing magisk is unnecessary"
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] Asceron:
ohh nice nice, thanks for the info, im new to this hehe
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] HafidzRadhival:
you can flash without rooting device. ;)
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] Don'tNoticeMe:
Every kernel flashable zip has different scripts(depends, but usually). So make sure you ask all the information you needed before flashing it, remember that
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] d1mbo:
Sorry to ask, can i use this kernel on resurrection remix? The latest build tree is fully lineage tho. Will there any issues to know?
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] HafidzRadhival:
np bro, u can use on RR Rom.

btw, there is a ROM that I built as well and uses the lineage tree, and there are no problems at all. ;)
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] d1mbo:
What is the name of the rom?
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] d1mbo:
Hello, this is the first time I'm using custom kernel, is there anything I need to do/know after installing it?.

BTW greatworks, it fixes some bugs
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] Asceron:
Noted sirs, many thanks :) :victory:
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] Don'tNoticeMe:
I don't think there's any more instructions after flashing a custom kernel. You can just do anything you want like changing the the set the maximum processor speed, set the maximum amount of cores that is online, set adreno idler and stuff like that. These stuff i mentioned aren't necessary it's just things you can do with a custom kernel
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] HafidzRadhival:
flash and enjoy, and take advantage of what is. ;)
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] d1mbo:
Thankyou so much, i enjoyed this kernel tho
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] NeppuVN:
Every time there's a new kernel update, should I take any action before and after an update?
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] HafidzRadhival:
what kind of action do you mean? :confused:
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] Don'tNoticeMe:
Before the update you should backup boot partition and /vendor/lib/modules in case you want to go back or something happened. Data backup isn't necessary since it's going to take a long time to finish just for a kernel flash/update. After an update you should probably test some things (apps and games you use/play and some other stuff) this way you can find and report bugs (if it has any).
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] HafidzRadhival:
SiLonT-Kernel V11.0.4 | 16/10/2020

Changelogs:

• Upstreamed to 4.9.239

• Merge CAF TAG LA.UM.8.6.2.r1-08600-89xx.0

• Merge CAF TAG LA.UM.9.6.2.r1-02500-89xx.0

Download Link: SiLonTKernel-Download
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] adithya100:
Sorry if this is a noob problem. Was using MIUI 11 until few days ago before finally flashing Ancient OS 4.0, which comes with SiLonT as default kernel. The performance is much better than stock but the battery life takes a significant hit.

Which kernel manager do i use that actually works? Tried smart pack and Franco kernel manager. Both of which show entirely different readings for the CPU usage, and some of the settings won't remain after reboot and I have to change them manually each time.

I can't seem to turn off input boost at all and the freq jumps up to 1536 mhz for every single tap, and what's worse is that the freq of the second cluster won't go down below 1094 mhz even in idle and is draining the battery faster.

I'm not sure if this is a ROM issue or a kernel issue, but I thought that I would ask here anyway. I tried Garuda kernel as well and the second cluster remains at 1094 mhz in that as well. Any help would be appreciated, thanks.
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] HafidzRadhival:
why you not underclock? I have provided this feature. why not try?

btw, i have ss SOT, see : https://ibb.co/MSC3xJM

on the SS I do not use the underclock at all.
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] adithya100:
If you mean underclock the minimum freq, I cant. Every time I change the minimum freq to 300 mhz it resets back to 1094 mhz and stays there.
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] HafidzRadhival:
that's why you use it. see here: https://ibb.co/hBrpGZ1
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] adithya100:
Sadly i cant post image to show you. It WON'T allow me to change the minimum frequency for the BIG cluster, it's stuck at 1094 mhz. I might have to try another ROM and see if fixes the problem or not.
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] HafidzRadhival:
give it a try, I don't have much time to try one by one.
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] sherindroid:
I fixed it.

Try these commands in terminal with su rights

echo "300000" > /sys/module/big_cluster_min_freq_adjust/parameters/min_freq_floor;

This will fix your problem.

Hit thanks meter if worked :p
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] adithya100:
Thank you, that fixed it :good:
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] freeZbies:
What's the benefit of overclocking the audio processor? I noticed no difference at all.
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] HafidzRadhival:
SiLonT-Kernel V11.0.5 | 24/10/2020

Changelogs:

• Upstreamed to 4.9.240

Download Link: SiLonTKernel-Download
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] Sam_As:
The best kernel, thamk you!
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] HafidzRadhival:
SiLonT-Kernel V11.0.6 | 26/10/2020

Changelogs:

• Initial Release for MIUI

• Upstreamed to 4.9.240

• Build with SiLonT-Clang (V.20201020)

• Fixed front Camera

Notes : Tested on MIUI 12 Nusantara

Download Link: SiLonTKernel-Download
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] eraofeidolon:
Thank you for this amazing work!!!

Works great with franco kernel manager???

Adding An overclocked update will be more amazing (please consider if you have spare time?)

Many thanks!!!!
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] HafidzRadhival:
SiLonT-Kernel V11.0.7 | 30/10/2020

Changelogs:

• Upstreamed to 4.9.241

• Merged CAF TAG LA.UM.9.6.2.r1-02800-89xx.0

Download Link: SiLonTKernel-Download
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] HafidzRadhival:
SiLonT-Kernel V11.0.8 | 12/11/2020

Changelogs:

• Upstreamed Kernel to 4.9.243

• Build with SiLonT-Clang (Build V.20201109)

• SElinux is now Enforcing

• add sysfs node in dpu driver to provide fps

• Compress kernel with LZ4

• Fix CPU idle time tracking

• Define GPU thermal zones for KGSL sysfs

• reduce buffer-induced latency ethernet

• Fix Network Signal Guru

• add ROW io scheduler

Download Link: SiLonTKernel-Download
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] dexxr23:
How to download Github repository this kernel?
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] HafidzRadhival:
SiLonT-Kernel V11.0.9 | 19/11/2020

Changelogs:

*• Upstreamed to 4.9.244

*• Reimport DSI-Panel From Xiaomi Q

*• Silence healthd and batteryd logs

*• Fix Slow Charge Issue

*• Update Wireguard to Version 1.0.20200712

Notes :

*• For MIUI Kernel maybe only Support for MIUI Android 10.

*• Tested on MIUI.EU (V11.0.3.0)(A10)

*• Joy-UI Port By MhdRezza

Download Link: SiLonTKernel-Download
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] HafidzRadhival:
SiLonT-Kernel V11.0.10 | 27/11/2020

Changelogs:

• Upstreamed to 4.9.246

• Build with SiLonT-Clang (V.20201127)

Download Link: SiLonTKernel-Download
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] EgorPlay666 | Warframe:
What's better now? SilonT kernel or Genom magic kernel? What you think about that?
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] HafidzRadhival:
SiLonT-Kernel V11.0.11 | 29/12/2020

Changelogs:

• Upstreamed Kernel to 4.9.249

• Enabled CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE

• Fix Missing Clock Frequency to CPU Nodes

• Merged CAF TAG LA.UM.9.6.2.r1-03300-89xx.0

• Merged CAF TAG LA.UM.8.6.2.r1-08800-89xx.0

Download Link: SiLonTKernel-Download
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] moedjs:
Nice, it boost finger print detection on Lineage OS... great job...
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] Mortaux:
I installed the Silon Kernel to use with the Komodo OS now let's see how the battery looks on Redmi 7 - Onclite
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] HafidzRadhival:
SiLonT-Kernel V11.0.12 | 17/01/2021

Changelogs:

• Upstreamed Kernel to 4.9.251

• Merged CAF TAG LA.UM.9.6.2.r1-03600-89xx.0

Download Link: SiLonTKernel-Download
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] Samiranboruah:
Hows battery life with this kernel and lineage os 17
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] HafidzRadhival:
SiLonT-Kernel V11.0.13 | 28/01/2021

Changelogs:

• Upstreamed Kernel to 4.9.253

• Merged CAF TAG LA.UM.9.6.2.r1-03800-89xx.0

Download Link: SiLonTKernel-Download
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] moedjs:
Battery life is pretty good.

What I like from this kernel is, it boosts the finger print detection.
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] HafidzRadhival:
SiLonT-Kernel V11.0.14 | 13/02/2021

Changelogs:

• Upstreamed to 4.9.257

• Merged CAF Tag LA.UM.8.6.2.r1-08900-89xx.0

• Compiled with GengKapak-Clang (Clang 13)

• Remove Driver 88xxAU for Nethunter

• Optimize and Debloat defconfig

Download Link: SiLonTKernel-Download
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] HafidzRadhival:
SiLonT-Kernel V11.0.15 | 18/02/2021

Changelogs:

• Fix Lag or Stuck playing videos in WhatsApp or Youtube.

Download Link: SiLonTKernel-Download
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] Asceron:
It seems that 60fps is gone
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] HafidzRadhival:
SiLonT-Kernel V11.0.16 | 23/02/2021

Changelogs:

• Upstreamed to 4.9.258

• Merged CAF TAG LA.UM.8.6.2.r1-09200-89xx.0

• Use the stock config for /proc/config.gz

Notes : Don't forget to wipe dalvik and cache after flash kernel.

Download Link: SiLonTKernel-Download
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] dinodva:
On Mooke 10, Silon is the only one perfectly working kernel (performance, battery, overall smooth user experience). On stock MK kernel, gcam lags horribly with 4k resolution, after flashing Silon, works as a charm. Superb Pixel experience as on stock AOSP, with Gcam, 24 bit HD audio and excellent battery life. After night standby, 100% battery remains without any kernel tweaker. So far, I use version 20.11.12, now will try the latest one. Thanks a lot for your great job.

Note: My phone has only 2gb ram (good for battery, bad for performance). Therefore for improved performance (to awoid heavy load of Gaps), I use Microg (not Magisk module, for it create some problems), but directly copy and paste extracted from Magisk module Microg files into system directory. It takes some time, but as reward, the system more stable. I neither activated any spoof signature, required for proper work of Microg, nor most Microg permissions, but all apps, (I use mostly mods), work fine, and no crash reports for Microg (as with Magisk module) are apear. Besides all Mooke bloatwares (aegis, sound fx, email, via browser, phonograph, warp share and some others) were manually removed via recovery, after disabling (some of them) from settings/apps.

Also, I have noticed that on many custom rooms for Redmi7, many important modules from (lib/modules) somehow were removed from the vendor image. I, personally use to manually add them through Orange Fox recovery (just copy and paste and setting proper permissions via Aroma file manager), and after this flashing kernel. Not sure, if it makes any difference for performance, but for sure some modules by default are important for sdm core performance. On MIUI stock, Asus sdm632, Pixel stock, they are, but on MK and many others custom rooms for Redmi7, they are absent. I am sending them within the attachment along some extra modules from Pixel 3a stock and Mi10 lite for reference purpose. Some modules in attachment are already included in MK vendor, but it is quite safe to overwrite them with similar modules from the attachment. In MK are only 8 modules, in stock MIUI 31, and in attachment 59.

Important: any copy and paste files into system and vendor via recovery require afterwards setting proper file permissions for the copied files. Without doing this, sure bootloop will occur. Also copy files via android ui root file managers, even if it practically possible (no need even manually set permissions), would wreak havoc into the system integrity. Aroma file manager is good only for setting permissions; batch copy files from it once broke all system permissions on my phone and made it unbootable. The Orange Fox recovery with FBE and FDE support highly recommended for all purposes (superb).

Attachment:
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] Deadline.D:
i was using this kernel on Resurrection remix android 10, but now i flashed LOS 18.1; Is this kernel compatible with A11?
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] HafidzRadhival:
yes, ofc
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] HafidzRadhival:
SiLonT-Kernel V11.0.17 | 04/04/2021

Changelogs:

• Upstreamed to 4.9.264

• Merged CAF TAG LA.UM.8.6.2.r1-08100-89xx.0

• Merged CAF TAG LA.UM.9.6.2.r1-04200-89xx.0

• Update wireguard to version 1.0.20210219

• Enable zRAM writeback and Compressed with LZ4

• Optimize and Debloat

• Fix slower audio after merge kernel

• Fix uninitialized variable usage and some memory leaks

• Fix transposed panel_switch and panel_post_switch

• Fix load balancing for big tasks

• Reduce latency while processing ioctls and atomic ioctls

• Reduce touch latency

• Improve the scheduler

• Change default SCHED_RR timeslice from 100 ms to 1 jiffy

• Affine unbound workqueues to little CPUs by default

• Add support for LLVM's Polly optimizer

Notes : Don't forget to wipe dalvik and cache after flash kernel.

Download Link: SiLonTKernel-Download
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] Humphrrey:
Thanks!
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] Pontigon3:
hi..i install it in twrp to my miui 11 android 10 but not working always booting in twrp recovery
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] shadowstep:
THREAD LOCKED

Due to income generating download link.

Regards,

shadowstep

Forum Moderator
[Mogul, XV6800 General] arifiano:
Hi Everyone -

I just flashed to DCD ROM 3.2.5.

Now whenever i try to text using my QWERTY keyboard, it defaults to all CAPS. I have to turn on the caps button to have it switch to normal lower case.

This is happening with emails also as long as I am using the keyboard.

It appears that the functionality of CAPS and NOT CAPS has been turned around.

Anyone have this issue also or have a solution?

Thank u!
[Mogul, XV6800 General] serfboreds:
Reflash and let me know if it persists.
[Mogul, XV6800 General] arifiano:
Strange - But I re-flashed and it is working normally now.

It must have been something when i flashed from DCD 3.2.0 - 3.2.5
[Mogul, XV6800 General] serfboreds:
Great, I was pretty sure that would work. Glad to hear.
[Samsung Galaxy S7 Edge Guides, News, & Discussion] picdu:
hey guys, i think i really did everything wrong about rooting...

i tried to root my s7 edge with odin, so i flashed the newest twrp and that worked but my phone wasntn rootet, so i flashed magisk v16 from twrp after and got stucked in the samsung logo and my idea was to flash lineage 17.1 and superSu and now my internal storage is no more shown in twrp and my phone now is not even stucking in the samsung logo anymore, it stucks in the really first "samsung Galaxy edge screen" and even twrp stucks in booting screen, only thing working right now is download mode

i did everything youtubers told me and i still stuck in this screen and wanna know if theres a solution, or is there no chance left for my phone?

ofc i havent done any backups..

so at first, pls dont judge me, im really new to the scene and on youtube everything looked so easy and the second thing is my language

my english is not that good

is there a way to completely go back to stock and stock kernel or might the internal storage got damage by all the things ive done?

couldnt find any solution on xda or youtube
[Samsung Galaxy S7 Edge Guides, News, & Discussion] User_99:
Try to boot into twrp again.

Flash encryption file (no verify opt encrypt 6.0.zip) for internal memory. Think this is your problem. Your memory is encrypted.

Read this thread : https://xdaforums.com/s7-edge/how-to/guide-how-to-root-android-8-0-oreo-t3840271
[Samsung Galaxy S7 Edge Guides, News, & Discussion] a121e:
You can try this link to unbrick your phone and try to root again.

https://xdaforums.com/s7-edge/how-to/guide-unbrick-install-stock-rom-samsung-t3550669
[Samsung Galaxy S7 Edge Guides, News, & Discussion] avoup:
Hey,

I actually had kind of same problem when I tried to flash stock ROM,

I got pretty much everything wrong when I was trying to make it boot again,

so I almost bricked it.

Only download mode was working and TWRP couldn't boot,

So I left it until battery drained and phone turned off,

after that I plugged the phone into a PC, opened download mode and flashed only BL, CP and CSC in odin, one by one.

I skipped AP because it got stuck every time I tried to flash stock ROM,

But flashing TWRP was always successful.

So I flashed TWRP, successfully, and tried to boot,

and it booted, it took several restarts but it actually booted.

If you boot into TWRP you will be able to get it to work again,

by repairing or formatting partitions and flashing stock ROM after that.
[Redmi Note 8 Guides, News, & Discussion] dimzon541:
Seem's like there are new ro.boot.hwversion=19.39.0 is out. TWPR and some "Unified 8/T" custom ROMs detects such Note 8T as plain Note 8 (no NFC)

TWPR problem reported: https://github.com/mauronofrio/android_device_xiaomi_ginkgo/issues/3

Unfortunally thus bugs affects some custom ROMs too...
[Redmi K20 / Xiaomi Mi 9T Questions & Answers] prvi357:
Hello guys, i have one problem, with every update my phone battery life is getting worse and worse... im on MIUI Global 11.0.6 (QFJEUXM). I have some screenshots from a test that i did. I really dont know what is problem but 5h to MAX 6h SoT is what i can get, and before 2 or 3 updates i had around 8h SoT. Only thing i didnt do is Factory Reset, i just want to hear if anyone else has similar problem. Im noob i have never root phones and stuff like that i just use phone as i bought it. Thanks for your replies. I dont think im able to post Screenshots but Android System is taking 20 - 30% of Battery.
[Redmi K20 / Xiaomi Mi 9T Questions & Answers] sudhanshugrover:
This is the same for everyone. Xiaomi is not optimizing its updates for Mi9T after MIUI 10 rolled out.

The reason why you're getting low SoTs is because a lot of applications are running in the background and the only way to get authority to restrict them is by rooting your phone.

I tried all (almost) the tweaks available on the internet before i decided to root my phone, and I'm never going back to an unrooted Mi9T.
[Redmi K20 / Xiaomi Mi 9T Questions & Answers] spring_roll:
I can't confirm that. I had 8-9.5 hours SOT on Miui 10 and Miui 11.

Now I am on Pixel Experience Plus (a custom ROM) and have 8-8.5 hours SOT.
[Redmi K20 / Xiaomi Mi 9T Questions & Answers] sym_m:
my device also have worse battery and performance on miui 11 i regret that i got xiaomi phone again after poco

EDIT : i did full rest after the update i said maybe it will fix my issues but this is always how miui roms its full of bugs like some beginner dev build a rom i am on global rom BTW
[Redmi K20 / Xiaomi Mi 9T Questions & Answers] 160R:
11.0.6.0 eea rulls

2 days on battery cca 10h sot, 3 days on batt cca 8h sot
[Redmi K20 / Xiaomi Mi 9T Questions & Answers] prvi357:
Yea, i understand, dont know will miui 12 fix this problem, kinda want to wait for it. And if problem is not solved i guess only solution is root but i have 0 idea how to do it i guess tutorials are my friends ???
[Redmi K20 / Xiaomi Mi 9T Questions & Answers] JohnnyxS:
I don't see your pictures but the way you described it, sounds to me like you have a problem like people on reddit that found a solution. I will send you a link via pm and you can try it if you want
[Redmi K20 / Xiaomi Mi 9T Questions & Answers] keepercito:
I think the battery drain problem is on android 10. I remember when I was on miui 11 android 9 and has a better battery life. The only "solution" posted on mi community by the developers is to factory reset and it does for nothing
[Redmi K20 / Xiaomi Mi 9T Questions & Answers] prvi357:
Update*

I just got MIUI 12, i will do test with miui optimization ON and OFF, i have done "hotfix" that JohnnyxS sent me. And i think that "hotfix" is actualy working as i had 50mins SoT and battey was on 89% after i did those steps from reddit post (then i updated to MIUI 12) and now need to do it all over again :D
[Redmi K20 / Xiaomi Mi 9T Questions & Answers] JohnnyxS:
I'm glad mate, looking forward to your findings!
[Redmi K20 / Xiaomi Mi 9T Questions & Answers] thomasginn:
Is it possible to post the fix here? I have the same problem and maybe others that have the same issue might fix it with your fix! :) Tks
[Redmi K20 / Xiaomi Mi 9T Questions & Answers] JohnnyxS:
I had to read the rules about the links, seems to be allowed for topic in hand.

This is a potential fix for battery drain on mi 9t/redmi k20:

https://www.reddit.com/r/Mi9T/comments/exlib1/found_fix_for_battery_drain/
[Redmi K20 / Xiaomi Mi 9T Questions & Answers] pilicar:
My battery life actually for better a couple of days ago. Still not as good as Android 9.
[Redmi K20 / Xiaomi Mi 9T Questions & Answers] malowz:
Put miui 12.0.2.0 on my global 9t, "android system" is using more than usual. tried a few tips mentioned in this and others posts but no effect. will dig more in the next days.
[Redmi K20 / Xiaomi Mi 9T Questions & Answers] JohnnyxS:
I don't know how explored is miui 12, since it's new. Gl mate, please share if you find something
[Redmi K20 / Xiaomi Mi 9T Questions & Answers] prvi357:
Update* 2

Ok now when i finished my test this is what i can say as MIUI 12 Jumped in middle of my test i had to take my time and do it again. Only those TIPS from JohnnyxS post helped a little bit but not much, i had around 5 hours and 30 mins SoT. Then what i did: Factory reset, redownload update and re install it, then i did Hotfix from post and debloat phone, i unistalled all apps that i did not need with this Tool https://github.com/Szaki/XiaomiADBFastbootTools , DO NOT UNINSTALL SECURITY, people say it can brick your phone so dont do that. I unistalled apps like Facebook, Mi documents, Mi Pay, Mi browser (apps that i dont use) etc. and always MIUI optimization OFF seems like its broken. Now I have been using phone since yesterday 16:00 pm, now is 15:30 pm i have 43% battery and 4 hours and 30 min SoT. thats how i manage to fix my batterylife. I hope this will help someone since i know how is frustrating situation.

1. Factory Reset

2. Reinstall Update

3. Hotfix (From JohnnyxS post)

4. Debloat.

5. MIUI optimization OFF

GL to everyone

Android System is at 27% still really high i dont know how to fix that.
[Redmi K20 / Xiaomi Mi 9T Questions & Answers] zgfg:
Can you please post a screenshot how idle (like overnight, with WiFi and Mobile on) looks like - how much it drains per hour
[Redmi K20 / Xiaomi Mi 9T Questions & Answers] JohnnyxS:
Thanks for sharing mate, how is idle drain?
[Redmi K20 / Xiaomi Mi 9T Questions & Answers] zgfg:
Maybe, delete system to prevent booting and draining battery ?