-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.laguna.rc
executable file
·32 lines (28 loc) · 1.08 KB
/
init.laguna.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
#Copyright (c) 2011-2013 NVIDIA Corporation. All Rights Reserved.
#
#NVIDIA Corporation and its licensors retain all intellectual property and
#proprietary rights in and to this software and related documentation. Any
#use, reproduction, disclosure or distribution of this software and related
#documentation without an express license agreement from NVIDIA Corporation
#is strictly prohibited.
import init.tegra_emmc.rc
import init.t132.rc
import init.ray_touch.rc
on fs
setprop ro.crypto.tmpfs_options size=128m,mode=0771,uid=1000,gid=1000
setprop ro.crypto.umount_sd false
setprop ro.crypto.fuse_sdcard true
setprop ro.gps.gpio 61
mount_all /fstab.laguna
on post-fs-data
write /sys/class/gpio/export 61
write /sys/class/gpio/gpio61/direction out
write /sys/class/gpio/gpio61/value 0
chown root system /sys/class/gpio/gpio61/value
chmod 0664 /sys/class/gpio/gpio61/value
start start-gps
#create NFC symlink
mkdir /data/nfc
chmod 0770 /data/nfc/
chown nfc system /data/nfc/
symlink /system/etc/android.hardware.nfc.xml /data/nfc/nfc.xml