yashsingh1/xdaforums huggingface dataset:
[Xiaomi Poco X3 NFC Guides, News, & Discussion] Joakin2k:
I'm having problems hiding magisk manager(no magisk hide), I already turn off dynamic hz thx to you , changed device fingerprint for pixel 4(want certification)... But when I want to hide magidk manager (a Bank app can see it -already marked in hide-) it says some error , I don't know if it's the Miui security app , this never happened on AOSP, I'm on stock poco X3 , root + props hide config + vanced ... Any tip ?
[Xiaomi Poco X3 NFC Guides, News, & Discussion] Slim K:
Yes. Setting 60Hz in the Settings app will set it to a constant 60Hz, conversely setting it to 120Hz will set it to a constant 120Hz as well.

This is a fairly famous problem with Magisk Manger hiding and SELinux enforcing, but easily solvable. Do the following:

1- Go to Play store and turnoff Play Protect scanning (interferes with magisk manager repackiging itself aka Hiding).

2- Force stop Manager.

3- Open Manager again and choose another name and apply.

4- Profit.

If this still doesn't work, try this:

5- Go back to step 2 and then open terminal.

6- Type SU.

7- then set SELinux to permissive by inputting:

setenforce 0

8- continue with step 3

9- then set SELinux back to enforcing by inputting in terminal:

setenforce 1

10- Done ;)
[Xiaomi Poco X3 NFC Guides, News, & Discussion] Joakin2k:
Man... Worked Flawlessly... Never had that issue on AOSP roms.

Thanks ! no need to turn on/off selinux enforcement.

But , really, thanks for your attention and detail , I'm impressed Sr
[Xiaomi Poco X3 NFC Guides, News, & Discussion] Slim K:
To make things easier and more risk free, i have attached a config file to automate this process. New steps are even easier! Do the following:

1- Install the aforementioned modules.

2- unzip the attached .zip file to the root of internal storage.

3- Reboot.

New settings should've been applied successfully after reboot and the config file will delete itself.
[Xiaomi Poco X3 NFC Guides, News, & Discussion] Skeuomorphic:
Does this mean that the manual method enables back the dynamic refresh rate after every reboot? Which this conf will solve by placing the conf file at the root of internal storage before rebooting the phone?
[Xiaomi Poco X3 NFC Guides, News, & Discussion] Slim K:
The Manual method as well as this method both persist through reboots. Only difference is the complexity of the initial setup, but that's it.
[Xiaomi Poco X3 NFC Guides, News, & Discussion] serpent android:
Great tutorial.any good guide to debloat safely without root
[Xiaomi Poco X3 NFC Guides, News, & Discussion] CaPicote:
Doesn't seem to work there, checked with the power monitor, and it still switch between 120/90/60/30/1 fps depending on the app/menu I'm in
[Xiaomi Poco X3 NFC Guides, News, & Discussion] Slim K:
Can you provide me the following?:

1- MIUI vers. (i.e 12.0.3.0 QJGEUXM)

2- Go to terminal a run su and then:

getprop ro.vendor.smart_dfps.enable

-Output should be false, if it's true, then you didn't set it right.

I think a lot of people mix up framerate and refresh rate. Just an FYI, the thing that should be of interest is the refresh mode in power monitor. Check these screenshots, the circled value should stay at 120Hz consistently. Another screenshot I provided below without this mod shows 60Hz encircled when device not touched(which we don't want). The value on the right side of it (also in screenshots) is the framerate provided from the app (process) and indicates the actual frames displayed on the screen, if the screen isn't changing or moving, then there is nothing to display 120 frames about and will drop to 1 fps, which is completely normal.
[Xiaomi Poco X3 NFC Guides, News, & Discussion] CaPicote:
MIUI 12.0.3.0 Global (QJGMIXM)

I went to a terminal, and it indeed shows me that ro.vendor.smart_dfps.enable is false, same with ro.vendor.dfps.enable

And I confirm that on the power monitor it says that my screen goes to either 120/90/60/30Hz depending on the activity, just like you've shown in the second screenshot
[Xiaomi Poco X3 NFC Guides, News, & Discussion] Slim K:
Did you use the config file or did you set it up manually? Also which build date do you have? September or October patch? did you possibly forget to set the prop to post-fs-data?
[Xiaomi Poco X3 NFC Guides, News, & Discussion] CaPicote:
There was a config file? No, I did it manually by following the guide

October patch, 12.0.3.0 Global.

I did not, I set the prop to post-fs-data for both smart_dfps and dfps
[Xiaomi Poco X3 NFC Guides, News, & Discussion] Slim K:
Just for you I have fastbooted to MIUI latest international and tried to replicate what you're describing, everything works as expected. Maybe you have a corrupt vendor if you flashed a custom ROM, since Display hal by xiaomi has been removed from all of them. If you didn't flash a custom rom, try setting it to both boot stages (post-fs and late-start). If it still doesn't work, then I must apologize, I will look into it further and report back. :crying:
[Xiaomi Poco X3 NFC Guides, News, & Discussion] CaPicote:
Well, I did flash a custom rom, I was on RR just for this reason alone, when I saw that there was this guide I wanted to go back to MIUI since overall I like it better (given the adaptative refresh rate is disabled).

Do you know how could I perhaps fix my corrupt vendor if it's really that?
[Xiaomi Poco X3 NFC Guides, News, & Discussion] Slim K:
You will have to reflash Stock MIUI for NFC vers. through fastboot (the 3,9 GB one). If you don't know how I could write a step by step guide for you. If you do know, then remember to not use the "flash_all_lock" script, since that will lock bootloader and possibly brick your device. ;) Also don't update to October patch immediately, try this mod first and see if it works.
[Xiaomi Poco X3 NFC Guides, News, & Discussion] braveblade:
Thanks for the guide! Does it mean I won't see the half a second lag every time I unlock the phone and open an app? If so it will be great!
[Xiaomi Poco X3 NFC Guides, News, & Discussion] Slim K:
If it works, then yes. Try it out and tell me if your experience improves or not :p
[Xiaomi Poco X3 NFC Guides, News, & Discussion] VidarPT:
Hey. Thanks for the information. I'd like to try this out but I have two questions: 1 - Is it safe to flash magisk? Some guy from another thread said magisk corrupted his ramdisk and /sdcard when flashing. 2 - Where do I get power monitor to check the refresh rate? Thanks.
[Xiaomi Poco X3 NFC Guides, News, & Discussion] en_mih:
go to settings - additionals settings - developer options - and select install via USB . :D and now you can hide manager magisk
[Xiaomi Poco X3 NFC Guides, News, & Discussion] Slim K:
To answer you questions:

1- The guy in that thread has made the obvious mistake of flashing stock related files through twrp (a very baaad idea), since all current custom recoveries have limited access to system-vendor-product partition (read only). If he had read more carefully, his device wouldn't have been hard bricked. Besides, if you only want Root (Magisk), you don't even need a custom recovery, just an unlocked Bootloader, your current boot.img and a pc with some flashing knowledge.

2- You can find it under Monitoring in Settings/Additional settings/Developer options/Power monitor. If you can't find the option there, then you probably debloated MIUI, in that case restore the app Power Checker with the package name:

com.xiaomi.powerchecker

If you need further assistance, hit me up and I will help.
[Xiaomi Poco X3 NFC Guides, News, & Discussion] VidarPT:
Thank you for the clarification. I actually already flashed Xiaomi EU rom and TWRP. I'll flash Magisk tomorrow and play around with dynamic refresh rate.

I wish there was a way to actually customize how dynamic rate works. Stop it from being so aggressive sometimes or lock the frequency on each specific app. - example: always lock at 30Hz when playing games.
[Xiaomi Poco X3 NFC Guides, News, & Discussion] VidarPT:
Finally flashed magisk and changed props. Works well, however I don't understand the difference between dfps and smart_dfps. Disabling smart_dfps alone seems to disable adaptive refresh entirely while just disabling dfps does nothing. (I might have said these backwards)

Sadly this doesn't solve my issue when playing games or watching videos on a web browser like firefox. The framepacing is terrible nonetheless. You'd think a game running at 30fps would have perfect frame pacing with the screen set to 60Hz but that's not the case. Even though vsync keeps the screen tearing away, it doesn't control framepacing. Fourtenately, dfps is actually really good at solving this problem because it reduces the screen refresh rate to 30Hz, leading to a smoother and mostly even framepacing. The same logic applies when playing a 60FPS game running the screen at 120Hz - will lead to bad framepacing. It disapoints me, however, that the phone ALWAYS increases its refresh rate to 120/60 whenver the screen is touched. So, for instance, if you're watching a 30FPS video and don't touch the screen, the refresh rate will drop to 30Hz. That's great and helps with both framepacing and battery life. The problem arises when you touch the screen even once and the refresh rate jumps immidiately to 120Hz. This is my only problem with dfps. That said, I'd like to ask if you have any idea how to disable this? Sounds like a battery saving or performance feature and not dfps related? I want the phone to change its refresh rate to whatever the framerate is of the fullscreen application on display and never change it when touching the screen and until changing or closing the app. Essentially, I want to limit the maximum refresh rate of the app. There's actually one application that does this: the Youtube app. Regardless of the screen refresh rate, as soon as you open the Youtube app the screen drops to a 60Hz limit and stays at 60Hz, never going over that. It still drops to 30Hz when watching a 30FPS video, but it never goes back to 120Hz. I'd like to achieve this either on an app to app basis or system wide. If you have any idea, please share your thoughts.
[Xiaomi Poco X3 NFC Guides, News, & Discussion] bredpir:
Hello, can this instruction be applied to Samsung A70? Or is this instruction only for Poco X3?
[Xiaomi Poco X3 NFC Guides, News, & Discussion] Jonny993:
Hi guys, is there any way I can disable this annoying behaviour of dropping hz and fps if I'm not touching the screen?

I'm not rooted (need to wait the 7 days by XIAOMI) but this is driving me mad!
[Xiaomi Poco X3 NFC Guides, News, & Discussion] Slim K:
Without disabling dfps (not the smart one), I experience random switches to 90Hz in some system apps and processes, i.e in recents tab and when changing Volume. At least that is what happens in the EU version of Stock MIUI.

What you're describing happens because of Surface flinger, which is responsible for handling touch activities, but it happens for a good reason. Imagine switching from a video at 30hz to Home screen at 120Hz, if we do your implementation of smartdfps, it will go like this:

1- You're watching the video at 30Hz and decide to go back to home (Youtube).

2- You touch the screen at home button to return (still at 30Hz) (Surface fllinger).

3- The Switch Animation starts to transport you to home (still at 30Hz) (System UI).

4- At home screen the Refresh rate ramps up to 120Hz (It goes in steps 30>50>90>120Hz because of driver limitations)(Poco Launcher).

Now that doesn't sound so terrible, except if you switch out Poco Launcher with any other App, then you experience Massive Lag during the switch to it. In comparison, Ramping up during touch (i.e Step 2 from above) and capping System UI @ 120 at all times looks smoother during most of the steps, which is Xiaomi's implementation. IMHO disabling it entirely sounds better than both.

If you want Per-app refresh rate, switch to Nitrogen OS by xyyx, that ROM has this feature you want in Settings.
[Xiaomi Poco X3 NFC Guides, News, & Discussion] Slim K:
This is only for Poco X3, as the title implies :)

No you can't. You need system R/W access or Magisk to edit vendor Props.
[Xiaomi Poco X3 NFC Guides, News, & Discussion] Slim K:
If you mean using Setedit app to force 90Hz as many tuts online mention, then try the following:

1- Reset vendor.dfps.enable back to true.

2- Set the Key in System table Setedit app:

user_refresh_rate

to the value 90.

3- be sure 120Hz in Settings is enabled, then return to home screen.

4- Open Recents and stay for a few seconds (it will switch to 90Hz).

5- Done.

It should stay fixed at 90Hz even if you reboot and while Dfps is disabled. If you switch to 60Hz in settings and back to 120Hz, It'll reset to 120Hz, then you can do the above again. :D
[Xiaomi Poco X3 NFC Guides, News, & Discussion] bredpir:
do something like that on Samsung A70 friend
[Xiaomi Poco X3 NFC Guides, News, & Discussion] kudaj316:
No offense but do you even do your research about refresh rates? You dont even have 90hz refresh rate. A70 only has 60hz. So please dont demand a feature that isnt even available in your smart phone
[Xiaomi Poco X3 NFC Guides, News, & Discussion] Alvian_P:
I have follow manual guide. But in "recent apps" down to 90Hz. ? . Everything false and post-fs-data boot stage,

Im in Miui EU 12.0.3.
[Xiaomi Poco X3 NFC Guides, News, & Discussion] Slim K:
If you're coming from a custom rom, flash the September fastboot Stock, since this Recents "bug" has been patched out in the October patch. But even if that doesn't work, find a way to change the Refresh rate to 90Hz through any means and it'll stay at 90. I have had the same problems returning from EvolutionX rom.
[Xiaomi Poco X3 NFC Guides, News, & Discussion] CaPicote:
Alright, I finally had some time so I tried it, flashing the fastboot one and then trying again to follow the guide.

It seems to work this time, except for recents, it still switches to 90Hz in it (also it's the september patch)
[Xiaomi Poco X3 NFC Guides, News, & Discussion] Alvian_P:
I have flash stock before install miui EU. Because my Rom is region Indonesia before, then flash fastboot Global 12.0.3, then flash fastboot 12.0.2 fastboot EU from EU thread, then update to 12.0.3 EU from twrp.

I have try from global 12.0.3 directly flash EU 12.0.3 bootloop using TWRP. So I flash fastboot 12.0.2 EU then update.

Edit: in stock camera app before use this mod down to 30Hz. After applying this mod stay in 60Hz. I think this little help.
[Xiaomi Poco X3 NFC Guides, News, & Discussion] jern25:
hi. may i know how did u show the refresh rate on your screen?
[Xiaomi Poco X3 NFC Guides, News, & Discussion] Slim K:
Yes. It's a bug in System UI, but how much do you stay at recents to notice :p. Also Usable to affix the refresh rate at 90 if you want.
[Xiaomi Poco X3 NFC Guides, News, & Discussion] Slim K:
That's because of the anti banding. Doesn't make sense to use 50/60Hz anti banding but have a 120Hz Viewfinder, because of the Stroboscopic effect potential to ruin your shots.
[Xiaomi Poco X3 NFC Guides, News, & Discussion] veez21:
[MENTION=6687636]Slim K[/MENTION] I found that even though the props were applied apps that are set as 60hz still changes the the refresh rate to 60 (ex youtube, netflix). After applying the module, you also have to set this in adb/terminal emulator

settings put system user_refresh_rate 0

This locks all apps to 120hz, though frames will still go down.
[Xiaomi Poco X3 NFC Guides, News, & Discussion] Slim K:
Yeah. That adb line is the same as the setedit app, which modifies the settings app database. The interesting bit of observation is the fact that my device came with EU stock (the one with google contacts) and every other regions I have fastbooted to up to version 12.0.3.0 doesn't display the behavior you mentioned above, even in videos. Only in Recents and Stock Camera have I encountered such dips to 90 or 60Hz. Are you on the latest 12.0.4.0?
[Xiaomi Poco X3 NFC Guides, News, & Discussion] SkaboXD:
[MENTION=7296895]veez21[/MENTION]

settings put system user_refresh_rate 0

Hello, does this command stay after reboot?
[Xiaomi Poco X3 NFC Guides, News, & Discussion] Slim K:
It seems these so called thermal profiles from stock kernel have custom refresh rate settings baked in.
[Xiaomi Poco X3 NFC Guides, News, & Discussion] veez21:
That's because I'm not touching the screen. Fps drops but the refresh rate stays at 120.
[Xiaomi Poco X3 NFC Guides, News, & Discussion] juandiegofx:
Hello friend, I have followed your POST since I bought the Poco X3 NFC since the dynamic frequency sometimes generates microlags but, it turns out that I did what you mention in the first POST where it mentions that I must have the system Rooted, install the two modules of the " Magisk "and then from a terminal" Tremox "execute the commands and modify them, I did it as is, going from" True "to" False "and even so it keeps changing when I enter multitasking, it lowers the frequency to" 90hz "and when I enter YouTube low to "60hz" is as if nothing had happened. Now I see that you discovered that there are temperature profiles for the CPU according to each APP, so what would be the most viable? I attach a screenshot that shows the frequency drop and that I have deactivated both processes in "False". Greetings and thanks.
[Xiaomi Poco X3 NFC Guides, News, & Discussion] Slim K:
Thanks to [MENTION=7296895]veez21[/MENTION], you can enter this in terminal:

settings put system user_refresh_rate 0

and it will override all preconfigured app refresh settings and will persist through reboots. The Recents thingy as I have mentioned multiple times in this thread is a Framework-res.apk setting that is a pain in the a** to modify due to me not having the right MIUI environment. I apologize if this annoys you, but a custom ROM is a better solution for you if you want system-wide customization. :( My goal with this guide was to mainly disable the annoying variable refresh rate when touching the screen as it consumes more battery when scrolling.
[Xiaomi Poco X3 NFC Guides, News, & Discussion] juandiegofx:
Thank you very much for answering partner :o :), I have been doing tests, and yes, indeed now doing that command in the terminal, now the 120hz persists in everything, both in multitasking and in YouTube videos and any Application. Now if it works perfect. Thank you very much mate for your post it has been of great help to me and to understand a little about the "Adaptive Frequency" because it is a new topic and it does not happen in Samsung or OnePlus.

PS: One more question, in the screenshot that you uploaded of the thermal profiles of the CPU for each Application, with which application did you view these profiles? What is the name of the application you used? Thanks again. :good::fingers-crossed:
[Xiaomi Poco X3 NFC Guides, News, & Discussion] Slim K:
Glad to be of help friend. The app I use is called Ex Kernel Manager by well known xda member flar2. You can find it in Play store. Although it does cost a few euros, it has never failed me and has the best UI for kernel tweaks.
[Xiaomi Poco X3 NFC Guides, News, & Discussion] deepdelete:
I don't know why we even have 60,90 or 120 Hz refresh rates in Europe? Here distribution power is 230V/50Hz, so screen refresh rate for monitors, pohones, should be 50,100,125 Hz. Market simply adopted USA standards and didn't never care for our eyes. I mean eyes of rest of the world where is electricity 50Hz. And this is not correct because we are watching 60 hz monitors under 50hz lights. Imagine how hard is for our eyes and sight.
[Xiaomi Poco X3 NFC Guides, News, & Discussion] kudaj316:
Boss you think which is best for gaming? Which profile
[Xiaomi Poco X3 NFC Guides, News, & Discussion] Slim K:
I have found evaluation profile to be the best score in Antutu benchmark, which is quite honestly pretty scummy from Poco to do. Imagine all those reviewers being tricked :rolleyes:
[Xiaomi Poco X3 NFC Guides, News, & Discussion] VidarPT:
I'm guessing there's no way to apply these profiles to specific apps? Like applying the YouTube profile to a game.
[Xiaomi Poco X3 NFC Guides, News, & Discussion] Alvian_P:
You have try another thermal? Is evaluation thermal the highest score than other?
[Xiaomi Poco X3 NFC Guides, News, & Discussion] Slim K:
Yes. Although it runs the hottest out of all of them. I don't think it's a good idea to permanently run it, because it's a battery hungry thermal setting. Try it yourself.
[Xiaomi Poco X3 NFC Guides, News, & Discussion] kascro:
Is it possible to play pubg mobile with 90 fps on poco x3?

I set this settings using to force 120hz and it works but as soon as i open pubg mobile it goes to 60hz and thus 60fps.

I have succesfully unlocked 90fps in game using magisk module but the phone wont run the game in 90fps?

FIXED. Will post thread how to run pubg 90fps.
[Xiaomi Poco X3 NFC Guides, News, & Discussion] dasbooter:
I'm on global 12.0.4. and I dont seem to have any control over refresh rate at all. In display settings it shows as 60 hz and cannot be changed? I thought I would start by trying setedit to place the proper user key in the system table(it didnt exist there) with a value @ 90. This doesnt seem to have any effect power monitor refresh rate shows at 60 hz and varies occasionally below that.

Has it been disabled by xiaomi or have I messed something up. Can somebody else on the same version confirm they can change this? I mean before I even get started with the rest of this guide.

edit: had to factory reset to get it back ugh what a pain
[Xiaomi Poco X3 NFC Guides, News, & Discussion] mRsnips:
Is it just me or does it not work on global stock MIUI 12.0.4? Followed the steps to the letter and it seems dynamic refresh is still active. For instance, the recent apps preview renders 90hz instead of 120hz.
[Xiaomi Poco X3 NFC Guides, News, & Discussion] aron11195:
dont know if this is possible but do make a standalone magisk module for this, without props and everything else. just a single module that disables dynamic refresh rate.
[Xiaomi Poco X3 NFC Guides, News, & Discussion] Slim K:
I wanted to show everyone who is interested how to change this behavior under the hood. That is the main reason why I made a guide and not a mod (since everyone was using props module to pass safetynet anyway). However I made this attached module just for you. Do note that I have not tested it since I use a custom ROM at the moment, but it does what's in the guide without props config and should work flawlessly.
[Xiaomi Poco X3 NFC Guides, News, & Discussion] aron11195:
cool, i requested this coz of how easy it is to install and remove. gonna test it right now.
[Xiaomi Poco X3 NFC Guides, News, & Discussion] aron11195:
its working now. quick question tho, can i freely switch from 60 to 120hz and vice versa without worrying that dynamic refresh rate will return?
[Xiaomi Poco X3 NFC Guides, News, & Discussion] Slim K:
Yep ;). This disables it completely. Please try the youtube app (official one) as well to see if it drops to 60hz or not. Also open recents for a few seconds and tell me if it drops to 90hz. That would be awesome.
[Xiaomi Poco X3 NFC Guides, News, & Discussion] aron11195:
recent drops to 90hz, i only have youtube vanced and its not dropping hz. is that normal for recent to drop? im using eu 12.0.6 btw
[Xiaomi Poco X3 NFC Guides, News, & Discussion] Slim K:
Yes. In trying to make an "all day battery" phone, Poco has decided to cap recents to 90hz. So many cut corners. Anyways, Clearing storage of battery management app should fix that problem. I don't remember the name of the system app exactly, but it has a green battery icon :ROFLMAO:

If you installed vanced in non root mode, you can still install normal youtube from playstore alongside it. You don't have to do it tho.
[Xiaomi Poco X3 NFC Guides, News, & Discussion] aron11195:
recent drop is fixed by clearing data of battery and performance system app.

tested official youtube. its not dropping hz. its constant 120hz
[Xiaomi Poco X3 NFC Guides, News, & Discussion] Slim K:
Good to know my fix works. Could you maybe tell me the full package name of the battery app i.e. com.something.something. I should add some shell commands to clear that data automatically during install of the module and will repost it here.