Commit fc694730 authored by Rob Shannon's avatar Rob Shannon

4.2 bring up

parent d19f5ece
......@@ -81,12 +81,16 @@ WIFI_DRIVER_FW_PATH_P2P := "/system/etc/firmware/fw_bcm4334_p2p.bin"
# NFC
BOARD_HAVE_NFC := true
# RIL
TARGET_PROVIDES_LIBRIL := true
# HTC ril compatability
BOARD_USE_NEW_LIBRIL_HTC := true
TARGET_PROVIDES_LIBRIL := device/htc/evitareul/proprietary/lib/libril.so
# HTCLOG
COMMON_GLOBAL_CFLAGS += -DHTCLOG
# Enable WEBGL in WebKit
ENABLE_WEBGL := true
# Partition Info
#dev: size erasesize name
......@@ -127,4 +131,4 @@ BOARD_HAS_NO_MISC_PARTITION := false
BOARD_UMS_LUNFILE := "/sys/devices/platform/fsl-tegra-udc/gadget/lun0/file"
TARGET_PREBUILT_RECOVERY_KERNEL := device/htc/evitareul/prebuilt/kernel
BOARD_HAS_LARGE_FILESYSTEM := true
BOARD_HAS_NO_SELECT_BUTTON := false
\ No newline at end of file
BOARD_HAS_NO_SELECT_BUTTON := false
......@@ -2,14 +2,24 @@ on early-init
mount debugfs debugfs /sys/kernel/debug
write /sys/class/firmware/timeout 5
# for backwards compatibility
export EXTERNAL_STORAGE /storage/sdcard0
mkdir /storage 0050 system sdcard_r
mkdir /storage/sdcard0 0000 system system
symlink /storage/sdcard0 /sdcard
symlink /storage/sdcard0 /mnt/sdcard
on init
# See storage config details at http://source.android.com/tech/storage/
mkdir /mnt/shell/emulated 0700 shell shell
mkdir /storage/emulated 0555 root root
export EXTERNAL_STORAGE /storage/emulated/legacy
export EMULATED_STORAGE_SOURCE /mnt/shell/emulated
export EMULATED_STORAGE_TARGET /storage/emulated
# Support legacy paths
symlink /storage/emulated/legacy /sdcard
symlink /storage/emulated/legacy /mnt/sdcard
symlink /storage/emulated/legacy /storage/sdcard0
symlink /mnt/shell/emulated/0 /storage/emulated/legacy
mkdir /mnt/usb 0000 system system
#Sophia
mkdir /firmware 0771 system system
mkdir /firmware/mdm 0771 system system
......@@ -24,6 +34,7 @@ on fs
chmod 0660 /rca
chmod 0660 /rfs
setprop ro.crypto.fuse_sdcard true
setprop ro.crypto.umount_sd false
#Sophia
mount vfat /dev/block/platform/sdhci-tegra.3/by-name/MDM /firmware/mdm ro shortname=lower
......
......@@ -4,13 +4,18 @@
# This is a common source of Android security bugs.
#
import /init.${ro.hardware}.rc
import /init.usb.rc
import /init.${ro.hardware}.rc
import /init.trace.rc
on early-init
# Set init and its forked children's oom_adj.
write /proc/1/oom_adj -16
# Set the security context for the init process.
# This should occur before anything else (e.g. ueventd) is started.
setcon u:r:init:s0
luet
start ueventd
......@@ -27,13 +32,16 @@ loglevel 3
export PATH /sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin
export LD_LIBRARY_PATH /vendor/lib:/system/lib
export ANDROID_BOOTLOGO 1
export ANDROID_CACHE /cache
export ANDROID_ROOT /system
export ANDROID_ASSETS /system/app
export ANDROID_DATA /data
export ANDROID_CACHE /cache
export ANDROID_STORAGE /storage
export ASEC_MOUNTPOINT /mnt/asec
export LOOP_MOUNTPOINT /mnt/obb
export BOOTCLASSPATH /system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/framework2.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar
export TERMINFO /system/etc/terminfo
export TERM linux
export BOOTCLASSPATH /system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/telephony-common.jar:/system/framework/mms-common.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar
# Backward compatibility
symlink /system/etc /etc
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment