2016-01-28 17:32:53 +00:00
|
|
|
on property:persist.mmc.max_read_speed=*
|
|
|
|
write /sys/block/mmcblk0/max_read_speed ${persist.mmc.max_read_speed}
|
|
|
|
|
|
|
|
on property:persist.mmc.max_write_speed=*
|
|
|
|
write /sys/block/mmcblk0/max_write_speed ${persist.mmc.max_write_speed}
|
|
|
|
|
|
|
|
on property:persist.mmc.cache_size=*
|
|
|
|
write /sys/block/mmcblk0/cache_size ${persist.mmc.cache_size}
|
2021-04-13 21:27:16 +00:00
|
|
|
|
2021-04-16 05:06:35 +00:00
|
|
|
on early-init && property:ro.product.debugfs_restrictions.enabled=true
|
2021-04-13 21:27:16 +00:00
|
|
|
mount debugfs debugfs /sys/kernel/debug
|
|
|
|
chmod 0755 /sys/kernel/debug
|
|
|
|
|
2021-04-13 21:30:25 +00:00
|
|
|
on property:sys.boot_completed=1 && property:ro.product.debugfs_restrictions.enabled=true && \
|
|
|
|
property:persist.dbg.keep_debugfs_mounted=""
|
2021-04-13 21:27:16 +00:00
|
|
|
umount /sys/kernel/debug
|