Skip to content

Commit

Permalink
recovery: Add CWM opts
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanich committed Jan 23, 2015
1 parent 8bfea4a commit 2c13ffd
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -136,12 +136,6 @@ BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x01400000
TARGET_KERNEL_CONFIG := pyramid_defconfig
TARGET_KERNEL_SOURCE := kernel/htc/pyramid

TARGET_RECOVERY_FSTAB := device/htc/pyramid/rootdir/etc/fstab.pyramid
RECOVERY_FSTAB_VERSION := 2
TARGET_RECOVERY_PIXEL_FORMAT := "RGBX_8888"
RECOVERY_GRAPHICS_USE_LINELENGTH := true
TARGET_RECOVERY_DEVICE_DIRS += device/htc/pyramid

# RIL
BOARD_USES_LEGACY_RIL := true
BOARD_USE_NEW_LIBRIL_HTC := true
Expand Down Expand Up @@ -176,6 +170,15 @@ BOARD_SYSTEMIMAGE_PARTITION_SIZE := 838859776
BOARD_USERDATAIMAGE_PARTITION_SIZE := 1252770816
BOARD_FLASH_BLOCK_SIZE := 262144

# CWM
TARGET_RECOVERY_FSTAB := device/htc/pyramid/rootdir/etc/fstab.pyramid
RECOVERY_FSTAB_VERSION := 2
TARGET_RECOVERY_PIXEL_FORMAT := RGBX_8888
RECOVERY_GRAPHICS_USE_LINELENGTH := true
TARGET_RECOVERY_DEVICE_DIRS += device/htc/pyramid
BOARD_RECOVERY_SWIPE := true
TARGET_RECOVERY_LCD_BACKLIGHT_PATH := \"/sys/class/leds/lcd-backlight/brightness\"

# Twrp
DEVICE_RESOLUTION = 540x960
TW_FLASH_FROM_STORAGE := true
Expand Down

0 comments on commit 2c13ffd

Please sign in to comment.