TWRP-ify for L decrypt

This commit is contained in:
Dees Troy 2015-01-07 20:22:57 +00:00
parent 0541895bf8
commit 9749f7557f
3 changed files with 23 additions and 5 deletions

View file

@ -24,7 +24,7 @@ BOARD_HAL_STATIC_LIBRARIES := libdumpstate.deb
TARGET_RELEASETOOLS_EXTENSIONS := device/asus/deb
TARGET_RECOVERY_FSTAB = device/asus/deb/recovery.fstab
TARGET_RECOVERY_FSTAB = device/asus/deb/twrp.fstab
-include vendor/asus/deb/BoardConfigVendor.mk
include device/asus/flo/BoardConfigCommon.mk

View file

@ -34,10 +34,10 @@ PRODUCT_MANUFACTURER := ASUS
PRODUCT_RESTRICT_VENDOR_FILES := false
# Kernel inline build
TARGET_KERNEL_SOURCE := kernel/asus/flo
TARGET_KERNEL_CONFIG := flo_defconfig
TARGET_VARIANT_CONFIG := flo_defconfig
TARGET_SELINUX_CONFIG := flo_defconfig
#TARGET_KERNEL_SOURCE := kernel/asus/flo
#TARGET_KERNEL_CONFIG := flo_defconfig
#TARGET_VARIANT_CONFIG := flo_defconfig
#TARGET_SELINUX_CONFIG := flo_defconfig
# Inherit from hardware-specific part of the product configuration
$(call inherit-product, device/asus/deb/device.mk)

18
twrp.fstab Normal file
View file

@ -0,0 +1,18 @@
/boot emmc /dev/block/platform/msm_sdcc.1/by-name/boot
/recovery emmc /dev/block/platform/msm_sdcc.1/by-name/recovery
/misc emmc /dev/block/platform/msm_sdcc.1/by-name/misc
/system ext4 /dev/block/platform/msm_sdcc.1/by-name/system
/data ext4 /dev/block/platform/msm_sdcc.1/by-name/userdata flags=encryptable=/dev/block/platform/msm_sdcc.1/by-name/metadata
/cache ext4 /dev/block/platform/msm_sdcc.1/by-name/cache
/sbl1 emmc /dev/block/platform/msm_sdcc.1/by-name/sbl1
/sbl2 emmc /dev/block/platform/msm_sdcc.1/by-name/sbl2
/sbl3 emmc /dev/block/platform/msm_sdcc.1/by-name/sbl3
/tz emmc /dev/block/platform/msm_sdcc.1/by-name/tz
/rpm emmc /dev/block/platform/msm_sdcc.1/by-name/rpm
/aboot emmc /dev/block/platform/msm_sdcc.1/by-name/aboot
/sbl2b emmc /dev/block/platform/msm_sdcc.1/by-name/sbl2b
/sbl3b emmc /dev/block/platform/msm_sdcc.1/by-name/sbl3b
/tzb emmc /dev/block/platform/msm_sdcc.1/by-name/tzb
/rpmb emmc /dev/block/platform/msm_sdcc.1/by-name/rpmb
/abootb emmc /dev/block/platform/msm_sdcc.1/by-name/abootb
/usb-otg vfat /dev/block/sda1 /dev/block/sda flags=removable;storage;display=USB-OTG