Skip to content

Commit

Permalink
Update TW storage paths and remove unneeded flags
Browse files Browse the repository at this point in the history
While these TW_INTERNAL_STORAGE_* definitions are mostly obsolete, there
still seems to be some crypto code that looks for them. Go ahead and
define them.

The flags removed from recovery.fstab are already generated by
partition.cpp, based on the mount point.

Change-Id: I7f165aac03c57a291c9be892da8f33bd6d326cc8
  • Loading branch information
mdmower committed Mar 9, 2014
1 parent ca775e3 commit 3d8f191
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions BoardConfig.mk
Expand Up @@ -52,6 +52,8 @@ BOARD_CHARGING_MODE_BOOTING_LPM := /sys/htc_lpm/lpm_mode
# TWRP
DEVICE_RESOLUTION := 540x960
TW_FLASH_FROM_STORAGE := true
TW_INTERNAL_STORAGE_PATH := "/internal_sd"
TW_INTERNAL_STORAGE_MOUNT_POINT := "internal_sd"
BOARD_HAS_NO_REAL_SDCARD := true
RECOVERY_GRAPHICS_USE_LINELENGTH := true
TARGET_RECOVERY_PIXEL_FORMAT := "RGBX_8888"
Expand Down
3 changes: 1 addition & 2 deletions recovery.fstab
Expand Up @@ -7,6 +7,5 @@
/recovery emmc /dev/block/mmcblk0p22
/system ext4 /dev/block/mmcblk0p33
/devlog ext4 /dev/block/mmcblk0p26
/internal_sd vfat /dev/block/mmcblk0p36 flags=display="Internal Storage";settingsstorage;wipeingui
/internal_sd vfat /dev/block/mmcblk0p36 flags=display="Internal Storage"
/usb-otg vfat /dev/block/sda1 /dev/block/sda flags=display="USB-OTG";storage;wipeingui;removable

0 comments on commit 3d8f191

Please sign in to comment.