Skip to content

Commit

Permalink
j8y18lte: changes for SkyHawk
Browse files Browse the repository at this point in the history
  • Loading branch information
goldfish07 committed Aug 7, 2020
1 parent deb08ef commit 18cdb67
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 6 deletions.
2 changes: 0 additions & 2 deletions device_j8y18lte.mk
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)

# The gps config appropriate for this device
$(call inherit-product, device/common/gps/gps_us_supl.mk)

$(call inherit-product-if-exists, vendor/samsung/j8y18lte/j8y18lte-vendor.mk)

Expand Down
4 changes: 2 additions & 2 deletions lineage_j8y18lte.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
# Release name
PRODUCT_RELEASE_NAME := j8y18lte

# Inherit some common lineage stuff.
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
# Inherit some common omni stuff.
$(call inherit-product, vendor/omni/config/common.mk)
$(call inherit-product, build/target/product/embedded.mk)

# Inherit device configuration
Expand Down
19 changes: 17 additions & 2 deletions twrp.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#TARGET_RECOVERY_DEVICE_DIRS := $(DEVICE_PATH)/twrp
TARGET_USE_CUSTOM_LUN_FILE_PATH := "/sys/devices/soc/7000000.ssusb/7000000.dwc3/gadget/lun%d/file"
TARGET_HW_DISK_ENCRYPTION := true
TARGET_CRYPTFS_HW_PATH := "vendor/qcom/opensource/cryptfs_hw"
TARGET_CRYPTFS_HW_PATH := "vendor/qcom/opensource/commonsys/cryptfs_hw"

RECOVERY_VARIANT := twrp
TW_THEME := portrait_hdpi
Expand All @@ -24,8 +24,23 @@ TARGET_RECOVERY_QCOM_RTC_FIX := true
BOARD_SUPPRESS_SECURE_ERASE := true
TW_INPUT_BLACKLIST := "hbtp_vm"
TW_USE_TOOLBOX := true
TW_DEVICE_VERSION := goldfish07(Ayush Bisht)
TW_DEVICE_VERSION := goldfish07
TW_USE_MODEL_HARDWARE_ID_FOR_DEVICE_ID := true
# NOTE - Dont use '-' or blank spaces in flag values , otherwise it will create build errors or other bugs in recovery (Excluding SHRP_PATH,SHRP_REC).
# Path of your SHRP Tree
SHRP_PATH := device/samsung/j8y18lte
# Maintainer name *
SHRP_MAINTAINER := goldfish07
# Device codename *
SHRP_DEVICE_CODE := j8y18lte
# Recovery Type (It can be treble,normal,SAR) [Only for About Section] *
SHRP_REC_TYPE := Treble
# Recovery Type (It can be A/B or A_only) [Only for About Section] *
SHRP_DEVICE_TYPE := A/B

SHRP_FLASH := 0

SHRP_REC := /dev/block/bootdevice/by-name/recovery
#TW_EXCLUDE_DEFAULT_USB_INIT := true

#TW_HAS_MTP := true
Expand Down

0 comments on commit 18cdb67

Please sign in to comment.