Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ BOARD_HAS_NO_SELECT_BUTTON := true
TARGET_RECOVERY_FSTAB := device/thl/w8/recovery/recovery.fstab
TARGET_RECOVERY_INITRC := device/thl/w8/recovery/recovery.rc
BOARD_CUSTOM_RECOVERY_KEYMAPPING := ../../device/thl/w8/recovery/recovery_keys.c
CWM_EMMC_BOOT_DEVICE_NAME := /dev/bootimg
CWM_EMMC_BOOT_DEVICE_SIZE := 0x00600000
CWM_EMMC_RECOVERY_DEVICE_NAME := /dev/recovery
CWM_EMMC_RECOVERY_DEVICE_SIZE := 0x00600000
CWM_EMMC_UBOOT_DEVICE_NAME := /dev/uboot
CWM_EMMC_UBOOT_DEVICE_SIZE := 0x00060000
TARGET_USE_CUSTOM_LUN_FILE_PATH := /sys/devices/platform/mt_usb/gadget/lun%d/file

# Partition sizes
BOARD_BOOTIMAGE_PARTITION_SIZE := 0x00600000
Expand Down
8 changes: 5 additions & 3 deletions recovery/recovery.fstab
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
/system ext4 /dev/block/mmcblk0p5
/cache ext4 /dev/block/mmcblk0p6
/data ext4 /dev/block/mmcblk0p7
/storage vfat /dev/block/mmcblk0p8
/sdcard vfat /dev/block/mmcblk1 /dev/block/mmcblk1p1
/sd-ext auto /dev/block/mmcblk1p2
/sdcard vfat /dev/block/mmcblk0p8
/external_sd vfat /dev/block/mmcblk1p1
/boot emmc /dev/bootimg
/recovery emmc /dev/recovery
/uboot emmc /dev/uboot