TARGET_PROVIDES_INIT_RC := true
-USE_CAMERA_STUB := true
-
USE_CUSTOM_RUNTIME_HEAP_MAX := "128M"
TARGET_USERIMAGES_USE_EXT2 := true
# create mountpoints and mount tmpfs on sqlite_stmt_journals and debugfs on d
mkdir /d
mkdir /sdcard 0000 system system
+ mkdir /sdcard
+ chmod 0777 /sdcard
+ chown system system /sdcard
mkdir /system
mkdir /data 0771 system system
mkdir /cache 0770 system cache
# mount ext3 /dev/block/sda5 /cache
chown system cache /cache
chmod 0770 /cache
+ chown root camera /dev/video0
+ chmod 0660 /dev/video0
+ chown system audio /dev/snd
+ chmod 0664 /dev/snd
+
# This may have been created by the recovery system with odd permissions
chown system system /cache/recovery
ro.config.sync = yes
app.setupwizard.disable=1
keyguard.no_require_sim=1
+# we are faking sdcard partition for now
+# if you have a real sdcard, you should remove
+# this line and let either vold or mountd to
+# set it. And to do that correctly, you also
+# need to change vold.conf or mountd.conf
+EXTERNAL_STORAGE_STATE=mounted
# default the paths and parameters for sys fs
ro.sys.fs.power_supply.ac=/AC0
ro.sys.fs.power_supply.bat=/BAT0