2016-01-28 18:32:53 +01: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 23:27:16 +02:00
|
|
|
|
2021-04-16 07:06:35 +02:00
|
|
|
on early-init && property:ro.product.debugfs_restrictions.enabled=true
|
2021-04-13 23:27:16 +02:00
|
|
|
mount debugfs debugfs /sys/kernel/debug
|
|
|
|
chmod 0755 /sys/kernel/debug
|
|
|
|
|
2021-04-13 23:30:25 +02:00
|
|
|
on property:sys.boot_completed=1 && property:ro.product.debugfs_restrictions.enabled=true && \
|
|
|
|
property:persist.dbg.keep_debugfs_mounted=""
|
2021-04-13 23:27:16 +02:00
|
|
|
umount /sys/kernel/debug
|