John Stultz | da18e5c | 2020-02-26 20:23:14 +0000 | [diff] [blame] | 1 | service pd_mapper /vendor/bin/pd-mapper |
| 2 | class core |
| 3 | user root |
| 4 | group system |
| 5 | disabled |
| 6 | oneshot |
| 7 | |
| 8 | service tqftpserv /vendor/bin/tqftpserv |
| 9 | class core |
| 10 | user root |
| 11 | group system |
| 12 | disabled |
| 13 | oneshot |
| 14 | |
| 15 | service rmtfs /vendor/bin/rmtfs -o /dev/block/platform/soc@0/1d84000.ufshc/by-name -P -r -s |
| 16 | class core |
| 17 | user root |
| 18 | group system |
| 19 | disabled |
| 20 | oneshot |
| 21 | |
Amit Pundir | 0fc8375 | 2020-02-26 13:28:54 +0530 | [diff] [blame] | 22 | on post-fs |
| 23 | start pd_mapper |
| 24 | exec - root -- /system/bin/sleep 1 |
| 25 | exec - system audio -- /system/bin/tinymix "QUAT_MI2S_RX Audio Mixer MultiMedia1" 1 |
| 26 | exec - system audio -- /system/bin/tinymix "SLIM RX0 MUX" AIF1_PB |
| 27 | exec - system audio -- /system/bin/tinymix "SLIM RX0 MUX" ZERO |
| 28 | exec - system audio -- /system/bin/tinymix "SLIM RX1 MUX" ZERO |
| 29 | exec - system audio -- /system/bin/tinymix "SLIM RX2 MUX" ZERO |
| 30 | exec - system audio -- /system/bin/tinymix "SLIM RX3 MUX" ZERO |
| 31 | exec - system audio -- /system/bin/tinymix "SLIM RX4 MUX" ZERO |
| 32 | exec - system audio -- /system/bin/tinymix "SLIM RX5 MUX" ZERO |
| 33 | exec - system audio -- /system/bin/tinymix "SLIM RX6 MUX" AIF1_PB |
| 34 | exec - system audio -- /system/bin/tinymix "SLIM RX7 MUX" AIF1_PB |
| 35 | exec - system audio -- /system/bin/tinymix "RX INT7_1 MIX1 INP0" RX6 |
| 36 | exec - system audio -- /system/bin/tinymix "RX INT8_1 MIX1 INP0" RX7 |
| 37 | exec - system audio -- /system/bin/tinymix "COMP7 Switch" 1 |
| 38 | exec - system audio -- /system/bin/tinymix "COMP8 Switch" 1 |
| 39 | exec - system audio -- /system/bin/tinymix "SpkrLeft COMP Switch" 1 |
| 40 | exec - system audio -- /system/bin/tinymix "SpkrLeft BOOST Switch" 1 |
| 41 | exec - system audio -- /system/bin/tinymix "SpkrLeft VISENSE Switch" 0 |
| 42 | exec - system audio -- /system/bin/tinymix "SpkrLeft DAC Switch" 1 |
| 43 | exec - system audio -- /system/bin/tinymix "SpkrRight COMP Switch" 1 |
| 44 | exec - system audio -- /system/bin/tinymix "SpkrRight BOOST Switch" 1 |
| 45 | exec - system audio -- /system/bin/tinymix "SpkrRight VISENSE Switch" 0 |
| 46 | exec - system audio -- /system/bin/tinymix "SpkrRight DAC Switch" 1 |
| 47 | exec - system audio -- /system/bin/tinymix "SLIMBUS_0_RX Audio Mixer MultiMedia2" 1 |
| 48 | |
John Stultz | da18e5c | 2020-02-26 20:23:14 +0000 | [diff] [blame] | 49 | on post-fs-data |
| 50 | mkdir /data/vendor |
| 51 | mkdir /data/vendor/tmp |
| 52 | mkdir /data/vendor/readwrite |
| 53 | mkdir /data/vendor/readonly |
| 54 | mkdir /data/vendor/readonly/firmware |
| 55 | mkdir /data/vendor/readonly/firmware/image |
| 56 | write /sys/class/firmware/timeout 1 |
John Stultz | da18e5c | 2020-02-26 20:23:14 +0000 | [diff] [blame] | 57 | start tqftpserv |
| 58 | start rmtfs |
Amit Pundir | 112b996 | 2020-06-11 22:02:24 +0530 | [diff] [blame] | 59 | |
| 60 | on shutdown |
| 61 | stop rmtfs |