forked from CyanogenMod/android_device_lge_e720
-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.alessi.rc
72 lines (57 loc) · 1.89 KB
/
init.alessi.rc
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
60
61
62
63
64
65
66
67
68
69
70
71
72
on boot-pause
exec sbin/chargerlogo
on boot
mkdir /data/radio 0770 radio radio
mkdir /data/amit 0777 ami304d ami304d
chmod 0666 /data/amit/AMI306_Config.ini
chmod 0666 /data/amit/AMI306_Config2.ini
chown compass system /sys/bus/i2c/drivers/proximity_gp2ap/4-0044/enable
chmod 0660 /sys/bus/i2c/drivers/proximity_gp2ap/4-0044/enable
## LGE's bluetooth stuff
# bluetooth permissions
chmod 0660 /dev/ttyHS0
chown bluetooth bluetooth /dev/ttyHS0
chown bluetooth bluetooth /proc/bluetooth/sleep/proto
chmod 0660 /sys/class/rfkill/rfkill0/state
chmod 0660 /sys/class/rfkill/rfkill0/type
chown bluetooth bluetooth /sys/class/rfkill/rfkill0/state
chown bluetooth bluetooth /sys/class/rfkill/rfkill0/type
write /sys/class/rfkill/rfkill0/state 0
### End of LGE bluetooth
# WIFI
mkdir /data/misc/wifi/sockets 0770 wifi wifi
setprop wifi.supplicant_scan_interval 20
setprop wifi.interface wlan0
mkdir /data/misc/dhcp 0777 system system
service setapversion /system/bin/lgapversion
disabled
oneshot
service qmuxd /system/bin/qmuxd
user radio
group radio
service ami304d /system/bin/ami304d
user compass
group system
service hciattach /system/bin/sh /system/bin/init.qcom.bt.sh
user bluetooth
group bluetooth net_bt_admin
disabled
service dhcpcd_wlan0 /system/bin/dhcpcd -BKA wlan0
disabled
oneshot
service iprenew_wlan0 /system/bin/dhcpcd -n wlan0
disabled
oneshot
on property:init.svc.wpa_supplicant=stopped
stop dhcpcd_wlan0
service wpa_supplicant /system/bin/wpa_supplicant -Dwext -iwlan0 -c/data/misc/wifi/wpa_supplicant.conf
socket wpa_wlan0 dgram 660 wifi wifi
group system wifi inet
disabled
oneshot
on property:dev.bootcomplete=1
exec /system/bin/hwaddrs
on property:gsm.current.phone-type=1
start setapversion
on property:gsm.version.baseband=
start setapversion