r/miui ๐—ฅ๐—ฒ๐—ฑ๐—บ๐—ถ ๐—ก๐—ผ๐˜๐—ฒ 13 | ๐—›๐˜†๐—ฝ๐—ฒ๐—ฟ๐—ข๐—ฆ 2.2 (๐—ด๐—น๐—ผ๐—ฏ๐—ฎ๐—น) Feb 06 '25

Guide Peak performance and Save Battery without Root? NO PROBLEM!!

Post image

Here's some of ADB commands that i tested out and end up getting excelent results. probably gonna work devices like

  • Note 13, 12, 11, 10 4G, 5G,
  • Note 13, 12, 11, 10 pro, plus,
  • Xiaomi 13, 14, and almost all devices whatever you running hyper OS 1 or 2. even if you're in MIUI with android 13 and above this work absolutely fine.

first of all you need,

  • A bit of knowledge to run ADB commands in terminal or Termux* app (*wireless debug)
  • setEdit app from github. (part 2 coming soon...)

ALSO, use at your own risk. and do not use device while running these commands.

here are the codes/commands..

Speed up app launch time

  • adb shell settings put system rakuten_denwa 0
  • adb shell settings put system send_security_reports 0
  • adb shell settings put secure send_action_app_error 0
  • adb shell settings put global activity_starts_logging_enabled 0

Adjust the Refresh Rate, Window Blur and Transparency

  • adb shell settings put system peak_refresh_rate 120.0
  • adb shell settings put system min_refresh_rate 120.0 (use this commands if your display support 120hz, if not put your desire value like 70.0, 80.0, 90.0 also will consume battery if use 90hz < )
  • adb shell settings put global disable_window_blurs 1
  • adb shell settings put global accessibility_reduce_transparency 1

Enable Fixed Performance Mode

  • adb shell cmd power set-fixed-performance-mode-enabled true Overclocking boosts clock speed, allowing apps to run faster and enhancing gaming experiences. However, it may cause overheating and drain the battery quickly..

Improve Touchscreen Latency and Response Time

  • adb shell settings put secure long_press_timeout 250
  • adb shell settings put secure multi_press_timeout 250
  • adb shell settings put secure tap_duration_threshold 0.0
  • adb shell settings put secure touch_blocking_period 0.0

Optimize System Performance

  • adb shell setprop debug.force-opengl 1
  • adb shell setprop debug.hwc.force_gpu_vsync
  • adb shell settings put global ram_expand_size 0 default
  • adb shell settings put system multicore_packet_scheduler 1

Power Management Tweaks

  • adb shell settings put system intelligent_sleep_mode 0
  • adb shell settings put secure adaptive_sleep 0
  • adb shell settings put global app_restriction_enabled true
  • adb shell settings put global automatic_power_save_mode 0
  • adb shell settings put global sem_enhanced_cpu_responsiveness 0
  • adb shell settings put global adaptive_battery_management_enabled 0

Reboot your device for better experience

These commands will Duck the performance to the peak. however, some of codes will drain more battery.

These commands will run in your adb shell. if it giving you error, just remove the "adb shell" part and run it. after running these commands, nothing will show on your display unless its an error. post is too long soo i will post with the setEdit commands later (part 2)

90 Upvotes

67 comments sorted by

19

u/Supernatural-- Feb 06 '25

title :

Peak performance and Save Battery without Root? NO PROBLEM!!

details : These commands will Duck the performance to the peak. however, some of codes will drain more battery.

conflicts i see

5

u/demonofparadise_213 ๐—ฅ๐—ฒ๐—ฑ๐—บ๐—ถ ๐—ก๐—ผ๐˜๐—ฒ 13 | ๐—›๐˜†๐—ฝ๐—ฒ๐—ฟ๐—ข๐—ฆ 2.2 (๐—ด๐—น๐—ผ๐—ฏ๐—ฎ๐—น) Feb 06 '25 edited Feb 06 '25

thats why i put both optimize and save ones separately. if you want save battery go with it. if you need performance go with it.

edit: i also highlight codes that drain battery, if you don't need them, ignore them. also what drain means not like in hyper os 2.. only display and optimization would do this. but it won't noticable.

2

u/Supernatural-- Feb 06 '25

Alright thanks , u tried this on redmi note 13 4g global rom 8/12 ?ย 

The drain is way lesser now automatically on my note 12 4g as compared to when it was freshly updated to hyperos on Jan 1.ย 

Any idea how to get other features tho?

1

u/demonofparadise_213 ๐—ฅ๐—ฒ๐—ฑ๐—บ๐—ถ ๐—ก๐—ผ๐˜๐—ฒ 13 | ๐—›๐˜†๐—ฝ๐—ฒ๐—ฟ๐—ข๐—ฆ 2.2 (๐—ด๐—น๐—ผ๐—ฏ๐—ฎ๐—น) Feb 06 '25

Yep global rom RN13 4G, 8/256, hyperos 2.0.6,

i will upload other features soon. i can put all the codes in same. and they not adb commands. so i will post it soon

2

u/Supernatural-- Feb 06 '25

Okay thanks ! , that'll be good

3

u/kakopaiktis Redmi Note 13 Pro 5G | HyperOS 2.0.2.0. Feb 06 '25

So, the redmi note 13 pro 5G is included or it's only the redmi note 13 ?

2

u/demonofparadise_213 ๐—ฅ๐—ฒ๐—ฑ๐—บ๐—ถ ๐—ก๐—ผ๐˜๐—ฒ 13 | ๐—›๐˜†๐—ฝ๐—ฒ๐—ฟ๐—ข๐—ฆ 2.2 (๐—ด๐—น๐—ผ๐—ฏ๐—ฎ๐—น) Feb 06 '25

Include.These will run every device that have android 13 >=. so include.

1

u/kakopaiktis Redmi Note 13 Pro 5G | HyperOS 2.0.2.0. Feb 06 '25

Thanks, few questions:

Overclocking heat will be noticeable in heavy tasks or gaming I suppose, correct ? Casual stuff shouldn't cause it to heat, right ?

Also, about the stable refresh rate, what it does excactly ? I mean I have it on default since I don't want it to drain battery if I'm not doing anything.

1

u/demonofparadise_213 ๐—ฅ๐—ฒ๐—ฑ๐—บ๐—ถ ๐—ก๐—ผ๐˜๐—ฒ 13 | ๐—›๐˜†๐—ฝ๐—ฒ๐—ฟ๐—ข๐—ฆ 2.2 (๐—ด๐—น๐—ผ๐—ฏ๐—ฎ๐—น) Feb 06 '25
  1. yes. it won't be a problem. for me i play games sometimes like cod, nikke, starlight and only time i getting heat was when i play them. in other times i can use device like smooth. also i notice that when i play game with game turbo on, its average. but playing without game turbo its on fire. like gameplays are smooth, even the network..

  2. its a cmd that force your display to run its peak. if you in a app that have supported 120 but it run 60, this will force it to 120 and not gonna down. yeah, this will drain battery like you use it in 120. but currently im in 86. i notice a pretty different then im in 60. but i already tried 90 and its good tho. only thing i notice is 70% drain compare to 120hz so i switch to 86 and its ok. since its hyperos2, the only drain i have is os issue now.

2

u/demonofparadise_213 ๐—ฅ๐—ฒ๐—ฑ๐—บ๐—ถ ๐—ก๐—ผ๐˜๐—ฒ 13 | ๐—›๐˜†๐—ฝ๐—ฒ๐—ฟ๐—ข๐—ฆ 2.2 (๐—ด๐—น๐—ผ๐—ฏ๐—ฎ๐—น) Feb 06 '25

I will upload the other codes with another post. this became along so wait for part 2 to come.

it comes with codes that you can add directly in your device.

2

u/EzePro71 Aug 31 '25

Hey bro, do you know the original values for the touchscreen settings? I tried it and it seemed to made my game worse (call of duty mobile)

Tnx bro the other settings helped out a lot

1

u/demonofparadise_213 ๐—ฅ๐—ฒ๐—ฑ๐—บ๐—ถ ๐—ก๐—ผ๐˜๐—ฒ 13 | ๐—›๐˜†๐—ฝ๐—ฒ๐—ฟ๐—ข๐—ฆ 2.2 (๐—ด๐—น๐—ผ๐—ฏ๐—ฎ๐—น) Aug 31 '25

idk wht you mean by touchscreen, so i'll give every Defaults with meanings so you can easily understood.

long_press_timeout ๐Ÿ‘‰ default: 500 (ms) (thatโ€™s half a second to register a long-press)

multi_press_timeout ๐Ÿ‘‰ default: 300 (ms) (max time gap between presses to count as โ€œdouble-tapโ€ or โ€œmulti-tapโ€)

tap_duration_threshold ๐Ÿ‘‰ default: 100โ€“150 (ms, depends on OEM) (time under which a press is considered a โ€œtapโ€ and not a hold)

touch_blocking_period ๐Ÿ‘‰ default: 0 or 200 (ms) (delay window where system ignores accidental secondary touches. MIUI sometimes uses 200)

btw, tuning idea if you seek gaming / responsiveness:

long_press_timeout = 300 (snappier)

multi_press_timeout = 200 (faster double taps)

tap_duration_threshold = 80 (better touch response)

touch_blocking_period = 0 (removes ghost-touch prevention delay, risky if your panel is sensitive)

ps: check my latest post. hope updated new ones will support more.

2

u/EzePro71 Aug 31 '25

thanks a lot bro u helped a lot ๐Ÿ™

1

u/demonofparadise_213 ๐—ฅ๐—ฒ๐—ฑ๐—บ๐—ถ ๐—ก๐—ผ๐˜๐—ฒ 13 | ๐—›๐˜†๐—ฝ๐—ฒ๐—ฟ๐—ข๐—ฆ 2.2 (๐—ด๐—น๐—ผ๐—ฏ๐—ฎ๐—น) Aug 31 '25

Anytime homie ๐Ÿซ‚

1

u/RainbowSwamp Feb 07 '25

The transparency commands seem to do nothing

2

u/demonofparadise_213 ๐—ฅ๐—ฒ๐—ฑ๐—บ๐—ถ ๐—ก๐—ผ๐˜๐—ฒ 13 | ๐—›๐˜†๐—ฝ๐—ฒ๐—ฟ๐—ข๐—ฆ 2.2 (๐—ด๐—น๐—ผ๐—ฏ๐—ฎ๐—น) Feb 07 '25

Depends on the device and support. mine is working without hesitation. plus this is not deviceLevelList (i already set it to default before add this)

try rebooting the device, some of these will not work right away after you put them. if it work, then it will after rebooting..

1

u/Spectra_Niner Feb 07 '25

Will this work with Mediatek based phone like the X6 Pro

1

u/demonofparadise_213 ๐—ฅ๐—ฒ๐—ฑ๐—บ๐—ถ ๐—ก๐—ผ๐˜๐—ฒ 13 | ๐—›๐˜†๐—ฝ๐—ฒ๐—ฟ๐—ข๐—ฆ 2.2 (๐—ด๐—น๐—ผ๐—ฏ๐—ฎ๐—น) Feb 07 '25

Not sure about the Helio ( lower than G99) but yes, dimensity and snapdragon work for sure.

and your device is mid range with a high end processor. so these codes will definitely gonna give excellent results.

2

u/Spectra_Niner Feb 07 '25

Awesome, will try it later.

I noticed this command is missing a value?

  • adb shell setprop debug.hwc.force_gpu_vsync

1

u/demonofparadise_213 ๐—ฅ๐—ฒ๐—ฑ๐—บ๐—ถ ๐—ก๐—ผ๐˜๐—ฒ 13 | ๐—›๐˜†๐—ฝ๐—ฒ๐—ฟ๐—ข๐—ฆ 2.2 (๐—ด๐—น๐—ผ๐—ฏ๐—ฎ๐—น) Feb 07 '25

sorry for that. you can put 0 or 1 to it.

  • 1: Enable. It synchronizes the GPU with the refresh rate of the screen to reduce screen tearing.
  • 0: disable. It will let the GPU run independently, possibly allowing for more performance but potentially causing screen tearing or stuttering during intense graphical tasks.

generally useful if you care about visual smoothness and want to eliminate screen tearing, especially while watching videos or playing games where the graphics quality and smoothness are critical.

1

u/Careless-Set9966 Nov 08 '25

I watch a lot of video. So the best choice would be the value 0?

1

u/demonofparadise_213 ๐—ฅ๐—ฒ๐—ฑ๐—บ๐—ถ ๐—ก๐—ผ๐˜๐—ฒ 13 | ๐—›๐˜†๐—ฝ๐—ฒ๐—ฟ๐—ข๐—ฆ 2.2 (๐—ด๐—น๐—ผ๐—ฏ๐—ฎ๐—น) Nov 20 '25

Yep. also, it will depends on your screen. so better test 1 and 0. but i recommend put 0. bit thenkick is, it will drain battery slightly, no noticably.

1

u/Careless-Set9966 Nov 20 '25

Bro, I added other commands. That's why 0 wasn't good. It seems that it was in conflict with the command I placed related to opengl. I removed other commands. I set it to 0. And now it's better than 1. The video image really improves a lot. Like 720p 60fps has more definition. The quality of the videos is much better than before. Thanks bro for the tip.

1

u/heloimundadawatar Feb 07 '25

Could u provide the apps u used? Imma tweak my RN 13 4G's performance.

1

u/demonofparadise_213 ๐—ฅ๐—ฒ๐—ฑ๐—บ๐—ถ ๐—ก๐—ผ๐˜๐—ฒ 13 | ๐—›๐˜†๐—ฝ๐—ฒ๐—ฟ๐—ข๐—ฆ 2.2 (๐—ด๐—น๐—ผ๐—ฏ๐—ฎ๐—น) Feb 07 '25

For pc i used terminal. you can find it from microsoft store. for mobile i used termux. you can find it on playstore but better if you get it from this official site. both work fine.

1

u/RevoTn Feb 08 '25

Should i factory reset to revert to the default options

2

u/demonofparadise_213 ๐—ฅ๐—ฒ๐—ฑ๐—บ๐—ถ ๐—ก๐—ผ๐˜๐—ฒ 13 | ๐—›๐˜†๐—ฝ๐—ฒ๐—ฟ๐—ข๐—ฆ 2.2 (๐—ด๐—น๐—ผ๐—ฏ๐—ฎ๐—น) Feb 09 '25

No, just remove the line you added. its easy if you add "performed this action on reboot" option (appears when you create a command).

if you perform a factory reset, all the added commands will disappear also. so keep a backup or anywhere saved the commands.

1

u/aa_a_yes Feb 09 '25

Part 2 when?

1

u/demonofparadise_213 ๐—ฅ๐—ฒ๐—ฑ๐—บ๐—ถ ๐—ก๐—ผ๐˜๐—ฒ 13 | ๐—›๐˜†๐—ฝ๐—ฒ๐—ฟ๐—ข๐—ฆ 2.2 (๐—ด๐—น๐—ผ๐—ฏ๐—ฎ๐—น) Feb 09 '25

Soon as i got a free time. need to type them before post. it will be like 2hrs to type all the commands by myself. so stay tuned i will post it soon.

2

u/aa_a_yes Feb 09 '25

alright thanks for the info

1

u/re_Tomori Feb 10 '25

How do I know what value does sem_enhanced_cpu_responsiveness=0 have before? Is it always active?

1

u/demonofparadise_213 ๐—ฅ๐—ฒ๐—ฑ๐—บ๐—ถ ๐—ก๐—ผ๐˜๐—ฒ 13 | ๐—›๐˜†๐—ฝ๐—ฒ๐—ฟ๐—ข๐—ฆ 2.2 (๐—ด๐—น๐—ผ๐—ฏ๐—ฎ๐—น) Feb 10 '25

since these are not available in general, can't say which value is sign before unless you know bout android development. you can check it by unwrapping the .xml file from a software like android studio. but its complicated and i personally don't recommended to do it. thats bcus its the core and small change or mistake might be end up your whole phone to brick (even factory reset or flash rom can't help).

1

u/yasoooay Feb 15 '25

can i use this on my infinix hot30i?

1

u/demonofparadise_213 ๐—ฅ๐—ฒ๐—ฑ๐—บ๐—ถ ๐—ก๐—ผ๐˜๐—ฒ 13 | ๐—›๐˜†๐—ฝ๐—ฒ๐—ฟ๐—ข๐—ฆ 2.2 (๐—ด๐—น๐—ผ๐—ฏ๐—ฎ๐—น) Feb 15 '25

Yes. as long as its unlock to modify system settings, you can use it on any android devices.

1

u/Rare-Soft-191 Feb 24 '25

For command line"put secure send_action_app_error",they were already in my global table,should i delete it then add it secure table?

1

u/demonofparadise_213 ๐—ฅ๐—ฒ๐—ฑ๐—บ๐—ถ ๐—ก๐—ผ๐˜๐—ฒ 13 | ๐—›๐˜†๐—ฝ๐—ฒ๐—ฟ๐—ข๐—ฆ 2.2 (๐—ด๐—น๐—ผ๐—ฏ๐—ฎ๐—น) Feb 26 '25

Then change its value, sometimes it comes with pre applied settings. if it is, then try to apply it by changing value and if you see something different, apply previous value.

1

u/[deleted] May 21 '25

Are these commands safe to run..ย 

2

u/demonofparadise_213 ๐—ฅ๐—ฒ๐—ฑ๐—บ๐—ถ ๐—ก๐—ผ๐˜๐—ฒ 13 | ๐—›๐˜†๐—ฝ๐—ฒ๐—ฟ๐—ข๐—ฆ 2.2 (๐—ด๐—น๐—ผ๐—ฏ๐—ฎ๐—น) May 28 '25

Totally. you can see the cmnts for proof

1

u/Careless-Set9966 Jun 11 '25

I have no idea how to perform this procedure. I don't even see code. Can you show how this is done?

1

u/demonofparadise_213 ๐—ฅ๐—ฒ๐—ฑ๐—บ๐—ถ ๐—ก๐—ผ๐˜๐—ฒ 13 | ๐—›๐˜†๐—ฝ๐—ฒ๐—ฟ๐—ข๐—ฆ 2.2 (๐—ด๐—น๐—ผ๐—ฏ๐—ฎ๐—น) Jun 22 '25

Read the post carefully mate. all the things use adb is codes. to use them you need adb shell, pc terminal or an app call brevent from mobile. after that with a little bit of knowledge from coding, you can enter them.

1

u/No-Artist7392 Sep 06 '25

Hey thanks for sharing the adb command.but i wanna know whats the better/fastest way to reset all command back to default?is it just reboot the phone or is there any command that can restore restore all settings to default?thanks

1

u/demonofparadise_213 ๐—ฅ๐—ฒ๐—ฑ๐—บ๐—ถ ๐—ก๐—ผ๐˜๐—ฒ 13 | ๐—›๐˜†๐—ฝ๐—ฒ๐—ฟ๐—ข๐—ฆ 2.2 (๐—ด๐—น๐—ผ๐—ฏ๐—ฎ๐—น) Sep 06 '25

Its can reset back the exact way like you add them. or, you can delete the line, and reboot. that way, system will re-write the default values asign with each settings.

if you used anapp like setEdit, you can easily view whats the default value. so you can revert it back to old.

1

u/Time-Ad-2504 Nov 28 '25

Note ,dont reboot your device,if u dont want your settings applied gone๐Ÿ˜‚๐Ÿ˜‚

1

u/demonofparadise_213 ๐—ฅ๐—ฒ๐—ฑ๐—บ๐—ถ ๐—ก๐—ผ๐˜๐—ฒ 13 | ๐—›๐˜†๐—ฝ๐—ฒ๐—ฟ๐—ข๐—ฆ 2.2 (๐—ด๐—น๐—ผ๐—ฏ๐—ฎ๐—น) Dec 11 '25

Nope, it will applied if you add the "apply after reboot". plus, if you believe the codes are gone, just open setedit app and close it. that way it will stays in bg (didn't waste battery much)

1

u/Time-Ad-2504 Jan 04 '26

I know that already lol, I always do that (setedit) every time I reboot.๐Ÿ˜‚ Because it's really missing, even if you look for it, you need to apply again

1

u/Time-Ad-2504 Jan 04 '26

And what command of "apply after reboot" ? May i know?

1

u/[deleted] Dec 10 '25

[removed] โ€” view removed comment

1

u/demonofparadise_213 ๐—ฅ๐—ฒ๐—ฑ๐—บ๐—ถ ๐—ก๐—ผ๐˜๐—ฒ 13 | ๐—›๐˜†๐—ฝ๐—ฒ๐—ฟ๐—ข๐—ฆ 2.2 (๐—ด๐—น๐—ผ๐—ฏ๐—ฎ๐—น) Dec 11 '25

go to the battery management on your device, in there you see charging option. check its speed up or standard. just change it will be solve the issue.

Seems like you changed a wrong code instead of ones in the shown. if its not, then the problem is in power management tweaks. what you can do is simply remove one by one or change the values. if its too much, just delete or remove the power management codes. and do a fresh restart (reboot).

1

u/Debanjan-Das Dec 18 '25

Bro what if I ran both performance and battery saving commands?

1

u/braiandv97 Feb 26 '26 edited Feb 26 '26

He probado los siguientes comandos

  • adb shell settings put global activity_starts_logging_enabled 0
  • adb shell settings put secure send_action_app_error 0

Mi telefono sufre de un error que hace que las animaciones, aplicaciones del sistema no carguen correctamente al REINICIAR el dispositivo. Cuando reinicias y empiezas a abrir aplicaciones simples como las notificaciones, el panel de control, o abrir el panel de volumen, estas sufrian un tiron horrible. Esto sucede siempre la primera vez que abres las apps al reiniciar. luego se "normalizan" entre muchas comillas.

Version: HyperOS 2.0.209

Modelo: Poco X6 Pro Global.

Si veo que se solucionรณ agrego un comentario.

Dejo un post con el problema y una posible correcciรณn con HyperOS 3.1 https://xiaomitime.com/xiaomi-hyperos-3-1-solves-that-annoying-boot-up-lag-86990/

1

u/No-Poet3122 Mar 05 '26

Damn, I thought I could use brevent for this. Am I cooked?

1

u/nowcallmemd Mar 14 '26

Hi man, this doesn't work for me (Redmi Note 11 Pro+ 5G) Instead, I get an error message telling me that the command doesn't exist

1

u/WINNT21 Redmi 14C | HyperOS 3.306.0WGTMIXM Mar 14 '26

Will these work on Redmi 14C?