Permalink
Browse files

+ testing

  • Loading branch information...
1 parent 9390ef4 commit 49b5e00d78742ad6fcc41615759415d9ea137b0b @voku committed Apr 14, 2012
View
0 default.prop 100644 → 100755
No changes.
View
@@ -0,0 +1,7 @@
+#
+# ADDITIONAL_DEFAULT_PROPERTIES
+#
+ro.secure=1
+ro.allow.mock.location=0
+ro.debuggable=1
+persist.sys.usb.config=mass_storage,adb
View
0 init.goldfish.rc 100644 → 100755
No changes.
View
@@ -106,15 +106,11 @@ loglevel 3
on fs
# mount ext4 partitions
# Mount /system rw first to give the filesystem a chance to save a checkpoint
- #mount ext4 /dev/block/mmcblk0p9 /system
- mount ext4 /dev/block/mmcblk0p9 /system noatime wait ro
+ mount ext4 /res/dev/system /system noatime wait ro
- exec sfsck /dev/block/mmcblk0p7 ext4
- mount ext4 /dev/block/mmcblk0p7 /cache nosuid nodev noatime wait
+ exec sfsck /res/dev/cache ext4
+ mount ext4 /res/dev/cache /cache nosuid nodev noatime wait
- #exec sfsck /dev/block/mmcblk0p12 ext4
- #mount ext4 /dev/block/mmcblk0p12 /preload nosuid nodev noatime wait ro
-
mkdir /efs
#mount rfs /dev/block/mmcblk0p1 /efs nosuid nodev check=no
exec sfsck /dev/block/mmcblk0p1 ext4
@@ -129,20 +125,20 @@ on fs
chmod 0775 /efs/wifi
# check encryption status, checking UMS & data should be excuted after this command
- exec check_encryption_status /dev/block/mmcblk0p10
+ exec check_encryption_status /res/dev/data
# verfiy filesystem (UMS)
exec sformat /dev/block/mmcblk0p11 vfat
on post-fs
- exec sfsck /dev/block/mmcblk0p10 ext4
- mount ext4 /dev/block/mmcblk0p10 /data nosuid nodev noatime wait noauto_da_alloc
+ exec sfsck /res/dev/data ext4
+ mount ext4 /res/dev/data /data nosuid nodev noatime wait noauto_da_alloc
# once everything is setup, no need to modify /
mount rootfs rootfs / ro remount
- insmod /lib/modules/j4fs.ko
- mount j4fs /dev/block/mmcblk0p4 /mnt/.lfs
+# insmod /lib/modules/j4fs.ko
+# mount j4fs /dev/block/mmcblk0p4 /mnt/.lfs
# We chown/chmod /cache again so because mount is run as root + defaults
chown system cache /cache
@@ -560,10 +556,11 @@ on boot
# Define TCP buffer sizes for various networks
# ReadMin, ReadInitial, ReadMax, WriteMin, WriteInitial, WriteMax,
- setprop net.tcp.buffersize.default 4096,87380,110208,4096,16384,110208
-# setprop net.tcp.buffersize.wifi 4095,87380,110208,4096,16384,110208
- setprop net.tcp.buffersize.wifi 4095,131072,196608,4096,16384,110208
- setprop net.tcp.buffersize.umts 4094,87380,110208,4096,16384,110208
+ setprop net.tcp.buffersize.default 4096,87380,704512,4096,16384,110208
+ setprop net.tcp.buffersize.wifi 524288,1048576,2097152,262144,524288,1048576
+ setprop net.tcp.buffersize.lte 524288,1048576,2097152,262144,524288,1048576
+ setprop net.tcp.buffersize.umts 4094,87380,563200,4096,16384,110208
+ setprop net.tcp.buffersize.hspa 4094,87380,704512,4096,16384,262144
setprop net.tcp.buffersize.edge 4093,26280,35040,4096,16384,35040
setprop net.tcp.buffersize.gprs 4092,8760,11680,4096,8760,11680
@@ -621,7 +618,7 @@ on property:vold.decrypt=trigger_shutdown_framework
class_reset main
on property:persist.sys.storage_preload=1
- mount ext4 /dev/block/mmcblk0p12 /preload nosuid nodev noatime wait ro
+ #mount ext4 /dev/block/mmcblk0p12 /preload nosuid nodev noatime wait ro
setprop storage.preload.complete 1
on property:persist.sys.storage_preload=0
Oops, something went wrong.

0 comments on commit 49b5e00

Please sign in to comment.