on post-fs-data
# WLBT MX
    # Factory Test
    chown system system /sys/module/scsc_wlan/parameters/EnableTestMode
    chmod 0660 /sys/module/scsc_wlan/parameters/EnableTestMode
    chown system system /sys/module/scsc_mx/parameters/firmware_variant
    chmod 0664 /sys/module/scsc_mx/parameters/firmware_variant
    chown system system /proc/driver/mx140_clk0/restart
    chmod 0660 /proc/driver/mx140_clk0/restart
    chown system system /sys/module/scsc_bt/parameters/disable_service
    chmod 0660 /sys/module/scsc_bt/parameters/disable_service
    chown system system /sys/module/scsc_bt/parameters/force_crash
    chmod 0660 /sys/module/scsc_bt/parameters/force_crash
    chown system system /sys/module/scsc_wlan/parameters/factory_wifi_disable
    chmod 0660 /sys/module/scsc_wlan/parameters/factory_wifi_disable
    chown system system /sys/module/scsc_mx/parameters/enable_auto_sense
    chmod 0660 /sys/module/scsc_mx/parameters/enable_auto_sense

    chown system system /dev/s5n2560udi0
    chmod 0666 /dev/s5n2560udi0
    chown wifi wifi /dev/mx_0_debug_sampler
    chmod 0666 /dev/mx_0_debug_sampler
    chown wifi wifi /dev/mx_0_m4_gdb
    chmod 0666 /dev/mx_0_m4_gdb
    chown wifi wifi /dev/mx_0_mmap
    chmod 0666 /dev/mx_0_mmap
    chown wifi wifi /dev/mx_0_r4_gdb
    chmod 0666 /dev/mx_0_r4_gdb
    chown wifi wifi /dev/mx_client_test_0
    chmod 0666 /dev/mx_client_test_0
    chown wifi wifi /dev/scsc_log_collector_0
    chmod 0666 /dev/scsc_log_collector_0
    chown wifi wifi /sys/wifi/wifiver
    chmod 0640 /sys/wifi/wifiver
    chown wifi wifi /sys/wifi/softap
    chmod 0640 /sys/wifi/softap
    chown wifi wifi /sys/wifi/memdump
    chmod 0644 /sys/wifi/memdump

    # for WIFI TRP/TIS
    chown wifi wifi /data/vendor/conn/.psm.info
    chmod 0644 /data/vendor/conn/.psm.info
    chown wifi wifi /sys/wifi/pm
    chmod 0640 /sys/wifi/pm

    # for WIFI Antenna Selection
    chown wifi wifi /data/vendor/conn/.ant.info
    chmod 0644 /data/vendor/conn/.ant.info
    chown wifi wifi /sys/wifi/ant
    chmod 0640 /sys/wifi/ant

on fs
# scsc daemon
service wlbtd /vendor/bin/wlbtd
    class main
    user wifi
    group wifi inet log sdcard_rw misc

