Skip to content
Permalink
Browse files

u8815: finally introduce fstab.u8815 and clean up

  • Loading branch information
Dazzozo committed Apr 2, 2013
1 parent e19c56d commit 11963d9010bbc25a9f937477d0281cd1f2f674b1
Showing with 12 additions and 63 deletions.
  1. +3 −2 device.mk
  2. +8 −0 ramdisk/fstab.u8815
  3. +1 −61 ramdisk/init.huawei.rc
@@ -55,9 +55,10 @@ PRODUCT_PACKAGES += \
com.android.future.usb.accessory

PRODUCT_COPY_FILES += \
device/huawei/u8815/ramdisk/fstab.u8815:root/fstab.u8815 \
device/huawei/u8815/ramdisk/init.huawei.rc:root/init.huawei.rc \
device/huawei/u8815/ramdisk/ueventd.huawei.rc:root/ueventd.huawei.rc \
device/huawei/u8815/ramdisk/init.huawei.usb.rc:root/init.huawei.usb.rc
device/huawei/u8815/ramdisk/init.huawei.usb.rc:root/init.huawei.usb.rc \
device/huawei/u8815/ramdisk/ueventd.huawei.rc:root/ueventd.huawei.rc

PRODUCT_COPY_FILES += \
device/huawei/u8815/prebuilt/fw_4330_b2.bin:system/etc/fw_4330_b2.bin \
@@ -0,0 +1,8 @@
# Android fstab file.
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK

#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
/dev/block/mmcblk0p12 /system ext4 ro,barrier=1 wait
/dev/block/mmcblk0p6 /cache ext4 nosuid,nodev,barrier=1 wait,check
/dev/block/mmcblk0p13 /data ext4 nosuid,nodev,noauto_da_alloc,barrier=1 wait,check
@@ -102,15 +102,6 @@ on boot
chown system system /sys/devices/platform/msm_hsusb/gadget/sdstatus
chown system system /sys/devices/platform/msm_hsusb/gadget/switchusb
chown system system /sys/devices/platform/msm_hsusb/gadget/fixusb

setprop net.tcp.buffersize.hsupa 4094,87380,1220608,4096,16384,1220608
setprop net.tcp.buffersize.hsdpa 4094,87380,1220608,4096,16384,1220608
setprop net.tcp.buffersize.evdo_b 4094,87380,262144,4096,16384,262144

# Assign TCP buffer thresholds to be ceiling value of technology maximums
# Increased technology maximums should be reflected here.
write /proc/sys/net/core/rmem_max 1220608
write /proc/sys/net/core/wmem_max 1220608

chown system system /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
chown system system /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate
@@ -130,18 +121,7 @@ on boot

on fs
# mount mmc partitions
wait /dev/block/mmcblk0p12
mount ext4 /dev/block/mmcblk0p12 /system ro barrier=1,nodelalloc
wait /dev/block/mmcblk0p13
exec /system/bin/e2fsck -p /dev/block/mmcblk0p13
mount ext4 /dev/block/mmcblk0p13 /data nosuid nodev barrier=1 noauto_da_alloc,nodelalloc
mount ext4 /dev/block/mmcblk0p6 /cache nosuid nodev barrier=1,nodelalloc

wait /dev/block/mmcblk0p19
mount vfat /dev/block/mmcblk0p19 /storage/sdcard0 uid=1000,gid=1015,umask=0002,utf8

# Imported from init.msm7627a.rc
write /sys/module/block2mtd/parameters/block2mtd /dev/block/mmcblk0p17
mount_all /fstab.u8815

start libcm_link

@@ -192,25 +172,6 @@ service rmt_storage /system/bin/rmt_storage /dev/block/mmcblk0p10 /dev/block/mmc
user root
disabled

service bt-dun /system/bin/dun-server /dev/smd7 /dev/rfcomm0
class main
disabled
oneshot

service sapd /system/bin/sdptool add --channel=15 SAP
class main
user bluetooth
group bluetooth net_bt_admin
disabled
oneshot

service dund /system/bin/sdptool add --channel=1 DUN
class main
user bluetooth
group bluetooth net_bt_admin
disabled
oneshot

service bridgemgrd /system/bin/bridgemgrd
class main
user radio
@@ -333,24 +294,3 @@ service hostapd /system/bin/hostapd -dddd /data/hostapd/hostapd.conf
group root
oneshot
disabled

service ftp /system/bin/sdptool add --psm=5257 --channel=20 FTP
class main
user bluetooth
group bluetooth net_bt_admin
disabled
oneshot

service map0 /system/bin/sdptool add --channel=16 MAS0
class main
user bluetooth
group bluetooth net_bt_admin
disabled
oneshot

service map1 /system/bin/sdptool add --channel=17 MAS1
class main
user bluetooth
group bluetooth net_bt_admin
disabled
oneshot

0 comments on commit 11963d9

Please sign in to comment.
You can’t perform that action at this time.