summaryrefslogtreecommitdiffstats
path: root/init.aries.rc
diff options
context:
space:
mode:
authorPawit Pornkitprasan <p.pawit@gmail.com>2012-07-14 19:40:13 +0700
committerPawit Pornkitprasan <p.pawit@gmail.com>2012-07-14 19:40:13 +0700
commit9e9cbf2798ae64f48b25a5716bbdeb43e36e32cf (patch)
tree78decdc46aa76a0fd3cf00bbb371966571cf902e /init.aries.rc
parent83f873cb99c5827c794c31b6e0003e12b05069e3 (diff)
downloaddevice_samsung_aries-common-9e9cbf2798ae64f48b25a5716bbdeb43e36e32cf.zip
device_samsung_aries-common-9e9cbf2798ae64f48b25a5716bbdeb43e36e32cf.tar.gz
device_samsung_aries-common-9e9cbf2798ae64f48b25a5716bbdeb43e36e32cf.tar.bz2
jellybean bring up
Change-Id: I19a95c3c8613a81d02f1146941fcb2f9ecc4efae
Diffstat (limited to 'init.aries.rc')
-rw-r--r--init.aries.rc64
1 files changed, 48 insertions, 16 deletions
diff --git a/init.aries.rc b/init.aries.rc
index 6d40d71..5133a6f 100644
--- a/init.aries.rc
+++ b/init.aries.rc
@@ -3,16 +3,20 @@ import init.aries.gps.rc
on init
loglevel 9
- export EXTERNAL_STORAGE /mnt/sdcard
- export SECONDARY_STORAGE /mnt/emmc
+ export EXTERNAL_STORAGE /storage/sdcard0
+ export SECONDARY_STORAGE /storage/sdcard1
# FIXME: Market checks this variable for space-checking, but downloads to /datadata
export DOWNLOAD_CACHE /data/download
- mkdir /mnt/emmc 0000 system system
- symlink /mnt/emmc /emmc
- mkdir /mnt/sdcard 0000 system system
- symlink /mnt/sdcard /sdcard
+ mkdir /storage 0050 system sdcard_r
+ mkdir /storage/sdcard0 0000 system system
+ mkdir /storage/sdcard1 0000 system system
+ symlink /storage/sdcard0 /sdcard
+ symlink /storage/sdcard0 /mnt/sdcard
+ symlink /storage/sdcard1 /emmc
+ symlink /storage/sdcard1 /mnt/emmc
+ # FIXME: Remove emmc?
mkdir /datadata 0771 system system
# We will create our own ril-daemon service in class 'core' because the
@@ -26,8 +30,6 @@ on boot
setprop ro.product.device aries
setprop ro.radio.noril yes
- setprop ro.crypto.keyfile.userdata /efs/userdata_footer
-
# fake some battery state
setprop status.battery.state Slow
setprop status.battery.level 5
@@ -40,7 +42,7 @@ on boot
on fs
mkdir /radio 0775 radio radio
mount yaffs2 mtd@radio /radio
- mount ext4 /dev/block/mmcblk0p2 /data wait nosuid nodev noatime nodiratime noauto_da_alloc
+ mount_all fstab.aries
mount yaffs2 mtd@datadata /datadata
chown radio radio /radio/modem.bin
@@ -116,14 +118,42 @@ service pvrsrvinit /system/vendor/bin/pvrsrvinit
group root
oneshot
-service wpa_supplicant /system/bin/wpa_supplicant \
- -Dnl80211 -iwlan0 -puse_p2p_group_interface=1 -e/data/misc/wifi/entropy.bin
- class main
- socket wpa_wlan0 dgram 0660 wifi wifi
- disabled
- oneshot
+# FIXME
+# service p2p_supplicant /system/bin/wpa_supplicant \
+# -iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf -N \
+# -ip2p0 -Dnl80211 -c/data/misc/wifi/p2p_supplicant.conf -e/data/misc/wifi/entropy.bin -puse_p2p_group_interface=1
+# # we will start as root and wpa_supplicant will switch to user wifi
+# # after setting up the capabilities required for WEXT
+# # user wifi
+# # group wifi inet keystore
+# class main
+# socket wpa_wlan0 dgram 660 wifi wifi
+# disabled
+# oneshot
+
+service p2p_supplicant /system/bin/wpa_supplicant \
+ -iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf -e/data/misc/wifi/entropy.bin -puse_p2p_group_interface=1
+ # we will start as root and wpa_supplicant will switch to user wifi
+ # after setting up the capabilities required for WEXT
+ # user wifi
+ # group wifi inet keystore
+ class main
+ socket wpa_wlan0 dgram 660 wifi wifi
+ disabled
+ oneshot
-service dhcpcd_wlan0 /system/bin/dhcpcd -ABKL
+service wpa_supplicant /system/bin/wpa_supplicant \
+ -iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf -e/data/misc/wifi/entropy.bin
+ # we will start as root and wpa_supplicant will switch to user wifi
+ # after setting up the capabilities required for WEXT
+ # user wifi
+ # group wifi inet keystore
+ class main
+ socket wpa_wlan0 dgram 660 wifi wifi
+ disabled
+ oneshot
+
+service dhcpcd_wlan0 /system/bin/dhcpcd -aABKL
class main
disabled
oneshot
@@ -192,6 +222,8 @@ service tvout /system/bin/tvoutserver
class late_start
user system
group graphics
+ disabled
+# FIXME (disabled): ABI borked
service tvouthack /system/bin/tvouthack
user system