mtk平台android提速

不多说,增加一条默认系统提速的方法:

diff --git a/device/mediatek/mt6797/init.mt6797.rc b/device/mediatek/mt6797/init.mt6797.rc
index b3f88cf..85510d9 100755
--- a/device/mediatek/mt6797/init.mt6797.rc
+++ b/device/mediatek/mt6797/init.mt6797.rc
@@ -28,6 +28,9 @@ on init
     # if primary storage is physical, set ro.vold.primary_physical to 1
     # setprop ro.vold.primary_physical 1
 
+    # enable hw_acc default
+    setprop persist.sys.ui.hw true
+
     # BATTERY proc
     chown shell system /proc/mtk_battery_cmd/current_cmd
     chown shell system /proc/mtk_battery_cmd/discharging_cmd

此项配置的目的是实现硬件加速.

 

Mark

 

 

 

 

 

 

 

 

 

你可能感兴趣的:(Android)