blob: 4084f9295c4feba303100a10fe9da1e54f8864e6 (
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
59
|
on post-fs-data
#Add bluetooth mac address dir
mkdir /data/vendor/bluetooth 0770 bluetooth bluetooth
on early-boot
chown system system /sys/class/misc/wcn/devices/sw_ver
chown system system /sys/class/misc/wcn/devices/hw_ver
chown system system /sys/class/misc/wcn/devices/loglevel
chown system system /sys/class/misc/wcn/devices/armlog_status
chown system system /sys/class/misc/wcn/devices/reset_dump
chown system system /sys/class/misc/wcn/devices/atcmd
on property:sys.boot_completed=1
chmod 660 /sys/class/rfkill/rfkill0/state
chown bluetooth net_bt_admin /sys/class/rfkill/rfkill0/state
chmod 660 /sys/class/rfkill/rfkill0/type
chown bluetooth net_bt_admin /sys/class/rfkill/rfkill0/type
chmod 660 /sys/class/rfkill/rfkill1/state
chown bluetooth net_bt_admin /sys/class/rfkill/rfkill1/state
chmod 660 /sys/class/rfkill/rfkill1/type
chown bluetooth net_bt_admin /sys/class/rfkill/rfkill1/type
chmod 660 /sys/devices/platform/sprd-mtty/dumpmem
chown bluetooth net_bt_admin /sys/devices/platform/sprd-mtty/dumpmem
restorecon -R /sys/devices/platform/sprd-mtty/dumpmem
on cali-fs
insmod /vendor/lib/modules/unisoc_wcn_bsp.ko
insmod /vendor/lib/modules/sprd_wlan_combo.ko
insmod /vendor/lib/modules/unisoc_gnss_common_ctl_all.ko
insmod /vendor/lib/modules/sprdbt_tty.ko
insmod /vendor/lib/modules/sprd_fm.ko
insmod /vendor/lib/modules/unisoc_gnss_dbg.ko
insmod /vendor/lib/modules/unisoc_gnss_pmnotify_ctl.ko
chmod 660 /sys/class/rfkill/rfkill0/state
chown bluetooth net_bt_admin /sys/class/rfkill/rfkill0/state
chmod 660 /sys/class/rfkill/rfkill0/type
chown bluetooth net_bt_admin /sys/class/rfkill/rfkill0/type
chmod 660 /sys/class/rfkill/rfkill1/state
chown bluetooth net_bt_admin /sys/class/rfkill/rfkill1/state
chmod 660 /sys/class/rfkill/rfkill1/type
chown bluetooth net_bt_admin /sys/class/rfkill/rfkill1/type
insmod ${ro.vendor.ko.mount.point}/socko/sprd_fm.ko
mkdir /data/vendor/bluetooth 0770 bluetooth bluetooth
chmod 660 /sys/devices/platform/wcn_bt/dumpmem
chown bluetooth net_bt_admin /sys/devices/platform/wcn_bt/dumpmem
restorecon -R /sys/devices/platform/wcn_bt/dumpmem
on factorytest
insmod /vendor/lib/modules/unisoc_wcn_bsp.ko
insmod /vendor/lib/modules/sprd_wlan_combo.ko
insmod /vendor/lib/modules/unisoc_gnss_common_ctl_all.ko
insmod /vendor/lib/modules/sprdbt_tty.ko
insmod /vendor/lib/modules/sprd_fm.ko
insmod /vendor/lib/modules/unisoc_gnss_dbg.ko
insmod /vendor/lib/modules/unisoc_gnss_pmnotify_ctl.ko
|