trying out to add these to Lineage build

This commit is contained in:
Talmid of Levi 2023-12-12 10:03:16 -05:00
parent 698699b8ac
commit b6e7dc0e61
4 changed files with 85 additions and 0 deletions

9
Android.mk Normal file
View File

@ -0,0 +1,9 @@
# 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)

18
Lineage.mk Normal file
View File

@ -0,0 +1,18 @@
# 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

40
device.mk Normal file
View File

@ -0,0 +1,40 @@
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

18
system.prop Normal file
View File

@ -0,0 +1,18 @@
# 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