Skip to content
Permalink
Browse files

Switch userdata and emmc so Ubuntu fits

  • Loading branch information
Dazzozo committed Feb 21, 2013
1 parent 1ca15c4 commit 38de2aa4d646b36908076882274315abb2dee303
Showing with 9 additions and 9 deletions.
  1. +2 −2 BoardConfig.mk
  2. +5 −5 ramdisk/init.huawei.rc
  3. +2 −2 recovery.fstab
@@ -132,7 +132,7 @@ TARGET_RECOVERY_INITRC := device/huawei/u8815/recovery/etc/init.rc
BOARD_UMS_LUNFILE := /sys/class/android_usb/android0/f_mass_storage/lun%d/file

# Partitions
BOARD_DATA_DEVICE := /dev/block/mmcblk0p13
BOARD_DATA_DEVICE := /dev/block/mmcblk0p19
BOARD_DATA_FILESYSTEM := ext4
BOARD_DATA_FILESYSTEM_OPTIONS := rw
BOARD_SYSTEM_DEVICE := /dev/block/mmcblk0p12
@@ -148,5 +148,5 @@ TARGET_USERIMAGES_USE_EXT4 := true
BOARD_BOOTIMAGE_PARTITION_SIZE := 0x00C00000
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x00C00000
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 314572800
BOARD_USERDATAIMAGE_PARTITION_SIZE := 183500800
BOARD_USERDATAIMAGE_PARTITION_SIZE := 551550976
BOARD_FLASH_BLOCK_SIZE := 131072
@@ -126,13 +126,13 @@ 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
wait /dev/block/mmcblk0p19
exec /system/bin/e2fsck -p /dev/block/mmcblk0p19
mount ext4 /dev/block/mmcblk0p19 /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
wait /dev/block/mmcblk0p13
mount vfat /dev/block/mmcblk0p13 /storage/sdcard0 uid=1000,gid=1015,umask=0002,utf8

# Imported from init.msm7627a.rc
write /sys/module/block2mtd/parameters/block2mtd /dev/block/mmcblk0p17
@@ -4,9 +4,9 @@
/recovery emmc /dev/block/mmcblk0p16
/cache ext4 /dev/block/mmcblk0p6
/cust ext4 /dev/block/mmcblk0p18
/data ext4 /dev/block/mmcblk0p13
/data ext4 /dev/block/mmcblk0p19
/system ext4 /dev/block/mmcblk0p12
/emmc vfat /dev/block/mmcblk0p19
/emmc vfat /dev/block/mmcblk0p13
/sdcard vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1
/p5 emmc /dev/block/mmcblk0p5
/p10 emmc /dev/block/mmcblk0p10

0 comments on commit 38de2aa

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