adapt build to lineage

This commit is contained in:
Talmid of Levi 2023-12-12 11:21:43 -05:00
parent b6e7dc0e61
commit a32e09eddd
5 changed files with 1 additions and 86 deletions

View File

@ -1,9 +0,0 @@
# Here we define a variable called "LOCAL_PATH" that just contain the path to the device tree (ex: /device/samsung/a3xeltexx)
LOCAL_PATH := $(call my-dir)
# Here we call other makefiles in the device-tree
include $(call all-subdir-makefiles,$(LOCAL_PATH))
# Here we clean variables
include $(CLEAR_VARS)

View File

@ -1,18 +0,0 @@
# Note: the lineage.mk can also be called slim.mk, pa.mk, aoscp.mk, etc...
# Depending on the ROM to build. LineageOS based roms will use lineage.mk
# Inherit device configuration
#$(call inherit-product, device/isamsung/a3xeltexx/device.mk)
# Inherit from the common Open Source product configuration
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk)
# Inherit common CM phone.
$(call inherit-product, vendor/cm/config/common_full_phone.mk)
PRODUCT_NAME := cats22flip_jnsw
PRODUCT_DEVICE := tdgsi_a64_ab
PRODUCT_BRAND := wePhone
PRODUCT_SYSTEM_BRAND := wePhone
PRODUCT_MODEL := weOs | v14.1 | jnsw

View File

@ -1,4 +1,4 @@
$(call inherit-product, device/phh/treble/treble_a64_bvN.mk) $(call inherit-product, device/phh/treble/lineage_a64_bvS.mk)
PRODUCT_NAME := cats22flip_jnsw PRODUCT_NAME := cats22flip_jnsw
PRODUCT_DEVICE := tdgsi_a64_ab PRODUCT_DEVICE := tdgsi_a64_ab

View File

@ -1,40 +0,0 @@
SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += device/phh/cats22flip/sepolicy
PRODUCT_SYSTEM_PROPERTIES += \
ro.system.ota.json_url=https://ota.mezimmah.net/ota.json \
persist.sys.phh.mainkeys=0 \
ro.sf.lcd_density=200 \
ro.telephony.default_network=9 \
persist.dbg.vt_avail_ovr=1 \
persist.dbg.volte_avail_ovr=1 \
persist.dbg.wfc_avail_ovr=1 \
persist.dbg.allow_ims_off=1
PRODUCT_PACKAGE_OVERLAYS += device/phh/cats22flip/overlay
PRODUCT_COPY_FILES += \
device/phh/cats22flip/files/qpnp_pon.kl:$(TARGET_COPY_OUT_SYSTEM)/usr/keylayout/qpnp_pon.kl \
device/phh/cats22flip/files/soc_matrix_keypad.kl:$(TARGET_COPY_OUT_SYSTEM)/usr/keylayout/soc_matrix_keypad.kl \
device/phh/cats22flip/files/soc_matrix_keypad.kcm:$(TARGET_COPY_OUT_SYSTEM)/usr/keychars/soc_matrix_keypad.kcm
PRODUCT_PACKAGES += \
BromiteSystemWebView \
DeskClock \
Etar \
ExactCalculator \
Gallery2 \
Davx5 \
OpenDocumentReader \
Wireguard \
WKT9 \
Linphone \
Nextcloud \
NextcloudNotes \
Conversations \
CatFlipScreen \
ImsMtkR
PRODUCT_COPY_FILES += \
device/phh/cats22flip/wephone.rc:system/etc/init/wephone.rc \
device/phh/cats22flip/wephone.sh:system/bin/wephone.sh \
device/phh/cats22flip/catscreen.sh:system/bin/catscreen.sh

View File

@ -1,18 +0,0 @@
# url for the updates
ro.system.ota.json_url=https://ota.mezimmah.net/ota.json
# ?
persist.sys.phh.mainkeys=0
# Screen density
ro.sf.lcd_density=200
# Connect to LTE
ro.telephony.default_network=9
# Used for the IME
persist.dbg.vt_avail_ovr=1
persist.dbg.volte_avail_ovr=1
persist.dbg.wfc_avail_ovr=1
persist.dbg.allow_ims_off=1