Steve Kondik | a89711a | 2010-07-07 09:06:13 -0400 | [diff] [blame] | 1 | # CyanogenMod Extras |
Koushik Dutta | 5af62eb | 2013-07-27 19:52:40 -0700 | [diff] [blame] | 2 | import /init.superuser.rc |
Steve Kondik | a89711a | 2010-07-07 09:06:13 -0400 | [diff] [blame] | 3 | |
Ricardo Cerqueira | 8f412cb | 2012-10-18 16:38:25 +0100 | [diff] [blame] | 4 | on init |
| 5 | export ANDROID_CACHE /cache |
| 6 | export TERMINFO /system/etc/terminfo |
Ricardo Cerqueira | 8f412cb | 2012-10-18 16:38:25 +0100 | [diff] [blame] | 7 | |
Steve Kondik | 28dbc8b | 2015-09-07 23:23:10 -0700 | [diff] [blame] | 8 | # Set up the BFQIO hierarchy |
| 9 | chmod 0755 /sys/fs/cgroup |
| 10 | mkdir /sys/fs/cgroup/bfqio 0755 root system |
| 11 | mount cgroup none /sys/fs/cgroup/bfqio bfqio,xattr |
| 12 | write /sys/fs/cgroup/bfqio/bfqio.ioprio_class 2 |
| 13 | write /sys/fs/cgroup/bfqio/bfqio.ioprio 4 |
| 14 | write /sys/fs/cgroup/bfqio/bfqio.weight 1000 |
| 15 | chown root system /sys/fs/cgroup/bfqio/tasks |
| 16 | chmod 0666 /sys/fs/cgroup/bfqio/tasks |
| 17 | |
| 18 | # Realtime audio class |
| 19 | mkdir /sys/fs/cgroup/bfqio/rt-audio 0755 root system |
| 20 | write /sys/fs/cgroup/bfqio/rt-audio/bfqio.ioprio_class 1 |
| 21 | write /sys/fs/cgroup/bfqio/rt-audio/bfqio.ioprio 4 |
| 22 | write /sys/fs/cgroup/bfqio/rt-audio/bfqio.weight 1000 |
| 23 | chown media system /sys/fs/cgroup/bfqio/rt-audio/tasks |
| 24 | chmod 0664 /sys/fs/cgroup/bfqio/rt-audio/tasks |
| 25 | |
| 26 | # Realtime display class |
| 27 | mkdir /sys/fs/cgroup/bfqio/rt-display 0755 root system |
Steve Kondik | c815f70 | 2015-09-16 15:08:48 -0700 | [diff] [blame] | 28 | write /sys/fs/cgroup/bfqio/rt-display/bfqio.ioprio_class 1 |
Steve Kondik | 28dbc8b | 2015-09-07 23:23:10 -0700 | [diff] [blame] | 29 | write /sys/fs/cgroup/bfqio/rt-display/bfqio.ioprio 7 |
| 30 | write /sys/fs/cgroup/bfqio/rt-display/bfqio.weight 1000 |
| 31 | chown system graphics /sys/fs/cgroup/bfqio/rt-display/tasks |
| 32 | chmod 0664 /sys/fs/cgroup/bfqio/rt-display/tasks |
| 33 | |
| 34 | # Display class |
| 35 | mkdir /sys/fs/cgroup/bfqio/display 0755 root system |
| 36 | write /sys/fs/cgroup/bfqio/display/bfqio.ioprio_class 2 |
| 37 | write /sys/fs/cgroup/bfqio/display/bfqio.ioprio 0 |
| 38 | write /sys/fs/cgroup/bfqio/display/bfqio.weight 1000 |
| 39 | chown root system /sys/fs/cgroup/bfqio/display/tasks |
| 40 | chmod 0666 /sys/fs/cgroup/bfqio/display/tasks |
| 41 | |
| 42 | # Hipri class |
| 43 | mkdir /sys/fs/cgroup/bfqio/hipri 0755 root system |
| 44 | write /sys/fs/cgroup/bfqio/hipri/bfqio.ioprio_class 2 |
Steve Kondik | c815f70 | 2015-09-16 15:08:48 -0700 | [diff] [blame] | 45 | write /sys/fs/cgroup/bfqio/hipri/bfqio.ioprio 2 |
Steve Kondik | 28dbc8b | 2015-09-07 23:23:10 -0700 | [diff] [blame] | 46 | write /sys/fs/cgroup/bfqio/hipri/bfqio.weight 1000 |
| 47 | chown root system /sys/fs/cgroup/bfqio/hipri/tasks |
| 48 | chmod 0666 /sys/fs/cgroup/bfqio/hipri/tasks |
| 49 | |
| 50 | # Background class |
| 51 | mkdir /sys/fs/cgroup/bfqio/bg 0755 root system |
| 52 | write /sys/fs/cgroup/bfqio/bg/bfqio.ioprio_class 2 |
| 53 | write /sys/fs/cgroup/bfqio/bg/bfqio.ioprio 7 |
| 54 | write /sys/fs/cgroup/bfqio/bg/bfqio.weight 1000 |
| 55 | chown root system /sys/fs/cgroup/bfqio/bg/tasks |
| 56 | chmod 0666 /sys/fs/cgroup/bfqio/bg/tasks |
| 57 | |
| 58 | # Idle |
| 59 | mkdir /sys/fs/cgroup/bfqio/idle 0755 root system |
| 60 | write /sys/fs/cgroup/bfqio/idle/bfqio.ioprio_class 3 |
| 61 | write /sys/fs/cgroup/bfqio/idle/bfqio.ioprio 0 |
| 62 | write /sys/fs/cgroup/bfqio/idle/bfqio.weight 1000 |
| 63 | chown root system /sys/fs/cgroup/bfqio/idle/tasks |
| 64 | chmod 0666 /sys/fs/cgroup/bfqio/idle/tasks |
| 65 | |
Ricardo Cerqueira | 8f412cb | 2012-10-18 16:38:25 +0100 | [diff] [blame] | 66 | on post-fs-data |
Chirayu Desai | ce88540 | 2013-05-12 16:28:01 +0530 | [diff] [blame] | 67 | mkdir /data/.ssh 0750 root shell |
Lin Ma | d32b741 | 2015-05-31 15:55:38 -0700 | [diff] [blame] | 68 | mkdir /cache/recovery 0770 system cache |
Ricardo Cerqueira | 8f412cb | 2012-10-18 16:38:25 +0100 | [diff] [blame] | 69 | |
Ricardo Cerqueira | 6698e5e | 2012-11-23 17:15:16 +0000 | [diff] [blame] | 70 | # Run sysinit |
| 71 | start sysinit |
| 72 | |
Ricardo Cerqueira | 79ba997 | 2013-06-12 12:12:18 +0100 | [diff] [blame] | 73 | on boot |
Giulio Cervera | a76d898 | 2013-05-21 14:23:19 +0200 | [diff] [blame] | 74 | # interactive governor |
| 75 | chown system system /sys/devices/system/cpu/cpufreq/interactive/timer_rate |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 76 | chmod 0664 /sys/devices/system/cpu/cpufreq/interactive/timer_rate |
Arne Coucheron | 1a1b4dc | 2014-11-19 01:48:30 +0100 | [diff] [blame] | 77 | chown system system /sys/devices/system/cpu/cpufreq/interactive/timer_slack |
| 78 | chmod 0664 /sys/devices/system/cpu/cpufreq/interactive/timer_slack |
Giulio Cervera | a76d898 | 2013-05-21 14:23:19 +0200 | [diff] [blame] | 79 | chown system system /sys/devices/system/cpu/cpufreq/interactive/min_sample_time |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 80 | chmod 0664 /sys/devices/system/cpu/cpufreq/interactive/min_sample_time |
Giulio Cervera | a76d898 | 2013-05-21 14:23:19 +0200 | [diff] [blame] | 81 | chown system system /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 82 | chmod 0664 /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq |
Arne Coucheron | 1a1b4dc | 2014-11-19 01:48:30 +0100 | [diff] [blame] | 83 | chown system system /sys/devices/system/cpu/cpufreq/interactive/target_loads |
| 84 | chmod 0664 /sys/devices/system/cpu/cpufreq/interactive/target_loads |
Giulio Cervera | a76d898 | 2013-05-21 14:23:19 +0200 | [diff] [blame] | 85 | chown system system /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 86 | chmod 0664 /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load |
Giulio Cervera | a76d898 | 2013-05-21 14:23:19 +0200 | [diff] [blame] | 87 | chown system system /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 88 | chmod 0664 /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay |
Giulio Cervera | a76d898 | 2013-05-21 14:23:19 +0200 | [diff] [blame] | 89 | chown system system /sys/devices/system/cpu/cpufreq/interactive/boost |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 90 | chmod 0664 /sys/devices/system/cpu/cpufreq/interactive/boost |
Giulio Cervera | a76d898 | 2013-05-21 14:23:19 +0200 | [diff] [blame] | 91 | chown system system /sys/devices/system/cpu/cpufreq/interactive/boostpulse |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 92 | chmod 0664 /sys/devices/system/cpu/cpufreq/interactive/boostpulse |
Giulio Cervera | a76d898 | 2013-05-21 14:23:19 +0200 | [diff] [blame] | 93 | chown system system /sys/devices/system/cpu/cpufreq/interactive/input_boost |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 94 | chmod 0664 /sys/devices/system/cpu/cpufreq/interactive/input_boost |
Giulio Cervera | a76d898 | 2013-05-21 14:23:19 +0200 | [diff] [blame] | 95 | chown system system /sys/devices/system/cpu/cpufreq/interactive/boostpulse_duration |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 96 | chmod 0664 /sys/devices/system/cpu/cpufreq/interactive/boostpulse_duration |
Giulio Cervera | 989a313 | 2013-07-12 17:44:16 +0200 | [diff] [blame] | 97 | chown system system /sys/devices/system/cpu/cpufreq/interactive/io_is_busy |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 98 | chmod 0664 /sys/devices/system/cpu/cpufreq/interactive/io_is_busy |
Steve Kondik | 9d1a861 | 2014-01-15 01:44:07 +0800 | [diff] [blame] | 99 | chown system system /sys/devices/system/cpu/cpufreq/interactive/sync_freq |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 100 | chmod 0664 /sys/devices/system/cpu/cpufreq/interactive/sync_freq |
Arne Coucheron | 1a1b4dc | 2014-11-19 01:48:30 +0100 | [diff] [blame] | 101 | chown system system /sys/devices/system/cpu/cpufreq/interactive/up_threshold_any_cpu_freq |
| 102 | chmod 0664 /sys/devices/system/cpu/cpufreq/interactive/up_threshold_any_cpu_freq |
Steve Kondik | 9d1a861 | 2014-01-15 01:44:07 +0800 | [diff] [blame] | 103 | chown system system /sys/devices/system/cpu/cpufreq/interactive/up_threshold_any_cpu_load |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 104 | chmod 0664 /sys/devices/system/cpu/cpufreq/interactive/up_threshold_any_cpu_load |
Steve Kondik | 9d1a861 | 2014-01-15 01:44:07 +0800 | [diff] [blame] | 105 | chown system system /sys/devices/system/cpu/cpufreq/interactive/sampling_down_factor |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 106 | chmod 0664 /sys/devices/system/cpu/cpufreq/interactive/sampling_down_factor |
Steve Kondik | 9d1a861 | 2014-01-15 01:44:07 +0800 | [diff] [blame] | 107 | |
Giulio Cervera | a76d898 | 2013-05-21 14:23:19 +0200 | [diff] [blame] | 108 | # ondemand governor |
| 109 | chown system system /sys/devices/system/cpu/cpufreq/ondemand/boostfreq |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 110 | chmod 0664 /sys/devices/system/cpu/cpufreq/ondemand/boostfreq |
Giulio Cervera | a76d898 | 2013-05-21 14:23:19 +0200 | [diff] [blame] | 111 | chown system system /sys/devices/system/cpu/cpufreq/ondemand/boostpulse |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 112 | chmod 0664 /sys/devices/system/cpu/cpufreq/ondemand/boostpulse |
Giulio Cervera | a76d898 | 2013-05-21 14:23:19 +0200 | [diff] [blame] | 113 | chown system system /sys/devices/system/cpu/cpufreq/ondemand/boosttime |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 114 | chmod 0664 /sys/devices/system/cpu/cpufreq/ondemand/boosttime |
Giulio Cervera | a76d898 | 2013-05-21 14:23:19 +0200 | [diff] [blame] | 115 | chown system system /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 116 | chmod 0664 /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy |
Giulio Cervera | a76d898 | 2013-05-21 14:23:19 +0200 | [diff] [blame] | 117 | chown system system /sys/devices/system/cpu/cpufreq/ondemand/down_differential |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 118 | chmod 0664 /sys/devices/system/cpu/cpufreq/ondemand/down_differential |
Giulio Cervera | a76d898 | 2013-05-21 14:23:19 +0200 | [diff] [blame] | 119 | chown system system /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 120 | chmod 0664 /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate |
Giulio Cervera | a76d898 | 2013-05-21 14:23:19 +0200 | [diff] [blame] | 121 | chown system system /sys/devices/system/cpu/cpufreq/ondemand/powersave_bias |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 122 | chmod 0664 /sys/devices/system/cpu/cpufreq/ondemand/powersave_bias |
Giulio Cervera | a76d898 | 2013-05-21 14:23:19 +0200 | [diff] [blame] | 123 | chown system system /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 124 | chmod 0664 /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor |
Giulio Cervera | a76d898 | 2013-05-21 14:23:19 +0200 | [diff] [blame] | 125 | chown system system /sys/devices/system/cpu/cpufreq/ondemand/up_threshold |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 126 | chmod 0664 /sys/devices/system/cpu/cpufreq/ondemand/up_threshold |
Steve Kondik | 686cbf2 | 2013-10-04 04:31:56 -0700 | [diff] [blame] | 127 | chown system system /sys/devices/system/cpu/cpufreq/ondemand/input_boost |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 128 | chmod 0664 /sys/devices/system/cpu/cpufreq/ondemand/input_boost |
Steve Kondik | f9bb777 | 2013-10-07 23:39:12 -0700 | [diff] [blame] | 129 | chown system system /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_multi_core |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 130 | chmod 0664 /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_multi_core |
Steve Kondik | f9bb777 | 2013-10-07 23:39:12 -0700 | [diff] [blame] | 131 | chown system system /sys/devices/system/cpu/cpufreq/ondemand/down_differential_multi_core |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 132 | chmod 0664 /sys/devices/system/cpu/cpufreq/ondemand/down_differential_multi_core |
Steve Kondik | f9bb777 | 2013-10-07 23:39:12 -0700 | [diff] [blame] | 133 | chown system system /sys/devices/system/cpu/cpufreq/ondemand/optimal_freq |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 134 | chmod 0664 /sys/devices/system/cpu/cpufreq/ondemand/optimal_freq |
Steve Kondik | f9bb777 | 2013-10-07 23:39:12 -0700 | [diff] [blame] | 135 | chown system system /sys/devices/system/cpu/cpufreq/ondemand/sync_freq |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 136 | chmod 0664 /sys/devices/system/cpu/cpufreq/ondemand/sync_freq |
Steve Kondik | f9bb777 | 2013-10-07 23:39:12 -0700 | [diff] [blame] | 137 | chown system system /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_any_cpu_load |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 138 | chmod 0664 /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_any_cpu_load |
Giulio Cervera | a76d898 | 2013-05-21 14:23:19 +0200 | [diff] [blame] | 139 | |
Ricardo Cerqueira | 8f412cb | 2012-10-18 16:38:25 +0100 | [diff] [blame] | 140 | chown system system /sys/block/mmcblk0/queue/scheduler |
| 141 | chmod 0664 /sys/block/mmcblk0/queue/scheduler |
Pawit Pornkitprasan | 24a971a | 2015-01-03 12:44:43 +0700 | [diff] [blame] | 142 | restorecon /sys/block/mmcblk0/queue/scheduler |
Ricardo Cerqueira | 8f412cb | 2012-10-18 16:38:25 +0100 | [diff] [blame] | 143 | |
Arne Coucheron | 08297ed | 2015-04-03 02:01:36 +0200 | [diff] [blame] | 144 | chown system system /dev/cpuctl/cpu.notify_on_migrate |
| 145 | chmod 0664 /dev/cpuctl/cpu.notify_on_migrate |
Steve Kondik | 6a0f530 | 2013-10-02 11:28:28 -0700 | [diff] [blame] | 146 | |
Steve Kondik | 4462dfa | 2015-09-18 04:27:35 -0700 | [diff] [blame^] | 147 | # LiveDisplay sysfs |
| 148 | chown system system /sys/devices/virtual/graphics/fb0/aco |
| 149 | chmod 0660 /sys/devices/virtual/graphics/fb0/aco |
| 150 | chown system system /sys/devices/virtual/graphics/fb0/cabc |
| 151 | chmod 0660 /sys/devices/virtual/graphics/fb0/cabc |
| 152 | chown system system /sys/devices/virtual/graphics/fb0/rgb |
| 153 | chmod 0660 /sys/devices/virtual/graphics/fb0/rgb |
| 154 | chown system system /sys/devices/virtual/graphics/fb0/sre |
| 155 | chmod 0660 /sys/devices/virtual/graphics/fb0/sre |
| 156 | |
Arne Coucheron | 1f3653e | 2014-05-20 23:52:30 +0200 | [diff] [blame] | 157 | # Define TCP delayed ack settings for WiFi & LTE |
| 158 | chown system system /sys/kernel/ipv4/tcp_delack_seg |
| 159 | chown system system /sys/kernel/ipv4/tcp_use_userconfig |
| 160 | setprop net.tcp.delack.default 1 |
| 161 | setprop net.tcp.delack.wifi 20 |
| 162 | setprop net.tcp.delack.lte 8 |
| 163 | setprop net.tcp.usercfg.default 0 |
| 164 | setprop net.tcp.usercfg.wifi 1 |
| 165 | setprop net.tcp.usercfg.lte 1 |
| 166 | |
Steve Kondik | a385501 | 2015-09-06 13:53:29 -0700 | [diff] [blame] | 167 | # Persistent properties (only created if persist exists) |
| 168 | mkdir /persist/properties 0770 system system |
| 169 | |
Steve Kondik | c815f70 | 2015-09-16 15:08:48 -0700 | [diff] [blame] | 170 | # sysinit (/system/etc/init.d) |
| 171 | service sysinit /system/bin/sysinit |
| 172 | user root |
| 173 | oneshot |
| 174 | disabled |
| 175 | |
| 176 | # bugreport is triggered by holding down volume down, volume up and power |
| 177 | service bugreport /system/bin/dumpstate -d -p -B \ |
| 178 | -o /data/data/com.android.shell/files/bugreports/bugreport |
| 179 | oneshot |
| 180 | disabled |
| 181 | keycodes 114 115 116 |
| 182 | |
Ricardo Cerqueira | 8f412cb | 2012-10-18 16:38:25 +0100 | [diff] [blame] | 183 | # adb over network |
| 184 | on property:service.adb.tcp.port=5555 |
| 185 | stop adbd |
| 186 | start adbd |
Steve Kondik | c815f70 | 2015-09-16 15:08:48 -0700 | [diff] [blame] | 187 | |
Ricardo Cerqueira | 8f412cb | 2012-10-18 16:38:25 +0100 | [diff] [blame] | 188 | on property:service.adb.tcp.port=-1 |
| 189 | stop adbd |
| 190 | start adbd |
| 191 | |
Dan Pasanen | 15e432d | 2015-04-30 17:15:11 -0500 | [diff] [blame] | 192 | # Disable ril services if noril prop is set |
| 193 | on property:ro.radio.noril=1 |
| 194 | stop ril-daemon |
| 195 | stop qmuxd |
| 196 | stop netmgrd |
| 197 | |
Dan Pasanen | 374ca9d | 2015-04-30 17:16:07 -0500 | [diff] [blame] | 198 | on property:persist.radio.noril=1 |
| 199 | setprop ro.radio.noril 1 |
| 200 | |
Steve Kondik | 26731f5 | 2015-09-07 16:42:00 -0700 | [diff] [blame] | 201 | # Configure IO scheduler |
| 202 | on property:sys.io.scheduler=* |
| 203 | write /sys/block/mmcblk0/queue/scheduler ${sys.io.scheduler} |
| 204 | |
| 205 | on property:persist.sys.io.scheduler=* |
| 206 | setprop sys.io.scheduler ${persist.sys.io.scheduler} |
| 207 | |
Steve Kondik | c815f70 | 2015-09-16 15:08:48 -0700 | [diff] [blame] | 208 | # Set slice_idle to 0 for CFQ |
| 209 | on property:sys.io.scheduler=cfq |
| 210 | write /sys/block/mmcblk0/queue/iosched/slice_idle 0 |
Ethan Chen | 3866f70 | 2015-05-05 12:30:59 -0700 | [diff] [blame] | 211 | |
Steve Kondik | c815f70 | 2015-09-16 15:08:48 -0700 | [diff] [blame] | 212 | # Set slice_idle to 0 for BFQ |
| 213 | on property:sys.io.scheduler=bfq |
Steve Kondik | 4462dfa | 2015-09-18 04:27:35 -0700 | [diff] [blame^] | 214 | write /sys/block/mmcblk0/queue/iosched/slice_idle 0 |
| 215 | |