MI8 build.prop 优化整理,代码,安卓9

原文链接:https://forum.xda-developers.com/android/general/guide-build-prop-tweaks-t3376962

修改文件有风险

操作不当会变砖,无法开机
操作不当会变砖,无法开机
操作不当会变砖,无法开机

首先你必要有ROOT
R.E.管理器打开文件夹 /system/
复制 build.prop 文件到 储存卡根目录 /sdcarrd/,

再复制文件到电脑,用 Notepad++ 打开修改,

文本最后添加内容,注意文件最后必须有一行空行
最后把文件 复制替换 /system/build.prop
把文件权限修改回 0644 rw-r--r--
重启手机就好啦。


自用方案,别问我硬件加速怎么没添加之类的问题

优化项目都可以搜索到
添加字段如下:

##MIUI10_ADD3+
# Disables data sent and logging
profiler.force_disable_ulog=true
profiler.force_disable_err_rpt=true
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
# Disable Miscellaneous Android Logging Stuff
debugtool.anrhistory=0
profiler.debugmonitor=false
profiler.launch=false
profiler.hung.dumpdobugreport=false
# Disable Logers
ro.config.htc.nocheckin=1
ro.config.nocheckin=1
#Disables built in error reporting.
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
#Enable ADB Debugging By Default & Enable USB Debugging Popup
persist.adb.notify=1
persist.service.adb.enable=1
persist.service.debuggable=1
persist.sys.usb.config=mtp,ad
# Qualcomm Tweaks
com.qc.hardware=1
debug.qc.hardware=true
debug.qctwa.preservebuf=1
debug.qctwa.statusbar=1

# Increase some Performance
ro.product.gpu.driver=1
# Video acceleration and HW debugging. 
debug.performance.tuning=1
video.accelerate.hw=1
# Hardware Power Saving
ro.config.hw_power_saving=true
# slow boot
ro.config.hw_quickpoweron=false

# DHA tunning
ro.config.dha_tunnable=1
#Support for ipv4 and ipv6
persist.telephony.support.ipv6=1
persist.telephony.support.ipv4=1
net.ipv6.route.flush=1
net.ipv4.route.flush=1
#Better signal.
persist.cust.tel.eons=1
ro.config.hw_fast_dormancy=1
#Better call voice quality.
ro.ril.enable.amr.wideband=1
ro.config.vc_call_steps=30
#volume fix
ro.config.media_vol_default=14
ro.config.media_vol_steps=20

#Dalvik Virtual Machine tweaks!!
dalvik.vm.heapstartsize=16m
#8m
dalvik.vm.heapsize=512m
#512m
dalvik.vm.heaptargetutilization=0.75
dalvik.vm.heapminfree=512k
#512k
dalvik.vm.heapmaxfree=8m
#Disable Strict Mode Checking
persist.android.strictmode=0

 

上一篇:linux 因ipv6无法访问域名问题


下一篇:Mac上PyCharm运行多进程报错的解决方案