mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-22 21:56:26 -08:00
47 lines
1.2 KiB
Plaintext
47 lines
1.2 KiB
Plaintext
|
# MTK connectivity .rc configure
|
||
|
|
||
|
on post-fs-data
|
||
|
mkdir /data/vendor/stp_dump 0755 system system
|
||
|
mkdir /data/vendor/connsyslog 0755 system system
|
||
|
|
||
|
on boot
|
||
|
|
||
|
# WMT
|
||
|
service wmt_loader /vendor/bin/wmt_loader
|
||
|
class early_hal
|
||
|
user system
|
||
|
group system
|
||
|
oneshot
|
||
|
|
||
|
service wmt_launcher /vendor/bin/wmt_launcher -p /vendor/firmware/ -o 1
|
||
|
class early_hal
|
||
|
user system
|
||
|
group system
|
||
|
|
||
|
on property:ro.build.type=eng
|
||
|
write /sys/kernel/debug/tracing/tracing_on 1
|
||
|
|
||
|
on property:persist.vendor.connsys.coredump.mode=1
|
||
|
start stp_dump
|
||
|
|
||
|
on property:persist.vendor.connsys.coredump.mode=2
|
||
|
start stp_dump
|
||
|
|
||
|
on property:persist.vendor.connsys.coredump.mode=0
|
||
|
stop stp_dump
|
||
|
|
||
|
on property:vendor.connsys.driver.ready=yes && property:persist.vendor.connsys.coredump.mode=*
|
||
|
write /proc/driver/wmt_user_proc "0x1 ${persist.vendor.connsys.coredump.mode}"
|
||
|
|
||
|
on property:vendor.connsys.driver.ready=yes && property:debug.vendor.connsys.suspend.alarm=*
|
||
|
write /proc/driver/wmt_user_proc "0x2 ${debug.vendor.connsys.suspend.alarm}"
|
||
|
|
||
|
on property:persist.vendor.em.dy.debug=1
|
||
|
setprop persist.vendor.connsys.coredump.mode 0
|
||
|
|
||
|
service stp_dump /vendor/bin/stp_dump3
|
||
|
user system
|
||
|
group system sdcard_rw misc
|
||
|
class core
|
||
|
disabled
|