forked from djnoxd-p990/android_device_lge_p990
-
Notifications
You must be signed in to change notification settings - Fork 4
/
init.p990.rc
67 lines (57 loc) · 1.65 KB
/
init.p990.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
import init.cm-star.rc
on early-init
mount debugfs debugfs /sys/kernel/debug
on fs
# mount partitions
mount_all /fstab.star
swapon_all /fstab.star
on post-fs
## LGE
mkdir /data/nv
chown system system /data/nv
chmod 0711 /data/nv
mkdir /data/ve
chown system system /data/ve
mount ext3 /dev/block/mmcblk0p10 /data/ve
chmod 0711 /data/ve
## LGE
on boot
### LGE GPS
# gps permissions
chown system system /sys/devices/platform/gps_gpio/poweron
chown system system /sys/devices/platform/gps_gpio/reset
chown system system /dev/ttyHS3
mkdir /data/gps
chmod 777 /data/gps
mkdir /data/gps/var
chmod 777 /data/gps/var
mkdir /data/gps/var/run
chmod 777 /data/gps/var/run
mkdir /data/gps/log
chmod 777 /data/gps/log
mkdir /data/cache
chmod 777 /data/cache
chown system system /system/bin/glgps
chown system system /system/etc/gps_brcm_conf.xml
chown system system /system/etc/cert/
chown system system /system/etc/cert/537a0176.0
chown system system /system/etc/cert/c9dbfc2e.0
chown system system /system/etc/cert/ddc328ff.0
chown system system /system/etc/cert/7651b327.0
chown system system /system/etc/cert/583a21ed.0
chown system system /system/etc/cert/72fa7371.0
chown system system /system/etc/cert/c33a80d4.0
on property:dev.bootcomplete=1
start setcpversion
service charger /charger
class charger
user root
group root
oneshot
service glgps /system/bin/glgps -c /system/etc/gps_brcm_conf.xml
class core
user system
group net_raw sdcard_rw system
service setcpversion /system/bin/lgcpversion
class main
oneshot