forked from markolino631/android_device_lge_p690
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinit.p690.rc
More file actions
27 lines (20 loc) · 717 Bytes
/
init.p690.rc
File metadata and controls
27 lines (20 loc) · 717 Bytes
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
# inherit qcom init
import init.qcom.rc
on boot
## VIBRATOR
chmod 0660 /sys/class/timed_output/vibrator/amp
## SENSOR
mkdir /data/amit 0777 ami304d ami304d
chmod 0666 /data/amit/AMI306_Config.ini
chmod 0666 /data/amit/AMI306_Config2.ini
## PROXIMITY SENSOR
chown compass system /sys/bus/i2c/drivers/proximity_gp2ap/4-0044/enable
chmod 0660 /sys/bus/i2c/drivers/proximity_gp2ap/4-0044/enable
# BACKLIGHT
chmod 0664 /sys/class/leds/lcd-backlight/alc
chown system system /sys/devices/platform/mddi_hitachi_hvga.10/lcd_onoff
chmod 0664 /sys/devices/platform/mddi_hitachi_hvga.10/lcd_onoff
service ami304d /system/bin/ami304d
class main
user compass
group system