2017-03-30 15:18:26 -07:00
|
|
|
on late-fs
|
|
|
|
|
# boot time fs tune
|
|
|
|
|
write /sys/block/sda/queue/iostats 0
|
|
|
|
|
write /sys/block/sda/queue/scheduler cfq
|
|
|
|
|
write /sys/block/sda/queue/iosched/slice_idle 0
|
|
|
|
|
write /sys/block/sda/queue/read_ahead_kb 2048
|
|
|
|
|
write /sys/block/sda/queue/nr_requests 256
|
2017-06-02 22:30:48 -07:00
|
|
|
write /sys/block/dm-0/queue/read_ahead_kb 2048
|
|
|
|
|
write /sys/block/dm-1/queue/read_ahead_kb 2048
|
2017-03-30 15:18:26 -07:00
|
|
|
|
|
|
|
|
on property:sys.boot_completed=1
|
|
|
|
|
# end boot time fs tune
|
2017-07-21 15:01:14 -07:00
|
|
|
write /sys/block/sda/queue/read_ahead_kb 1024
|
2017-03-30 15:18:26 -07:00
|
|
|
write /sys/block/sda/queue/nr_requests 128
|
|
|
|
|
write /sys/block/sda/queue/iostats 1
|
2017-06-02 22:30:48 -07:00
|
|
|
write /sys/block/dm-0/queue/read_ahead_kb 512
|
|
|
|
|
write /sys/block/dm-1/queue/read_ahead_kb 512
|
2017-05-10 16:28:53 -07:00
|
|
|
|
|
|
|
|
on property:sys.boot_completed=1 && property:ro.build.type=user
|
|
|
|
|
write /proc/sys/kernel/modules_disabled 1
|
2017-08-09 22:04:19 -07:00
|
|
|
|
|
|
|
|
on init && property:ro.boot.revision=EVM
|
|
|
|
|
setprop ro.boot.hardware.revision 0.5
|
|
|
|
|
|
|
|
|
|
on init && property:ro.boot.revision=EVT0
|
|
|
|
|
setprop ro.boot.hardware.revision 0.6
|
|
|
|
|
|
|
|
|
|
on init && property:ro.boot.revision=EVT1
|
|
|
|
|
setprop ro.boot.hardware.revision 0.7
|
|
|
|
|
|
|
|
|
|
on init && property:ro.boot.revision=EVT2
|
|
|
|
|
setprop ro.boot.hardware.revision 0.8
|
|
|
|
|
|
|
|
|
|
on init && property:ro.boot.revision=DVT
|
|
|
|
|
setprop ro.boot.hardware.revision 1.0
|
|
|
|
|
|
|
|
|
|
on init && property:ro.boot.revision=MP0 # PVT
|
|
|
|
|
setprop ro.boot.hardware.revision 1.0
|
|
|
|
|
|
|
|
|
|
on init && property:ro.boot.revision=MP1
|
|
|
|
|
setprop ro.boot.hardware.revision 1.0
|
2017-09-19 12:11:14 +08:00
|
|
|
|
|
|
|
|
on boot && property:ro.build.type=userdebug
|
|
|
|
|
write /sys/class/uio/uio1/device/rtel/rtel 1
|