stone: unify common and device tree to stone tree

also drop veu/peux related stuff while we're at it
This commit is contained in:
kamikaonashi
2024-05-07 20:57:13 +02:00
parent 716cae6be5
commit 2ffcba68c8
23 changed files with 1951 additions and 74 deletions

View File

@@ -6,7 +6,7 @@
LOCAL_PATH := $(call my-dir)
ifneq ($(filter moonstone peux stone sunstone veux,$(TARGET_DEVICE)),)
ifneq ($(filter moonstone stone sunstone,$(TARGET_DEVICE)),)
include $(call all-makefiles-under,$(LOCAL_PATH))

13
AndroidProducts.mk Normal file
View File

@@ -0,0 +1,13 @@
#
# Copyright (C) 2023 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/lineage_stone.mk
COMMON_LUNCH_CHOICES := \
lineage_stone-user \
lineage_stone-userdebug \
lineage_stone-eng

View File

@@ -4,7 +4,7 @@
# SPDX-License-Identifier: Apache-2.0
#
COMMON_PATH := device/xiaomi/sm6375-common
DEVICE_PATH := device/xiaomi/stone
# A/B
AB_OTA_UPDATER := true
@@ -60,8 +60,11 @@ TARGET_NO_BOOTLOADER := true
BUILD_BROKEN_DUP_RULES := true
BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := true
# Display
TARGET_SCREEN_DENSITY := 440
# Filesystem
TARGET_FS_CONFIG_GEN := $(COMMON_PATH)/configs/config.fs
TARGET_FS_CONFIG_GEN := $(DEVICE_PATH)/configs/config.fs
# FM
AUDIO_FEATURE_ENABLED_FM_POWER_OPT := true
@@ -72,6 +75,10 @@ BOARD_HAVE_QCOM_FM := true
BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE := default
LOC_HIDL_VERSION := 4.0
# Init
TARGET_INIT_VENDOR_LIB := //$(DEVICE_PATH):init_stone
TARGET_RECOVERY_DEVICE_MODULES := init_stone
# Kernel
BOARD_INCLUDE_DTB_IN_BOOTIMG := true
BOARD_KERNEL_BASE := 0x00000000
@@ -116,6 +123,9 @@ PRODUCT_COPY_FILES += \
TARGET_USES_ION := true
TARGET_DISABLED_UBWC := true
# OTA Assert
TARGET_OTA_ASSERT_DEVICE := moonstone,sunstone,stone
# Lineage Health
ifneq ($(wildcard hardware/*/interfaces/health),)
TARGET_HEALTH_CHARGING_CONTROL_SUPPORTS_BYPASS := false
@@ -123,7 +133,7 @@ TARGET_HEALTH_CHARGING_CONTROL_CHARGING_PATH := /sys/class/power_supply/battery/
TARGET_HEALTH_CHARGING_CONTROL_CHARGING_ENABLED := 0
TARGET_HEALTH_CHARGING_CONTROL_CHARGING_DISABLED := 1
BOARD_VENDOR_SEPOLICY_DIRS += $(COMMON_PATH)/sepolicy/vendor/lineage_health
BOARD_VENDOR_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/vendor/lineage_health
endif
# Partitions
@@ -172,16 +182,16 @@ BOARD_USES_QCOM_HARDWARE := true
TARGET_BOARD_PLATFORM := holi
# Properties
TARGET_ODM_PROP += $(COMMON_PATH)/properties/odm.prop
TARGET_PRODUCT_PROP += $(COMMON_PATH)/properties/product.prop
TARGET_SYSTEM_EXT_PROP += $(COMMON_PATH)/properties/system_ext.prop
TARGET_SYSTEM_PROP += $(COMMON_PATH)/properties/system.prop
TARGET_VENDOR_PROP += $(COMMON_PATH)/properties/vendor.prop
TARGET_ODM_PROP += $(DEVICE_PATH)/properties/odm.prop
TARGET_PRODUCT_PROP += $(DEVICE_PATH)/properties/product.prop
TARGET_SYSTEM_EXT_PROP += $(DEVICE_PATH)/properties/system_ext.prop
TARGET_SYSTEM_PROP += $(DEVICE_PATH)/properties/system.prop
TARGET_VENDOR_PROP += $(DEVICE_PATH)/properties/vendor.prop
# Recovery
BOARD_INCLUDE_RECOVERY_DTBO := true
BOARD_USES_RECOVERY_AS_BOOT := true
TARGET_RECOVERY_FSTAB := $(COMMON_PATH)/rootdir/etc/fstab.default
TARGET_RECOVERY_FSTAB := $(DEVICE_PATH)/rootdir/etc/fstab.default
TARGET_RECOVERY_PIXEL_FORMAT := "RGBX_8888"
TARGET_USERIMAGES_USE_EXT4 := true
TARGET_USERIMAGES_USE_F2FS := true
@@ -192,7 +202,7 @@ SOONG_CONFIG_ufsbsg += ufsframework
SOONG_CONFIG_ufsbsg_ufsframework := bsg
# Releasetools
TARGET_RELEASETOOLS_EXTENSIONS := $(COMMON_PATH)
TARGET_RELEASETOOLS_EXTENSIONS := $(DEVICE_PATH)
# RIL
ENABLE_VENDOR_RIL_SERVICE := true
@@ -202,9 +212,9 @@ VENDOR_SECURITY_PATCH := 2023-07-01
# Sepolicy
include device/qcom/sepolicy_vndr-legacy-um/SEPolicy.mk
SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += $(COMMON_PATH)/sepolicy/private
SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS += $(COMMON_PATH)/sepolicy/public
BOARD_VENDOR_SEPOLICY_DIRS += $(COMMON_PATH)/sepolicy/vendor
SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/private
SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/public
BOARD_VENDOR_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/vendor
# Verified Boot
BOARD_AVB_ENABLE := true
@@ -220,13 +230,13 @@ BOARD_AVB_RECOVERY_ROLLBACK_INDEX := $(PLATFORM_SECURITY_PATCH_TIMESTAMP)
BOARD_AVB_RECOVERY_ROLLBACK_INDEX_LOCATION := 1
# VINTF
DEVICE_MATRIX_FILE := $(COMMON_PATH)/vintf/compatibility_matrix.xml
DEVICE_MATRIX_FILE := $(DEVICE_PATH)/vintf/compatibility_matrix.xml
DEVICE_MANIFEST_FILE := \
$(COMMON_PATH)/vintf/manifest.xml \
$(COMMON_PATH)/vintf/manifest_nfc.xml
$(DEVICE_PATH)/vintf/manifest.xml \
$(DEVICE_PATH)/vintf/manifest_nfc.xml
DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE := \
$(COMMON_PATH)/vintf/framework_compatibility_matrix.xml
$(DEVICE_PATH)/vintf/framework_compatibility_matrix.xml
# WiFi
BOARD_WLAN_DEVICE := qcwcn
@@ -246,4 +256,4 @@ WPA_SUPPLICANT_VERSION := VER_0_8_X
BOARD_VNDK_VERSION := current
# Inherit the proprietary files
include vendor/xiaomi/sm6375-common/BoardConfigVendor.mk
include vendor/xiaomi/stone/BoardConfigVendor.mk

View File

@@ -1,9 +1,26 @@
# Common device tree for Xiaomi SM6375 devices
# Unified Device Tree for POCO X5 5G ( moonstone ) / Redmi Note 12 5G | Note 12R Pro ( sunstone )
```
#
# Copyright (C) 2022 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
```
## Spec Sheet
| Feature | Specification |
| :---------------------- | :-------------------------------- |
| CPU moonstone | Octa-core (2x2.2 GHz Kryo 660 Gold & 6x1.7 GHz Kryo 660 Silver) |
| CPU sunstone | Octa-core (2x2.0 GHz Cortex-A78 & 6x1.8 GHz Cortex-A55) |
| Chipset moonstone | Qualcomm SM6375 Snapdragon 695 5G (6 nm) |
| Chipset sunstone | Qualcomm SM4375 Snapdragon 4 Gen 1 (6 nm) |
| GPU | Adreno 619 |
| Memory | 4 GB / 6 GB / 8GB |
| Shipped Software | Android 12, MIUI 13 |
| Storage | 128 GB / 256 GB |
| Battery | 5000 mAh |
| Dimensions | 165.9 x 76.2 x 8 mm (6.53 x 3.00 x 0.31 in) |
| Display | 6.67 inches, 107.4 cm2 (~85.0% screen-to-body ratio) |
| Rear Camera | 48 MP, f/1.8, (wide), PDAF |
| | 8 MP, f/2.2, 118˚ (ultrawide), 1/4", 1.12µm |
| | 2 MP, f/2.4, (macro) |
| Front Camera | 13 MP, f/2.5, (wide) |
| Release Date | February 2023 |
## Device Picture
![POCO X5 5G](https://i02.appmifile.com/131_operator_sg/10/01/2023/9fdae393cbadd8414135c33edd83e5e2.png "POCO X5 5G")

View File

@@ -7,6 +7,12 @@
# Enable project quotas and casefolding for emulated storage without sdcardfs
$(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk)
PRODUCT_SHIPPING_API_LEVEL := 30
# Device uses high-density artwork where available
PRODUCT_AAPT_CONFIG := normal
PRODUCT_AAPT_PREF_CONFIG := xhdpi
# A/B
AB_OTA_POSTINSTALL_CONFIG += \
RUN_POSTINSTALL_system=true \
@@ -90,6 +96,10 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES_DEBUG += \
bootctl
# Boot animation
TARGET_SCREEN_HEIGHT := 2400
TARGET_SCREEN_WIDTH := 1080
# Camera
PRODUCT_PACKAGES += \
android.hardware.camera.provider@2.4-impl \
@@ -222,6 +232,10 @@ PRODUCT_COPY_FILES += \
PRODUCT_PACKAGES += \
IFAAService
# Init scripts
PRODUCT_PACKAGES += \
init.xiaomi.rc
# Input
PRODUCT_COPY_FILES += \
$(call find-copy-subdir-files,*,$(LOCAL_PATH)/configs/idc/,$(TARGET_COPY_OUT_SYSTEM)/usr/idc) \
@@ -270,6 +284,25 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \
android.hardware.neuralnetworks@1.3.vendor
# NFC
PRODUCT_PACKAGES += \
android.hardware.nfc@1.2-service.st \
com.android.nfc_extras \
libchrome.vendor \
NfcNci \
SecureElement \
Tag
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.nfc.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.ese.xml \
frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \
frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \
frameworks/native/data/etc/android.hardware.nfc.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.uicc.xml \
frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \
frameworks/native/data/etc/android.hardware.se.omapi.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.ese.xml \
frameworks/native/data/etc/android.hardware.se.omapi.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.uicc.xml \
frameworks/native/data/etc/com.android.nfc_extras.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.android.nfc_extras.xml
# Overlays
PRODUCT_ENFORCE_RRO_TARGETS := *
DEVICE_PACKAGE_OVERLAYS += \
@@ -506,4 +539,4 @@ PRODUCT_BOOT_JARS += \
WfdCommon
# Inherit the proprietary files
$(call inherit-product, vendor/xiaomi/sm6375-common/sm6375-common-vendor.mk)
$(call inherit-product, vendor/xiaomi/stone/stone-vendor.mk)

36
extract-files.sh Executable file → Normal file
View File

@@ -1,18 +1,20 @@
#!/bin/bash
#
# Copyright (C) 2016 The CyanogenMod Project
# Copyright (C) 2017-2020 The LineageOS Project
# Copyright (C) 2023 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
set -e
DEVICE=stone
VENDOR=xiaomi
# Load extract_utils and do some sanity checks
MY_DIR="${BASH_SOURCE%/*}"
if [[ ! -d "${MY_DIR}" ]]; then MY_DIR="${PWD}"; fi
ANDROID_ROOT="${MY_DIR}/../../.."
ANDROID_ROOT="${MY_DIR}"/../../..
HELPER="${ANDROID_ROOT}/tools/extract-utils/extract_utils.sh"
if [ ! -f "${HELPER}" ]; then
@@ -24,19 +26,8 @@ source "${HELPER}"
# Default to sanitizing the vendor folder before extraction
CLEAN_VENDOR=true
ONLY_COMMON=
ONLY_TARGET=
KANG=
SECTION=
while [ "${#}" -gt 0 ]; do
case "${1}" in
--only-common )
ONLY_COMMON=true
;;
--only-target )
ONLY_TARGET=true
;;
-n | --no-cleanup )
CLEAN_VENDOR=false
;;
@@ -58,19 +49,12 @@ if [ -z "${SRC}" ]; then
SRC="adb"
fi
if [ -z "${ONLY_TARGET}" ]; then
# Initialize the helper for common device
setup_vendor "${DEVICE_COMMON}" "${VENDOR}" "${ANDROID_ROOT}" true "${CLEAN_VENDOR}"
# Initialize the helper
setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}" true "${CLEAN_VENDOR}"
extract "${MY_DIR}/proprietary-files.txt" "${SRC}" "${KANG}" --section "${SECTION}"
fi
if [ -z "${ONLY_COMMON}" ] && [ -s "${MY_DIR}/../${DEVICE}/proprietary-files.txt" ]; then
# Reinitialize the helper for device
source "${MY_DIR}/../${DEVICE}/extract-files.sh"
setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}" false "${CLEAN_VENDOR}"
extract "${MY_DIR}/../${DEVICE}/proprietary-files.txt" "${SRC}" "${KANG}" --section "${SECTION}"
extract "${MY_DIR}/proprietary-files.txt" "${SRC}" "${KANG}" --section "${SECTION}"
if [ -s "${MY_DIR}/proprietary-files-recovery.txt" ]; then
extract "${MY_DIR}/proprietary-files-recovery.txt" "${SRC}" "${KANG}" --section "${SECTION}"
fi
"${MY_DIR}/setup-makefiles.sh"

23
init/Android.bp Normal file
View File

@@ -0,0 +1,23 @@
//
// Copyright (C) 2023 The LineageOS Project
//
// SPDX-License-Identifier: Apache-2.0
//
cc_library_static {
name: "init_stone",
srcs: ["init_stone.cpp"],
recovery_available: true,
whole_static_libs: ["libbase"],
include_dirs: [
"system/core/init",
"system/libbase/include"
]
}
prebuilt_etc {
name: "init.xiaomi.rc",
src: "init.xiaomi.rc",
sub_dir: "init/hw",
vendor: true,
}

92
init/init.xiaomi.rc Normal file
View File

@@ -0,0 +1,92 @@
#
# Copyright (C) 2022 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
on early-init
exec u:r:vendor_modprobe:s0 -- /vendor/bin/vendor_modprobe.sh
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules q6_pdr_dlkm q6_notifier_dlkm snd_event_dlkm apr_dlkm adsp_loader_dlkm q6_dlkm native_dlkm pinctrl_lpi_dlkm swr_dlkm platform_dlkm stub_dlkm wcd_core_dlkm wsa881x_analog_dlkm bolero_cdc_dlkm va_macro_dlkm rx_macro_dlkm tx_macro_dlkm bt_fm_slim wcd938x_dlkm wcd938x_slave_dlkm wcd937x_dlkm wcd937x_slave_dlkm sipa_dlkm machine_dlkm radio-i2c-rtc6226-qca cdsprm
exec u:r:vendor_qti_init_shell:s0 -- /vendor/bin/init.qti.early_init.sh
setprop ro.soc.model ${ro.vendor.qti.soc_model}
wait /sys/devices/soc0/soc_id
on init
chmod 666 /sys/module/camera/drivers/platform:CAM-FLASH-DRIVER/5c1b000.qcom,cci0:qcom,camera-flash@0/ktd2691_flash
# Fingerprint
on boot
#goodix fp
chmod 0666 /dev/goodix_fp
chown system system /dev/goodix_fp
mkdir /data/vendor/goodix 0777 system system
mkdir /data/vendor_de/0/goodix 0770 system system
#fpc fingerprint
chown system system /sys/bus/platform/devices/soc:fpc1020/hw_reset
chown system system /sys/bus/platform/devices/soc:fpc1020/irq
chown system system /sys/bus/platform/devices/soc:fpc1020/wakeup_enable
chown system system /sys/bus/platform/devices/soc:fpc1020/regulator_enable
chown system system /sys/bus/platform/devices/soc:fpc1020/compatible_all
chown system system /sys/bus/platform/devices/soc:fpc1020/fingerdown_wait
chmod 0644 /sys/bus/platform/devices/soc:fpc1020/hw_reset
chmod 0644 /sys/bus/platform/devices/soc:fpc1020/irq
chmod 0644 /sys/bus/platform/devices/soc:fpc1020/wakeup_enable
chmod 0644 /sys/bus/platform/devices/soc:fpc1020/regulator_enable
chmod 0644 /sys/bus/platform/devices/soc:fpc1020/compatible_all
chmod 0644 /sys/bus/platform/devices/soc:fpc1020/fingerdown_wait
#for touchscreen
chown system system /sys/bus/i2c/drivers/fts_ts/2-0038/fts_edge_mode
chmod 0666 /sys/bus/i2c/drivers/fts_ts/2-0038/fts_edge_mode
chown system system /sys/bus/i2c/devices/2-0038/fts_charger_mode
chmod 0666 /sys/bus/i2c/devices/2-0038/fts_charger_mode
chown system system /sys/bus/i2c/devices/2-0038/fts_rw_reg
chmod 0666 /sys/bus/i2c/devices/2-0038/fts_rw_reg
# for thermal
chmod 0777 /sys/class/power_supply/bq25890_charger/constant_charge_current_max
chmod 0777 /sys/bus/coresight/devices/coresight-tmc-etr/block_size
chmod 0777 /dev/byte-cntr
# IR
chown system system /dev/lirc0
chmod 0666 /dev/lirc0
# HBM/AOD
chmod 0777 /sys/class/drm/card0-DSI-1/disp_param
chmod 0777 /sys/class/drm/card0-DSI-1/mipi_reg
# touch
chown system system /sys/class/touch/touch_dev/palm_sensor
chmod 0664 /sys/class/touch/touch_dev/palm_sensor
on property:sys.tp.grip_enable=0
write /sys/devices/platform/soc/4c88000.i2c/i2c-2/2-0038/fts_edge_mode 0
on property:sys.tp.grip_enable=90
write /sys/devices/platform/soc/4c88000.i2c/i2c-2/2-0038/fts_edge_mode 1
on property:sys.tp.grip_enable=270
write /sys/devices/platform/soc/4c88000.i2c/i2c-2/2-0038/fts_edge_mode 2
# NFC
on post-fs-data
mkdir /data/vendor/nfc 0770 nfc nfc
service stflashtool /vendor/bin/STFlashTool
class late_start
group nfc
user nfc
oneshot
on boot
start nfc_hal_service
on post-fs
start stflashtool
on property:ro.boot.hwname=*
setprop ro.boot.product.hardware.sku ${ro.boot.hwname}

136
init/init_stone.cpp Normal file
View File

@@ -0,0 +1,136 @@
/*
* Copyright (C) 2023 Paranoid Android
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <android-base/properties.h>
#include <sys/sysinfo.h>
#include <cstdlib>
#include <cstring>
#include <vector>
#define _REALLY_INCLUDE_SYS__SYSTEM_PROPERTIES_H_
#include <sys/_system_properties.h>
#include "property_service.h"
#include "vendor_init.h"
using android::base::GetProperty;
// list of partitions to override props
std::vector<std::string> ro_props_default_source_order = {
"", "odm.", "odm_dlkm.", "product.", "system.", "system_ext.", "vendor.", "vendor_dlkm.",
};
void property_override(char const prop[], char const value[], bool add = true) {
auto pi = (prop_info *)__system_property_find(prop);
if (pi != nullptr) {
__system_property_update(pi, value, strlen(value));
} else if (add) {
__system_property_add(prop, strlen(prop), value, strlen(value));
}
}
void set_ro_build_prop(const std::string &source, const std::string &prop,
const std::string &value, bool product = false) {
std::string prop_name;
if (product) {
prop_name = "ro.product." + source + prop;
} else {
prop_name = "ro." + source + "build." + prop;
}
property_override(prop_name.c_str(), value.c_str(), true);
}
void set_device_props(const std::string fingerprint, const std::string description,
const std::string brand, const std::string device, const std::string model, const std::string mod_device) {
for (const auto &source : ro_props_default_source_order) {
set_ro_build_prop(source, "fingerprint", fingerprint);
set_ro_build_prop(source, "brand", brand, true);
set_ro_build_prop(source, "device", device, true);
set_ro_build_prop(source, "model", model, true);
}
property_override("ro.build.fingerprint", fingerprint.c_str());
property_override("ro.build.description", description.c_str());
property_override("ro.product.mod_device", mod_device.c_str());
property_override("bluetooth.device.default_name", model.c_str());
}
void load_device_properties() {
// Detect variant and override properties
std::string hwname = GetProperty("ro.boot.hwname", "");
std::string hwversion = GetProperty("ro.boot.hwversion", "");
if (hwname == "moonstone") {
set_device_props(
"POCO/moonstone_p_global/moonstone:13/TKQ1.221114.001/V14.0.5.0.TMPMIXM:user/release-keys",
"qssi-user 13 TKQ1.221114.001 V14.0.5.0.TMPMIXM release-keys", "moonstone_global", "POCO", "moonstone",
"POCO X5 5G");
} else if (hwname == "sunstone") {
set_device_props(
"Redmi/sunstone/sunstone:13/TKQ1.221013.002/V14.0.5.0.TMQMIXM:user/release-keys",
"qssi-user 13 TKQ1.221114.001 V14.0.5.0.TMQMIXM release-keys", "sunstone_global", "Redmi", "sunstone",
"Redmi Note 12 5G");
}
property_override("vendor.boot.hwversion", hwversion.c_str());
property_override("ro.boot.product.hardware.sku", hwname.c_str());
}
void load_dalvik_properties() {
char const *heapstartsize;
char const *heapgrowthlimit;
char const *heapsize;
char const *heapminfree;
char const *heapmaxfree;
char const *heaptargetutilization;
struct sysinfo sys;
sysinfo(&sys);
if (sys.totalram >= 5ull * 1024 * 1024 * 1024) {
// from - phone-xhdpi-6144-dalvik-heap.mk
heapstartsize = "16m";
heapgrowthlimit = "256m";
heapsize = "512m";
heaptargetutilization = "0.5";
heapminfree = "8m";
heapmaxfree = "32m";
} else if (sys.totalram >= 3ull * 1024 * 1024 * 1024) {
// from - phone-xhdpi-4096-dalvik-heap.mk
heapstartsize = "8m";
heapgrowthlimit = "192m";
heapsize = "512m";
heaptargetutilization = "0.6";
heapminfree = "8m";
heapmaxfree = "16m";
} else {
return;
}
property_override("dalvik.vm.heapstartsize", heapstartsize);
property_override("dalvik.vm.heapgrowthlimit", heapgrowthlimit);
property_override("dalvik.vm.heapsize", heapsize);
property_override("dalvik.vm.heaptargetutilization", heaptargetutilization);
property_override("dalvik.vm.heapminfree", heapminfree);
property_override("dalvik.vm.heapmaxfree", heapmaxfree);
}
void vendor_load_properties() {
load_dalvik_properties();
load_device_properties();
}

28
lineage_stone.mk Normal file
View File

@@ -0,0 +1,28 @@
#
# Copyright (C) 2022 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Inherit from those products. Most specific first.
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
# Inherit some common Lineage stuff.
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
# Inherit from stone device
$(call inherit-product, device/xiaomi/stone/device.mk)
PRODUCT_NAME := lineage_stone
PRODUCT_DEVICE := stone
PRODUCT_MANUFACTURER := Xiaomi
PRODUCT_BRAND := Xiaomi
PRODUCT_MODEL := holi
PRODUCT_GMS_CLIENTID_BASE := android-xiaomi
PRODUCT_BUILD_PROP_OVERRIDES += \
PRIVATE_BUILD_DESC="moonstone-user 13 TKQ1.221114.001 V14.0.5.0.TMPMIXM release-keys"
BUILD_FINGERPRINT := POCO/moonstone_p_global/moonstone:13/TKQ1.221114.001/V14.0.5.0.TMPMIXM:user/release-keys

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2021 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources>
<!-- Max visible notification icons -->
<integer name="config_maxVisibleNotificationIcons">6</integer>
<integer name="config_maxVisibleNotificationIconsWhenDark">7</integer>
<!-- Whether usage of the proximity sensor during doze is supported -->
<bool name="doze_proximity_sensor_supported">false</bool>
</resources>

View File

@@ -44,6 +44,9 @@
<!-- Whether device has screen with higher aspect ratio -->
<bool name="config_haveHigherAspectRatioScreen">true</bool>
<!-- Whether device has a notch -->
<bool name="config_haveNotch">true</bool>
<!-- Defines the actions shown in advanced reboot submenu -->
<string-array name="config_restartActionsList">
<item>restart</item>

View File

@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: 2022 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources>
<!-- Enable auxiliary cameras selector. -->
<bool name="config_enableAuxCameras">true</bool>
<!-- List of ID of auxiliary cameras that must be ignored by the app. -->
<string-array name="config_ignoredAuxCameraIds">
<item>5</item>
<item>61</item>
<item>100</item>
<item>101</item>
</string-array>
<!-- An array of triplets made of (camera ID, qualities, framerates).
These video modes will be added to the available
quality/framerate combinations of a camera device.
Make sure the device is able to handle those configurations
and maintain a stable framerate at any condition.
Note that you can't add video qualities that aren't
exposed by the camera, only new framerates.
Valid values of resolution are:
- "sd" (480p)
- "hd" (720p)
- "fhd" (1080p)
- "uhd" (2160p)
Valid values of framerate are:
- "24"
- "30"
- "60"
- "120"
Example:
<string-array name="config_additionalVideoConfigurations">
<item>0</item> <item>sd|hd|fhd</item> <item>60|120</item>
<item>1</item> <item>sd|hd|fhd</item> <item>60</item>
</string-array>
-->
<string-array name="config_additionalVideoConfigurations">
<item>0</item> <item>sd|hd|fhd</item> <item>30</item>
<item>1</item> <item>sd|hd|fhd</item> <item>30</item>
<item>21</item> <item>sd|hd|fhd</item> <item>30</item>
<item>22</item> <item>sd|hd|fhd</item> <item>30</item>
</string-array>
</resources>

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2021 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Defines the location of the fingerprint sensor on the device
0 = back
1 = front
2 = left side
3 = right side
-->
<integer name="config_fingerprintSensorLocation">3</integer>
</resources>

View File

@@ -15,6 +15,506 @@
for different hardware and product builds. Do not translate. -->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Flag indicating whether the we should enable the automatic brightness in Settings.
Software implementation will be used if config_hardware_auto_brightness_available is not set -->
<bool name="config_automatic_brightness_available">true</bool>
<!-- Array of light sensor lux values to define our levels for auto backlight brightness support.
The N entries of this array define N + 1 control points as follows:
(1-based arrays)
Point 1: (0, value[1]): lux <= 0
Point 2: (level[1], value[2]): 0 < lux <= level[1]
Point 3: (level[2], value[3]): level[2] < lux <= level[3]
...
Point N+1: (level[N], value[N+1]): level[N] < lux
The control points must be strictly increasing. Each control point
corresponds to an entry in the brightness backlight values arrays.
For example, if lux == level[1] (first element of the levels array)
then the brightness will be determined by value[2] (second element
of the brightness values array).
Spline interpolation is used to determine the auto-brightness
backlight values for lux levels between these control points.
Must be overridden in platform specific overlays -->
<array name="config_autoBrightnessLevels">
<item>1</item>
<item>2</item>
<item>4</item>
<item>6</item>
<item>8</item>
<item>10</item>
<item>15</item>
<item>20</item>
<item>25</item>
<item>30</item>
<item>35</item>
<item>40</item>
<item>45</item>
<item>50</item>
<item>55</item>
<item>60</item>
<item>65</item>
<item>70</item>
<item>75</item>
<item>80</item>
<item>85</item>
<item>90</item>
<item>95</item>
<item>100</item>
<item>120</item>
<item>140</item>
<item>160</item>
<item>180</item>
<item>200</item>
<item>220</item>
<item>240</item>
<item>260</item>
<item>280</item>
<item>300</item>
<item>320</item>
<item>340</item>
<item>360</item>
<item>380</item>
<item>400</item>
<item>420</item>
<item>440</item>
<item>460</item>
<item>480</item>
<item>500</item>
<item>700</item>
<item>900</item>
<item>1100</item>
<item>1300</item>
<item>1500</item>
<item>1700</item>
<item>1900</item>
<item>2000</item>
<item>2500</item>
<item>3000</item>
<item>3500</item>
<item>4000</item>
<item>4500</item>
<item>5000</item>
<item>5500</item>
<item>6000</item>
<item>6500</item>
<item>7000</item>
<item>7500</item>
<item>8000</item>
<item>8500</item>
<item>9000</item>
<item>9500</item>
<item>10000</item>
<item>10500</item>
<item>11000</item>
<item>11500</item>
<item>12000</item>
<item>12500</item>
<item>13000</item>
<item>13500</item>
<item>14000</item>
<item>14500</item>
<item>15000</item>
<item>16000</item>
<item>17000</item>
<item>18000</item>
<item>19000</item>
<item>20000</item>
<item>21000</item>
<item>22000</item>
<item>23000</item>
<item>24000</item>
<item>25000</item>
<item>26000</item>
<item>27000</item>
<item>28000</item>
<item>29000</item>
<item>30000</item>
<item>35000</item>
<item>40000</item>
<item>45000</item>
<item>50000</item>
<item>55000</item>
<item>60000</item>
<item>65000</item>
<item>70000</item>
<item>75000</item>
<item>80000</item>
<item>85000</item>
<item>90000</item>
<item>95000</item>
<item>100000</item>
</array>
<!-- Array of desired screen brightness in nits corresponding to the lux values
in the config_autoBrightnessLevels array. As with config_screenBrightnessMinimumNits and
config_screenBrightnessMaximumNits, the display brightness is defined as the measured
brightness of an all-white image.
If this is defined then:
- config_autoBrightnessLcdBacklightValues should not be defined
- config_screenBrightnessNits must be defined
- config_screenBrightnessBacklight must be defined
This array should have size one greater than the size of the config_autoBrightnessLevels
array. The brightness values must be non-negative and non-decreasing. This must be
overridden in platform specific overlays -->
<array name="config_autoBrightnessDisplayValuesNits">
<item>3.5</item>
<item>4.3</item>
<item>5.0</item>
<item>17.0</item>
<item>24.0</item>
<item>31.0</item>
<item>34.0</item>
<item>46.0</item>
<item>59.0</item>
<item>76.0</item>
<item>81.0</item>
<item>82.0</item>
<item>82.0</item>
<item>82.0</item>
<item>83.0</item>
<item>83.0</item>
<item>83.0</item>
<item>84.0</item>
<item>84.0</item>
<item>85.0</item>
<item>85.0</item>
<item>85.0</item>
<item>85.0</item>
<item>86.0</item>
<item>86.0</item>
<item>87.0</item>
<item>89.0</item>
<item>90.0</item>
<item>91.0</item>
<item>93.0</item>
<item>94.0</item>
<item>96.0</item>
<item>97.0</item>
<item>99.0</item>
<item>100.0</item>
<item>101.0</item>
<item>104.0</item>
<item>105.0</item>
<item>106.0</item>
<item>108.0</item>
<item>109.0</item>
<item>111.0</item>
<item>112.0</item>
<item>114.0</item>
<item>116.0</item>
<item>137.0</item>
<item>157.0</item>
<item>180.0</item>
<item>205.0</item>
<item>226.0</item>
<item>257.0</item>
<item>280.0</item>
<item>295.0</item>
<item>369.0</item>
<item>400.0</item>
<item>416.7</item>
<item>433.3</item>
<item>450.0</item>
<item>466.7</item>
<item>483.3</item>
<item>500.0</item>
<item>512.5</item>
<item>525.0</item>
<item>537.5</item>
<item>550.0</item>
<item>562.5</item>
<item>575.0</item>
<item>587.5</item>
<item>600.0</item>
<item>610.0</item>
<item>620.0</item>
<item>630.0</item>
<item>640.0</item>
<item>650.0</item>
<item>660.0</item>
<item>670.0</item>
<item>680.0</item>
<item>690.0</item>
<item>700.0</item>
<item>705.0</item>
<item>710.0</item>
<item>715.0</item>
<item>720.0</item>
<item>725.0</item>
<item>730.0</item>
<item>735.0</item>
<item>740.0</item>
<item>745.0</item>
<item>750.0</item>
<item>755.0</item>
<item>760.0</item>
<item>765.0</item>
<item>770.0</item>
<item>775.0</item>
<item>800.0</item>
<item>816.7</item>
<item>833.3</item>
<item>850.0</item>
<item>866.7</item>
<item>883.3</item>
<item>900.0</item>
<item>914.3</item>
<item>928.6</item>
<item>942.9</item>
<item>957.1</item>
<item>971.4</item>
<item>985.7</item>
<item>1000.0</item>
</array>
<!-- An array of floats describing the screen brightness in nits corresponding to the backlight
values in the config_screenBrightnessBacklight array. On OLED displays these values
should be measured with an all white image while the display is in the fully on state.
Note that this value should *not* reflect the maximum brightness value for any high
brightness modes but only the maximum brightness value obtainable in a sustainable manner.
This array should be equal in size to config_screenBrightnessBacklight -->
<array name="config_screenBrightnessNits">
<item>4.5</item>
<item>1000</item>
</array>
<!-- An array describing the screen's backlight values corresponding to the brightness
values in the config_screenBrightnessNits array.
This array should be equal in size to config_screenBrightnessBacklight. -->
<array name="config_screenBrightnessBacklight">
<item>1</item>
<item>255</item>
</array>
<!-- Stability requirements in milliseconds for accepting a new brightness level. This is used
for debouncing the light sensor. Different constants are used to debounce the light sensor
when adapting to brighter or darker environments. This parameter controls how quickly
brightness changes occur in response to an observed change in light level that exceeds the
hysteresis threshold. -->
<integer name="config_autoBrightnessBrighteningLightDebounce">1000</integer>
<integer name="config_autoBrightnessDarkeningLightDebounce">1000</integer>
<!-- Screen brightness used to dim the screen when the user activity
timeout expires. May be less than the minimum allowed brightness setting
that can be set by the user. -->
<integer name="config_screenBrightnessDim">13</integer>
<!-- The maximum range of gamma adjustment possible using the screen
auto-brightness adjustment setting. -->
<fraction name="config_autoBrightnessAdjustmentMaxGamma">100%</fraction>
<!-- Minimum screen brightness setting allowed by power manager.
The user is forbidden from setting the brightness below this level.
Equivalent to 17/4095. -->
<item name="config_screenBrightnessSettingMinimumFloat" format="float" type="dimen">0.00415140415</item>
<!-- Maximum screen brightness allowed by the power manager.
The user is forbidden from setting the brightness above this level. -->
<item name="config_screenBrightnessSettingMaximumFloat" format="float" type="dimen">1.0</item>
<!-- Default screen brightness setting
Must be in the range specified by minimum and maximum.
Equivalent to 67/255 (default for this device) -->
<item name="config_screenBrightnessSettingDefaultFloat" format="float" type="dimen">0.26274509804</item>
<!-- Array of ambient lux threshold values. This is used for determining hysteresis constraint
values by calculating the index to use for lookup and then setting the constraint value
to the corresponding value of the array. The new brightening hysteresis constraint value
is the n-th element of config_ambientBrighteningThresholds, and the new darkening
hysteresis constraint value is the n-th element of config_ambientDarkeningThresholds.
The (zero-based) index is calculated as follows: (MAX is the largest index of the array)
condition calculated index
value < level[0] 0
level[n] <= value < level[n+1] n+1
level[MAX] <= value MAX+1 -->
<integer-array name="config_ambientThresholdLevels">
<item>2</item>
<item>10</item>
<item>30</item>
<item>100</item>
<item>800</item>
<item>2000</item>
<item>4000</item>
</integer-array>
<!-- Array of hysteresis constraint values for brightening, represented as tenths of a
percent. The length of this array is assumed to be one greater than
config_ambientThresholdLevels. The brightening threshold is calculated as
lux * (1.0f + CONSTRAINT_VALUE). When the current lux is higher than this threshold,
the screen brightness is recalculated. See the config_ambientThresholdLevels
description for how the constraint value is chosen. -->
<integer-array name="config_ambientBrighteningThresholds">
<item>2</item>
<item>5</item>
<item>10</item>
<item>30</item>
<item>100</item>
<item>400</item>
<item>600</item>
<item>1000</item>
</integer-array>
<!-- Array of hysteresis constraint values for darkening, represented as tenths of a
percent. The length of this array is assumed to be one greater than
config_ambientThresholdLevels. The darkening threshold is calculated as
lux * (1.0f - CONSTRAINT_VALUE). When the current lux is lower than this threshold,
the screen brightness is recalculated. See the config_ambientThresholdLevels
description for how the constraint value is chosen. -->
<integer-array name="config_ambientDarkeningThresholds">
<item>800</item>
<item>800</item>
<item>500</item>
<item>500</item>
<item>500</item>
<item>500</item>
<item>500</item>
<item>500</item>
</integer-array>
<!-- Array of hysteresis constraint values for brightening, represented as tenths of a
percent. The length of this array is assumed to be one greater than
config_screenThresholdLevels. The brightening threshold is calculated as
screenBrightness * (1.0f + CONSTRAINT_VALUE). When the new screen brightness is higher
than this threshold, it is applied. See the config_screenThresholdLevels description for
how the constraint value is chosen. -->
<integer-array name="config_screenBrighteningThresholds">
<item>0</item>
</integer-array>
<!-- Array of hysteresis constraint values for darkening, represented as tenths of a
percent. The length of this array is assumed to be one greater than
config_screenThresholdLevels. The darkening threshold is calculated as
screenBrightness * (1.0f - CONSTRAINT_VALUE). When the new screen brightness is lower than
this threshold, it is applied. See the config_screenThresholdLevels description for how
the constraint value is chosen. -->
<integer-array name="config_screenDarkeningThresholds">
<item>0</item>
</integer-array>
<!-- Indicate available ColorDisplayManager.COLOR_MODE_xxx. -->
<integer-array name="config_availableColorModes">
<item>0</item> <!-- COLOR_MODE_NATURAL -->
<item>1</item> <!-- COLOR_MODE_BOOSTED -->
<item>3</item> <!-- COLOR_MODE_AUTOMATIC -->
</integer-array>
<!-- Color mode to use when accessibility transforms are enabled. This color mode must be
supported by the device, but not necessarily appear in config_availableColorModes. The
regularly selected color mode will be used if this value is negative. -->
<integer name="config_accessibilityColorMode">2</integer>
<!-- The following two arrays specify which color space to use for display composition when a
certain color mode is active.
Composition color spaces are defined in android.view.Display.COLOR_MODE_xxx, and color
modes are defined in ColorDisplayManager.COLOR_MODE_xxx and
ColorDisplayManager.VENDOR_COLOR_MODE_xxx.
The color space COLOR_MODE_DEFAULT (0) lets the system select the most appropriate
composition color space for currently displayed content. Other values (e.g.,
COLOR_MODE_SRGB) override system selection; these other color spaces must be supported by
the device for for display composition.
If a color mode does not have a corresponding color space specified in this array, the
currently set composition color space will not be modified.-->
<integer-array name="config_displayCompositionColorModes">
<item>0</item> <!-- COLOR_MODE_NATURAL -->
<item>1</item> <!-- COLOR_MODE_BOOSTED -->
<item>2</item> <!-- COLOR_MODE_SATURATED -->
<item>3</item> <!-- COLOR_MODE_AUTOMATIC -->
</integer-array>
<integer-array name="config_displayCompositionColorSpaces">
<item>0</item> <!-- COLOR_MODE_DEFAULT -->
<item>0</item> <!-- COLOR_MODE_DEFAULT -->
<item>0</item> <!-- COLOR_MODE_DEFAULT -->
<item>9</item> <!-- COLOR_MODE_DISPLAY_P3 -->
</integer-array>
<!-- Whether or not wcg mode should be enabled on this device -->
<bool name="config_enableWcgMode">true</bool>
<!-- Vibrator pattern for feedback about a long screen/key press -->
<integer-array name="config_longPressVibePattern">
<item>0</item>
<item>10</item>
</integer-array>
<!-- Vibrator pattern for feedback about touching a virtual key -->
<integer-array name="config_virtualKeyVibePattern">
<item>0</item>
<item>10</item>
</integer-array>
<!-- Vibrator pattern for a very short but reliable vibration for soft keyboard tap -->
<integer-array name="config_keyboardTapVibePattern">
<item>10</item>
</integer-array>
<!-- The bounding path of the cutout region of the main built-in display.
Must either be empty if there is no cutout region, or a string that is parsable by
{@link android.util.PathParser}.
The path is assumed to be specified in display coordinates with pixel units and in
the display's native orientation, with the origin of the coordinate system at the
center top of the display.
To facilitate writing device-independent emulation overlays, the marker `@dp` can be
appended after the path string to interpret coordinates in dp instead of px units.
Note that a physical cutout should be configured in pixels for the best results.
Example for a 10px x 10px square top-center cutout:
<string ...>M -5,0 L -5,10 L 5,10 L 5,0 Z</string>
Example for a 10dp x 10dp square top-center cutout:
<string ...>M -5,0 L -5,10 L 5,10 L 5,0 Z @dp</string>
@see https://www.w3.org/TR/SVG/paths.html#PathData
-->
<string name="config_mainBuiltInDisplayCutout">M 559,65 A 19,19 0 0 1 540,83 19,19 0 0 1 521,65 19,19 0 0 1 540,46 19,19 0 0 1 559,65 Z @left</string>
<!-- Whether device has a physical display cutout -->
<bool name="config_physicalDisplayCutout">true</bool>
<!-- The default refresh rate. Moonstone manages this using the peak refresh rate setting, so set
this value to 0 so it has no effect. -->
<integer name="config_defaultRefreshRate">0</integer>
<!-- The default peak refresh rate. -->
<integer name="config_defaultPeakRefreshRate">120</integer>
<bool name="config_dozeAlwaysOnDisplayAvailable">true</bool>
<bool name="config_dozeAlwaysOnEnabled">true</bool>
<!-- If true, the display will be shifted around in ambient mode. -->
<bool name="config_enableBurnInProtection">true</bool>
<!-- Enable burn protection in status bar -->
<bool name="config_statusBarBurnInProtection">true</bool>
<!-- Specifies the maximum burn-in offset displacement from the center. If -1, no maximum value
will be used. -->
<integer name="config_burnInProtectionMaxRadius">70</integer>
<!-- Specifies the minimum burn-in offset horizontally. -->
<integer name="config_burnInProtectionMinHorizontalOffset">-15</integer>
<!-- Specifies the maximum burn-in offset horizontally. -->
<integer name="config_burnInProtectionMaxHorizontalOffset">15</integer>
<!-- Specifies the minimum burn-in offset vertically. -->
<integer name="config_burnInProtectionMinVerticalOffset">-40</integer>
<!-- Specifies the maximum burn-in offset vertically. -->
<integer name="config_burnInProtectionMaxVerticalOffset">40</integer>
<!-- Indicates whether device has a power button fingerprint sensor. -->
<bool name="config_is_powerbutton_fps" translatable="false" >true</bool>
<!-- An array of arrays of side fingerprint sensor properties relative to each display.
Note: this value is temporary and is expected to be queried directly
from the HAL in the future. -->
<array name="config_sfps_sensor_props" translatable="false">
<item>@array/config_sfps_sensor_props_0</item>
</array>
<array name="config_sfps_sensor_props_0" translatable="false">
<item></item> <!--item>displayId</item-->
<item>1080</item> <!--item>sensorLocationX</item-->
<item>920</item> <!--item>sensorLocationY</item-->
<item>200</item> <!--item>sensorRadius</item-->
</array>
<!-- If this is true, the screen will come on when you unplug usb/power/whatever. -->
<bool name="config_unplugTurnsOnScreen">true</bool>

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/* //device/apps/common/assets/res/any/dimens.xml
**
** Copyright 2006, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<dimen name="rounded_corner_radius">104.0px</dimen>
<dimen name="status_bar_height_portrait">110.0px</dimen>
<dimen name="status_bar_height_landscape">28dp</dimen>
</resources>

View File

@@ -0,0 +1,71 @@
<?xml version="1.0" encoding="utf-8"?>
<device
name="Android">
<item name="ambient.on.display0">0.1</item>
<item name="screen.on.display0">0.1</item>
<item name="screen.full.display0">0.1</item>
<item name="bluetooth.active">0.1</item>
<item name="bluetooth.on">0.1</item>
<item name="wifi.on">0.1</item>
<item name="wifi.active">0.1</item>
<item name="wifi.scan">0.1</item>
<item name="audio">0.1</item>
<item name="video">0.1</item>
<item name="camera.flashlight">0.1</item>
<item name="camera.avg">0.1</item>
<item name="gps.on">0.1</item>
<item name="radio.active">0.1</item>
<item name="radio.scanning">0.1</item>
<array name="radio.on">
<value>0.2</value>
<value>0.1</value>
</array>
<array name="cpu.active">
<value>0.1</value>
</array>
<array name="cpu.clusters.cores">
<value>1</value>
</array>
<array name="cpu.speeds.cluster0">
<value>400000</value>
</array>
<array name="cpu.active.cluster0">
<value>0.1</value>
</array>
<item name="cpu.idle">0.1</item>
<array name="memory.bandwidths">
<value>22.7</value>
</array>
<item name="battery.capacity">5000</item>
<item name="wifi.controller.idle">0</item>
<item name="wifi.controller.rx">0</item>
<item name="wifi.controller.tx">0</item>
<array name="wifi.controller.tx_levels" />
<item name="wifi.controller.voltage">0</item>
<array name="wifi.batchedscan">
<value>.0002</value>
<value>.002</value>
<value>.02</value>
<value>.2</value>
<value>2</value>
</array>
<modem>
<sleep>0</sleep>
<idle>0</idle>
<active rat="DEFAULT">
<receive>0</receive>
<transmit level="0">0</transmit>
<transmit level="1">0</transmit>
<transmit level="2">0</transmit>
<transmit level="3">0</transmit>
<transmit level="4">0</transmit>
</active>
</modem>
<item name="modem.controller.voltage">0</item>
<array name="gps.signalqualitybased">
<value>0</value>
<value>0</value>
</array>
<item name="gps.voltage">0</item>
<item name="bluetooth.controller.voltage">3700</item>
</device>

View File

@@ -21,6 +21,15 @@
for different hardware and product builds. -->
<resources>
<!-- Whether usage of the proximity sensor during doze is supported -->
<bool name="doze_proximity_sensor_supported">false</bool>
<!-- Doze: check proximity sensor before pulsing? -->
<bool name="doze_proximity_check_before_pulse">false</bool>
<!-- If not zero, limits the internal screen recorder's framerate to the set value. -->
<integer name="config_screenRecorderMaxFramerate">60</integer>
<!-- Doze: does this device support STATE_DOZE? -->
<bool name="doze_display_state_supported">false</bool>

View File

@@ -0,0 +1,55 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright (c) 2006, The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<resources>
<!-- Location on the screen of the center of the fingerprint sensor. For devices with under
display fingerprint sensors, this directly corresponds to the fingerprint sensor's location.
For devices with sensors on the back of the device, this corresponds to the location on the
screen directly in front of the sensor.
By default, this is set to @null to use the horizontal center of the screen. -->
<dimen name="physical_fingerprint_sensor_center_screen_location_x">1080px</dimen>
<!-- Location on the screen of the center of the physical power button. This is a reasonable
default that should be overridden by device-specific overlays. -->
<dimen name="physical_power_button_center_screen_location_y">1030px</dimen>
<!-- Location on the screen of the center of the fingerprint sensor. For devices with under
display fingerprint sensors, this directly corresponds to the fingerprint sensor's location.
For devices with sensors on the back of the device, this corresponds to the location on the
screen directly in front of the sensor. -->
<dimen name="physical_fingerprint_sensor_center_screen_location_y">@dimen/physical_power_button_center_screen_location_y</dimen>
<!-- the padding on the top of the statusbar (usually 0) -->
<dimen name="status_bar_padding_top">8dp</dimen>
<!-- the padding on the start of the statusbar -->
<dimen name="status_bar_padding_start">16dp</dimen>
<!-- the padding on the end of the statusbar -->
<dimen name="status_bar_padding_end">5dp</dimen>
<!-- Margin on the left side of the carrier text on Keyguard -->
<dimen name="keyguard_carrier_text_margin">25dp</dimen>
<!-- Margin on the right side of the system icon group on Keyguard. -->
<dimen name="system_icons_keyguard_padding_end">8dp</dimen>
<!-- rounded corner content padding -->
<dimen name="rounded_corner_content_padding">8dp</dimen>
</resources>

View File

@@ -30,4 +30,8 @@
should be either LOW (1) or HIGH (3).
-->
<integer name="config_vibration_supported_intensity_levels">2</integer>
<!-- Whether to show Smooth Display feature in Settings Options -->
<bool name="config_show_smooth_display">true</bool>
</resources>

View File

@@ -1,4 +1,5 @@
# Audio
persist.sys.audio.para_version=M17-Audiopara-global-V20-20230609
vendor.audio_hal.period_size=192
persist.vendor.audio.ambisonic.capture=false
persist.vendor.audio.ambisonic.auto.profile=false
@@ -224,6 +225,8 @@ debug.sf.hw=0
debug.sf.predict_hwc_composition_strategy=0
debug.sf.treat_170m_as_sRGB=1
persist.sys.sf.color_saturation=1.0
persist.sys.sf.color_mode=0
persist.sys.sf.native_mode=0
ro.hardware.egl=adreno
ro.hardware.vulkan=adreno
ro.opengles.version=196610
@@ -263,6 +266,7 @@ debug.stagefright.omx_default_rank=0
# NFC
ro.vendor.se.type=HCE,UICC
ro.vendor.nfc.repair=1
# Radio
keyguard.no_require_sim=true

View File

@@ -1,5 +1,799 @@
# All unpinned blobs below are extracted from miui_MOONSTONEGlobal_V14.0.4.0.TMPMIXM_b496aa7124_13.0
# ACDB
vendor/etc/acdbdata/MTP/holi-mtpsku1-snd-card/MTP_SKU1_Bluetooth_cal.acdb
vendor/etc/acdbdata/MTP/holi-mtpsku1-snd-card/MTP_SKU1_General_cal.acdb
vendor/etc/acdbdata/MTP/holi-mtpsku1-snd-card/MTP_SKU1_Global_cal.acdb
vendor/etc/acdbdata/MTP/holi-mtpsku1-snd-card/MTP_SKU1_Handset_cal.acdb
vendor/etc/acdbdata/MTP/holi-mtpsku1-snd-card/MTP_SKU1_Hdmi_cal.acdb
vendor/etc/acdbdata/MTP/holi-mtpsku1-snd-card/MTP_SKU1_Headset_cal.acdb
vendor/etc/acdbdata/MTP/holi-mtpsku1-snd-card/MTP_SKU1_Speaker_cal.acdb
vendor/etc/acdbdata/MTP/holi-mtpsku1-snd-card/MTP_SKU1_workspaceFile.qwsp
vendor/etc/acdbdata/MTP/MTP_Bluetooth_cal.acdb
vendor/etc/acdbdata/MTP/MTP_General_cal.acdb
vendor/etc/acdbdata/MTP/MTP_Global_cal.acdb
vendor/etc/acdbdata/MTP/MTP_Handset_cal.acdb
vendor/etc/acdbdata/MTP/MTP_Hdmi_cal.acdb
vendor/etc/acdbdata/MTP/MTP_Headset_cal.acdb
vendor/etc/acdbdata/MTP/MTP_Speaker_cal.acdb
vendor/etc/acdbdata/MTP/MTP_workspaceFile.qwsp
vendor/etc/acdbdata/QRD/holi-qrdsku1-snd-card/QRD_SKU1_Bluetooth_cal.acdb
vendor/etc/acdbdata/QRD/holi-qrdsku1-snd-card/QRD_SKU1_General_cal.acdb
vendor/etc/acdbdata/QRD/holi-qrdsku1-snd-card/QRD_SKU1_Global_cal.acdb
vendor/etc/acdbdata/QRD/holi-qrdsku1-snd-card/QRD_SKU1_Handset_cal.acdb
vendor/etc/acdbdata/QRD/holi-qrdsku1-snd-card/QRD_SKU1_Hdmi_cal.acdb
vendor/etc/acdbdata/QRD/holi-qrdsku1-snd-card/QRD_SKU1_Headset_cal.acdb
vendor/etc/acdbdata/QRD/holi-qrdsku1-snd-card/QRD_SKU1_Speaker_cal.acdb
vendor/etc/acdbdata/QRD/holi-qrdsku1-snd-card/QRD_SKU1_workspaceFile.qwsp
vendor/etc/acdbdata/QRD/QRD_Bluetooth_cal.acdb
vendor/etc/acdbdata/QRD/QRD_General_cal.acdb
vendor/etc/acdbdata/QRD/QRD_Global_cal.acdb
vendor/etc/acdbdata/QRD/QRD_Handset_cal.acdb
vendor/etc/acdbdata/QRD/QRD_Hdmi_cal.acdb
vendor/etc/acdbdata/QRD/QRD_Headset_cal.acdb
vendor/etc/acdbdata/QRD/QRD_Speaker_cal.acdb
vendor/etc/acdbdata/QRD/QRD_workspaceFile.qwsp
vendor/etc/acdbdata/nn_ns_models/fai__2.0.0_0.1__3.0.0_0.0__eai_1.00.pmd
vendor/etc/acdbdata/nn_ns_models/fai__2.2.0_0.1__3.0.0_0.0__eai_1.00.pmd
vendor/etc/acdbdata/nn_vad_models/fai_3.0.0_0.0_eai_1.00.pmd
vendor/etc/acdbdata/adsp_avs_config.acdb
# ACDB libraries
vendor/lib/libacdb-fts.so
vendor/lib/libacdbloader.so
vendor/lib/libacdbrtac.so
vendor/lib/libadiertac.so
vendor/lib/libaudcal.so
# ADSP Modules
vendor/lib/rfsa/adsp/bm2n06.bin
vendor/lib/rfsa/adsp/bm2n08.bin
vendor/lib/rfsa/adsp/bm2n12.bin
vendor/lib/rfsa/adsp/bm2n13.bin
vendor/lib/rfsa/adsp/bm2n14.bin
vendor/lib/rfsa/adsp/bm2n15.bin
vendor/lib/rfsa/adsp/capi_v2_aptX_CLHDAD_Encoder.so
vendor/lib/rfsa/adsp/capi_v2_aptX_CLHDAD_Speech_Decoder.so
vendor/lib/rfsa/adsp/libSnpeHtpV68Skel.so
vendor/lib/rfsa/adsp/libSnpeHtpV69Skel.so
vendor/lib/rfsa/adsp/libadsp_jpege_skel.so
vendor/lib/rfsa/adsp/libapps_mem_heap.so
vendor/lib/rfsa/adsp/libbitml_nsp_skel.so
vendor/lib/rfsa/adsp/libbitml_nsp_v2_skel.so
vendor/lib/rfsa/adsp/libcalculator_skel.so
vendor/lib/rfsa/adsp/libcamera_nn_skel.so
vendor/lib/rfsa/adsp/libdspCV_skel.so
vendor/lib/rfsa/adsp/libdsp_streamer_binning.so
vendor/lib/rfsa/adsp/libfastcvadsp.so
vendor/lib/rfsa/adsp/libfastcvdsp_skel.so
vendor/lib/rfsa/adsp/libhdr_skel.so
vendor/lib/rfsa/adsp/libmctfengine_skel.so
vendor/lib/rfsa/adsp/libscveObjectSegmentation_skel.so
vendor/lib/rfsa/adsp/libscveT2T_skel.so
vendor/lib/rfsa/adsp/libsnpe_dsp_v65_domains_v2_skel.so
vendor/lib/rfsa/adsp/libsnpe_dsp_v66_domains_v2_skel.so
vendor/lib/rfsa/adsp/libsns_device_mode_skel.so
vendor/lib/rfsa/adsp/libsns_low_lat_stream_skel.so
vendor/lib/rfsa/adsp/misound_karaoke_res.bin
vendor/lib/rfsa/adsp/misound_karaokemix_res.bin
vendor/lib/rfsa/adsp/misound_res.bin
vendor/lib/rfsa/adsp/misound_res_headphone.bin
# Audio Configs
vendor/etc/audio/sku_holi/a2dp_audio_policy_configuration.xml
vendor/etc/audio/sku_holi/audio_effects.conf
vendor/etc/audio/sku_holi/audio_effects.xml
vendor/etc/audio/sku_holi/audio_io_policy.conf
vendor/etc/audio/sku_holi/audio_platform_info.xml
vendor/etc/audio/sku_holi/audio_platform_info_intcodec.xml
vendor/etc/audio/sku_holi/audio_platform_info_qrd.xml
vendor/etc/audio/sku_holi/audio_policy_configuration.xml
vendor/etc/audio/sku_holi/audio_policy_volumes.xml
vendor/etc/audio/sku_holi/audio_tuning_mixer.txt
vendor/etc/audio/sku_holi/bluetooth_qti_audio_policy_configuration.xml
vendor/etc/audio/sku_holi/bluetooth_qti_hearing_aid_audio_policy_configuration.xml
vendor/etc/audio/sku_holi/default_volume_tables.xml
vendor/etc/audio/sku_holi/media_codecs_vendor_audio.xml
vendor/etc/audio/sku_holi/mixer_paths.xml
vendor/etc/audio/sku_holi/mixer_paths_qrd.xml
vendor/etc/audio/sku_holi/mixer_paths_qrdsku1.xml
vendor/etc/audio/sku_holi/mixer_paths_usbc.xml
vendor/etc/audio/sku_holi/r_submix_audio_policy_configuration.xml
vendor/etc/audio/sku_holi/sound_trigger_mixer_paths.xml
vendor/etc/audio/sku_holi/sound_trigger_mixer_paths_qrd.xml
vendor/etc/audio/sku_holi/sound_trigger_mixer_paths_qrdsku1.xml
vendor/etc/audio/sku_holi/sound_trigger_mixer_paths_usbc.xml
vendor/etc/audio/sku_holi/sound_trigger_platform_info.xml
vendor/etc/audio/sku_holi/usb_audio_policy_configuration.xml
vendor/etc/audio_effects.conf
vendor/etc/audio_effects.xml
vendor/etc/audio_io_policy.conf
vendor/etc/audio_log.cfg
vendor/etc/audio_platform_info.xml
vendor/etc/audio_platform_info_intcodec.xml
vendor/etc/audio_platform_info_qrd.xml
vendor/etc/audio_policy_volumes.xml
vendor/etc/audio_tuning_mixer.txt
vendor/etc/default_volume_tables.xml
vendor/etc/mixer_paths.xml
vendor/etc/mixer_paths_qrd.xml
vendor/etc/mixer_paths_qrdsku1.xml
vendor/etc/mixer_paths_usbc.xml
vendor/etc/r_submix_audio_policy_configuration.xml
vendor/etc/sound_trigger_mixer_paths.xml
vendor/etc/sound_trigger_mixer_paths_qrd.xml
vendor/etc/sound_trigger_mixer_paths_qrdsku1.xml
vendor/etc/sound_trigger_mixer_paths_usbc.xml
vendor/etc/sound_trigger_platform_info.xml
vendor/etc/usb_audio_policy_configuration.xml
# Audio Effects
vendor/lib/soundfx/libmisoundfx.so
vendor/lib64/soundfx/libmisoundfx.so
# Audio Hardware
vendor/lib/hw/audio.primary.holi.so
vendor/lib/liba2dpoffload.so
vendor/lib/libadm.so
vendor/lib/libaudio_log_utils.so
vendor/lib/libaudioparsers.so
vendor/lib/libhdmipassthru.so
vendor/lib/libqtigef.so
vendor/lib/libssrec.so
# Camera
vendor/lib64/camera/com.qti.flash.ktd2691.so
vendor/lib64/camera/com.qti.sensor.m17_aac_ov02b10_macro.so
vendor/lib64/camera/com.qti.sensor.m17_aac_s5k3l6_front.so
vendor/lib64/camera/com.qti.sensor.m17_aac_s5kjn1_wide.so
vendor/lib64/camera/com.qti.sensor.m17_aac_sc202cs_depth.so
vendor/lib64/camera/com.qti.sensor.m17_ofilm_ov08d10_front.so
vendor/lib64/camera/com.qti.sensor.m17_ofilm_ov08d10_ultra.so
vendor/lib64/camera/com.qti.sensor.m17_ofilm_ov48b2q_wide.so
vendor/lib64/camera/com.qti.sensor.m17_qtech_s5k3l6_front.so
vendor/lib64/camera/com.qti.sensor.m17_sunny_ov08d10_front.so
vendor/lib64/camera/com.qti.sensor.m17_sunny_ov08d10_ultra.so
vendor/lib64/camera/com.qti.sensor.m17_sunny_s5kjn1_wide.so
vendor/lib64/camera/com.qti.sensor.m17_sunny_sc202cs_macro.so
vendor/lib64/camera/com.qti.sensormodule.m17_aac_ov02b10_macro.bin
vendor/lib64/camera/com.qti.sensormodule.m17_aac_s5k3l6_front.bin
vendor/lib64/camera/com.qti.sensormodule.m17_aac_s5kjn1_wide.bin
vendor/lib64/camera/com.qti.sensormodule.m17_aac_sc202cs_depth.bin
vendor/lib64/camera/com.qti.sensormodule.m17_ofilm_ov08d10_front.bin
vendor/lib64/camera/com.qti.sensormodule.m17_ofilm_ov08d10_ultra.bin
vendor/lib64/camera/com.qti.sensormodule.m17_oflim_ov48b2q_wide.bin
vendor/lib64/camera/com.qti.sensormodule.m17_qtech_s5k3l6_front.bin
vendor/lib64/camera/com.qti.sensormodule.m17_sunny_ov08d10_front.bin
vendor/lib64/camera/com.qti.sensormodule.m17_sunny_ov08d10_ultra.bin
vendor/lib64/camera/com.qti.sensormodule.m17_sunny_s5kjn1_wide.bin
vendor/lib64/camera/com.qti.sensormodule.m17_sunny_sc202cs_macro.bin
vendor/lib64/camera/com.qti.tuned.default.bin
vendor/lib64/camera/com.qti.tuned.m17_aac_ov02b10_macro.bin
vendor/lib64/camera/com.qti.tuned.m17_aac_s5k3l6_front.bin
vendor/lib64/camera/com.qti.tuned.m17_aac_s5kjn1_wide.bin
vendor/lib64/camera/com.qti.tuned.m17_aac_sc202cs_depth.bin
vendor/lib64/camera/com.qti.tuned.m17_ofilm_ov08d10_front.bin
vendor/lib64/camera/com.qti.tuned.m17_ofilm_ov08d10_ultra.bin
vendor/lib64/camera/com.qti.tuned.m17_oflim_ov48b2q_wide.bin
vendor/lib64/camera/com.qti.tuned.m17_qtech_s5k3l6_front.bin
vendor/lib64/camera/com.qti.tuned.m17_sunny_ov08d10_front.bin
vendor/lib64/camera/com.qti.tuned.m17_sunny_ov08d10_ultra.bin
vendor/lib64/camera/com.qti.tuned.m17_sunny_s5kjn1_wide.bin
vendor/lib64/camera/com.qti.tuned.m17_sunny_sc202cs_macro.bin
vendor/lib64/camera/fdconfigpreview.bin
vendor/lib64/camera/fdconfigpreviewlite.bin
vendor/lib64/camera/fdconfigvideo.bin
vendor/lib64/camera/fdconfigvideolite.bin
vendor/lib64/hw/camera.qcom.so
vendor/lib64/hw/com.qti.chi.override.so
vendor/lib64/com.qti.chiusecaseselector.so
vendor/lib64/com.qti.feature2.anchorsync.so
vendor/lib64/com.qti.feature2.demux.so
vendor/lib64/com.qti.feature2.derivedoffline.so
vendor/lib64/com.qti.feature2.frameselect.so
vendor/lib64/com.qti.feature2.fusion.so
vendor/lib64/com.qti.feature2.generic.so
vendor/lib64/com.qti.feature2.gs.cedros.so
vendor/lib64/com.qti.feature2.gs.kamorta.so
vendor/lib64/com.qti.feature2.gs.kodiak.so
vendor/lib64/com.qti.feature2.gs.mannar.so
vendor/lib64/com.qti.feature2.gs.sdm865.so
vendor/lib64/com.qti.feature2.gs.sm8350.so
vendor/lib64/com.qti.feature2.hdr.so
vendor/lib64/com.qti.feature2.mcreprocrt.so
vendor/lib64/com.qti.feature2.memcpy.so
vendor/lib64/com.qti.feature2.mfsr.so
vendor/lib64/com.qti.feature2.ml.so
vendor/lib64/com.qti.feature2.mux.so
vendor/lib64/com.qti.feature2.qcfa.so
vendor/lib64/com.qti.feature2.rawhdr.so
vendor/lib64/com.qti.feature2.realtimeserializer.so
vendor/lib64/com.qti.feature2.rt.so
vendor/lib64/com.qti.feature2.rtmcx.so
vendor/lib64/com.qti.feature2.serializer.so
vendor/lib64/com.qti.feature2.statsregeneration.so
vendor/lib64/com.qti.feature2.stub.so
vendor/lib64/com.qti.feature2.swmf.so
vendor/lib64/com.qti.settings.kamorta.so
vendor/lib64/com.qti.settings.kodiak.so
vendor/lib64/com.qti.settings.mannar.so
vendor/lib64/com.qti.settings.sdm865.so
vendor/lib64/com.qti.settings.sm8350.so
vendor/lib64/com.qti.stats.common.so
vendor/lib64/com.qualcomm.mcx.distortionmapper.so
vendor/lib64/com.qualcomm.mcx.linearmapper.so
vendor/lib64/com.qualcomm.mcx.policy.mfl.so
vendor/lib64/com.qualcomm.qti.mcx.usecase.extension.so
vendor/lib64/libSNPE.so
vendor/lib64/libSnpeHtpPrepare.so
vendor/lib64/libSnpeHtpV68Stub.so
vendor/lib64/libSnpeHtpV69Stub.so
vendor/lib64/libaidenoiser.so
vendor/lib64/libaidenoiserv2.so
vendor/lib64/libalCFR.so
vendor/lib64/libalLDC.so
vendor/lib64/libalhLDC.so
vendor/lib64/libbitmlengine.so
vendor/lib64/libbitmlenginev2.so
vendor/lib64/libc++_shared.so
vendor/lib64/libc++_shared_vf.so
vendor/lib64/libcamera_nn_stub.so
vendor/lib64/libcamera_scene.so
vendor/lib64/libcamerapostproc.so
vendor/lib64/libcapiv2svacnn.so
vendor/lib64/libcapiv2svarnn.so
vendor/lib64/libcapiv2vop.so
vendor/lib64/libchilog.so
vendor/lib64/libcom.qti.chinodeutils.so
vendor/lib64/libipebpsstriping.so
vendor/lib64/libipebpsstriping170.so
vendor/lib64/libjpege.so
vendor/lib64/libmctfengine_stub.so
vendor/lib64/libmialgo_ai_vision.so
vendor/lib64/libmialgo_aio_seg.so
vendor/lib64/libmialgo_sd.so
vendor/lib64/libmialgo_utils.so
vendor/lib64/libmialgoengine.so
vendor/lib64/libmiphone_capture_bokeh.so
vendor/lib64/libmm-color-convertor.so
vendor/lib64/libmorpho_Lowlight.so
vendor/lib64/libmpbase.so
vendor/lib64/libofflinedump.so
vendor/lib64/libofflinelog.so
vendor/lib64/libopencv.so
vendor/lib64/libopestriping.so
vendor/lib64/libos.so
vendor/lib64/libqll10.so
vendor/lib64/libqllengine.so
vendor/lib64/libremosaic_wrapper.so
vendor/lib64/libremosaiclib.so
vendor/lib64/libsnpe_dsp_domains_v2.so
vendor/lib64/libswregistrationalgo.so
vendor/lib64/libsynx.so
vendor/lib64/libtfestriping.so
vendor/lib64/libthreadutils.so
vendor/lib64/libvideofilter_only.so
vendor/lib64/libvideooptfeature.so
vendor/lib64/libvidhance.so
vendor/lib64/libvidhance_ldc.so
vendor/lib64/libvidhance_stabilizer.so
vendor/lib64/vendor.qti.hardware.camera.postproc@1.0-service-impl.so
# Camera arcsoft
vendor/lib64/libarcsoft_beautyshot.so
vendor/lib64/libarcsoft_calibverify_TriCamera.so
vendor/lib64/libarcsoft_dualcam_refocus_image.so
vendor/lib64/libarcsoft_dualcam_refocus_video.so
vendor/lib64/libarcsoft_hdr_detection.so
vendor/lib64/libarcsoft_high_dynamic_range.so
vendor/lib64/libarcsoft_low_light_hdr.so
vendor/lib64/libarcsoft_single_chart_calibration.so
vendor/lib64/libarcsoft_supernight.so
vendor/lib64/libarcsoft_tricam_calibration.so
vendor/lib64/libarcsoft_tricam_verification.so
# Camera camerax
vendor/lib/libcamxexternalformatutils.so
vendor/lib64/libcamxexternalformatutils.so
vendor/lib64/libcamxfacialfeatures.so
vendor/lib64/libcamxfdalgo.so
vendor/lib64/libcamxfdengine.so
vendor/lib64/libcamxifestriping.so
vendor/lib64/libcamximageformatutils.so
vendor/lib64/libcamxqsatalgo.so
vendor/lib64/libcamxstatscore.so
vendor/lib64/libcamxswispiqmodule.so
vendor/lib64/libcamxswprocessalgo.so
vendor/lib64/libcamxtintlessalgo.so
# Camera components
vendor/lib64/camera/components/com.arcsoft.node.realtimebokeh.so
vendor/lib64/camera/components/com.qti.camx.chiiqutils.so
vendor/lib64/camera/components/com.qti.eisv2.so
vendor/lib64/camera/components/com.qti.eisv3.so
vendor/lib64/camera/components/com.qti.hvx.addconstant.so
vendor/lib64/camera/components/com.qti.hvx.binning.so
vendor/lib64/camera/components/com.qti.node.customhwnode.so
vendor/lib64/camera/components/com.qti.node.depth.so
vendor/lib64/camera/components/com.qti.node.dewarp.so
vendor/lib64/camera/components/com.qti.node.dummyrtb.so
vendor/lib64/camera/components/com.qti.node.dummysat.so
vendor/lib64/camera/components/com.qti.node.eisv2.so
vendor/lib64/camera/components/com.qti.node.eisv3.so
vendor/lib64/camera/components/com.qti.node.fcv.so
vendor/lib64/camera/components/com.qti.node.formatconversion.so
vendor/lib64/camera/components/com.qti.node.gpu.so
vendor/lib64/camera/components/com.qti.node.memcpy.so
vendor/lib64/camera/components/com.qti.node.mialgocontrol.so
vendor/lib64/camera/components/com.qti.node.mimovie.so
vendor/lib64/camera/components/com.qti.node.ml.so
vendor/lib64/camera/components/com.qti.node.remosaic.so
vendor/lib64/camera/components/com.qti.node.stich.so
vendor/lib64/camera/components/com.qti.node.swaidenoiser.so
vendor/lib64/camera/components/com.qti.node.swbestats.so
vendor/lib64/camera/components/com.qti.node.swcac.so
vendor/lib64/camera/components/com.qti.node.swec.so
vendor/lib64/camera/components/com.qti.node.swfusion.so
vendor/lib64/camera/components/com.qti.node.swlsc.so
vendor/lib64/camera/components/com.qti.node.swmctf.so
vendor/lib64/camera/components/com.qti.node.swmfnr.so
vendor/lib64/camera/components/com.qti.node.swpdpc.so
vendor/lib64/camera/components/com.qti.node.swpreprocess.so
vendor/lib64/camera/components/com.qti.node.swregistration.so
vendor/lib64/camera/components/com.qti.stats.aec.so
vendor/lib64/camera/components/com.qti.stats.aecwrapper.so
vendor/lib64/camera/components/com.qti.stats.aecxcore.so
vendor/lib64/camera/components/com.qti.stats.af.so
vendor/lib64/camera/components/com.qti.stats.afd.so
vendor/lib64/camera/components/com.qti.stats.afwrapper.so
vendor/lib64/camera/components/com.qti.stats.asd.so
vendor/lib64/camera/components/com.qti.stats.awb.so
vendor/lib64/camera/components/com.qti.stats.awbwrapper.so
vendor/lib64/camera/components/com.qti.stats.cnndriver.so
vendor/lib64/camera/components/com.qti.stats.haf.so
vendor/lib64/camera/components/com.qti.stats.hafoverride.so
vendor/lib64/camera/components/com.qti.stats.pdlib.so
vendor/lib64/camera/components/com.qti.stats.pdlibsony.so
vendor/lib64/camera/components/com.qti.stats.pdlibwrapper.so
vendor/lib64/camera/components/com.qti.stats.tracker.so
vendor/lib64/camera/components/com.qtistatic.stats.aec.so
vendor/lib64/camera/components/com.qtistatic.stats.af.so
vendor/lib64/camera/components/com.qtistatic.stats.awb.so
vendor/lib64/camera/components/com.qtistatic.stats.pdlib.so
vendor/lib64/camera/components/com.vidhance.node.processing.so
vendor/lib64/camera/components/libdepthmapwrapper_secure.so
# Camera configs
vendor/etc/camera/104_Meet.png
vendor/etc/camera/108_NorthernEurope.png
vendor/etc/camera/109_Rome.png
vendor/etc/camera/110_BlackGold.png
vendor/etc/camera/121_BBP.png
vendor/etc/camera/122_Mysterious.png
vendor/etc/camera/123_GreenOrange.png
vendor/etc/camera/124_SummerDay.png
vendor/etc/camera/125_Latin.png
vendor/etc/camera/126_Fantasy.png
vendor/etc/camera/127_DustDream.png
vendor/etc/camera/128_MongKok.png
vendor/etc/camera/LDC_packdata_xiaomi_M17_Ofilm_3264x2448_20220608.dat
vendor/etc/camera/LDC_packdata_xiaomi_M17_Sunny_3264x2448_20220707.dat
vendor/etc/camera/aivsModels1
vendor/etc/camera/aivsParams
vendor/etc/camera/aivsParams2
vendor/etc/camera/camxoverridesettings.txt
vendor/etc/camera/dualcam_bokeh_params.json
vendor/etc/camera/golden_aac_s5kjn1_wide_ii.bin
vendor/etc/camera/golden_ofilm_ov48b2q_wide_i.bin
vendor/etc/camera/golden_sunny_s5kjn1_wide_i.bin
vendor/etc/camera/libalfpc_tuning_20181222.bin
vendor/etc/camera/model_ai_dxo.dlc
vendor/etc/camera/model_back.dlc
vendor/etc/camera/model_front.dlc
vendor/etc/camera/model_glass.dlc
vendor/etc/camera/morpho_lowlight_2.0_India_aac_ov02b10_macro_i.xml
vendor/etc/camera/morpho_lowlight_2.0_India_aac_s5k3l6_front_i.xml
vendor/etc/camera/morpho_lowlight_2.0_India_qtech_s5k3l6_front_ii.xml
vendor/etc/camera/morpho_lowlight_2.0_India_sunny_ov08d10_ultra_i.xml
vendor/etc/camera/morpho_lowlight_2.0_India_sunny_s5kjn1_wide_i.xml
vendor/etc/camera/morpho_lowlight_2.0_India_sunny_s5kjn1_wide_i_10x.xml
vendor/etc/camera/morpho_lowlight_2.0_India_sunny_s5kjn1_wide_i_2x.xml
vendor/etc/camera/morpho_lowlight_2.0_India_sunny_s5kjn1_wide_i_4x.xml
vendor/etc/camera/morpho_lowlight_2.0_India_sunny_s5kjn1_wide_i_6x.xml
vendor/etc/camera/morpho_lowlight_2.0_India_sunny_s5kjn1_wide_i_8x.xml
vendor/etc/camera/morpho_lowlight_2.0_aac_s5k3l6_front_i.xml
vendor/etc/camera/morpho_lowlight_2.0_aac_s5kjn1_wide_ii.xml
vendor/etc/camera/morpho_lowlight_2.0_aac_s5kjn1_wide_ii_10x.xml
vendor/etc/camera/morpho_lowlight_2.0_aac_s5kjn1_wide_ii_2x.xml
vendor/etc/camera/morpho_lowlight_2.0_aac_s5kjn1_wide_ii_4x.xml
vendor/etc/camera/morpho_lowlight_2.0_aac_s5kjn1_wide_ii_6x.xml
vendor/etc/camera/morpho_lowlight_2.0_aac_s5kjn1_wide_ii_8x.xml
vendor/etc/camera/morpho_lowlight_2.0_ofilm_ov08d10_front_ii.xml
vendor/etc/camera/morpho_lowlight_2.0_ofilm_ov08d10_ultra_ii.xml
vendor/etc/camera/morpho_lowlight_2.0_ofilm_ov48b2q_wide_i.xml
vendor/etc/camera/morpho_lowlight_2.0_ofilm_ov48b2q_wide_i_10x.xml
vendor/etc/camera/morpho_lowlight_2.0_ofilm_ov48b2q_wide_i_2x.xml
vendor/etc/camera/morpho_lowlight_2.0_ofilm_ov48b2q_wide_i_4x.xml
vendor/etc/camera/morpho_lowlight_2.0_ofilm_ov48b2q_wide_i_6x.xml
vendor/etc/camera/morpho_lowlight_2.0_ofilm_ov48b2q_wide_i_8x.xml
vendor/etc/camera/morpho_lowlight_2.0_qtech_s5k3l6_front_ii.xml
vendor/etc/camera/morpho_lowlight_2.0_sunny_ov08d10_front_i.xml
vendor/etc/camera/morpho_lowlight_2.0_sunny_sc202cs_macro_ii.xml
vendor/etc/camera/sceneDetection.xml
vendor/etc/camera/vidhance_calibration
vendor/etc/camera/vidhance_kernel1.bin
vendor/etc/camera/vidhance_kernel2.bin
vendor/etc/camera/xiaomiSceneDetection.xml
# Camera sensors
vendor/lib64/libmmcamera_bestats.so
vendor/lib64/libmmcamera_cac3.so
vendor/lib64/libmmcamera_faceproc.so
vendor/lib64/libmmcamera_faceproc2.so
vendor/lib64/libmmcamera_lscv35.so
vendor/lib64/libmmcamera_mfnr.so
vendor/lib64/libmmcamera_mfnr_t4.so
vendor/lib64/libmmcamera_pdpc.so
# Charger (Mi Turbo Charge)
vendor/bin/batterysecret
# Display calibration
vendor/etc/qcom,mdss_dsi_m17_38_0c_0a_fhdp_dsc_vid_mi.xml:vendor/etc/mdss_dsi_panel_m17_38_0c_0a_fhdp_dsc_vid_mi.xml
vendor/etc/qdcm_calib_data_xiaomi_m17_38_0c_0a_fhd_dsc_video_dsi_panel.xml
# Fingerprint
vendor/etc/permissions/com.fingerprints.extension.xml
-vendor/framework/com.fingerprints.extension.jar
vendor/lib64/hw/fingerprint.fpc.so:vendor/lib64/hw/fingerprint.fpc.default.so
vendor/lib64/hw/fingerprint.goodix.so:vendor/lib64/hw/fingerprint.goodix.default.so
vendor/lib64/com.fingerprints.extension@1.0.so
vendor/lib64/libgf_ca.so
vendor/lib64/libgf_hal.so
vendor/lib64/libgoodixhwfingerprint.so
vendor/lib64/libmifpext.so
vendor/lib64/libvendor.goodix.hardware.biometrics.fingerprint@2.1.so
# Firmware - Graphics
vendor/firmware/a615_zap.b00
vendor/firmware/a615_zap.b01
vendor/firmware/a615_zap.b02
vendor/firmware/a615_zap.elf
vendor/firmware/a615_zap.mdt
vendor/firmware/a619_gmu.bin
vendor/firmware/a630_sqe.fw
vendor/firmware/a660_gmu.bin
vendor/firmware/a660_sqe.fw
vendor/firmware/a660_zap.b00
vendor/firmware/a660_zap.b01
vendor/firmware/a660_zap.b02
vendor/firmware/a660_zap.elf
vendor/firmware/a660_zap.mdt
# Firmware - CVP
vendor/firmware/evass-lt.b00
vendor/firmware/evass-lt.b01
vendor/firmware/evass-lt.b02
vendor/firmware/evass-lt.b03
vendor/firmware/evass-lt.b04
vendor/firmware/evass-lt.b05
vendor/firmware/evass-lt.b06
vendor/firmware/evass-lt.b07
vendor/firmware/evass-lt.b08
vendor/firmware/evass-lt.b09
vendor/firmware/evass-lt.b10
vendor/firmware/evass-lt.b11
vendor/firmware/evass-lt.b12
vendor/firmware/evass-lt.b13
vendor/firmware/evass-lt.b14
vendor/firmware/evass-lt.b15
vendor/firmware/evass-lt.b16
vendor/firmware/evass-lt.b17
vendor/firmware/evass-lt.b18
vendor/firmware/evass-lt.b19
vendor/firmware/evass-lt.mbn
vendor/firmware/evass-lt.mdt
vendor/firmware/evass.b00
vendor/firmware/evass.b01
vendor/firmware/evass.b02
vendor/firmware/evass.b03
vendor/firmware/evass.b04
vendor/firmware/evass.b05
vendor/firmware/evass.b06
vendor/firmware/evass.b07
vendor/firmware/evass.b08
vendor/firmware/evass.b09
vendor/firmware/evass.b10
vendor/firmware/evass.b11
vendor/firmware/evass.b12
vendor/firmware/evass.b13
vendor/firmware/evass.b14
vendor/firmware/evass.b15
vendor/firmware/evass.b16
vendor/firmware/evass.b17
vendor/firmware/evass.b18
vendor/firmware/evass.b19
vendor/firmware/evass.mbn
vendor/firmware/evass.mdt
# Firmware - Touch
vendor/firmware/focaltech_mp_fw_sdc.ini
vendor/firmware/focaltech_ts_fw_.bin
vendor/firmware/focaltech_ts_fw_sdc.bin
# Firmare - IPA
vendor/firmware/ipa_fws.b00
vendor/firmware/ipa_fws.b01
vendor/firmware/ipa_fws.b02
vendor/firmware/ipa_fws.b03
vendor/firmware/ipa_fws.b04
vendor/firmware/ipa_fws.elf
vendor/firmware/ipa_fws.mdt
# Firmware - NFC
vendor/firmware/sipa.bin
vendor/firmware/st21nfc_fw.bin
vendor/firmware/st21nfc_fw7.bin
# Firmware - Media
vendor/firmware/vpu20_1v.b01
vendor/firmware/vpu20_1v.b02
vendor/firmware/vpu20_1v.b03
vendor/firmware/vpu20_1v.b04
vendor/firmware/vpu20_1v.b05
vendor/firmware/vpu20_1v.b06
vendor/firmware/vpu20_1v.b07
vendor/firmware/vpu20_1v.b08
vendor/firmware/vpu20_1v.b09
vendor/firmware/vpu20_1v.b10
vendor/firmware/vpu20_1v.b11
vendor/firmware/vpu20_1v.b12
vendor/firmware/vpu20_1v.b13
vendor/firmware/vpu20_1v.b14
vendor/firmware/vpu20_1v.b15
vendor/firmware/vpu20_1v.b16
vendor/firmware/vpu20_1v.b17
vendor/firmware/vpu20_1v.b18
vendor/firmware/vpu20_1v.b19
vendor/firmware/vpu20_1v.mbn
vendor/firmware/vpu20_1v.mdt
vendor/firmware/vpu20_1v_unsigned.mbn
vendor/firmware/vpu20_2v.b01
vendor/firmware/vpu20_2v.b02
vendor/firmware/vpu20_2v.b03
vendor/firmware/vpu20_2v.b04
vendor/firmware/vpu20_2v.b05
vendor/firmware/vpu20_2v.b06
vendor/firmware/vpu20_2v.b07
vendor/firmware/vpu20_2v.b08
vendor/firmware/vpu20_2v.b09
vendor/firmware/vpu20_2v.b10
vendor/firmware/vpu20_2v.b11
vendor/firmware/vpu20_2v.b12
vendor/firmware/vpu20_2v.b13
vendor/firmware/vpu20_2v.b14
vendor/firmware/vpu20_2v.b15
vendor/firmware/vpu20_2v.b16
vendor/firmware/vpu20_2v.b17
vendor/firmware/vpu20_2v.b18
vendor/firmware/vpu20_2v.b19
vendor/firmware/vpu20_2v.mbn
vendor/firmware/vpu20_2v.mdt
vendor/firmware/vpu20_2v_unsigned.mbn
vendor/firmware/vpu20_4v.b01
vendor/firmware/vpu20_4v.b02
vendor/firmware/vpu20_4v.b03
vendor/firmware/vpu20_4v.b04
vendor/firmware/vpu20_4v.b05
vendor/firmware/vpu20_4v.b06
vendor/firmware/vpu20_4v.b07
vendor/firmware/vpu20_4v.b08
vendor/firmware/vpu20_4v.b09
vendor/firmware/vpu20_4v.b10
vendor/firmware/vpu20_4v.b11
vendor/firmware/vpu20_4v.b12
vendor/firmware/vpu20_4v.b13
vendor/firmware/vpu20_4v.b14
vendor/firmware/vpu20_4v.b15
vendor/firmware/vpu20_4v.b16
vendor/firmware/vpu20_4v.b17
vendor/firmware/vpu20_4v.b18
vendor/firmware/vpu20_4v.b19
vendor/firmware/vpu20_4v.mbn
vendor/firmware/vpu20_4v.mdt
vendor/firmware/vpu20_4v_unsigned.mbn
# Firmware - Wi-Fi
vendor/firmware/wigig/wigig.ini
# HotwordEnrollment
-product/priv-app/HotwordEnrollmentOKGoogleHEXAGON_WIDEBAND/HotwordEnrollmentOKGoogleHEXAGON_WIDEBAND.apk
-product/priv-app/HotwordEnrollmentXGoogleHEXAGON_WIDEBAND/HotwordEnrollmentXGoogleHEXAGON_WIDEBAND.apk
system_ext/etc/permissions/com.android.hotwordenrollment.common.util.xml
system_ext/framework/com.android.hotwordenrollment.common.util.jar
# NFC
vendor/bin/STFlashTool
vendor/etc/libnfc-hal-st.conf
vendor/etc/libnfc-nci.conf
vendor/etc/st21nfc_conf.txt
vendor/lib/libsn100u_fw.so
vendor/lib64/libstfactory-vendor.so
vendor/lib64/nfc_nci.st21nfc.st.so
# Sensors
vendor/bin/hw/vendor.qti.hardware.sensorscalibrate@1.0-service
vendor/bin/init.qcom.sensors.sh
vendor/bin/sensors.qti
vendor/bin/sscrpcd
vendor/etc/init/init.vendor.sensors.rc
vendor/etc/init/vendor.qti.hardware.sensorscalibrate@1.0-service.rc
vendor/etc/init/vendor.sensors.qti.rc
vendor/etc/init/vendor.sensors.sscrpcd.rc
vendor/etc/permissions/vendor-qti-hardware-sensorscalibrate.xml
vendor/lib64/hw/vendor.qti.hardware.sensorscalibrate@1.0-impl.so
vendor/lib64/libsensorcal.so
vendor/lib64/libsensorslog.so
vendor/lib64/libsns_device_mode_stub.so
vendor/lib64/libsns_fastRPC_util.so
vendor/lib64/libsns_low_lat_stream_stub.so
vendor/lib64/libsns_registry_skel.so
vendor/lib64/libsnsapi.so
vendor/lib64/libsnsdiaglog.so
vendor/lib64/libssc.so
vendor/lib64/libssc_default_listener.so
vendor/lib64/sensors.ssc.so
vendor/lib64/sensors.touch.detect.so
vendor/lib64/vendor.qti.hardware.sensorscalibrate@1.0.so
# Sensors Configs
vendor/etc/sensors/config/moonstone_qrd_ak991x_0.json
vendor/etc/sensors/config/moonstone_qrd_ak991x_1.json
vendor/etc/sensors/config/moonstone_qrd_bmi3x0.json
vendor/etc/sensors/config/moonstone_qrd_icm4x6xx_0.json
vendor/etc/sensors/config/moonstone_qrd_qmc630x_0.json
vendor/etc/sensors/config/moonstone_qrd_qmc630x_1.json
vendor/etc/sensors/config/moonstone_qrd_sar_algo_1.json
vendor/etc/sensors/config/moonstone_qrd_sx933x.json
vendor/etc/sensors/config/moonstone_qrd_tmd2755.json
vendor/etc/sensors/config/sns_amd.json
vendor/etc/sensors/config/sns_amd_sw_disabled.json
vendor/etc/sensors/config/sns_amd_sw_enabled.json
vendor/etc/sensors/config/sns_aod.json
vendor/etc/sensors/config/sns_aont.json
vendor/etc/sensors/config/sns_basic_gestures.json
vendor/etc/sensors/config/sns_bring_to_ear.json
vendor/etc/sensors/config/sns_ccd.json
vendor/etc/sensors/config/sns_ccd_v2_walk.json
vendor/etc/sensors/config/sns_ccd_v3_1_walk.json
vendor/etc/sensors/config/sns_ccd_v3_walk.json
vendor/etc/sensors/config/sns_cm.json
vendor/etc/sensors/config/sns_dae.json
vendor/etc/sensors/config/sns_device_orient.json
vendor/etc/sensors/config/sns_diag_filter.json
vendor/etc/sensors/config/sns_direct_channel.json
vendor/etc/sensors/config/sns_distance_bound.json
vendor/etc/sensors/config/sns_dpc.json
vendor/etc/sensors/config/sns_facing.json
vendor/etc/sensors/config/sns_fmv.json
vendor/etc/sensors/config/sns_fmv_legacy.json
vendor/etc/sensors/config/sns_geomag_rv.json
vendor/etc/sensors/config/sns_gyro_cal.json
vendor/etc/sensors/config/sns_heart_rate.json
vendor/etc/sensors/config/sns_mag_cal.json
vendor/etc/sensors/config/sns_mag_cal_legacy.json
vendor/etc/sensors/config/sns_multishake.json
vendor/etc/sensors/config/sns_pedometer.json
vendor/etc/sensors/config/sns_rmd.json
vendor/etc/sensors/config/sns_rotv.json
vendor/etc/sensors/config/sns_smd.json
vendor/etc/sensors/config/sns_tilt.json
vendor/etc/sensors/config/sns_tilt_sw_disabled.json
vendor/etc/sensors/config/sns_tilt_sw_enabled.json
vendor/etc/sensors/config/sns_tilt_to_wake.json
vendor/etc/sensors/config/sns_wrist_pedo.json
vendor/etc/sensors/config/strait_bu52053nvx_0.json
vendor/etc/sensors/config/strait_default_sensors.json
vendor/etc/sensors/config/strait_dynamic_sensors.json
vendor/etc/sensors/config/strait_icp101xx_0.json
vendor/etc/sensors/config/strait_power_0.json
vendor/etc/sensors/config/strait_qrd_lsm6dst_0.json
vendor/etc/sensors/config/strait_qrd_tmd2725.json
vendor/etc/sensors/config/strait_tmd2725.json
vendor/etc/sensors/proto/descriptor.proto
vendor/etc/sensors/proto/nanopb.proto
vendor/etc/sensors/proto/sns_accel.proto
vendor/etc/sensors/proto/sns_accel_cal.proto
vendor/etc/sensors/proto/sns_activity_recognition.proto
vendor/etc/sensors/proto/sns_ambient_light.proto
vendor/etc/sensors/proto/sns_ambient_temperature.proto
vendor/etc/sensors/proto/sns_amd.proto
vendor/etc/sensors/proto/sns_aont.proto
vendor/etc/sensors/proto/sns_basic_gestures.proto
vendor/etc/sensors/proto/sns_bring_to_ear.proto
vendor/etc/sensors/proto/sns_cal.proto
vendor/etc/sensors/proto/sns_client.proto
vendor/etc/sensors/proto/sns_cmc.proto
vendor/etc/sensors/proto/sns_da_test.proto
vendor/etc/sensors/proto/sns_device_mode.proto
vendor/etc/sensors/proto/sns_device_orient.proto
vendor/etc/sensors/proto/sns_diag.proto
vendor/etc/sensors/proto/sns_diag_sensor.proto
vendor/etc/sensors/proto/sns_direct_channel.proto
vendor/etc/sensors/proto/sns_dpc.proto
vendor/etc/sensors/proto/sns_ext_svc.proto
vendor/etc/sensors/proto/sns_facing.proto
vendor/etc/sensors/proto/sns_fmv.proto
vendor/etc/sensors/proto/sns_formatter.proto
vendor/etc/sensors/proto/sns_formatter_notify.proto
vendor/etc/sensors/proto/sns_fw.proto
vendor/etc/sensors/proto/sns_game_rv.proto
vendor/etc/sensors/proto/sns_geomag_rv.proto
vendor/etc/sensors/proto/sns_gravity.proto
vendor/etc/sensors/proto/sns_gyro.proto
vendor/etc/sensors/proto/sns_gyro_cal.proto
vendor/etc/sensors/proto/sns_gyro_rot_matrix.proto
vendor/etc/sensors/proto/sns_hall.proto
vendor/etc/sensors/proto/sns_heart_beat.proto
vendor/etc/sensors/proto/sns_heart_rate.proto
vendor/etc/sensors/proto/sns_hinge_angle.proto
vendor/etc/sensors/proto/sns_humidity.proto
vendor/etc/sensors/proto/sns_mag.proto
vendor/etc/sensors/proto/sns_mag_cal.proto
vendor/etc/sensors/proto/sns_oem1.proto
vendor/etc/sensors/proto/sns_oem3.proto
vendor/etc/sensors/proto/sns_offbody_detect.proto
vendor/etc/sensors/proto/sns_pedometer.proto
vendor/etc/sensors/proto/sns_pedometer_wrist.proto
vendor/etc/sensors/proto/sns_physical_sensor_test.proto
vendor/etc/sensors/proto/sns_pose_6dof.proto
vendor/etc/sensors/proto/sns_ppg.proto
vendor/etc/sensors/proto/sns_pressure.proto
vendor/etc/sensors/proto/sns_proximity.proto
vendor/etc/sensors/proto/sns_psmd.proto
vendor/etc/sensors/proto/sns_registry.proto
vendor/etc/sensors/proto/sns_resampler.proto
vendor/etc/sensors/proto/sns_rgb.proto
vendor/etc/sensors/proto/sns_rmd.proto
vendor/etc/sensors/proto/sns_rotv.proto
vendor/etc/sensors/proto/sns_sar.proto
vendor/etc/sensors/proto/sns_sensor_temperature.proto
vendor/etc/sensors/proto/sns_sig_motion.proto
vendor/etc/sensors/proto/sns_std.proto
vendor/etc/sensors/proto/sns_std_event_gated_sensor.proto
vendor/etc/sensors/proto/sns_std_sensor.proto
vendor/etc/sensors/proto/sns_std_type.proto
vendor/etc/sensors/proto/sns_step_detect.proto
vendor/etc/sensors/proto/sns_suid.proto
vendor/etc/sensors/proto/sns_thermopile.proto
vendor/etc/sensors/proto/sns_threshold.proto
vendor/etc/sensors/proto/sns_tilt.proto
vendor/etc/sensors/proto/sns_tilt_to_wake.proto
vendor/etc/sensors/proto/sns_ultra_violet.proto
vendor/etc/sensors/proto/sns_wrist_tilt_gesture.proto
vendor/etc/sensors/hals.conf
vendor/etc/sensors/sns_reg_config
vendor/etc/sensor_log.cfg
# Thermal config
vendor/etc/thermal-arvr.conf
vendor/etc/thermal-camera.conf
vendor/etc/thermal-chg-only.conf
vendor/etc/thermal-class0.conf
vendor/etc/thermal-engine.conf
vendor/etc/thermal-map-india.conf
vendor/etc/thermal-map.conf
vendor/etc/thermal-mgame.conf
vendor/etc/thermal-nolimits.conf
vendor/etc/thermal-normal-india.conf
vendor/etc/thermal-normal.conf
vendor/etc/thermal-phone.conf
vendor/etc/thermal-region-map.conf
vendor/etc/thermal-tgame.conf
vendor/etc/thermal-video.conf
vendor/etc/thermal-youtube.conf
vendor/etc/thermald-devices.conf
# ADSP
vendor/bin/adsprpcd
vendor/etc/init/vendor.qti.adsprpc-guestos-service.rc

29
setup-makefiles.sh Executable file → Normal file
View File

@@ -1,13 +1,15 @@
#!/bin/bash
#
# Copyright (C) 2016 The CyanogenMod Project
# Copyright (C) 2017-2020 The LineageOS Project
# Copyright (C) 2023 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
set -e
DEVICE=stone
VENDOR=xiaomi
# Load extract_utils and do some sanity checks
MY_DIR="${BASH_SOURCE%/*}"
if [[ ! -d "${MY_DIR}" ]]; then MY_DIR="${PWD}"; fi
@@ -21,28 +23,15 @@ if [ ! -f "${HELPER}" ]; then
fi
source "${HELPER}"
# Initialize the helper for common
setup_vendor "${DEVICE_COMMON}" "${VENDOR}" "${ANDROID_ROOT}" true
# Initialize the helper
setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}"
# Warning headers and guards
write_headers "moonstone peux stone sunstone veux"
write_headers
# The standard common blobs
write_makefiles "${MY_DIR}/proprietary-files.txt" true
echo "TARGET_RECOVERY_DEVICE_DIRS += vendor/$VENDOR/$DEVICE/proprietary" >> "$BOARDMK"
# Finish
write_footers
if [ -s "${MY_DIR}/../${DEVICE}/proprietary-files.txt" ]; then
# Reinitialize the helper for device
setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}" false
# Warning headers and guards
write_headers
# The standard device blobs
write_makefiles "${MY_DIR}/../${DEVICE}/proprietary-files.txt" true
# Finish
write_footers
fi