阅读:6080回复:3

init.rc小技巧-获取系统属性赋值给节点

楼主#
更多 发布于:2019-08-14 10:37
废话不多说,直接demo
on boot
    setprop ro.radio.noril true
    write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor interactive
    write /sys/class/freq_limit/limit 0
    write /sys/module/amvdec_h265/parameters/mmu_enable 0
    write /sys/devices/system/cpu/cpu0/cpufreq/scaling_dflt_freq 2016000
   write /sys/class/xxx/xxx   ${persist.sys.xxx.xxxx}

最新喜欢:

VastStarGamesVastSt... zhaoyf13zhaoyf...
沙发#
发布于:2019-08-14 10:42
[url]http://190.lsal.cn/195/1329.gif?0728100424873[/url]
板凳#
发布于:2019-08-14 10:43
write /sys/class/leds/power-green/brightness ${persist.vendor.led.bright}
[url]http://190.lsal.cn/195/1329.gif?0728100424873[/url]
地板#
发布于:2019-08-14 10:53
这个确实不错
If you have nothing to lose, then you can do anything.
游客

返回顶部