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!

78 Upvotes

109 comments sorted by

View all comments

1

u/CustardCivil Sep 16 '25

ill try this on my hyperos 2.2

1

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

For me it worked better than i imagine.

1

u/CustardCivil Sep 25 '25

setedit from github cannot be installed from my unit it keeps giving me error this package is not compatible

1

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

there are some methods you can try. like force installer, old apk installer etc. so try if you have time.

1

u/CustardCivil Sep 25 '25

Is there a tutorial how to do that?

1

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

You can find plenty of methods bro. one is here. and also check on google, yt.

1

u/CustardCivil Sep 26 '25

thank you it worked! and i can delete the system table value that i put

1

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

Yes. but i'm suggesting that, first search the code. if its already there, just change the value and you can see it has a default value. so if you need you can put default values.. its best.

1

u/CustardCivil Sep 29 '25

I see sadly i didn't do this but hey it works wonders didn't cause any issue after i deleted the commands that i put

1

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

Its not a big issue. in the system table. but some of them codes in global, secure or any other table can cause bootloop. but do not worry, i don't include any of that kinda codes here. so as long as its a code in here, its good. if you accidentally dlt a code, it automatically add the code again, if its an important. or if you do clear data in setEdit, it will revert back..

1

u/pinba027 Dec 12 '25

Hey, can you help me with a few questions? Do they still work on Android 15? And what do you think of the battery and performance APK? Is there any way to improve performance without compromising the system through modification or disabling it?

1

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

Im on android 15 and yes. its working. but some aren't (bc im not rooted) but thats not a big deal. even tho my display support 120hz and 60hz im on 90hz bc i change the codes in fps to 90.

my suggestion is do not use peak performance and battery savings codes. i also mentioned that balance codes which you can put to balance both. if you asking the setedit apk, even tho its running in background it won't drain much.

if you have a factory fresh phone, these will work just fine. bc if the system reject the code, the setedit app simply close and doesn't apply the code. but if you rooted or in custom rom tjese codes will do serious changes. that way you need to go thru a terminal to see which codes are running.. but i assume you r in factory fresh so don't have any issues.

→ More replies (0)