mondrianwifi: twrp

This commit is contained in:
nyyu 2021-08-29 17:29:24 +02:00
parent cec286b574
commit 90fb3055a0
3 changed files with 17 additions and 5 deletions

View File

@ -121,3 +121,8 @@ WIFI_HIDL_UNIFIED_SUPPLICANT_SERVICE_RC_ENTRY := true
# inherit from the proprietary version # inherit from the proprietary version
include vendor/samsung/mondrianwifi/BoardConfigVendor.mk include vendor/samsung/mondrianwifi/BoardConfigVendor.mk
# TWRP Support - Optional
ifeq ($(WITH_TWRP),true)
-include $(DEVICE_PATH)/twrp.mk
endif

10
recovery/root/etc/twrp.fstab Executable file
View File

@ -0,0 +1,10 @@
/efs ext4 /dev/block/mmcblk0p11 flags=display="EFS";backup=1
/boot emmc /dev/block/mmcblk0p14 flags=display="Boot";backup=1
/data ext4 /dev/block/mmcblk0p26 flags=display=backup=1
/system ext4 /dev/block/mmcblk0p23 flags=display="System";backup=1
/cache ext4 /dev/block/mmcblk0p24 flags=display="Cache";backup=1
/recovery emmc /dev/block/mmcblk0p15 flags=display="Recovery";backup=1
/misc emmc /dev/block/mmcblk0p16
/fimware-modem vfat /dev/block/mmcblk0p2 flags=display="modem";backup=1
/external_sd auto /dev/block/mmcblk1p1 /dev/block/mmcblk1 flags=display="Micro SDcard";storage;wipeingui;removable
/usb-otg auto /dev/block/sda1 /dev/block/sda flags=display="USB-OTG";storage;wipeingui;removable

View File

@ -21,10 +21,7 @@ TARGET_USE_CUSTOM_LUN_FILE_PATH := "/sys/devices/msm_dwc3/f9200000.dwc3/gadget/l
TW_BRIGHTNESS_PATH := "/sys/devices/mdp.0/qcom\x2cmdss_fb_primary.191/leds/lcd-backlight/brightness" TW_BRIGHTNESS_PATH := "/sys/devices/mdp.0/qcom\x2cmdss_fb_primary.191/leds/lcd-backlight/brightness"
TW_DEFAULT_BRIGHTNESS := 162 TW_DEFAULT_BRIGHTNESS := 162
TW_HAS_DOWNLOAD_MODE := true TW_HAS_DOWNLOAD_MODE := true
TW_INCLUDE_CRYPTO := true TW_NO_REBOOT_BOOTLOADER := true
TW_MAX_BRIGHTNESS := 255 TW_MAX_BRIGHTNESS := 255
TW_MTP_DEVICE := "/dev/mtp_usb" TW_MTP_DEVICE := "/dev/mtp_usb"
TW_NO_EXFAT_FUSE := true TW_THEME := portrait_hdpi
TW_NO_LEGACY_PROPS := true
TW_NO_REBOOT_BOOTLOADER := true
TW_THEME := landscape_hdpi