1 Commits
vic ... bka

Author SHA1 Message Date
Joey Huab
74d0454448 tissot: Initialize for Evolution X 10.x 2025-09-19 10:45:48 +09:00
6 changed files with 21 additions and 12 deletions

View File

@@ -16,19 +16,21 @@ TARGET_KERNEL_CONFIG += xiaomi/tissot.config
BOARD_USES_RECOVERY_AS_BOOT := true
TARGET_NO_RECOVERY := true
BOARD_SYSTEMIMAGE_FILE_SYSTEM_TYPE := erofs
BOARD_EROFS_COMPRESSOR := lz4
# A/B
AB_OTA_UPDATER := true
AB_OTA_PARTITIONS += \
boot \
system
system \
vendor
# Display
TARGET_SCREEN_DENSITY := 440
# Partitions (vendor)
BOARD_VENDORIMAGE_PARTITION_SIZE := 629145600
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
TARGET_COPY_OUT_VENDOR := vendor
BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true
# Power
TARGET_TAP_TO_WAKE_NODE := "/proc/touchpanel/wakeup_gesture"

View File

@@ -28,11 +28,12 @@ PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/audio/audio_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info.xml \
$(LOCAL_PATH)/audio/mixer_paths_mtp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_mtp.xml
ifeq ($(AB_OTA_UPDATER), true)
# A/B
AB_OTA_POSTINSTALL_CONFIG += \
RUN_POSTINSTALL_system=true \
POSTINSTALL_PATH_system=system/bin/otapreopt_script \
FILESYSTEM_TYPE_system=erofs \
FILESYSTEM_TYPE_system=ext4 \
POSTINSTALL_OPTIONAL_system=true
PRODUCT_PACKAGES += \
@@ -44,15 +45,16 @@ PRODUCT_PACKAGES += \
android.hardware.boot-service.qti.recovery
$(call soong_config_set,QTI_GPT_UTILS,USE_BSG_FRAMEWORK,false)
endif
# Camera
PRODUCT_PACKAGES += \
camera.msm8953
# Fastbootd
# Consumer IR
PRODUCT_PACKAGES += \
fastbootd
android.hardware.ir-service.example
# Fstab
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/rootdir/etc/fstab_AB.qcom:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.qcom \

View File

@@ -12,7 +12,7 @@
"target_path": "vendor/xiaomi/tissot"
},
{
"repository": "kernel_xiaomi_msm8953",
"repository": "kernel_xiaomi_tissot",
"target_path": "kernel/xiaomi/msm8953"
},
{

View File

@@ -15,8 +15,9 @@ $(call inherit-product, device/xiaomi/tissot/device.mk)
# Inherit some common LineageOS stuff.
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
WITH_GAPPS := false
EVO_BUILD_TYPE := Official
TARGET_BOOT_ANIMATION_RES := 1080
TARGET_USES_PICO_GAPPS := true
# Device identifier. This must come after all inclusions
PRODUCT_DEVICE := tissot

View File

@@ -355,6 +355,9 @@ vendor/lib/libmmcamera_ov5675_qtech.so
vendor/lib/libmmcamera_qtech_ov5675_eeprom.so
vendor/lib/libmmcamera_s5k5e8_ofilm.so
# Consumerir
vendor/lib64/hw/consumerir.default.so
# Fingerprint (goodix)
vendor/lib64/hw/gf_fingerprint.default.so:vendor/lib64/hw/gf_fingerprint.goodix.default.so;FIX_SONAME;DISABLE_CHECKELF
lib64/libgf_algo.so:vendor/lib64/libgf_algo.so;DISABLE_CHECKELF

View File

@@ -4,6 +4,7 @@
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
/dev/block/by-name/system /system ext4 ro,barrier=1,discard wait,slotselect,first_stage_mount
/dev/block/by-name/vendor /vendor ext4 ro,barrier=1,discard wait,slotselect,first_stage_mount
/dev/block/bootdevice/by-name/userdata /data f2fs nosuid,nodev,noatime,discard,fsync_mode=nobarrier wait,check,fileencryption=ice,quota
/dev/block/bootdevice/by-name/userdata /data ext4 nosuid,nodev,noatime,noauto_da_alloc wait,check,fileencryption=ice,quota,formattable
/dev/block/bootdevice/by-name/persist /mnt/vendor/persist ext4 nosuid,nodev,noatime wait,check