yashsingh1/xdaforums huggingface dataset:
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Tsaim:
Hi Peter, thanks for the response!

The idea with the applist detector was good! It showed me that it still detected LSposed so I deinstalled the app after creating a shortcut. Now, it still detects my "Hide my Applist" app though... What can I do about that?

Deinstalling and reinstalling didn't help.

My Banking TAN app

S-pushTAN - sichere Freigaben - Apps on Google Play

Convenient order approval for mobile and online banking.

play.google.com

DKB-TAN2go - Apps on Google Play

TAN2go — Secure TAN receipt on smartphone or tablet for your DKB banking.

play.google.com

Banking app

Sparkasse Ihre mobile Filiale - Apps on Google Play

THE OFFICIAL APP OF THE SAVINGS BANK - YOUR MOBILE STORE

play.google.com
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Henriqueceni:
Guys i have a big issue with battery, anyone facing same? 10% usage every hour without any use, and 3 hours with screen on Basic usage.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] kubajadek:
Hi, I am on latest build and I noticed werid sound coming out of speaker after playing system sounds like lock or touch sound. You can listen to it on this video:
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] DragunovMZK:
I have a k20 pro. after last update i noticed increased battery usage. do you also have such feelings?

Showing data consumption is a great idea but I noticed that it can not be changed between WiFi / Mobile Data. Showing only this active mode. It would be nice if it could be turned off in the evolver.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Peter the Great:
After lots of debugging I think I figured it out. Shamiko for some reason doesn't prevent the app from knowing Zygisk is enabled, so, whenever you want to open those apps, go to Magisk Manager settings, enable Enforce Denylist toggle, this should allow the app to open (might crash the first time). After it's opened, you can disable the Enforce Denylist toggle once again, however if the app is ever terminated (either manually or due to RAM limitations), you will need to do this toggle on toggle off process again. Let me know if it works.

Note that you can leave the toggle on at all times anyways, just that Shamiko won't work (which will prevent lots of other apps from detecting root). I think Shamiko should add a feature where you can have some apps use the traditional DenyList and others use Shamiko. Though it isn't open source and so I can't really do anything about it other than contact canyie to see if this feature would even be possible.

On your statement about HMA showing in the Applist Detector, did you add HMA to the blacklist template you made, and enable Applist Detector in the Effective Apps list? Make sure this is done to prevent Applist Detector from detecting it.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] StockyNerd:
is widevine L1 support present?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Fire_Falcon:
Do we need to flash vendor pkg also or only firmware is good enough?? ... vendor included in rom?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Ziomal_1313:
Is there an option in the system to quickly turn on the flashlight? I can't find it, and I miss that option.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] ivanfix69:
Yes.

System/The Evolver/Toggle torch when screen off
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Seb M:
Hello, thank you for your excellent work.

I just installed the ROM. Almost everything works except the optical sensor under the screen. It does not detect my finger. Yet on other ROMs, it works perfectly.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Tsaim:
Hi Peter, thanks again for all the effort, I appreciate it!

With the Enforce Denylist toggle I managed to get the Tan2Go and the Sparkassen app working. However, the S-PushTan app still crashes every time.

I deinstalled the S-PushTan app, rebooted my phone and reinstalled the app but it still crashes.

About the HMA showing. I added "com.tsng.hidemyapplist" in the blacklist and did exactly as you stated in your recipe:
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Seb M:
I reinstalled the ROM a second time and the finger detection worked.

On the other hand, vibrations do not exist. For the keyboard, you have to change the time parameters to find them.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Peter the Great:
S-PushTan is working for me, you'll need to share logs for me to diagnose further. About HMA showing in the Applist Detector, can you confirm that you added Applist Detector to the Effective Apps list? Also, what category does HMA appear in, in the Applist Detector? HMA has an option in its settings to disable opening it from your launcher, you can then remove it from your home screen, then to open HMA from then on, you'd open LSPosed, go to the Modules tab, press on HMA and click the settings icon in the bottom right. This might work to conceal HMA completely.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] edddie23:
Try to switch off NFC and Bluetooth and watch your doze time percentage, which is only 9% on your first screenshot.

I have noticed that in my case with NFC On phone stays asleep only 40% of screen off time. And my feeling is that during screen on time power consumption increases drastically. And if you have Bluetooth On and phone is connected to any device, phone doesn't go asleep at all. It is when I am driving my car and phone connects to car's multimedia just to be able to receive call hands free, it never goes asleep.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Imperator_Dei:
I'd like to add my grain of salt about battery consumption one last time: It seems like it wasn't related to the ROM but the way I charge my phone: I don't know why but since I changed my charging board and I can truly fast charge (18W instead of 10W) it seems like my battery has "more capacity", as weird as it seems.

I can now have a full day of use on one charge.

For those having battery problems please consider changing battery + charging board before complaining about the rom.

Apologies to @joeyhuab and thanks for this amazing rom, really stable lately, I'll consider donating
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] joeyhuab:
I think there's a chance the battery life can really be improved on a new device tree/kernel combo I'm working on for the next update.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Tsaim:
Soooo, it works now!

There were 2 more mistakes from my side: After deinstalling and reinstalling the S-PushTan app, I forgot to add it once again to the hide list in Magisk.

And you were right, I indeed seemed to somehow have forgotten to add the Applist Detector to the root and effective app list.

A huge thank you @Peter the Great for all the help and effort and sorry for those mistakes of mine!!
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Papf:
If u lose the L1 after installing here is the instruction to recover it:

- make a NAND copy

- install xiaomi.eu ROM (instruction how to recover L1 https://xiaomi.eu/community/threads/info-widevine-l1-support.61064/)

- restore the copy but without persist partition

- you should have L1 again

- you can have an issue with lock pattern after restoring just do this: Delete (or rename) the following files inside /data/system: locksettings.db

- clear Netflix data
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] joeyhuab:
The new build is out! After initial testing and cleaning up the remaining log spams, it's here. It uses a more updated version of the Arrow 12.1 raphael tree with additions from Akash's msmnile-raphael A12 tree and Utsav's A11 tree. Other changes include the implementation of allowing SBC as an HD codec for BT devices, switching to QCOM's WFD implementation (for cast/wifi display), and switching to Xiaomi Power HAL aka libperfmgr, which uses an implementation similar to the Google Pixel devices. Battery life should be better and performance stays top level too.

Changelog for the latest (04/19/2022) update

Device changes:

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

Migrate to Xiaomi power HAL AIDL (part of Arrow 12.1 tree)

Switch to QCOM Wifi Display implementation

Switch to a cleaner device tree (a mix of Arrow 12.1 tree, Akash msmnile-raphael A12 tree and Utsav's A11 tree)

Switch to a different branch for Soviet kernel

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

ROM changes:

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

Add smart idle maintenance service

Allow SBC as HD audio codec in Bluetooth device configuration

Allow provisioning package to retrieve subGrp, clear its own config

DeviceGroup: Check RSI data with filtered scan results

DisplayPowerController: Don't apply brightness adjustment if NaN

Do not lock when biometric lock status is cleared

Evolver: Allow hiding system apps that appear in launcher

Evolver: Bring back HeadsUp blocklist/stoplist/snooze/timeout

Evolver: Introduce OOS style notification clear all button

HeadsUp: Move timeout option to SettingsObserver instead

Move PackageManager new user logic after dispatching

Remove libbfqio

Settings: Add TalkBack accessibility service

Settings: Add toggle to switch between AOSP/Google battery graphs

Settings: Align user avatar with homepage title

Settings: Disable tips and support

Settings: Fixup start padding for battery usage graph

Settings: Remove empty Security status header

Settingslib: Remove a reflect method that can never succeed

SystemUI: Fix pulseOut fails before fully pulsing

SystemUI: QSTileImpl: bail out early in handleLongClick if getLongClickIntent returns null

Treat default value that wasn't found as empty value

fixup! Evolver: applock: intercept activity in a better way

fuelgauge: Update clean up for estimate

fuelgauge: Use Enhanced Battery Prediction from Turbo

overlay: Disable AiAiTranslationService usage

overlay: show all icons in collapsed statusbar

prebuilt: fix APN for Vodafone NL

udfps: Disable Night Light when showUdfpsOverlay

DOWNLOAD
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] roysudip900:
Is OTA update possible?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] joeyhuab:
Always unless stated otherwise.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] joeyhuab:
I'll be posting a follow-up with a fix to bring back NFC for non-raphaelin devices.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Papf:
I have Raphael (Mi9T Pro/Redmi K20 Pro) and I don't have NFC at the moment 😢
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] joeyhuab:
Should be posted.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Peter the Great:
Hello, I just updated to this ROM from the Android 11 version. Some opinions I have: you cannot hold your finger on the screen before the fingerprint scanner is activated, in Android 11, I could place my finger as quickly as I wanted, and it would still scan my finger. Back gesture vibration has been removed, only the vibration when your finger lifts off the screen remains. I enjoy it when there are two vibrations, one for the back gesture, and another for the release of the finger. The navigation pill keeps reappearing on its own even when fullscreen gestures are enabled. A temporary fix is to enable 2-button gestures then revert back to swipe gestures. Other than that all is working smoothly. Thanks Joey.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Papf:
Thx for fast fix 😘

But I have an issue with my bank app - it won't let me use fingerprint for login (everything else works fine) - when I want to activate the fingerprint login the app crashes (and only this app - all other apps using fingerprint to login work great) 😔
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] joeyhuab:
Cancelled and removed the latest update after reports of broken wifi hotspot. Will come back in 2-3 days to make and test a new build.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] joeyhuab:
Flash this for now. I'll be posting the update announcement when I get back home in 2-3 days. It's confirmed to have the wifi hotspot issue fixed. It's also available as the latest build in sourceforge.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] roysudip900:
thank you @joeyhuab
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] roysudip900:
I think the Indian variant of K20 pro does not have NFC. Only the Chinese mi 9t pro variant had that. Is that bit of information correct?

Anyway, love you man.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] atxbang56:
what is the location of the downloaded file when you download updates through integrated system update menu ?

I did it last night (not flashed) but don't know where is the file and now I see that the update has been removed. I'd like to clean storage instead of consuming 2gb
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Papf:
@joeyhuab Something is very bad 😢
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Peter the Great:
/data/system_updates (in root of storage, not sdcard)
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Papf:
@joeyhuab on version evolution_raphael-ota-sp2a.220405.004-04140232-unsigned.zip charging works perfectly for me.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Mr-Valdez:
Mine too. Now it overheats with the same charging speed as yours.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Papf:
Yeah therefore I reverted to evolution_raphael-ota-sp2a.220405.004-04140232-unsigned.zip for the moment 😉
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Mr-Valdez:
howd u do that? i also have the old files
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Imperator_Dei:
In latest build, rules don't seem to be respected for night light, it enables at the correct time but never disables automatically at set time.

Battery consumption is indeed better with this build
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Papf:
Just flash in recovery 😉
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] cris2d2:
Do you have bugs with fingerprint on AOD? Like that after a time of AOD, FP sensor won't react at all to touch, meaning it won't be possible to unlock the phone without pressing first power button and showing lock screen.

This happens on all A12 ROMs. Is that something wrong with FP on AOD? (is it called FOD?)
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] cudi90:
I also have the same problem. No idea what the reason is.

I have already set up the FP again - without success.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] cris2d2:
I found on Ancient ROM telegram support group that "FOD on AOD being inconsistent is known on A12". So it seems it's not ROM related. Too bad. This is what prevents me using any A12 ROM.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] gibmadikka:
I have no issues with my FP since install, using over 4 months now. Make sure there is no dust and use the default color. Else do a clean install and following the proper steps.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] cris2d2:
I think you don't understand what I was referring to. It's not a matter of dirty sensor or color, the FP sensor won't always trigger on AOD. Like it's dead or something. If I press power button to show the lock screen, FP sensor starts working just fine. This problem appears on AOD and also when no AOD is used (screen off fingerprint). On any A11 ROM there is no such behavior, only on A12.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] DragunovMZK:
There is an improvement in battery life after the last update but I think that the best kernel and battery life was in

"evolution_raphael-ota-sp2a.220405.004-04051248-unsigned"
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Papf:
Was there an update?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] DragunovMZK:
I have solved this in such a way that after picking up the phone, an aod appears and then the FP sensor works properly. I had a problem like you in previous versions, but now it is practically gone
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] TheSourceNL:
I'm already a long time user with this Rom on Android 11 and Android 12. Running #12 already from the start and many issues have improved, however my batterylife continues to be terrible.

On android 11 Evolution X I had about 40% battery left in the evening, on android 12 Evolution X I already run out of battery later afternoon. Same behavoir. I play a lot of pokemon go, which is always on the top of my battery usage list, however it isn't substantial more vs other apps, so I would say overall for all apps battery life is a lot worse.

Anybody else experience this problem? Any tips for best settings? Would a re-install work?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Simo1499:
i completely agree with you,battery life is terrible. can you confirm me that if you unplug the phone from the charger at midnight (for example) you will find your battery with 10/15% less? its like its draining in the same way all the time,no matter if you use your phone or not. With latest build things seem a little bit better (14/04 build)
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Papf:
@joeyhuab how to download the 04/21/2022 release? On sourceforge I see only this (the download link goes to it too):
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] TheSourceNL:
Tried is last night, from 100% to 78% battery during 6 hours sleep without any app running in the background. I'm running the latest build. I guess this is not app related but some background os processes.

Are there any solutions for this? Or is the developer fixing this? I saw you mentioned the latest build is less worse, so some progress being made. Is this Android 12 related, do other ROMs also have this?
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] onderjas:
Great rom! After some hesitation I switched from Lineage to this thinking this was the last thing I would try before buying a new phone but I like it!

One small bug witch is very niche: contactless payment with the Dutch bank ing doesn't work anymore. I think this is an issue with the rom, it worked with Lineage but not anymore.

I tried Magisk hide but still no success.

EDIT: I was stupid thinking this was an issue with only my bank, it's also with Google Pay. Still struggling with it but I have something to search for now. I also tried this now but still no luck.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] Temaki:
I bought my phone 2 1/2 years ago and did not want o tamper with it for the first 2 years. But then last fall I installed the first custom ROM and was not very satisfied with it. I researched some more and found this ROM and have used it for about 6 month now.

There were some issues along the way but by now, to me at least, it is almost perfect. Last night the battery went down about 4% in 7-8hours. (I read somewhere, that it's normal for the battery to weaken after two years)

I use about 7 banking apps and they all work fine (hidden with Magisk). Also unlocking works great. Camera also works as it should in my case.

(The only thing I have not found a solution for is, when I listen to music with my Bluetooth speaker and the want to turn on the phone, the connection stops. If I tap the screen twice and unlock the phone, the music continues to play. But most of the times I forget to activate my phone this way.

So, huge thanks to Joey for this ROM.)

This problem went away with the latest update.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] freeze1994:
Latest update link are for OnePlus 8T (kebab), could you please fix this :D ? Thanks a lot :D
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] joeyhuab:
So here it finally is. The update with better battery life. Everything in the changelog below should be able to explain why. The switch back to AOSP BT should be a breath of fresh air as QTI BT has been causing log spams that cause battery drain. Battery capacity and cycles can now be found in the Settings app like in Android 11. Some important additions in Evolver include the ability to disable secure window flags to allow screenshotting/screen recording in apps that don't allow them as well as allowing application downgrading. Hope this satisfies everyone that has been complaining about battery life for the past months.

Changelog for the latest (04/23/2022) update

Device changes:

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

Add overlays for Battery health

Change default GPU idle timeout to 58ms

Disable redir_party_num

Import power_profile from coral

Switch back to AOSP BT implementation

fingerprint: apply a boost after fp is authenticated

fix deprecated power profile items

init.rc: set mem devfreq governors to power in charger mode

manifest: Drop android HW tetheroffload config

power: Decrease launch boost to 3sec

powerhint: Disable prefer_idle when screen goes off

powerhint: Don't boost top-app when screen is off

powerhint: Don't send QoS request during launch

powerhint: Fix F2fsRecessModeEnable node

rootdir: Add SchedTune configuration

rootdir: Add camera daemon cgroup

rootdir: Apply runtime blkio settings

rootdir: Boost performance by skipping EAS

rootdir: Create camera-daemon stune cgroup

rootdir: Enable PowerHAL hint processing

rootdir: Enable display idle_state mechanism

rootdir: Get back to default from long-standing VM tweaks

rootdir: Import governor settings from coral

rootdir: Import runtime cpusets from coral

rootdir: Move bus-dcvs, mem_latency and powersaving configuration to init.power.rc

rootdir: Move remaining writes from qcom post boot script to init.target.rc

rootdir: Remove conditional starting of msmirqbalance

rootdir: Remove stune configuration from init.target.rc

rootdir: Remove unnecessary early_boot script

rootdir: Start power setup after boot completed

sepolicy: Add sepolicy for battery health

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

ROM changes:

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

Add keylayout mapping for Xbox360 compatible controllers

Evolver: Add application downgrade feature

Evolver: Add window ignore secure feature

Evolver: Bring back Status bar brightness control

Grant NETWORK_STACK permissions for Dialer

Re-implement optional haptic feedback on back gesture

SystemUI: Dismiss existing screenshot window on taking new screenshot

SystemUI: Dismiss screenshot window on touch outside

SystemUI: Fix alarm icon

SystemUI: Whitelist PREVENT_POWER_KEY permission

Update translations

make DownloadManager.query() a no-op when INTERNET permission is revoked

telephony: SmsMessage: Bring newFromCDS method back

vendor: rro_overlays: Remove Pixel's rounded corner overlay

version: Uprev to 6.3 (codename Snow-v2)

DOWNLOAD
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] DFK79:
Honestly, I've only been using this (incredible!) ROM for like a week and on the one from April 19th, I got slightly over 7 hours of SOT on a full charge! This is fine for me. I replaced the battery just recently (good 3rd party one) also, so users with 2+ years old original batteries that constantly fast charge and/or overnight charge will probably have worse battery life.

All that said, THANK YOU for this ROM and it seems I jumped into it at exactly the right time, too! I love everything about it so far. Figuring out all the settings and some minor stuff aside, it's already a million times better than the MIUI I was stuck with after Xiaomi abandoned this great phone. I'll do some testing after the new OTA update and will share battery life feedback.

Also, those with bad battery life: make sure your device can enter "Deep Doze" state, check it with GSAM etc. In my case, I had to alter specific settings regarding my Mi Band 6 / Notify for Mi Band setup. PM me if you're in a similar situation.

EDIT: the only "bad" thing that happened was Widevine going from L1 to L3 but seeing as I don't watch Netflix etc. on this phone, I'm too lazy to go through all the trouble of restoring it.
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] cudi90:
Delete
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] TETRODOTOXiN99:
Please we need AOD to sleep after 10 seconds no matter the condition to prevent screen burn in 😥🥺
[Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re] joeyhuab:
Your screen would've been burned by now no matter what condition.