Skip to content

Commit

Permalink
Switch userdata and emmc so Ubuntu fits
Browse files Browse the repository at this point in the history
  • Loading branch information
Daz Jones committed Feb 21, 2013
1 parent 1ca15c4 commit 38de2aa
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
10 changes: 5 additions & 5 deletions ramdisk/init.huawei.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions recovery.fstab
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 38de2aa

Please sign in to comment.