summaryrefslogtreecommitdiff
path: root/qcom/init.qcom.rc
blob: 5867179183dd5536f2d11b51fd7799df690e6687 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
service pd_mapper /vendor/bin/pd-mapper
    class core
    user root
    group system
    disabled
    oneshot

service tqftpserv /vendor/bin/tqftpserv
    class core
    user root
    group system
    disabled
    oneshot

service rmtfs /vendor/bin/rmtfs -o /dev/block/platform/soc@0/1d84000.ufshc/by-name -P -r -s
    class core
    user root
    group system
    disabled
    oneshot

on post-fs
    start pd_mapper
    exec - root -- /system/bin/sleep 1
    exec - system audio -- /system/bin/tinymix "QUAT_MI2S_RX Audio Mixer MultiMedia1" 1
    exec - system audio -- /system/bin/tinymix "SLIM RX0 MUX" AIF1_PB
    exec - system audio -- /system/bin/tinymix "SLIM RX0 MUX" ZERO
    exec - system audio -- /system/bin/tinymix "SLIM RX1 MUX" ZERO
    exec - system audio -- /system/bin/tinymix "SLIM RX2 MUX" ZERO
    exec - system audio -- /system/bin/tinymix "SLIM RX3 MUX" ZERO
    exec - system audio -- /system/bin/tinymix "SLIM RX4 MUX" ZERO
    exec - system audio -- /system/bin/tinymix "SLIM RX5 MUX" ZERO
    exec - system audio -- /system/bin/tinymix "SLIM RX6 MUX" AIF1_PB
    exec - system audio -- /system/bin/tinymix "SLIM RX7 MUX" AIF1_PB
    exec - system audio -- /system/bin/tinymix "RX INT7_1 MIX1 INP0" RX6
    exec - system audio -- /system/bin/tinymix "RX INT8_1 MIX1 INP0" RX7
    exec - system audio -- /system/bin/tinymix "COMP7 Switch" 1
    exec - system audio -- /system/bin/tinymix "COMP8 Switch" 1
    exec - system audio -- /system/bin/tinymix "SpkrLeft COMP Switch" 1
    exec - system audio -- /system/bin/tinymix "SpkrLeft BOOST Switch" 1
    exec - system audio -- /system/bin/tinymix "SpkrLeft VISENSE Switch" 0
    exec - system audio -- /system/bin/tinymix "SpkrLeft DAC Switch" 1
    exec - system audio -- /system/bin/tinymix "SpkrRight COMP Switch" 1
    exec - system audio -- /system/bin/tinymix "SpkrRight BOOST Switch" 1
    exec - system audio -- /system/bin/tinymix "SpkrRight VISENSE Switch" 0
    exec - system audio -- /system/bin/tinymix "SpkrRight DAC Switch" 1
    exec - system audio -- /system/bin/tinymix "SLIMBUS_0_RX Audio Mixer MultiMedia2" 1

on post-fs-data
    mkdir /data/vendor
    mkdir /data/vendor/tmp
    mkdir /data/vendor/readwrite
    mkdir /data/vendor/readonly
    mkdir /data/vendor/readonly/firmware
    mkdir /data/vendor/readonly/firmware/image
    write /sys/class/firmware/timeout 1
    start tqftpserv
    start rmtfs