diff --git a/Android.mk b/Android.mk index 4cf89f9..37b0af8 100644 --- a/Android.mk +++ b/Android.mk @@ -6,7 +6,7 @@ LOCAL_PATH := $(call my-dir) -ifeq ($(TARGET_DEVICE),X6833B) +ifeq ($(TARGET_DEVICE),LG8n) include $(call all-makefiles-under,$(LOCAL_PATH)) diff --git a/AndroidProducts.mk b/AndroidProducts.mk index f4c899a..de93db8 100644 --- a/AndroidProducts.mk +++ b/AndroidProducts.mk @@ -5,9 +5,9 @@ # PRODUCT_MAKEFILES := \ - $(LOCAL_DIR)/lineage_X6833B.mk + $(LOCAL_DIR)/lineage_LG8n.mk COMMON_LUNCH_CHOICES := \ - lineage_X6833B-user \ - lineage_X6833B-userdebug \ - lineage_X6833B-eng + lineage_LG8n-user \ + lineage_LG8n-userdebug \ + lineage_LG8n-eng diff --git a/BoardConfig.mk b/BoardConfig.mk index 117a277..78173b7 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -4,7 +4,7 @@ # SPDX-License-Identifier: Apache-2.0 # -DEVICE_PATH := device/infinix/X6833B +DEVICE_PATH := device/tecno/LG8n KERNEL_PATH := $(DEVICE_PATH)-kernel CONFIGS_PATH := $(DEVICE_PATH)/configs @@ -46,7 +46,7 @@ BOARD_MKBOOTIMG_ARGS += --dtb_offset $(BOARD_DTB_OFFSET) BOARD_MKBOOTIMG_ARGS += --header_version $(BOARD_BOOT_HEADER_VERSION) # Bootloader -TARGET_BOOTLOADER_BOARD_NAME := x6833b +TARGET_BOOTLOADER_BOARD_NAME := lg8n TARGET_NO_BOOTLOADER := true # Broken Rules @@ -200,4 +200,4 @@ WIFI_HIDL_UNIFIED_SUPPLICANT_SERVICE_RC_ENTRY := true TARGET_KERNEL_SOURCE := $(KERNEL_PATH)/kernel-headers # Inherit the proprietary files -include vendor/infinix/X6833B/BoardConfigVendor.mk +include vendor/tecno/LG8n/BoardConfigVendor.mk diff --git a/device.mk b/device.mk index ec394dd..641493b 100644 --- a/device.mk +++ b/device.mk @@ -359,4 +359,4 @@ PRODUCT_COPY_FILES += \ $(call find-copy-subdir-files,*,$(LOCAL_PATH)/configs/wifi/,$(TARGET_COPY_OUT_VENDOR)/etc/wifi) # Inherit the proprietary files -$(call inherit-product, vendor/infinix/X6833B/X6833B-vendor.mk) +$(call inherit-product, vendor/tecno/LG8n/LG8n-vendor.mk) diff --git a/extract-files.sh b/extract-files.sh index b1a5556..cf8d7fb 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -8,8 +8,8 @@ set -e -DEVICE=X6833B -VENDOR=infinix +DEVICE=LG8n +VENDOR=tecno # Load extract_utils and do some sanity checks MY_DIR="${BASH_SOURCE%/*}" diff --git a/lineage_X6833B.mk b/lineage_LG8n.mk similarity index 55% rename from lineage_X6833B.mk rename to lineage_LG8n.mk index 9d08fa6..f8b199c 100644 --- a/lineage_X6833B.mk +++ b/lineage_LG8n.mk @@ -9,25 +9,25 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk) # Inherit from device makefile. -$(call inherit-product, device/infinix/X6833B/device.mk) +$(call inherit-product, device/tecno/LG8n/device.mk) # Inherit some common LineageOS stuff. $(call inherit-product, vendor/lineage/config/common_full_phone.mk) -BOARD_VENDOR := Infinix -PRODUCT_NAME := lineage_X6833B -PRODUCT_DEVICE := X6833B -PRODUCT_MANUFACTURER := INFINIX -PRODUCT_BRAND := Infinix -PRODUCT_MODEL := Infinix X6833B +BOARD_VENDOR := TECNO +PRODUCT_NAME := lineage_LG8n +PRODUCT_DEVICE := LG8n +PRODUCT_MANUFACTURER := TECNO +PRODUCT_BRAND := TECNO +PRODUCT_MODEL := TECNO LG8n PRODUCT_GMS_CLIENTID_BASE := android-transsion PRODUCT_BUILD_PROP_OVERRIDES += \ - PRIVATE_BUILD_DESC="sys_tssi_64_armv82_infinix-user 13 TP1A.220624.014 469345 release-keys" \ - PRODUCT_NAME=X6833B-GL + PRIVATE_BUILD_DESC="sys_tssi_64_armv82_tecno-user 13 TP1A.220624.014 469345 release-keys" \ + PRODUCT_NAME=LG8n-GL -BUILD_FINGERPRINT := Infinix/X6833B-GL/Infinix-X6833B:13/TP1A.220624.014/231102V2897:user/release-keys +BUILD_FINGERPRINT := TECNO/LG8n-GL/TECNO-LG8n:12/SP1A.210812.016/240313V1796:user/release-keys # Time LINEAGE_VERSION_APPEND_TIME_OF_DAY := true diff --git a/proprietary-files.txt b/proprietary-files.txt index b812542..123372a 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -1,4 +1,4 @@ -## x6833b package version: X6833B-H894DEFGHI-T-GL-231102V2897, unless stated otherwise +## lg8n package version: LG8n-H894DEFGHI-T-GL-231102V2897, unless stated otherwise # AEE vendor/lib/libaedv.so @@ -42,7 +42,6 @@ vendor/lib/libbessound_hd_mtk_vendor.so vendor/lib/libblisrc32_vendor.so vendor/lib/libbwc.so vendor/lib/libcvsd_mtk.so -vendor/lib/libfsmaudio.so vendor/lib/libladder.so vendor/lib/libmsbc_mtk.so vendor/lib/libmtklimiter_vendor.so @@ -73,7 +72,6 @@ vendor/lib64/libbessound_hd_mtk_vendor.so vendor/lib64/libblisrc32_vendor.so vendor/lib64/libbwc.so vendor/lib64/libcvsd_mtk.so -vendor/lib64/libfsmaudio.so vendor/lib64/libladder.so vendor/lib64/libmsbc_mtk.so vendor/lib64/libmtklimiter_vendor.so @@ -198,11 +196,6 @@ vendor/etc/audio_param/VolumeGainMap_AudioParam.xml vendor/etc/audio_param/VolumeGainMap_ParamUnitDesc.xml vendor/etc/audio_param/Volume_AudioParam.xml vendor/etc/audio_param/Volume_ParamUnitDesc.xml -vendor/etc/audio_param/preset_default.bin -vendor/etc/audio_param/preset_music.bin -vendor/etc/audio_param/preset_ringtone.bin -vendor/etc/audio_param/preset_voice.bin -vendor/etc/audio_param/preset_voip.bin # Bluetooth vendor/bin/hw/android.hardware.bluetooth@1.1-service-mediatek @@ -383,30 +376,29 @@ vendor/lib64/libwvhidl.so # Fingerprint vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service +vendor/bin/hw/vendor.fptool.fingerprint@2.0-service vendor/etc/init/android.hardware.biometrics.fingerprint@2.1-service.rc -vendor/etc/init/vendor.fpsensor.rc +vendor/etc/init/vendor.fptool.fingerprint@2.0-service.rc -vendor/etc/vintf/manifest/android.hardware.biometrics.fingerprint@2.1-service.xml -vendor/lib64/hw/fpsensor_fingerprint.default.so +vendor/lib64/hw/vendor.fptool.fingerprint@2.0-impl.so +vendor/lib64/vendor.fptool.fingerprint@2.0-adapter-helper.so +vendor/lib64/vendor.fptool.fingerprint@2.0.so + # Firmware vendor/firmware/BT_FW.cfg +vendor/firmware/Conf_MultipleTest.ini vendor/firmware/WIFI_RAM_CODE_soc2_2_1d_1.bin vendor/firmware/WIFI_RAM_CODE_soc2_2_1e_1.bin vendor/firmware/WMT_SOC.cfg -vendor/firmware/aw8622x_haptic.bin -vendor/firmware/aw8622x_osc_rtp_12K_10s.bin -vendor/firmware/aw8622x_rtp.bin vendor/firmware/aw8624_haptic.bin vendor/firmware/aw8624_osc_rtp_24K_5s.bin -vendor/firmware/aw8624_rtp.bin vendor/firmware/aw8624_rtp_lighthouse.bin vendor/firmware/aw8624_rtp_silk.bin +vendor/firmware/aw87xxx_acf.bin +vendor/firmware/awinic_params.bin vendor/firmware/fm_cust.cfg -vendor/firmware/fs1599.fsm -vendor/firmware/fs3001_1.bin -vendor/firmware/fs3001_2.bin -vendor/firmware/fs3001_haptic.bin -vendor/firmware/fs3001_osc_rtp_12K_10s.bin +vendor/firmware/focaltech_ts_fw_0.bin vendor/firmware/gt9886_cfg_6781v01.bin vendor/firmware/gt9886_cfg_6785v96.bin vendor/firmware/gt9886_cfg_6785v99.bin @@ -468,9 +460,7 @@ vendor/firmware/gt9896s_firmware_6893v04.bin vendor/firmware/gt9896s_firmware_6893v05.bin vendor/firmware/gt9896s_firmware_6895v01.bin vendor/firmware/gt9896s_firmware_6983v01.bin -vendor/firmware/ilitek_ts_fw.bin vendor/firmware/lib3a.ccu -vendor/firmware/mp.ini vendor/firmware/mt6627_fm_v1_coeff.bin vendor/firmware/mt6627_fm_v1_patch.bin vendor/firmware/mt6630_fm_v1_coeff.bin @@ -489,7 +479,6 @@ vendor/firmware/novatek_ts_fw.bin vendor/firmware/novatek_ts_fw_144.bin vendor/firmware/novatek_ts_fw_jdi.bin vendor/firmware/novatek_ts_fw_tm.bin -vendor/firmware/novatek_ts_mp.bin vendor/firmware/remoteproc_scp vendor/firmware/soc2_2_ram_bt_1d_1_hdr.bin vendor/firmware/soc2_2_ram_bt_1e_1_hdr.bin @@ -634,7 +623,6 @@ vendor/etc/security/cacerts/c491639e.0 vendor/etc/security/cacerts/c51c224c.0 vendor/etc/security/cacerts/c559d742.0 vendor/etc/security/cacerts/c90bc37d.0 -vendor/etc/security/cacerts/cb156124.0 vendor/etc/security/cacerts/cb1c3204.0 vendor/etc/security/cacerts/ccc52f49.0 vendor/etc/security/cacerts/cf701eeb.0 @@ -669,7 +657,6 @@ vendor/etc/security/cacerts_supl/lab/2cbfcc3a.0 vendor/etc/security/cacerts_supl/lab/35ef1c14.0 vendor/etc/security/cacerts_supl/lab/399e7759.0 vendor/etc/security/cacerts_supl/lab/586933d9.0 -vendor/etc/security/cacerts_supl/lab/6146415b.0 vendor/etc/security/cacerts_supl/lab/66272d0d.0 vendor/etc/security/cacerts_supl/lab/6f1dbe5e.0 vendor/etc/security/cacerts_supl/lab/b5805141.0 @@ -680,7 +667,6 @@ vendor/etc/security/cacerts_supl/111e6273.0 vendor/etc/security/cacerts_supl/3ad48a91.0 vendor/etc/security/cacerts_supl/7651b327.0 vendor/etc/security/cacerts_supl/c542733d.0 -vendor/etc/security/cacerts_supl/cec771d5.0 vendor/etc/security/cacerts_supl/f336e3d1.0 -vendor/etc/vintf/manifest/gnss-default.xml:vendor/etc/vintf/manifest/gnss-mtk.xml -vendor/etc/vintf/manifest/gnss@2.1-service.xml @@ -908,7 +894,6 @@ vendor/etc/ecc_list_OP18.xml vendor/etc/ecc_list_OP20.xml vendor/etc/ecc_list_OP236.xml vendor/etc/ecc_list_preference.xml -vendor/etc/ecc_list_tran2.xml vendor/etc/special_pws_channel.xml vendor/etc/vendor-apns-conf.xml vendor/etc/virtual-spn-conf-by-efgid1.xml @@ -987,16 +972,17 @@ vendor/lib64/libhwm.so vendor/lib64/libksensor.so # TEE -vendor/app/mcRegistry/020f0000000000000000000000000000.drbin vendor/app/mcRegistry/020f0000000000000000000000000000.tlbin vendor/app/mcRegistry/030c0000000000000000000000000000.drbin vendor/app/mcRegistry/030c0000000000000000000000000000.tlbin +vendor/app/mcRegistry/04010000000000000000000000000000.tabin vendor/app/mcRegistry/05120000000000000000000000000001.drbin vendor/app/mcRegistry/05120000000000000000000000000001.tlbin vendor/app/mcRegistry/06090000000000000000000000000000.drbin vendor/app/mcRegistry/06090000000000000000000000000000.tlbin vendor/app/mcRegistry/0706000000000000000000000000004d.tlbin vendor/app/mcRegistry/07061000000000000000000000000000.tlbin +vendor/app/mcRegistry/07090000000000000000000000000000.drbin vendor/app/mcRegistry/07170000000000000000000000000000.drbin vendor/app/mcRegistry/07170000000000000000000000000000.tlbin vendor/app/mcRegistry/08030000000000000000000000000000.tabin @@ -1008,7 +994,6 @@ vendor/app/mcRegistry/40188311faf343488db888ad39496f9a.drbin vendor/app/mcRegistry/40188311faf343488db888ad39496f9a.tlbin vendor/app/mcRegistry/5020170115e016302017012521300000.drbin vendor/app/mcRegistry/5020170115e016302017012521300000.tlbin -vendor/app/mcRegistry/85fbf4ccc2fd4a32922a4e90c56179de.tabin vendor/app/mcRegistry/abcd270ea5c44c58bcd3384a2fa2539e.tabin vendor/app/mcRegistry/ce4550edbcb1662566b006ebcb303050.tabin vendor/app/mcRegistry/df1edda8627911e980ae507b9d9a7e7d.tabin diff --git a/setup-makefiles.sh b/setup-makefiles.sh index fa61cfa..a4efadc 100755 --- a/setup-makefiles.sh +++ b/setup-makefiles.sh @@ -8,8 +8,8 @@ set -e -DEVICE=X6833B -VENDOR=infinix +DEVICE=LG8n +VENDOR=tecno # Load extract_utils and do some sanity checks MY_DIR="${BASH_SOURCE%/*}" diff --git a/update-sha1sums.py b/update-sha1sums.py index 2b9d8c1..f59767d 100755 --- a/update-sha1sums.py +++ b/update-sha1sums.py @@ -20,8 +20,8 @@ import os import sys from hashlib import sha1 -device = 'X6833B' -vendor = 'infinix' +device = 'LG8n' +vendor = 'tecno' with open('proprietary-files.txt', 'r') as f: lines = f.read().splitlines()