Compare commits
9 Commits
a52940b675
...
9004d76b3c
Author | SHA1 | Date | |
---|---|---|---|
|
9004d76b3c | ||
|
762fb799da | ||
|
31fd2f843f | ||
|
a24559ba0d | ||
|
8570a89501 | ||
|
8d95a41740 | ||
|
bed8945ff1 | ||
|
c33125de2d | ||
68d6679eab |
@ -18,6 +18,27 @@ TARGET_OTA_ASSERT_DEVICE := sweet,sweetin
|
||||
# Audio
|
||||
TARGET_PROVIDES_AUDIO_EXTNS := true
|
||||
|
||||
# Broken Rules
|
||||
BUILD_BROKEN_CLANG_PROPERTY := true
|
||||
BUILD_BROKEN_CLANG_ASFLAGS := true
|
||||
BUILD_BROKEN_CLANG_CFLAGS := true
|
||||
BUILD_BROKEN_DEPFILE := true
|
||||
BUILD_BROKEN_DUP_RULES := true
|
||||
BUILD_BROKEN_DUP_SYSPROP := true
|
||||
BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := true
|
||||
BUILD_BROKEN_ENFORCE_SYSPROP_OWNER := true
|
||||
BUILD_BROKEN_INPUT_DIR_MODULES := true
|
||||
BUILD_BROKEN_MISSING_REQUIRED_MODULES := true
|
||||
BUILD_BROKEN_OUTSIDE_INCLUDE_DIRS := true
|
||||
BUILD_BROKEN_PREBUILT_ELF_FILES := true
|
||||
#BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW := true
|
||||
BUILD_BROKEN_USES_NETWORK := true
|
||||
BUILD_BROKEN_VENDOR_PROPERTY_NAMESPACE := true
|
||||
BUILD_BROKEN_VINTF_PRODUCT_COPY_FILES := true
|
||||
BUILD_BROKEN_INCORRECT_PARTITION_IMAGES := true
|
||||
BUILD_BROKEN_GENRULE_SANDBOXING := true
|
||||
BUILD_BROKEN_DONT_CHECK_SYSTEMSDK := true
|
||||
|
||||
# HIDL
|
||||
DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/configs/hidl/manifest.xml
|
||||
|
||||
@ -38,10 +59,11 @@ TARGET_ODM_PROP += $(DEVICE_PATH)/properties/odm.prop
|
||||
TARGET_VENDOR_PROP += $(DEVICE_PATH)/properties/vendor.prop
|
||||
|
||||
# Screen density
|
||||
TARGET_SCREEN_DENSITY := 440
|
||||
TARGET_SCREEN_DENSITY := 410
|
||||
|
||||
# Vendor security patch level
|
||||
VENDOR_SECURITY_PATCH := 2023-11-01
|
||||
# Security patch level
|
||||
BOOT_SECURITY_PATCH := $(PLATFORM_SECURITY_PATCH)
|
||||
VENDOR_SECURITY_PATCH := $(PLATFORM_SECURITY_PATCH)
|
||||
|
||||
# Inherit from proprietary files
|
||||
include vendor/xiaomi/sweet/BoardConfigVendor.mk
|
||||
|
@ -65,6 +65,10 @@
|
||||
<usecase name="USECASE_AUDIO_RECORD_VOIP" type="in" id="16" />
|
||||
<usecase name="USECASE_AUDIO_A2DP_ABR_FEEDBACK" type="in" id="12" />
|
||||
<usecase name="USECASE_INCALL_MUSIC_UPLINK" type="out" id="27" />
|
||||
<usecase name="USECASE_INCALL_MUSIC_UPLINK2" type="out" id="27" />
|
||||
<usecase name="USECASE_INCALL_REC_UPLINK" type="in" id="27" />
|
||||
<usecase name="USECASE_INCALL_REC_DOWNLINK" type="in" id="27" />
|
||||
<usecase name="USECASE_INCALL_REC_UPLINK_AND_DOWNLINK" type="in" id="27" />
|
||||
</pcm_ids>
|
||||
<config_params>
|
||||
<!-- In the below value string, the value indicates default mono -->
|
||||
@ -223,8 +227,8 @@
|
||||
<device name="SND_DEVICE_IN_VOICE_REC_DMIC_FLUENCE" interface="TX_CDC_DMA_TX_3"/>
|
||||
<device name="SND_DEVICE_IN_AANC_HANDSET_MIC" interface="TX_CDC_DMA_TX_3"/>
|
||||
<device name="SND_DEVICE_IN_QUAD_MIC" interface="TX_CDC_DMA_TX_3"/>
|
||||
<device name="SND_DEVICE_IN_HANDSET_STEREO_DMIC" interface="TX_CDC_DMA_TX_3"/>
|
||||
<device name="SND_DEVICE_IN_SPEAKER_STEREO_DMIC" interface="TX_CDC_DMA_TX_3"/>
|
||||
<device name="SND_DEVICE_IN_HANDSET_DMIC_STEREO" interface="TX_CDC_DMA_TX_3"/>
|
||||
<device name="SND_DEVICE_IN_SPEAKER_DMIC_STEREO" interface="TX_CDC_DMA_TX_3"/>
|
||||
<device name="SND_DEVICE_IN_CAPTURE_VI_FEEDBACK" interface="WSA_CDC_DMA_TX_0"/>
|
||||
<device name="SND_DEVICE_IN_CAPTURE_VI_FEEDBACK_MONO_1" interface="WSA_CDC_DMA_TX_0"/>
|
||||
<device name="SND_DEVICE_IN_CAPTURE_VI_FEEDBACK_MONO_2" interface="WSA_CDC_DMA_TX_0"/>
|
||||
|
@ -234,8 +234,8 @@
|
||||
<!-- RT Proxy Cal end -->
|
||||
|
||||
<!-- Incall Recording -->
|
||||
<ctl name="MultiMedia1 Mixer VOC_REC_UL" value="0" />
|
||||
<ctl name="MultiMedia1 Mixer VOC_REC_DL" value="0" />
|
||||
<ctl name="MultiMedia9 Mixer VOC_REC_UL" value="0" />
|
||||
<ctl name="MultiMedia9 Mixer VOC_REC_DL" value="0" />
|
||||
<ctl name="MultiMedia8 Mixer VOC_REC_UL" value="0" />
|
||||
<ctl name="MultiMedia8 Mixer VOC_REC_DL" value="0" />
|
||||
<!-- Incall Recording End -->
|
||||
@ -366,9 +366,9 @@
|
||||
<!-- Volume controls -->
|
||||
<ctl name="WSA_RX0 Digital Volume" value="84" />
|
||||
<ctl name="WSA_RX1 Digital Volume" value="84" />
|
||||
<ctl name="RX_RX0 Digital Volume" value="84" />
|
||||
<ctl name="RX_RX1 Digital Volume" value="84" />
|
||||
<ctl name="RX_RX2 Digital Volume" value="84" />
|
||||
<ctl name="RX_RX0 Digital Volume" value="87" />
|
||||
<ctl name="RX_RX1 Digital Volume" value="87" />
|
||||
<ctl name="RX_RX2 Digital Volume" value="87" />
|
||||
<ctl name="HPHL Volume" value="20" />
|
||||
<ctl name="HPHR Volume" value="20" />
|
||||
<ctl name="EAR SPKR PA Gain" value="G_DEFAULT" />
|
||||
@ -2058,7 +2058,7 @@
|
||||
</path>
|
||||
|
||||
<path name="incall-rec-uplink">
|
||||
<ctl name="MultiMedia1 Mixer VOC_REC_UL" value="1" />
|
||||
<ctl name="MultiMedia9 Mixer VOC_REC_UL" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="incall-rec-uplink bt-sco">
|
||||
@ -2102,7 +2102,7 @@
|
||||
</path>
|
||||
|
||||
<path name="incall-rec-downlink">
|
||||
<ctl name="MultiMedia1 Mixer VOC_REC_DL" value="1" />
|
||||
<ctl name="MultiMedia9 Mixer VOC_REC_DL" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="incall-rec-downlink bt-sco">
|
||||
@ -2640,7 +2640,7 @@
|
||||
</path>
|
||||
|
||||
<path name="mmap-playback bt-sco-wb">
|
||||
<ctl name="BT SampleRate" value="16000" />
|
||||
<ctl name="BT SampleRate" value="KHZ_16" />
|
||||
<path name="mmap-playback bt-sco" />
|
||||
</path>
|
||||
|
||||
@ -2660,7 +2660,7 @@
|
||||
<ctl name="DISPLAY_PORT Mixer MultiMedia16" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="mmap-buffer-playback hdmi">
|
||||
<path name="mmap-playback hdmi">
|
||||
<ctl name="HDMI Mixer MultiMedia16" value="1" />
|
||||
</path>
|
||||
|
||||
|
@ -10,6 +10,10 @@ $(call inherit-product, device/xiaomi/sm6150-common/sm6150.mk)
|
||||
# Call the MiuiCamera setup
|
||||
$(call inherit-product-if-exists, vendor/xiaomi/sweet-miuicamera/products/miuicamera.mk)
|
||||
|
||||
# AAPT
|
||||
PRODUCT_AAPT_CONFIG := normal
|
||||
PRODUCT_AAPT_PREF_CONFIG := xxhdpi
|
||||
|
||||
# API level, the device has been commercially launched on
|
||||
PRODUCT_SHIPPING_API_LEVEL := 30
|
||||
|
||||
|
@ -1,6 +0,0 @@
|
||||
[
|
||||
{
|
||||
"repository": "android_device_xiaomi_sm6150-common",
|
||||
"target_path": "device/xiaomi/sm6150-common"
|
||||
}
|
||||
]
|
@ -8,20 +8,41 @@
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
|
||||
|
||||
# Inherit from sweet device
|
||||
# Inherit from sweet device.
|
||||
$(call inherit-product, device/xiaomi/sweet/device.mk)
|
||||
|
||||
# Inherit some common Lineage stuff.
|
||||
# Inherit some common LineageOS stuff.
|
||||
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
|
||||
RISING_MAINTAINER := honokascape
|
||||
PRODUCT_BUILD_PROP_OVERRIDES += \
|
||||
RISING_CHIPSET="Snapdragon 732G" \
|
||||
RISING_MAINTAINER="Don Johan Liebert"
|
||||
|
||||
# Device identifier.
|
||||
PRODUCT_NAME := lineage_sweet
|
||||
PRODUCT_DEVICE := sweet
|
||||
PRODUCT_BRAND := Xiaomi
|
||||
PRODUCT_MODEL := Redmi Note 10 Pro
|
||||
PRODUCT_MANUFACTURER := Xiaomi
|
||||
|
||||
# GMS
|
||||
PRODUCT_GMS_CLIENTID_BASE := android-xiaomi
|
||||
WITH_GMS := true
|
||||
|
||||
# Targets
|
||||
TARGET_ENABLE_BLUR := true
|
||||
TARGET_SUPPORTS_64_BIT_APPS := true
|
||||
TARGET_FACE_UNLOCK_SUPPORTED := true
|
||||
TARGET_DEFAULT_PIXEL_LAUNCHER := true
|
||||
TARGET_PREBUILT_LAWNCHAIR_LAUNCHER := true
|
||||
TARGET_HAS_UDFPS := false
|
||||
|
||||
# Fingerprint
|
||||
BUILD_FINGERPRINT := Redmi/sweet_global/sweet:13/TKQ1.221013.002/V14.0.9.0.TKFMIXM:user/release-keys
|
||||
BUILD_DESCRIPTION := sweet_global-user 13 TKQ1.221013.002 V14.0.9.0.TKFMIXM release-keys
|
||||
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.build.fingerprint=$(BUILD_FINGERPRINT)
|
||||
|
||||
PRODUCT_BUILD_PROP_OVERRIDES += \
|
||||
PRIVATE_BUILD_DESC="sweet_global-user 13 TKQ1.221013.002 V14.0.9.0.TKFMIXM release-keys"
|
||||
PRIVATE_BUILD_DESC="$(BUILD_DESCRIPTION)"
|
||||
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: 2024 The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources>
|
||||
<!-- Pocket Lock -->
|
||||
<bool name="config_pocketModeSupported">false</bool>
|
||||
</resources>
|
@ -18,7 +18,10 @@
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
|
||||
<!-- Whether to show Smooth Display feature in Settings Options -->
|
||||
<bool name="config_show_smooth_display">true</bool>
|
||||
<!-- Whether to show peak refresh rate in display settings -->
|
||||
<bool name="config_show_peak_refresh_rate_switch">true</bool>
|
||||
|
||||
<!-- Whether to show min refresh rate in display settings -->
|
||||
<bool name="config_show_min_refresh_rate_switch">true</bool>
|
||||
|
||||
</resources>
|
||||
|
44
rising.dependencies
Normal file
44
rising.dependencies
Normal file
@ -0,0 +1,44 @@
|
||||
[
|
||||
{
|
||||
"remote" : "repo.radio",
|
||||
"repository" : "donjohanliebert/device_xiaomi_sm6150-common",
|
||||
"branch" : "udc",
|
||||
"target_path" : "device/xiaomi/sm6150-common"
|
||||
},
|
||||
{
|
||||
"remote" : "repo.radio",
|
||||
"repository" : "donjohanliebert/vendor_xiaomi_sweet",
|
||||
"branch" : "udc",
|
||||
"target_path" : "vendor/xiaomi/sweet"
|
||||
},
|
||||
{
|
||||
"remote" : "repo.radio",
|
||||
"repository" : "donjohanliebert/vendor_xiaomi_sm6150-common",
|
||||
"branch" : "udc",
|
||||
"target_path" : "vendor/xiaomi/sm6150-common"
|
||||
},
|
||||
{
|
||||
"remote" : "repo.radio",
|
||||
"repository" : "donjohanliebert/vendor_xiaomi_sweet-miuicamera",
|
||||
"branch" : "udc",
|
||||
"target_path" : "vendor/xiaomi/sweet-miuicamera"
|
||||
},
|
||||
{
|
||||
"remote" : "github",
|
||||
"repository" : "pure-soul-kk/kernel_xiaomi_sm6150",
|
||||
"branch" : "LN-KSU",
|
||||
"target_path" : "kernel/xiaomi/sm6150"
|
||||
},
|
||||
{
|
||||
"remote" : "github",
|
||||
"repository" : "PixelOS-AOSP/hardware_xiaomi",
|
||||
"branch" : "fourteen",
|
||||
"target_path" : "hardware/xiaomi"
|
||||
},
|
||||
{
|
||||
"remote" : "gitlab",
|
||||
"repository" : "itsshashanksp/android_prebuilts_clang_host_linux-x86_clang-r530567",
|
||||
"branch" : "14.0",
|
||||
"target_path" : "prebuilts/clang/host/linux-x86/clang-r530567"
|
||||
}
|
||||
]
|
Loading…
Reference in New Issue
Block a user