Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9d654eadeb | |||
| 41d6683b30 | |||
|
|
eca6fe1a64 | ||
| b9c22be7ba | |||
| dbe3167de8 | |||
| a1ab7a2d7b | |||
| 5c3d11963c | |||
|
|
3fb1170bb0 |
@@ -16,21 +16,19 @@ 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 \
|
||||
vendor
|
||||
system
|
||||
|
||||
# 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"
|
||||
|
||||
|
||||
10
device.mk
10
device.mk
@@ -28,12 +28,11 @@ 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=ext4 \
|
||||
FILESYSTEM_TYPE_system=erofs \
|
||||
POSTINSTALL_OPTIONAL_system=true
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
@@ -45,16 +44,15 @@ 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
|
||||
|
||||
# Consumer IR
|
||||
# Fastbootd
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.ir-service.example
|
||||
|
||||
fastbootd
|
||||
|
||||
# Fstab
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/rootdir/etc/fstab_AB.qcom:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.qcom \
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"target_path": "vendor/xiaomi/tissot"
|
||||
},
|
||||
{
|
||||
"repository": "kernel_xiaomi_tissot",
|
||||
"repository": "kernel_xiaomi_msm8953",
|
||||
"target_path": "kernel/xiaomi/msm8953"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -15,9 +15,8 @@ $(call inherit-product, device/xiaomi/tissot/device.mk)
|
||||
# Inherit some common LineageOS stuff.
|
||||
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
|
||||
|
||||
EVO_BUILD_TYPE := Official
|
||||
WITH_GAPPS := false
|
||||
TARGET_BOOT_ANIMATION_RES := 1080
|
||||
TARGET_USES_PICO_GAPPS := true
|
||||
|
||||
# Device identifier. This must come after all inclusions
|
||||
PRODUCT_DEVICE := tissot
|
||||
|
||||
@@ -355,9 +355,6 @@ 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
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
|
||||
#<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
|
||||
|
||||
Reference in New Issue
Block a user