Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2aab695d31 | ||
|
|
95afde49f2 | ||
|
|
39a8285236 | ||
|
|
e77b877034 | ||
|
|
6d385fe43f | ||
|
|
4cbd475a47 | ||
|
|
d71b871280 | ||
|
|
c6eb421935 | ||
|
|
da6b378d1f | ||
|
|
c28a0929f4 | ||
|
|
2a188d0b00 |
@@ -42,3 +42,9 @@ TARGET_QTI_VIBRATOR_USE_EFFECT_STREAM := true
|
||||
|
||||
# Include proprietary files
|
||||
include vendor/xiaomi/haydn/BoardConfigVendor.mk
|
||||
|
||||
# Firmware
|
||||
include vendor/xiaomi/haydn-firmware/BoardConfigVendor.mk
|
||||
|
||||
# Inherit from proprietary files for Leica Camera
|
||||
-include vendor/xiaomi/haydn-miuicamera/products/board.mk
|
||||
|
||||
@@ -47,3 +47,8 @@ PRODUCT_SOONG_NAMESPACES += \
|
||||
|
||||
# Call the proprietary setup
|
||||
$(call inherit-product, vendor/xiaomi/haydn/haydn-vendor.mk)
|
||||
|
||||
# Call the Leica Camera setup
|
||||
$(call inherit-product-if-exists, vendor/xiaomi/haydn-miuicamera/products/miuicamera.mk)
|
||||
$(call soong_config_set,camera,override_format_from_reserved,true)
|
||||
|
||||
|
||||
46
evolution.dependencies
Normal file
46
evolution.dependencies
Normal file
@@ -0,0 +1,46 @@
|
||||
[
|
||||
{
|
||||
"remote" : "github-non-los",
|
||||
"repository" : "Haydn-Lab/device_xiaomi_sm8350-common",
|
||||
"target_path": "device/xiaomi/sm8350-common",
|
||||
"branch" : "15"
|
||||
},
|
||||
{
|
||||
"remote" : "github-non-los",
|
||||
"repository" : "Haydn-Lab/vendor_xiaomi_sm8350-common",
|
||||
"target_path": "vendor/xiaomi/sm8350-common",
|
||||
"branch" : "15"
|
||||
},
|
||||
{
|
||||
"repository" : "vendor_xiaomi_haydn",
|
||||
"target_path": "vendor/xiaomi/haydn",
|
||||
"branch" : "vic"
|
||||
},
|
||||
{
|
||||
"repository" : "hardware_xiaomi",
|
||||
"target_path": "hardware/xiaomi"
|
||||
},
|
||||
{
|
||||
"remote" : "github-non-los",
|
||||
"repository" : "Haydn-Lab/hardware_dolby",
|
||||
"target_path": "hardware/dolby",
|
||||
"branch" : "15"
|
||||
},
|
||||
{
|
||||
"remote" : "gitlab",
|
||||
"repository" : "Hexdare/haydn-miuicamera",
|
||||
"target_path": "vendor/xiaomi/haydn-miuicamera",
|
||||
"branch" : "fifteen-leica"
|
||||
},
|
||||
{
|
||||
"remote" : "gitlab",
|
||||
"repository" : "Hexdare/vendor_xiaomi_haydn-firmware",
|
||||
"target_path": "vendor/xiaomi/haydn-firmware",
|
||||
"branch" : "fourteen"
|
||||
},
|
||||
{
|
||||
"repository" : "kernel_xiaomi_haydn",
|
||||
"target_path": "kernel/xiaomi/sm8350",
|
||||
"branch" : "vic"
|
||||
}
|
||||
]
|
||||
6
extract-files.py
Executable file → Normal file
6
extract-files.py
Executable file → Normal file
@@ -53,6 +53,12 @@ blob_fixups: blob_fixups_user_type = {
|
||||
.clear_symbol_version('remote_handle64_invoke')
|
||||
.clear_symbol_version('remote_handle64_open')
|
||||
.clear_symbol_version('remote_register_buf_attr'),
|
||||
(
|
||||
'vendor/lib64/hw/camera.qcom.so',Add commentMore actions
|
||||
'vendor/lib64/hw/com.qti.chi.override.so',
|
||||
'vendor/lib64/libcamxcommonutils.so',
|
||||
'vendor/lib64/libmialgoengine.so',
|
||||
): blob_fixup().add_needed('libprocessgroup_shim.so'),
|
||||
}
|
||||
|
||||
module = ExtractUtilsModule(
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
[
|
||||
{
|
||||
"repository": "android_device_xiaomi_sm8350-common",
|
||||
"target_path": "device/xiaomi/sm8350-common"
|
||||
}
|
||||
]
|
||||
@@ -16,9 +16,16 @@ PRODUCT_MANUFACTURER := Xiaomi
|
||||
PRODUCT_MODEL := M2012K11G
|
||||
PRODUCT_NAME := lineage_haydn
|
||||
|
||||
WITH_GMS := true
|
||||
TARGET_DISABLE_EPPE := false
|
||||
TARGET_BOOT_ANIMATION_RES := 1080
|
||||
TARGET_ENABLE_BLUR := true
|
||||
EVO_BUILD_TYPE := Official
|
||||
TARGET_SUPPORTS_QUICK_TAP := true
|
||||
|
||||
PRODUCT_BUILD_PROP_OVERRIDES += \
|
||||
BuildDesc="haydn_global-user 14 UKQ1.231207.002 V816.0.11.0.UKKMIXM release-keys" \
|
||||
BuildFingerprint=Xiaomi/haydn_global/haydn:14/UKQ1.231207.002/V816.0.11.0.UKKMIXM:user/release-keys \
|
||||
BuildDesc="haydn_global-user 14 UKQ1.231207.002 V816.0.12.0.UKKCNXM release-keys" \
|
||||
BuildFingerprint=Xiaomi/haydn_global/haydn:14/UKQ1.231207.002/V816.0.12.0.UKKCNXM:user/release-keys \
|
||||
DeviceProduct=haydn \
|
||||
SystemName=haydn_global
|
||||
|
||||
|
||||
@@ -340,4 +340,21 @@
|
||||
<item>haydn</item>
|
||||
<item>haydnpro</item>
|
||||
</string-array>
|
||||
|
||||
<!-- The display uses different gamma curves for different refresh rates. It's hard for panel
|
||||
vendor to tune the curves to have exact same brightness for different refresh rate. So
|
||||
flicker could be observed at switch time. The issue is worse at the gamma lower end.
|
||||
In addition, human eyes are more sensitive to the flicker at darker environment.
|
||||
To prevent flicker, we only support higher refresh rates if the display brightness is above
|
||||
a threshold. And the darker environment could have higher threshold.
|
||||
For example, no higher refresh rate if
|
||||
display brightness <= disp0 && ambient brightness <= amb0
|
||||
|| display brightness <= disp1 && ambient brightness <= amb1
|
||||
-->
|
||||
<integer-array name="config_brightnessThresholdsOfPeakRefreshRate">
|
||||
<item>74</item> <!-- 77% UI brightness -->
|
||||
</integer-array>
|
||||
<integer-array name="config_ambientThresholdsOfPeakRefreshRate">
|
||||
<item>63</item>
|
||||
</integer-array>
|
||||
</resources>
|
||||
|
||||
@@ -5,6 +5,11 @@
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Whether to show Minimum and Maximum refresh rate in display settings -->
|
||||
<bool name="config_show_peak_refresh_rate_switch">true</bool>
|
||||
<bool name="config_show_min_refresh_rate_switch">true</bool>
|
||||
<!-- If using legacy - please use config_show_min_refresh_rate_switch prop -->
|
||||
|
||||
<!-- Whether to show Smooth Display feature in Settings Options -->
|
||||
<bool name="config_show_smooth_display">true</bool>
|
||||
<bool name="config_show_smooth_display">false</bool>
|
||||
</resources>
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2019-2024 Evolution X
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- About device screen, build maintainer -->
|
||||
<string name="build_maintainer_summary">Hexdare</string>
|
||||
<string name="build_maintainer_donate_url">https://linktr.ee/Hexdare</string>
|
||||
</resources>
|
||||
@@ -1,4 +1,4 @@
|
||||
# All unpinned blobs below are extracted from haydn V816.0.11.0.UKKMIXM
|
||||
# All unpinned blobs below are extracted from haydn V816.0.12.0.UKKCNXM
|
||||
|
||||
# ACDB
|
||||
vendor/etc/acdbdata/Forte/Forte_Bluetooth_cal.acdb
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# All unpinned blobs below are extracted from haydn V816.0.11.0.UKKMIXM
|
||||
# All unpinned blobs below are extracted from haydn V816.0.18.0.UKKMIXM
|
||||
|
||||
abl.img;AB
|
||||
aop.img;AB
|
||||
|
||||
@@ -46,3 +46,11 @@ on boot && property:ro.boot.hwc=GL
|
||||
|
||||
on boot && property:ro.boot.hwc=IN
|
||||
setprop bluetooth.device.default_name "Mi 11X Pro"
|
||||
|
||||
on property:vendor.post_boot.parsed=1
|
||||
|
||||
chown system graphics /sys/class/drm/sde-crtc-0/measured_fps
|
||||
chmod 0660 /sys/class/drm/sde-crtc-0/measured_fps
|
||||
|
||||
chown system system /sys/class/power_supply/battery/temp
|
||||
chmod 0660 /sys/class/power_supply/battery/temp
|
||||
|
||||
Reference in New Issue
Block a user