android_device_tecno_LG8n/rootdir/etc/init/hw/init_connectivity.rc

47 lines
1.2 KiB
Plaintext
Raw Normal View History

# 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