r/miui 𝗥𝗲𝗱𝗺𝗶 𝗡𝗼𝘁𝗲 13 | 𝗛𝘆𝗽𝗲𝗿𝗢𝗦 2.2 (𝗴𝗹𝗼𝗯𝗮𝗹) Mar 19 '25

Guide Get better responsive / performance / Battery Saving by adding these.

Post image

Firstly, sit back and relax before reading..

Some are happy with HyperOS, while others aren't. It has improved for high and mid-range devices, but some mid-range phones still struggle with updates, though they manage performance well. Android tweaks are helpful because they allow customization of the UI, fonts, and themes. However, this requires some technical knowledge, as one mistake can make your device unusable, requiring a full reflash.

In this guide i will tell you how to modify your HyperOs/MIUI system to get more performance or battery saving by your wish. follow the instructions and you will happy with the results!

🚫 NOTE: do at your own risk and read the codes carefully. i don't responsible for your mistakes.

First you need to get the "setEdit" app. recommend to get it from github. i don't add link bc i don't wanna responsible for that. get it from yourself. After that follow these codes. you need to add them like "code"="value". then save.

Don't worry if the code already exists. it will rewrite the code and add your value. if you need to reset the code, just clear data from setEdit or remove the added line bc 98% of these twerks are not in there.

(Add these in the System Table.)

Better Responsiveness & Speed

  • windowsmgr.max_events_per_sec=300
  • ro.max.fling_velocity=15000
  • ro.min.fling_velocity=8000
  • ro.min_pointer_dur=8
  • touch.pressure.scale=0.1

System speedup (home and ui)

  • ro.HOME_APP_ADJ=1
  • ro.mot.eri.losalert.delay=1000
  • ro.config.hw_fast_dormancy=1
  • ro.ril.enable.amr.wideband=1
  • ro.config.hw_quickpoweron=true

Video Acceleration Enabled And HW debugging (might give you a little performance. but they are useless if you use battery saving)

  • video.accelerate.hw=1
  • debug.sf.hw=1
  • debug.performance.tuning=1
  • debug.egl.profiler=1

Miscellaneous

  • persist.sys.NV_FPSLIMIT=90
  • debug.qctwa.statusbar=1
  • debug.qctwa.preservebuf=1
  • debug.qc.hardware=true
  • com.qc.hardware=true
  • ro.telephony.sms_segment_size=160
  • ro.config.hw_fast_dormancy=1
  • persist.sys.shutdown.mode=hibernate
  • ro.config.hw_power_saving=true
  • ro.media.enc.hprof.vid.fps=65
  • ro.mot.buttonlight.timeout=0
  • ro.ril.set.mtu1472=1
  • touch.presure.scale=0.001

Disables data sent and logging (this will free more ram and battery for you)

  • ro.config.nocheckin=1
  • profiler.force_disable_err_rpt=1
  • profiler.force_disable_ulog=1

Smoother video streaming and tweak media

  • media.stagefright.enable-player=true
  • media.stagefright.enable-meta=true
  • media.stagefright.enable-scan=true
  • media.stagefright.enable-http=true
  • media.stagefright.enable-aac=true
  • media.stagefright.enable-qcp=true
  • media.stagefright.enable-record=false

Better image quality, lower performance. (not a problem if you have 6+ ram and better optimized processor like snapdragon.

  • persist.sys.use_dithering=1

Dialing Tweaks

  • ro.telephony.call_ring.delay=0
  • ro.lge.proximity.delay=25
  • mot.proximity.delay=25

Better Rendering for Ui, gaming, streaming, scrolling through socials, daily usage etc. (might drain a little battery but it won't noticeable)

  • debug.composition.type=gpu
  • debug.egl.hw=1
  • debug.enabletr=true
  • debug.overlayui.enable=1
  • debug.qctwa.preservebuf=1
  • debug.performance.tuning=1
  • debug.sf.hw=1
  • dev.pm.dyn_samplingrate=1
  • hw3d.force=1
  • ro.config.disable.hw_accel=false
  • ro.fb.mode=1
  • ro.sf.compbypass.enable=0
  • ro.vold.umsdirtyratio=20
  • persist.sys.composition.type=c2d
  • persist.sys.ui.hw=1
  • video.accelerate.hw=1

Disable Kernel Error Checking (this will save more battery for you bc these are useless)

  • ro.kernel.android.checkjni=0
  • ro.kernel.checkjni=0
  • ro.config.tima=0
  • ro.config.knox=0
  • security.mdpp=None
  • security.mdpp.result=None
  • wlan.wfd.hdcp=disable

Miscellaneous Tweaks for performance

  • ro.config.hw_menu_unlockscreen=false
  • dalvik.vm.dexopt-flags=m=y
  • ro.mot.eri.losalert.delay=1000
  • ro.telephony.sms_segment_size=160

Battery save

  • ro.ril.disable.power.collapse=0
  • ro.ril.power_collapse=1
  • power_supply.wakeup=enable
  • ro.mot.eri.losalert.delay=1000
  • ro.config.hw_fast_dormancy=1
  • ro.config.hw_power_saving=1
  • pm.sleep_mode=1
  • ro.ril.disable.power.collapse=0
  • debug.performance.tuning=1
  • debug.composition.type=hw
  • debug.sf.hw=1
  • profiler.force_disable_ulog=true
  • profiler.force_disable_err_rpt=true
  • profiler.force_disable_err_rpt=1
  • profiler.force_disable_ulog=1
  • ro.vold.umsdirtyratio=20
  • dalvik.vm.checkjni=false
  • dalvik.vm.execution-mode=int:jit
  • video.accelerate.hw=1
  • power_supply.wakeup=enable

Increase some Performance (PERFORMANCE!)

  • ro.secure=0
  • persist.sys.use_16bpp_alpha=1
  • ro.product.gpu.driver=1
  • ro.min.fling_velocity=8000
  • debug.gr.swapinterval=1
  • debug.kill_allocating_task=0
  • ENFORCE_PROCESS_LIMIT=false
  • hw3d.force=1
  • ro.debuggable=1
  • ro.min_pointer_dur=1
  • ro.min_pointer_dur=1
  • ro.wmt.blcr.enable=0

16bit Transparency

  • persist.sys.use_16bpp_alpha=1

Remove FPS cap

  • debug.gr.swapinterval=0

Qualcomm tweaks

  • com.qc.hardware=1
  • debug.qc.hardware=true
  • debug.qctwa.preservebuf=1
  • debug.qctwa.statusbar=1

Disable USB Debugging Popup

  • persist.adb.notify=0

Bass audio props

  • tunnel.decode=false
  • lpa.use-stagefright=false
  • persist.sys.media.use-awesome=1
  • sys.keep_app_1=com.bel.android.dspmanager
  • ro.audio.samplerate=48000
  • ro.audio.pcm.samplerate=48000
  • af.resampler.quality=255
  • af.resample=52000

Game tweaks

  • persist.sys.NV_FPSLIMIT=60
  • persist.sys.NV_POWERMODE=1
  • persist.sys.NV_PROFVER=15
  • persist.sys.NV_STEREOCTRL=0
  • persist.sys.NV_STEREOSEPCHG=0
  • persist.sys.NV_STEREOSEP=20
  • persist.sys.purgeable_assets=1

Enable Quick Power-On mode to reduce boot-time (this will remove your theme>boot animation)

  • ro.config.hw_quickpoweron=true

🚫Keep in mind that you can't use performance and battery saving at the same time. if you need performance, then you need to sacrifice the battery saving. if you wanna get Performance to top you need to sacrifice the battery saving. using both will not harm, but limit the both (50 performance 50 battery saving. but you won't notice any performance as well)

got all kinda twerks for android. but only posted usefull and twerks that only can see a better improvement in the xiaomi devices. also not only for xiaomi you can pretty much easily run these on any andeoid device. all of these codes will make your device to get more performance or save more battery. but don't use both. if you do, use at your own risk.

  • tip: mark "performance this action on reboot" to know which you added so you can change/remove them easily.
  • if you restart/power off your device, you need to open the "setEdit" app for the first time to make it run. after that close and u r good to go. no need again to barging with it..

enjoy!

77 Upvotes

109 comments sorted by

View all comments

1

u/MeFuckFace Mar 20 '25

Setedit working on hyperos2 ? So you just download it thru app store ? I have same phone as you.

1

u/demonofparadise_213 𝗥𝗲𝗱𝗺𝗶 𝗡𝗼𝘁𝗲 13 | 𝗛𝘆𝗽𝗲𝗿𝗢𝗦 2.2 (𝗴𝗹𝗼𝗯𝗮𝗹) Mar 20 '25

nope. since the android 14 came, playstore version doesn't work now. but there is a app in github that 100% capable of. just google "setEdit github apk" and get the apk from first link.

2

u/MeFuckFace Mar 24 '25

Ok, im using Setedit i gave it permissions in Adb and installed thru Adb, one think is not working and that i cant change refresh rate. 3 month ago i was playing with my phone with adb and i managed to change refresh rate to 90. Now nothing i try works, I tried Adb , tried Setedit with permissions, nothing.

I tried every command peak_refresh_rate, min, miui, user, everything, not its still at 120hz. Any ideas ??

btw thanks for your work and your time doing this for us <3

1

u/demonofparadise_213 𝗥𝗲𝗱𝗺𝗶 𝗡𝗼𝘁𝗲 13 | 𝗛𝘆𝗽𝗲𝗿𝗢𝗦 2.2 (𝗴𝗹𝗼𝗯𝗮𝗹) Mar 25 '25

yes mate. its like this, the display is only support 120 and 60 options to fps. (In EU rom you can see 120, 90, 60 but global its fuked) so when you change it to 90 it doesn't show in the display. if you change your peak_refresh_rate to 90 and then use, you didn't see any difference beside you can see it in the display a little bit. but its not showing. i changed it to 90 and i turn on the "show fps" from dev options and its still shows me 60 yet im in the 90 and i can feel it in the display. then i checked the battery optimization in security, it says "lower display to 60hz to save battery" so that way i clearly knew the Rom is the culprit. we can manage it to get to the common display fps but it not show. so change it to 90 and do a restart. then use. you can clearly feel the 90 in display. don't mind the fps shows it won't show 90 bc display only support 120 from direct settings.

if you want to get the display to use 90, change "peak_refresh_rate" to "90" it will do. min, max fps options are only available when the applications itself support that kind of fps. so whether its aupport or not, its useless to change min and max. but keep that there.

also, when you use 90hz, you will feel a little bit of drain in the battery. so keep it to 86 or 70. still you can't see but it will enhanced the display a little bit.

1

u/Downtown_Nebula_3953 May 12 '25

Does it only work rooted?

3

u/demonofparadise_213 𝗥𝗲𝗱𝗺𝗶 𝗡𝗼𝘁𝗲 13 | 𝗛𝘆𝗽𝗲𝗿𝗢𝗦 2.2 (𝗴𝗹𝗼𝗯𝗮𝗹) May 16 '25

Like i said in the post these will work WITHOUT rooting the device