on late-fs
    # Set BFQ's slice_idle to 0
    write /sys/block/mmcblk0/queue/iosched/slice_idle 0
    write /sys/block/mmcblk1/queue/iosched/slice_idle 0
    write /sys/block/dm-0/queue/iosched/slice_idle 0
    write /sys/block/dm-1/queue/iosched/slice_idle 0

# Run post-boot script after Qualcomm's post_boot shell script
on property:init.svc.qcom-post-boot=stopped
    # Less throttling, more experience
    write /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq 1689600

    # Set read ahead to 128 kb for external storage (rest are handled by qcom-post-boot)
    write /sys/block/mmcblk1/queue/read_ahead_kb 128
