├── board-info.txt
├── setup-makefiles.py
├── properties
├── system.prop
├── odm.prop
├── build_CN.prop
├── build_GL.prop
└── vendor.prop
├── AndroidProducts.mk
├── overlay
├── Nfc
│ ├── Android.bp
│ ├── res
│ │ └── values
│ │ │ └── config.xml
│ └── AndroidManifest.xml
├── Wifi
│ ├── Android.bp
│ ├── res
│ │ └── values
│ │ │ └── config.xml
│ └── AndroidManifest.xml
├── Lineage
│ ├── Android.bp
│ ├── res
│ │ └── values
│ │ │ └── config.xml
│ └── AndroidManifest.xml
├── WifiCN
│ ├── Android.bp
│ ├── res
│ │ └── values
│ │ │ └── config.xml
│ └── AndroidManifest.xml
├── Aperture
│ ├── Android.bp
│ ├── AndroidManifest.xml
│ └── res
│ │ └── values
│ │ └── config.xml
├── Settings
│ ├── Android.bp
│ ├── res
│ │ └── values
│ │ │ └── config.xml
│ └── AndroidManifest.xml
├── SystemUI
│ ├── Android.bp
│ ├── AndroidManifest.xml
│ └── res
│ │ └── values
│ │ └── dimens.xml
├── Frameworks
│ ├── Android.bp
│ ├── AndroidManifest.xml
│ └── res
│ │ ├── values
│ │ ├── dimens.xml
│ │ └── config.xml
│ │ └── xml
│ │ └── power_profile.xml
├── SettingsProvider
│ ├── Android.bp
│ ├── res
│ │ └── values
│ │ │ └── defaults.xml
│ └── AndroidManifest.xml
├── FrameworksGlobal
│ ├── Android.bp
│ ├── AndroidManifest.xml
│ └── res
│ │ └── xml
│ │ └── power_profile.xml
└── SettingsProviderCN
│ ├── Android.bp
│ ├── res
│ └── values
│ │ └── defaults.xml
│ └── AndroidManifest.xml
├── Android.bp
├── proprietary-firmware.txt
├── BoardConfig.mk
├── lineage_mondrian.mk
├── README.md
├── device.mk
├── extract-files.py
└── audio
├── resourcemanager_waipio_mtp.xml
└── usecaseKvManager.xml
/board-info.txt:
--------------------------------------------------------------------------------
1 | require board=taro|mondrian
2 |
--------------------------------------------------------------------------------
/setup-makefiles.py:
--------------------------------------------------------------------------------
1 | #!./extract-files.py --regenerate_makefiles
2 |
--------------------------------------------------------------------------------
/properties/system.prop:
--------------------------------------------------------------------------------
1 | # Xiaomi
2 | ro.product.mod_device=mondrian_global
3 |
--------------------------------------------------------------------------------
/properties/odm.prop:
--------------------------------------------------------------------------------
1 | # Model-specific properties
2 | import /odm/etc/build_${ro.boot.hwc}.prop
3 |
--------------------------------------------------------------------------------
/AndroidProducts.mk:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (C) 2022-2023 The LineageOS Project
3 | #
4 | # SPDX-License-Identifier: Apache-2.0
5 | #
6 |
7 | PRODUCT_MAKEFILES := \
8 | $(LOCAL_DIR)/lineage_mondrian.mk
9 |
--------------------------------------------------------------------------------
/overlay/Nfc/Android.bp:
--------------------------------------------------------------------------------
1 | //
2 | // Copyright (C) 2024 The LineageOS Project
3 | //
4 | // SPDX-License-Identifier: Apache-2.0
5 | //
6 |
7 | runtime_resource_overlay {
8 | name: "NfcResMondrian",
9 | vendor: true,
10 | }
11 |
--------------------------------------------------------------------------------
/overlay/Wifi/Android.bp:
--------------------------------------------------------------------------------
1 | //
2 | // Copyright (C) 2023 The LineageOS Project
3 | //
4 | // SPDX-License-Identifier: Apache-2.0
5 | //
6 |
7 | runtime_resource_overlay {
8 | name: "WifiResMondrian",
9 | device_specific: true
10 | }
11 |
--------------------------------------------------------------------------------
/overlay/Lineage/Android.bp:
--------------------------------------------------------------------------------
1 | //
2 | // Copyright (C) 2024 The LineageOS Project
3 | //
4 | // SPDX-License-Identifier: Apache-2.0
5 | //
6 |
7 | runtime_resource_overlay {
8 | name: "LineageResMondrian",
9 | device_specific: true,
10 | }
11 |
--------------------------------------------------------------------------------
/overlay/WifiCN/Android.bp:
--------------------------------------------------------------------------------
1 | //
2 | // Copyright (C) 2024 The LineageOS Project
3 | //
4 | // SPDX-License-Identifier: Apache-2.0
5 | //
6 |
7 | runtime_resource_overlay {
8 | name: "WifiResMondrianCN",
9 | device_specific: true
10 | }
11 |
--------------------------------------------------------------------------------
/overlay/Aperture/Android.bp:
--------------------------------------------------------------------------------
1 | //
2 | // Copyright (C) 2023 The LineageOS Project
3 | //
4 | // SPDX-License-Identifier: Apache-2.0
5 | //
6 |
7 | runtime_resource_overlay {
8 | name: "ApertureResMondrian",
9 | device_specific: true,
10 | }
11 |
--------------------------------------------------------------------------------
/overlay/Settings/Android.bp:
--------------------------------------------------------------------------------
1 | //
2 | // Copyright (C) 2024 The LineageOS Project
3 | //
4 | // SPDX-License-Identifier: Apache-2.0
5 | //
6 |
7 | runtime_resource_overlay {
8 | name: "SettingsResMondrian",
9 | device_specific: true,
10 | }
11 |
--------------------------------------------------------------------------------
/overlay/SystemUI/Android.bp:
--------------------------------------------------------------------------------
1 | //
2 | // Copyright (C) 2022 The LineageOS Project
3 | //
4 | // SPDX-License-Identifier: Apache-2.0
5 | //
6 |
7 | runtime_resource_overlay {
8 | name: "SystemUIResMondrian",
9 | device_specific: true,
10 | }
11 |
--------------------------------------------------------------------------------
/overlay/Frameworks/Android.bp:
--------------------------------------------------------------------------------
1 | //
2 | // Copyright (C) 2022 The LineageOS Project
3 | //
4 | // SPDX-License-Identifier: Apache-2.0
5 | //
6 |
7 | runtime_resource_overlay {
8 | name: "FrameworksResMondrian",
9 | device_specific: true,
10 | }
11 |
--------------------------------------------------------------------------------
/overlay/SettingsProvider/Android.bp:
--------------------------------------------------------------------------------
1 | //
2 | // Copyright (C) 2023 The LineageOS Project
3 | //
4 | // SPDX-License-Identifier: Apache-2.0
5 | //
6 |
7 | runtime_resource_overlay {
8 | name: "SettingsProviderResMondrian",
9 | device_specific: true
10 | }
--------------------------------------------------------------------------------
/overlay/FrameworksGlobal/Android.bp:
--------------------------------------------------------------------------------
1 | //
2 | // Copyright (C) 2024 The LineageOS Project
3 | //
4 | // SPDX-License-Identifier: Apache-2.0
5 | //
6 |
7 | runtime_resource_overlay {
8 | name: "FrameworksResMondrianGlobal",
9 | device_specific: true,
10 | }
11 |
--------------------------------------------------------------------------------
/overlay/SettingsProviderCN/Android.bp:
--------------------------------------------------------------------------------
1 | //
2 | // Copyright (C) 2024 The LineageOS Project
3 | //
4 | // SPDX-License-Identifier: Apache-2.0
5 | //
6 |
7 | runtime_resource_overlay {
8 | name: "SettingsProviderResMondrianCN",
9 | device_specific: true
10 | }
11 |
--------------------------------------------------------------------------------
/properties/build_CN.prop:
--------------------------------------------------------------------------------
1 | # Chinese model
2 | bluetooth.device.default_name=Redmi K60
3 | vendor.usb.product_string=Redmi K60
4 | ro.product.odm.brand=Redmi
5 | ro.product.odm.device=mondrian
6 | ro.product.odm.manufacturer=Xiaomi
7 | ro.product.odm.model=23013RK75C
8 | ro.product.odm.name=mondrian
9 |
--------------------------------------------------------------------------------
/properties/build_GL.prop:
--------------------------------------------------------------------------------
1 | # Global model
2 | bluetooth.device.default_name=POCO F5 Pro
3 | vendor.usb.product_string=POCO F5 Pro
4 | ro.product.odm.brand=POCO
5 | ro.product.odm.device=mondrian
6 | ro.product.odm.manufacturer=Xiaomi
7 | ro.product.odm.model=23013PC75G
8 | ro.product.odm.name=mondrian_global
9 |
--------------------------------------------------------------------------------
/properties/vendor.prop:
--------------------------------------------------------------------------------
1 | # Fingerprint
2 | persist.vendor.fingerprint.type=udfps_optical
3 | persist.vendor.fingerprint.sensor_location=720|2882|124
4 |
5 | # Sensors
6 | ro.vendor.sensors.xiaomi.udfps=true
7 |
8 | # System properties
9 | ro.product.property_source_order=odm,vendor,product,system_ext,system
10 |
--------------------------------------------------------------------------------
/Android.bp:
--------------------------------------------------------------------------------
1 | //
2 | // Copyright (C) 2022-2023 The LineageOS Project
3 | //
4 | // SPDX-License-Identifier: Apache-2.0
5 | //
6 |
7 | soong_namespace {
8 | }
9 |
10 | install_symlink {
11 | name: "firmware_aw_cali.bin_symlink",
12 | vendor: true,
13 | installed_location: "firmware/aw_cali.bin",
14 | symlink_target: "/mnt/vendor/persist/audio/aw_calr.bin",
15 | }
16 |
--------------------------------------------------------------------------------
/overlay/Lineage/res/values/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 | true
9 |
10 |
--------------------------------------------------------------------------------
/overlay/SettingsProvider/res/values/defaults.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 | POCO F5 Pro
9 |
10 |
--------------------------------------------------------------------------------
/overlay/SettingsProviderCN/res/values/defaults.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 | Redmi K60
9 |
10 |
--------------------------------------------------------------------------------
/overlay/Frameworks/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
5 |
7 |
10 |
11 |
--------------------------------------------------------------------------------
/overlay/Settings/res/values/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 | 129
9 |
10 |
--------------------------------------------------------------------------------
/overlay/Lineage/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
5 |
7 |
10 |
11 |
--------------------------------------------------------------------------------
/overlay/Settings/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
5 |
7 |
10 |
11 |
--------------------------------------------------------------------------------
/overlay/SystemUI/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
5 |
7 |
10 |
11 |
--------------------------------------------------------------------------------
/overlay/Aperture/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
5 |
7 |
10 |
11 |
--------------------------------------------------------------------------------
/overlay/Wifi/res/values/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 | POCO F5 Pro
9 |
10 |
--------------------------------------------------------------------------------
/overlay/WifiCN/res/values/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 | Redmi K60
9 |
10 |
--------------------------------------------------------------------------------
/overlay/SettingsProvider/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
5 |
7 |
10 |
--------------------------------------------------------------------------------
/overlay/Nfc/res/values/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 | - mondrian
10 |
11 |
12 |
--------------------------------------------------------------------------------
/overlay/Nfc/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
5 |
7 |
11 |
12 |
--------------------------------------------------------------------------------
/overlay/Wifi/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
5 |
7 |
11 |
12 |
--------------------------------------------------------------------------------
/proprietary-firmware.txt:
--------------------------------------------------------------------------------
1 | ## All proprietary files from this list, unless pinned and noted otherwise,
2 | ## are from mondrian OS2.0.5.0.VMNMIXM
3 |
4 | abl.img;AB
5 | aop.img;AB
6 | aop_config.img;AB
7 | bluetooth.img;AB
8 | cpucp.img;AB
9 | devcfg.img;AB
10 | dsp.img;AB
11 | featenabler.img;AB
12 | hyp.img;AB
13 | imagefv.img;AB
14 | keymaster.img;AB
15 | modem.img;AB
16 | qupfw.img;AB
17 | shrm.img;AB
18 | tz.img;AB
19 | uefi.img;AB
20 | uefisecapp.img;AB
21 | vm-bootsys.img
22 | xbl.img;AB
23 | xbl_config.img;AB
24 | xbl_ramdump.img;AB
25 |
--------------------------------------------------------------------------------
/overlay/FrameworksGlobal/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
5 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/overlay/SettingsProviderCN/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
5 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/BoardConfig.mk:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (C) 2022-2023 The LineageOS Project
3 | #
4 | # SPDX-License-Identifier: Apache-2.0
5 | #
6 |
7 | # Inherit from xiaomi sm8450-common
8 | include device/xiaomi/sm8450-common/BoardConfigCommon.mk
9 |
10 | # Inherit from the proprietary version
11 | include vendor/xiaomi/mondrian/BoardConfigVendor.mk
12 |
13 | DEVICE_PATH := device/xiaomi/mondrian
14 |
15 | # Properties
16 | TARGET_ODM_PROP += $(DEVICE_PATH)/properties/odm.prop
17 | TARGET_SYSTEM_PROP += $(DEVICE_PATH)/properties/system.prop
18 | TARGET_VENDOR_PROP += $(DEVICE_PATH)/properties/vendor.prop
19 |
20 | # Screen density
21 | TARGET_SCREEN_DENSITY := 560
22 |
--------------------------------------------------------------------------------
/overlay/WifiCN/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
5 |
7 |
13 |
14 |
--------------------------------------------------------------------------------
/overlay/Frameworks/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
9 | 120.0px
10 |
11 |
13 | 120.0px
14 |
15 |
--------------------------------------------------------------------------------
/lineage_mondrian.mk:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (C) 2022-2023 The LineageOS Project
3 | #
4 | # SPDX-License-Identifier: Apache-2.0
5 | #
6 |
7 | # Inherit from mondrian device
8 | $(call inherit-product, device/xiaomi/mondrian/device.mk)
9 |
10 | # Inherit from common lineage configuration
11 | $(call inherit-product, vendor/lineage/config/common_full_phone.mk)
12 |
13 | PRODUCT_NAME := lineage_mondrian
14 | PRODUCT_DEVICE := mondrian
15 | PRODUCT_MANUFACTURER := Xiaomi
16 | PRODUCT_BRAND := POCO
17 | PRODUCT_MODEL := 23013PC75G
18 |
19 | PRODUCT_BUILD_PROP_OVERRIDES += \
20 | BuildDesc="mondrian_global-user 15 AQ3A.240912.001 OS2.0.5.0.VMNMIXM release-keys" \
21 | BuildFingerprint=POCO/mondrian_global/mondrian:15/AQ3A.240912.001/OS2.0.5.0.VMNMIXM:user/release-keys \
22 | DeviceProduct=mondrian \
23 | SystemName=mondrian_global
24 |
25 | PRODUCT_GMS_CLIENTID_BASE := android-xiaomi
26 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | Copyright (C) 2022-2023 The LineageOS Project
2 |
3 | Device configuration for POCO F5 Pro / Xiaomi Redmi K60
4 | =========================================
5 |
6 | The POCO F5 Pro / Xiaomi Redmi K60 (codenamed _"mondrian"_) is a high-end smartphone from Xiaomi.
7 |
8 | It was released in China in January 2023 and globally in May 2023.
9 |
10 | ## Device specifications
11 |
12 | Basic | Spec Sheet
13 | -------:|:-------------------------
14 | Platform | Snapdragon® 8+ Gen 1 (SM8475)
15 | RAM & Storage | 8GB/128GB, 8GB/256GB, 12GB/256GB, 12GB/512GB, 12GB/512GB, 16GB/512GB, 16GB/1024GB (LPDDR5 RAM, UFS 3.1 storage)
16 | Shipped Android Version | 13
17 | Battery | Non-removable, 5500 mAh
18 | Display | 6.67″, 120Hz, 3200x1440 (526 ppi)
19 | Rear camera | 64MP wide angle, 8MP ultra wide-angle, 2MP macro
20 | Front camera | 16MP in-display
21 |
22 | ## Device picture
23 |
24 | 
25 |
--------------------------------------------------------------------------------
/overlay/SystemUI/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 | 49.0px
8 | 16dp
9 |
10 |
12 | 1385px
13 |
14 |
18 | 2882px
19 |
20 |
22 | - 48.28
23 |
24 |
--------------------------------------------------------------------------------
/device.mk:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (C) 2022-2023 The LineageOS Project
3 | #
4 | # SPDX-License-Identifier: Apache-2.0
5 | #
6 |
7 | # Inherit from xiaomi sm8450-common
8 | $(call inherit-product, device/xiaomi/sm8450-common/common.mk)
9 |
10 | # Inherit from the proprietary version
11 | $(call inherit-product, vendor/xiaomi/mondrian/mondrian-vendor.mk)
12 |
13 | # Audio
14 | PRODUCT_PACKAGES += \
15 | firmware_aw_cali.bin_symlink
16 |
17 | PRODUCT_COPY_FILES += \
18 | $(LOCAL_PATH)/audio/mixer_paths_waipio_mtp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_cape/mixer_paths_waipio_mtp.xml \
19 | $(LOCAL_PATH)/audio/resourcemanager_waipio_mtp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_cape/resourcemanager_waipio_mtp.xml \
20 | $(LOCAL_PATH)/audio/usecaseKvManager.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usecaseKvManager.xml
21 |
22 | # Overlay
23 | PRODUCT_PACKAGES += \
24 | ApertureResMondrian \
25 | FrameworksResMondrian \
26 | FrameworksResMondrianGlobal \
27 | LineageResMondrian \
28 | NfcResMondrian \
29 | SettingsProviderResMondrian \
30 | SettingsProviderResMondrianCN \
31 | SettingsResMondrian \
32 | SystemUIResMondrian \
33 | WifiResMondrian \
34 | WifiResMondrianCN
35 |
36 | # Soong namespaces
37 | PRODUCT_SOONG_NAMESPACES += \
38 | $(LOCAL_PATH)
39 |
40 | # System properties
41 | PRODUCT_COPY_FILES += \
42 | $(LOCAL_PATH)/properties/build_CN.prop:$(TARGET_COPY_OUT_ODM)/etc/build_CN.prop \
43 | $(LOCAL_PATH)/properties/build_GL.prop:$(TARGET_COPY_OUT_ODM)/etc/build_GL.prop
44 |
45 | PRODUCT_COPY_FILES += \
46 | $(LOCAL_PATH)/properties/build_CN.prop:$(TARGET_COPY_OUT_RECOVERY)/root/vendor/odm/etc/build_CN.prop \
47 | $(LOCAL_PATH)/properties/build_GL.prop:$(TARGET_COPY_OUT_RECOVERY)/root/vendor/odm/etc/build_GL.prop
48 |
49 | # Vibrator
50 | $(call soong_config_set,qti_vibrator,effect_lib,libqtivibratoreffect.xiaomi)
51 | $(call soong_config_set,qti_vibrator,use_effect_stream,true)
52 |
--------------------------------------------------------------------------------
/overlay/Aperture/res/values/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 | true
9 |
10 |
11 |
12 | - 0
13 | - 2
14 | - 3
15 | - 5
16 | - 6
17 |
18 |
19 |
25 | false
26 |
27 |
34 |
35 | - 0
- sd|hd|fhd|uhd
- 60
36 | - 1
- sd|hd|fhd
- 60
37 | - 4
- sd|hd|fhd|uhd
- 60
38 |
39 |
40 |
43 |
44 | - 4
- 0.6
- 0.64999998
45 |
46 |
47 |
--------------------------------------------------------------------------------
/extract-files.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env -S PYTHONPATH=../../../tools/extract-utils python3
2 | #
3 | # SPDX-FileCopyrightText: 2024 The LineageOS Project
4 | # SPDX-License-Identifier: Apache-2.0
5 | #
6 |
7 | import extract_utils.tools
8 | extract_utils.tools.DEFAULT_PATCHELF_VERSION = '0_18'
9 |
10 | from extract_utils.fixups_blob import (
11 | blob_fixup,
12 | blob_fixups_user_type,
13 | )
14 | from extract_utils.fixups_lib import (
15 | lib_fixups,
16 | )
17 | from extract_utils.main import (
18 | ExtractUtils,
19 | ExtractUtilsModule,
20 | )
21 |
22 | namespace_imports = [
23 | 'device/xiaomi/sm8450-common',
24 | 'hardware/qcom-caf/sm8450',
25 | 'hardware/xiaomi',
26 | 'vendor/qcom/opensource/commonsys-intf/display',
27 | 'vendor/xiaomi/sm8450-common',
28 | ]
29 |
30 | blob_fixups: blob_fixups_user_type = {
31 | (
32 | 'vendor/etc/camera/mondrian_enhance_motiontuning.xml',
33 | 'vendor/etc/camera/mondrian_motiontuning.xml',
34 | ): blob_fixup().regex_replace('xml=version', 'xml version'),
35 | 'vendor/etc/camera/pureView_parameter.xml': blob_fixup().regex_replace(
36 | r'=([0-9]+)>', r'="\1">'
37 | ),
38 | 'vendor/lib64/hw/com.qti.chi.override.so': blob_fixup().add_needed(
39 | 'libprocessgroup_shim.so'
40 | ),
41 | 'vendor/lib64/libcamxcommonutils.so': blob_fixup().add_needed(
42 | 'libprocessgroup_shim.so'
43 | ),
44 | 'vendor/lib64/libcamximageformatutils.so': blob_fixup().replace_needed(
45 | 'vendor.qti.hardware.display.config-V2-ndk_platform.so',
46 | 'vendor.qti.hardware.display.config-V2-ndk.so',
47 | ),
48 | (
49 | 'vendor/lib64/libTrueSight.so',
50 | 'vendor/lib64/libalAILDC.so',
51 | 'vendor/lib64/libalLDC.so',
52 | 'vendor/lib64/libalhLDC.so',
53 | ): blob_fixup()
54 | .clear_symbol_version('AHardwareBuffer_allocate')
55 | .clear_symbol_version('AHardwareBuffer_describe')
56 | .clear_symbol_version('AHardwareBuffer_lock')
57 | .clear_symbol_version('AHardwareBuffer_lockPlanes')
58 | .clear_symbol_version('AHardwareBuffer_release')
59 | .clear_symbol_version('AHardwareBuffer_unlock'),
60 | 'vendor/lib64/libmialgoengine.so': blob_fixup().add_needed(
61 | 'libprocessgroup_shim.so'
62 | ),
63 | }
64 |
65 | module = ExtractUtilsModule(
66 | 'mondrian',
67 | 'xiaomi',
68 | blob_fixups=blob_fixups,
69 | lib_fixups=lib_fixups,
70 | namespace_imports=namespace_imports,
71 | check_elf=True,
72 | add_firmware_proprietary_file=True,
73 | )
74 |
75 | if __name__ == '__main__':
76 | utils = ExtractUtils.device_with_common(
77 | module, 'sm8450-common', module.vendor
78 | )
79 | utils.run()
80 |
--------------------------------------------------------------------------------
/overlay/Frameworks/res/xml/power_profile.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 | - 0
8 |
9 |
10 | - 97.1
11 |
12 |
14 | - 424.86
15 |
16 | 4
17 | 3
18 | 1
19 |
20 |
21 |
23 |
24 | 300000
25 | 441600
26 | 556800
27 | 691200
28 | 806400
29 | 940800
30 | 1056000
31 | 1132800
32 | 1228800
33 | 1324800
34 | 1440000
35 | 1555200
36 | 1670400
37 | 1804800
38 |
39 |
40 |
42 |
43 | 36.95
44 | 39.85
45 | 41.36
46 | 44.01
47 | 45.93
48 | 49.09
49 | 51.5
50 | 54.12
51 | 56.37
52 | 59.99
53 | 65.83
54 | 71.21
55 | 77.48
56 | 85.57
57 |
58 |
59 |
61 |
62 | 633600
63 | 768000
64 | 883200
65 | 998400
66 | 1113600
67 | 1209600
68 | 1324800
69 | 1440000
70 | 1555200
71 | 1651200
72 | 1766400
73 | 1881600
74 | 1996800
75 | 2112000
76 | 2227200
77 | 2342400
78 | 2496000
79 |
80 |
81 |
83 |
84 | 55.02
85 | 62.61
86 | 69.6
87 | 78.48
88 | 85.31
89 | 92.39
90 | 102.48
91 | 114.48
92 | 128.66
93 | 140.69
94 | 159.06
95 | 174.59
96 | 194.01
97 | 213.56
98 | 234.26
99 | 254.32
100 | 291.15
101 |
102 |
103 | 787200
104 | 921600
105 | 1036800
106 | 1171200
107 | 1286400
108 | 1401600
109 | 1536000
110 | 1651200
111 | 1766400
112 | 1881600
113 | 1996800
114 | 2131200
115 | 2246400
116 | 2361600
117 | 2476800
118 | 2592000
119 | 2707200
120 | 2822400
121 | 2918400
122 | 2995200
123 |
124 |
125 | 99.31
126 | 112.68
127 | 125.12
128 | 140.83
129 | 153.37
130 | 168.06
131 | 192.12
132 | 212.9
133 | 235.13
134 | 260.82
135 | 297.13
136 | 345.86
137 | 377.35
138 | 411.59
139 | 451.3
140 | 498.24
141 | 543.21
142 | 603.79
143 | 671.7
144 | 733.8
145 |
146 |
147 |
149 | - 17.47
150 |
151 |
152 | - 5.86
153 |
154 |
155 | - 0
156 |
157 |
158 | - 5500
159 | - 0.83
160 | - 174.8525
161 | - 28.44
162 |
163 |
164 | - 23.4
165 |
166 |
167 | - 56.68
168 | - 107.01
169 | - 883.04
170 | - 54.4
171 | - 163.015
172 | - 73.24
173 |
174 | 1.98
175 | 1.98
176 |
177 | - 6
178 | - 180
179 | - 186
180 | - 3700
181 |
182 |
184 |
185 | 17
186 |
187 |
188 |
189 | - 1
190 |
191 |
192 | - 176
193 |
194 |
195 | - 200
196 |
197 | 1
198 |
199 |
200 |
201 | - 3700
202 |
203 | .0001
204 | .001
205 | .01
206 | .1
207 | 1
208 |
209 | - 6.62
210 | - 0.8
211 | - 3700
212 |
213 |
--------------------------------------------------------------------------------
/overlay/FrameworksGlobal/res/xml/power_profile.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 | - 0
8 |
9 |
10 | - 97.1
11 |
12 |
14 | - 424.86
15 |
16 | 4
17 | 3
18 | 1
19 |
20 |
21 |
23 |
24 | 300000
25 | 441600
26 | 556800
27 | 691200
28 | 806400
29 | 940800
30 | 1056000
31 | 1132800
32 | 1228800
33 | 1324800
34 | 1440000
35 | 1555200
36 | 1670400
37 | 1804800
38 |
39 |
40 |
42 |
43 | 36.95
44 | 39.85
45 | 41.36
46 | 44.01
47 | 45.93
48 | 49.09
49 | 51.5
50 | 54.12
51 | 56.37
52 | 59.99
53 | 65.83
54 | 71.21
55 | 77.48
56 | 85.57
57 |
58 |
59 |
61 |
62 | 633600
63 | 768000
64 | 883200
65 | 998400
66 | 1113600
67 | 1209600
68 | 1324800
69 | 1440000
70 | 1555200
71 | 1651200
72 | 1766400
73 | 1881600
74 | 1996800
75 | 2112000
76 | 2227200
77 | 2342400
78 | 2496000
79 |
80 |
81 |
83 |
84 | 55.02
85 | 62.61
86 | 69.6
87 | 78.48
88 | 85.31
89 | 92.39
90 | 102.48
91 | 114.48
92 | 128.66
93 | 140.69
94 | 159.06
95 | 174.59
96 | 194.01
97 | 213.56
98 | 234.26
99 | 254.32
100 | 291.15
101 |
102 |
103 | 787200
104 | 921600
105 | 1036800
106 | 1171200
107 | 1286400
108 | 1401600
109 | 1536000
110 | 1651200
111 | 1766400
112 | 1881600
113 | 1996800
114 | 2131200
115 | 2246400
116 | 2361600
117 | 2476800
118 | 2592000
119 | 2707200
120 | 2822400
121 | 2918400
122 | 2995200
123 |
124 |
125 | 99.31
126 | 112.68
127 | 125.12
128 | 140.83
129 | 153.37
130 | 168.06
131 | 192.12
132 | 212.9
133 | 235.13
134 | 260.82
135 | 297.13
136 | 345.86
137 | 377.35
138 | 411.59
139 | 451.3
140 | 498.24
141 | 543.21
142 | 603.79
143 | 671.7
144 | 733.8
145 |
146 |
147 |
149 | - 17.47
150 |
151 |
152 | - 5.86
153 |
154 |
155 | - 0
156 |
157 |
158 | - 5160
159 | - 0.83
160 | - 174.8525
161 | - 28.44
162 |
163 |
164 | - 23.4
165 |
166 |
167 | - 56.68
168 | - 107.01
169 | - 883.04
170 | - 54.4
171 | - 163.015
172 | - 73.24
173 |
174 | 1.98
175 | 1.98
176 |
177 | - 6
178 | - 180
179 | - 186
180 | - 3700
181 |
182 |
184 |
185 | 17
186 |
187 |
188 |
189 | - 1
190 |
191 |
192 | - 176
193 |
194 |
195 | - 200
196 |
197 | 1
198 |
199 |
200 |
201 | - 3700
202 |
203 | .0001
204 | .001
205 | .01
206 | .1
207 | 1
208 |
209 | - 6.62
210 | - 0.8
211 | - 3700
212 |
213 |
--------------------------------------------------------------------------------
/overlay/Frameworks/res/values/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
11 | - 0.000915639
12 |
13 |
17 | - 1
18 |
19 |
22 | - 0.07496032
23 | - 0.000915639
24 |
25 |
45 |
46 | - 1
47 | - 2
48 | - 4
49 | - 6
50 | - 8
51 | - 10
52 | - 15
53 | - 20
54 | - 25
55 | - 30
56 | - 35
57 | - 40
58 | - 45
59 | - 50
60 | - 55
61 | - 60
62 | - 65
63 | - 70
64 | - 75
65 | - 80
66 | - 85
67 | - 90
68 | - 95
69 | - 100
70 | - 120
71 | - 140
72 | - 160
73 | - 180
74 | - 200
75 | - 220
76 | - 240
77 | - 260
78 | - 280
79 | - 300
80 | - 320
81 | - 340
82 | - 360
83 | - 380
84 | - 400
85 | - 420
86 | - 440
87 | - 460
88 | - 480
89 | - 500
90 | - 700
91 | - 900
92 | - 1100
93 | - 1300
94 | - 1500
95 | - 1700
96 | - 1900
97 | - 2000
98 | - 2500
99 | - 3000
100 | - 3500
101 | - 4000
102 | - 4500
103 | - 5000
104 | - 5500
105 | - 6000
106 | - 6500
107 | - 7000
108 | - 7500
109 | - 8000
110 | - 8500
111 | - 9000
112 | - 9500
113 | - 10000
114 | - 10500
115 | - 11000
116 | - 11500
117 | - 12000
118 | - 12500
119 | - 13000
120 | - 13500
121 | - 14000
122 | - 14500
123 | - 15000
124 | - 16000
125 | - 17000
126 | - 18000
127 | - 19000
128 | - 20000
129 | - 21000
130 | - 22000
131 | - 23000
132 | - 24000
133 | - 25000
134 | - 26000
135 | - 27000
136 | - 28000
137 | - 29000
138 | - 30000
139 | - 35000
140 | - 40000
141 | - 45000
142 | - 50000
143 | - 55000
144 | - 60000
145 | - 65000
146 | - 70000
147 | - 75000
148 | - 80000
149 | - 85000
150 | - 90000
151 | - 95000
152 | - 100000
153 |
154 |
155 |
160 |
161 |
162 |
174 |
175 | - 2.8
176 | - 3.0
177 | - 3.4
178 | - 16.0
179 | - 24.2
180 | - 31.0
181 | - 35.7
182 | - 46.3
183 | - 58.0
184 | - 75.0
185 | - 81.0
186 | - 82.0
187 | - 82.0
188 | - 82.0
189 | - 83.0
190 | - 83.0
191 | - 83.0
192 | - 84.0
193 | - 84.0
194 | - 85.0
195 | - 85.0
196 | - 85.0
197 | - 85.0
198 | - 86.0
199 | - 86.0
200 | - 87.0
201 | - 89.0
202 | - 90.0
203 | - 91.0
204 | - 93.0
205 | - 94.0
206 | - 96.0
207 | - 97.0
208 | - 99.0
209 | - 100.0
210 | - 101.0
211 | - 104.0
212 | - 105.0
213 | - 106.0
214 | - 108.0
215 | - 111.0
216 | - 114.0
217 | - 116.0
218 | - 119.0
219 | - 122.0
220 | - 143.0
221 | - 164.0
222 | - 178.0
223 | - 200.0
224 | - 225.0
225 | - 254.0
226 | - 277.0
227 | - 292.0
228 | - 366.0
229 | - 397.0
230 | - 405.0
231 | - 412.0
232 | - 425.0
233 | - 455.7
234 | - 483.3
235 | - 500.0
236 | - 512.5
237 | - 525.0
238 | - 537.5
239 | - 550.0
240 | - 562.5
241 | - 575.0
242 | - 587.5
243 | - 600.0
244 | - 610.0
245 | - 620.0
246 | - 630.0
247 | - 640.0
248 | - 650.0
249 | - 660.0
250 | - 670.0
251 | - 680.0
252 | - 690.0
253 | - 701.0
254 | - 705.0
255 | - 710.0
256 | - 715.0
257 | - 720.0
258 | - 725.0
259 | - 730.0
260 | - 735.0
261 | - 740.0
262 | - 745.0
263 | - 750.0
264 | - 755.0
265 | - 760.0
266 | - 765.0
267 | - 770.0
268 | - 775.0
269 | - 800.0
270 | - 816.7
271 | - 833.3
272 | - 850.0
273 | - 866.7
274 | - 883.3
275 | - 900.0
276 | - 914.3
277 | - 928.6
278 | - 942.9
279 | - 957.1
280 | - 971.4
281 | - 985.7
282 | - 1000.0
283 |
284 |
285 |
286 | org.lineageos.sensor.udfps
287 |
288 |
312 | M 0,0 H -34 V 120 H 34 V 0 H 0 Z
313 |
314 |
--------------------------------------------------------------------------------
/audio/resourcemanager_waipio_mtp.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 | 1
77 |
78 | PAL_STREAM_COMPRESSED
79 | PAL_STREAM_PCM_OFFLOAD
80 | PAL_STREAM_VOIP_RX
81 |
82 |
83 |
84 | 1
85 |
86 | PAL_STREAM_LOW_LATENCY
87 | PAL_STREAM_ULTRA_LOW_LATENCY
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 | 0xB3000000
111 | 1000
112 | 5
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 | PAL_STREAM_VOICE_UI
122 | PAL_STREAM_ACD
123 | PAL_STREAM_ULTRASOUND
124 | PAL_STREAM_SENSOR_PCM_DATA
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
143 |
144 |
145 |
146 | PAL_DEVICE_IN_HANDSET_MIC
147 | CODEC_DMA-LPAIF_RXTX-TX-3
148 | 4
149 | 2
150 | 48000
151 | 16
152 | handset-dmic-endfire
153 |
154 | PAL_STREAM_LOW_LATENCY
155 |
156 |
157 | PAL_STREAM_DEEP_BUFFER
158 |
159 |
160 | PAL_STREAM_VOIP_TX
161 | 2
162 |
163 |
164 | PAL_STREAM_VOICE_CALL
165 | 1
166 | HW
167 | 16
168 |
169 | 2
170 | handset-dmic-endfire
171 |
172 |
173 | 4
174 | quad-mic
175 |
176 |
177 |
178 | PAL_STREAM_ULTRA_LOW_LATENCY
179 |
180 |
181 | PAL_STREAM_RAW
182 |
183 | 4
184 | unprocessed-hdr-mic-landscape
185 |
186 |
187 | 4
188 | unprocessed-hdr-mic-portrait
189 |
190 |
191 | 4
192 | unprocessed-hdr-mic-inverted-landscape
193 |
194 |
195 | 4
196 | unprocessed-hdr-mic-inverted-portrait
197 |
198 |
199 |
200 | PAL_DEVICE_OUT_HANDSET
201 | PAL_DEVICE_OUT_SPEAKER
202 |
203 |
204 |
205 | PAL_DEVICE_IN_SPEAKER_MIC
206 | CODEC_DMA-LPAIF_RXTX-TX-3
207 | 4
208 | 48000
209 | 16
210 | 1
211 | speaker-mic
212 |
213 | PAL_STREAM_LOW_LATENCY
214 |
215 |
216 | PAL_STREAM_DEEP_BUFFER
217 |
218 |
219 | PAL_STREAM_VOIP_TX
220 | 2
221 | 2
222 | speaker-dmic-endfire
223 |
224 |
225 | PAL_STREAM_VOICE_CALL
226 | 1
227 | OFF
228 | 16
229 | 2
230 | speaker-dmic-endfire
231 |
232 | 2
233 | speaker-dmic-endfire
234 |
235 |
236 | 4
237 | quad-mic
238 |
239 |
240 |
241 | PAL_STREAM_LOOPBACK
242 |
243 |
244 | PAL_STREAM_ULTRA_LOW_LATENCY
245 |
246 |
247 | PAL_DEVICE_OUT_SPEAKER
248 |
249 |
250 |
251 | PAL_DEVICE_IN_WIRED_HEADSET
252 | CODEC_DMA-LPAIF_RXTX-TX-3
253 | 1
254 | 1
255 | 16
256 | headset-mic
257 |
258 | PAL_STREAM_LOW_LATENCY
259 |
260 |
261 | PAL_STREAM_DEEP_BUFFER
262 |
263 |
264 | PAL_STREAM_VOIP_TX
265 | 48000
266 | 16
267 |
268 |
269 | PAL_STREAM_VOICE_CALL
270 | HW
271 | 48000
272 | 16
273 | 1
274 |
275 |
276 | PAL_STREAM_ULTRA_LOW_LATENCY
277 |
278 |
279 | PAL_DEVICE_OUT_WIRED_HEADSET
280 | PAL_DEVICE_OUT_WIRED_HEADPHONE
281 |
282 |
283 |
284 | PAL_DEVICE_IN_BLUETOOTH_SCO_HEADSET
285 | SLIM-DEV1-TX-7
286 | 1
287 | 1
288 | 8000
289 | 16
290 | bt-sco-mic
291 |
292 | PAL_STREAM_LOW_LATENCY
293 |
294 |
295 | PAL_STREAM_DEEP_BUFFER
296 |
297 |
298 | PAL_STREAM_VOIP_TX
299 |
300 |
301 | PAL_STREAM_VOICE_CALL
302 | 1
303 |
304 |
305 | PAL_STREAM_ULTRA_LOW_LATENCY
306 |
307 |
308 | PAL_DEVICE_OUT_BLUETOOTH_SCO
309 |
310 |
311 |
312 | PAL_DEVICE_IN_HANDSET_VA_MIC
313 | CODEC_DMA-LPAIF_VA-TX-0
314 | 2
315 | 1
316 | 48000
317 | 16
318 | va-mic
319 |
320 | PAL_DEVICE_OUT_SPEAKER
321 | PAL_DEVICE_OUT_HANDSET
322 | PAL_DEVICE_OUT_BLUETOOTH_A2DP
323 |
324 |
325 |
326 | PAL_DEVICE_IN_HEADSET_VA_MIC
327 | CODEC_DMA-LPAIF_VA-TX-0
328 | 2
329 | 1
330 | headset-va-mic
331 | 48000
332 | 16
333 |
334 | PAL_DEVICE_OUT_WIRED_HEADSET
335 | PAL_DEVICE_OUT_WIRED_HEADPHONE
336 | PAL_DEVICE_OUT_BLUETOOTH_A2DP
337 |
338 |
339 |
340 | PAL_DEVICE_IN_USB_HEADSET
341 | USB_AUDIO-TX
342 | 1
343 | 1
344 | 48000
345 | 16
346 | usb-headset-mic
347 |
348 | PAL_STREAM_VOIP_TX
349 |
350 |
351 | PAL_STREAM_LOW_LATENCY
352 |
353 |
354 | PAL_STREAM_DEEP_BUFFER
355 |
356 |
357 | PAL_STREAM_VOICE_CALL
358 | 1
359 | HW
360 |
361 |
362 | PAL_STREAM_ULTRA_LOW_LATENCY
363 |
364 |
365 | PAL_DEVICE_OUT_USB_HEADSET
366 |
367 |
368 |
369 | PAL_DEVICE_IN_FM_TUNER
370 | MI2S-LPAIF-TX-TERTIARY
371 | 2
372 | 2
373 | play-fm
374 | 48000
375 | 16
376 |
377 | PAL_STREAM_LOOPBACK
378 |
379 |
380 |
381 | PAL_DEVICE_IN_PROXY
382 | PCM_RT_PROXY-TX-1
383 | 2
384 | 2
385 | afe-proxy
386 |
387 | PAL_STREAM_PROXY
388 |
389 |
390 |
391 | PAL_DEVICE_IN_VI_FEEDBACK
392 | TDM-LPAIF-TX-TERTIARY
393 | 2
394 | 2
395 | 48000
396 | 32
397 | vi-feedback
398 |
399 |
400 | PAL_DEVICE_IN_BLUETOOTH_A2DP
401 | SLIM-DEV1-TX-7
402 | 1
403 | 1
404 | bt-a2dp-mic
405 | 44100
406 | 16
407 |
408 |
409 | PAL_DEVICE_IN_TELEPHONY_RX
410 | PCM_RT_PROXY-TX-1
411 | 2
412 | 2
413 | afe-proxy
414 |
415 | PAL_STREAM_PROXY
416 |
417 |
418 |
419 | PAL_DEVICE_IN_ULTRASOUND_MIC
420 | CODEC_DMA-LPAIF_RXTX-TX-4
421 | 2
422 | 1
423 | 96000
424 | 16
425 | ultrasound-mic
426 |
427 | PAL_STREAM_ULTRASOUND
428 |
429 |
430 |
431 | PAL_DEVICE_IN_EXT_EC_REF
432 | TDM-LPAIF-TX-TERTIARY
433 | ext_ec_ref_tx
434 | 2
435 | 2
436 | 16
437 | 48000
438 |
439 |
440 | PAL_DEVICE_NONE
441 | CODEC_DMA-LPAIF_WSA-RX-0
442 | 2
443 | 1
444 | none
445 | 48000
446 | 16
447 |
448 |
449 | PAL_DEVICE_OUT_SPEAKER
450 | TDM-LPAIF-RX-TERTIARY-VIRT-0
451 | 2
452 | 2
453 | 48000
454 | 24
455 | speaker
456 | 0
457 | 0
458 |
459 | 0
460 | 0
461 | 0
462 |
463 |
464 |
465 | PAL_AUDIO_FMT_PCM_S24_LE
466 |
467 | 0
468 |
474 | 0
475 |
476 | 0
477 |
478 | PAL_STREAM_VOICE_CALL
479 | 2
480 | 1
481 | speaker-mono-2
482 |
483 |
484 | PAL_STREAM_VOIP_RX
485 | 3
486 |
487 |
488 | PAL_STREAM_ULTRASOUND
489 | 1
490 | 96000
491 |
492 |
493 |
494 | PAL_DEVICE_OUT_HANDSET
495 | TDM-LPAIF-RX-TERTIARY-VIRT-0
496 | 2
497 | 1
498 |
499 | 0
500 | 48000
501 | 24
502 | 0
503 | handset
504 | 0
505 |
506 | PAL_STREAM_VOICE_CALL
507 | 2
508 |
509 | voice-handset-hac
510 |
511 |
512 |
513 | PAL_STREAM_VOIP_RX
514 | 3
515 |
516 | voice-handset-hac
517 |
518 |
519 |
520 | PAL_STREAM_ULTRASOUND
521 | 1
522 | 96000
523 |
524 |
525 |
526 | PAL_DEVICE_OUT_WIRED_HEADPHONE
527 | CODEC_DMA-LPAIF_RXTX-RX-0
528 | 2
529 | 2
530 | 24
531 | 1
532 | headphones
533 |
553 |
554 | PAL_STREAM_VOICE_CALL
555 | 1
556 | 48000
557 | 24
558 |
559 |
560 | PAL_STREAM_VOIP_RX
561 | 2
562 | 48000
563 | 24
564 |
565 |
566 |
567 | PAL_DEVICE_OUT_WIRED_HEADSET
568 | CODEC_DMA-LPAIF_RXTX-RX-0
569 | 2
570 | 2
571 | 1
572 | 24
573 | headphones
574 |
594 |
595 | PAL_STREAM_VOICE_CALL
596 | 1
597 | 48000
598 | 24
599 |
600 |
601 | PAL_STREAM_VOIP_RX
602 | 2
603 | 48000
604 | 24
605 |
606 |
607 |
608 | PAL_DEVICE_OUT_BLUETOOTH_A2DP
609 | SLIM-DEV1-RX-7
610 | 1
611 | 1
612 | bt-a2dp
613 | 44100
614 | 16
615 |
616 | PAL_STREAM_VOICE_CALL
617 | 1
618 |
619 |
620 |
621 | PAL_DEVICE_OUT_BLUETOOTH_SCO
622 | SLIM-DEV1-RX-7
623 | 1
624 | 1
625 | bt-sco
626 | 8000
627 | 16
628 |
629 | PAL_STREAM_VOICE_CALL
630 | 1
631 |
632 |
633 |
634 | PAL_DEVICE_OUT_AUX_DIGITAL
635 | DISPLAY_PORT-RX
636 | 32
637 | 2
638 | display-port
639 | 1
640 |
641 | PAL_STREAM_VOICE_CALL
642 | 1
643 |
644 |
645 |
646 | PAL_DEVICE_OUT_HDMI
647 | DISPLAY_PORT-RX
648 | 32
649 | 2
650 | 1
651 | display-port
652 |
653 | PAL_STREAM_VOICE_CALL
654 | 1
655 |
656 |
657 |
658 | PAL_DEVICE_OUT_USB_DEVICE
659 | USB_AUDIO-RX
660 | 2
661 | 2
662 | usb-headphones
663 | 1
664 |
665 | PAL_STREAM_VOICE_CALL
666 | 1
667 |
668 |
669 |
670 | PAL_DEVICE_OUT_USB_HEADSET
671 | USB_AUDIO-RX
672 | 2
673 | 2
674 | usb-headphones
675 | 1
676 |
677 | PAL_STREAM_VOICE_CALL
678 | 1
679 |
680 |
681 |
682 | PAL_DEVICE_OUT_AUX_DIGITAL_1
683 | DISPLAY_PORT-RX
684 | 8
685 | 2
686 | display-port
687 | 1
688 |
689 | PAL_STREAM_VOICE_CALL
690 | 1
691 |
692 |
693 |
694 | PAL_DEVICE_OUT_PROXY
695 | PCM_RT_PROXY-RX-1
696 | 8
697 | 2
698 | afe-proxy
699 | 0
700 | 48000
701 |
702 | PAL_STREAM_VOICE_CALL
703 | 1
704 |
705 |
706 |
707 | PAL_DEVICE_OUT_HEARING_AID
708 | PCM_RT_PROXY-RX-1
709 | 8
710 | 2
711 | afe-proxy
712 | 0
713 |
714 | PAL_STREAM_VOICE_CALL
715 | 1
716 |
717 |
718 |
719 | PAL_DEVICE_OUT_HAPTICS_DEVICE
720 | CODEC_DMA-LPAIF_RXTX-RX-6
721 | 2
722 | 1
723 | haptics-dev
724 |
725 |
726 | PAL_DEVICE_OUT_ULTRASOUND
727 | TDM-LPAIF-RX-TERTIARY-VIRT-1
728 | 2
729 | 1
730 | ultrasound-handset
731 | 96000
732 | 16
733 |
734 |
735 |
736 |
737 | PAL_STREAM_VOIP_TX
738 |
739 |
740 | PAL_STREAM_GENERIC
741 |
742 |
743 |
744 |
745 | PAL_STREAM_DEEP_BUFFER
746 |
747 |
748 | PAL_STREAM_LOW_LATENCY
749 | PAL_STREAM_GENERIC
750 |
751 |
752 |
753 |
754 | PAL_STREAM_VOICE_UI
755 |
756 |
757 | PAL_STREAM_LOW_LATENCY
758 | PAL_STREAM_GENERIC
759 |
760 |
761 |
762 |
763 | PAL_STREAM_ACD
764 |
765 |
766 | PAL_STREAM_LOW_LATENCY
767 | PAL_STREAM_GENERIC
768 |
769 |
770 |
771 |
772 | PAL_STREAM_PROXY
773 |
774 |
775 | PAL_STREAM_COMPRESSED
776 | PAL_STREAM_ULTRA_LOW_LATENCY
777 | PAL_STREAM_LOW_LATENCY
778 | PAL_STREAM_GENERIC
779 |
780 |
781 |
782 |
783 | PAL_STREAM_RAW
784 |
785 |
786 | PAL_STREAM_COMPRESSED
787 | PAL_STREAM_ULTRA_LOW_LATENCY
788 | PAL_STREAM_LOW_LATENCY
789 | PAL_STREAM_GENERIC
790 |
791 |
792 |
793 |
794 | PAL_STREAM_SENSOR_PCM_DATA
795 |
796 |
797 | PAL_STREAM_LOW_LATENCY
798 | PAL_STREAM_GENERIC
799 |
800 |
801 |
802 |
803 |
804 |
805 |
806 |
807 |
808 |
809 |
810 |
811 |
812 |
813 |
814 |
815 |
816 |
817 |
818 |
819 |
820 |
821 |
822 |
823 |
824 |
825 |
826 |
827 |
828 |
829 |
830 |
831 |
832 |
833 |
834 |
835 |
836 |
837 |
838 |
839 |
840 |
841 |
842 |
843 |
844 |
845 |
846 |
847 |
848 |
849 |
850 |
851 |
852 |
853 |
854 |
855 |
856 |
857 |
858 |
859 |
860 |
861 |
862 |
863 |
864 |
865 |
866 |
867 |
868 |
869 |
870 |
871 |
872 |
873 |
874 |
875 |
876 |
877 |
878 |
879 |
880 |
881 |
882 |
883 |
884 |
885 |
886 |
887 |
888 |
889 | QC_ACD
890 |
891 |
892 |
893 |
894 |
895 |
896 |
897 |
898 |
899 |
900 |
901 | ACD_SOUND_MODEL_ID_EVENT
902 | event.eai
903 | 0x0B001007
904 |
905 |
906 |
907 |
908 |
909 |
910 |
911 |
912 |
913 |
914 |
915 |
916 | ACD_SOUND_MODEL_ID_SPEECH
917 | speech.eai
918 | 0x0B001008
919 |
920 |
921 |
922 |
923 |
924 | ACD_SOUND_MODEL_ID_MUSIC
925 | music.eai
926 | 0x0B001009
927 |
928 |
929 |
930 |
931 |
932 | ACD_SOUND_MODEL_AMBIENCE_NOISE_SILENCE
933 |
934 | 0xFFFFFFFF
935 |
936 |
937 |
938 |
939 |
940 |
941 |
942 |
943 |
944 |
945 |
946 | QC_SENSOR_PCM_DATA
947 |
948 |
949 |
950 |
951 |
952 |
953 |
954 |
955 |
956 |
957 |
958 |
959 |
960 |
961 |
962 |
963 |
964 |
965 |
966 |
967 |
968 |
969 |
970 |
971 |
972 |
973 |
974 |
975 |
976 |
977 |
978 |
979 |
980 |
981 |
982 |
983 |
984 |
985 |
986 |
987 |
988 |
989 |
990 |
991 |
992 |
993 |
994 |
995 |
996 |
997 |
998 |
999 |
1000 |
1001 |
1002 |
1003 |
1004 |
1005 |
1006 |
1007 |
1008 |
1009 |
1010 |
1011 |
1012 |
1013 |
1014 |
1015 |
1016 |
1017 |
1018 |
1019 |
1020 |
1021 |
1022 |
1023 |
1024 |
1025 |
1026 |
1027 |
1028 |
1029 |
1030 |
1031 |
1032 |
1033 |
1034 |
1035 |
1036 |
1037 |
1038 |
1039 |
1040 |
1041 |
1042 |
1043 |
1044 |
1045 |
1046 |
1047 |
1048 |
1049 |
1050 |
1051 |
1052 |
1053 |
1054 |
1055 |
1056 |
1057 |
1058 |
1059 |
1060 |
1061 |
1062 |
1063 |
1064 |
1065 |
1066 |
1067 |
1068 |
1069 |
1070 |
1071 |
1072 |
1073 |
1074 |
1075 |
1076 |
1077 |
1078 |
1079 |
1080 |
1081 |
1082 |
1083 |
1084 |
1085 |
1086 |
1087 |
1088 |
1089 |
1090 |
1091 |
1092 |
1093 |
1094 |
1095 |
1096 |
1097 |
1098 |
1099 |
1100 |
1101 |
1102 |
1103 |
1104 |
1105 |
1106 |
1107 |
1108 |
1109 |
1110 |
1111 |
1112 |
1113 |
1114 |
1115 |
1116 |
1117 |
1118 |
1119 |
1120 |
1121 |
1122 |
1123 |
1124 |
1125 |
1126 |
1127 |
1128 |
1129 |
1130 |
1131 |
1132 |
1133 |
1134 |
1135 |
1136 |
1137 |
1138 |
1139 |
1140 |
1141 |
1142 |
1143 |
1144 |
1145 |
1146 |
1147 |
1148 |
1149 |
1150 |
1151 |
1152 |
1153 |
1154 |
1155 |
1156 |
1157 |
1158 |
1159 |
1160 |
1161 |
1162 |
1163 |
1164 |
1165 |
1166 |
1167 |
1168 |
1169 |
1170 |
1171 |
1172 |
1173 |
1174 |
1175 |
1176 |
1177 |
1178 |
1179 |
1180 |
1181 |
1182 |
1183 |
1184 |
1185 |
1186 |
1187 |
1188 |
1189 |
1190 |
1191 |
1192 |
--------------------------------------------------------------------------------
/audio/usecaseKvManager.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
143 |
144 |
145 |
146 |
147 |
148 |
149 |
150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
162 |
163 |
164 |
165 |
166 |
167 |
168 |
169 |
170 |
171 |
172 |
173 |
174 |
175 |
176 |
177 |
178 |
179 |
180 |
181 |
182 |
183 |
184 |
185 |
186 |
187 |
188 |
189 |
190 |
191 |
192 |
193 |
194 |
195 |
196 |
197 |
198 |
199 |
200 |
201 |
202 |
203 |
204 |
205 |
206 |
207 |
208 |
209 |
210 |
211 |
212 |
213 |
214 |
215 |
216 |
217 |
218 |
219 |
220 |
221 |
222 |
223 |
224 |
225 |
226 |
227 |
228 |
229 |
230 |
231 |
232 |
233 |
234 |
235 |
236 |
237 |
238 |
239 |
240 |
241 |
242 |
243 |
244 |
245 |
246 |
247 |
248 |
249 |
250 |
251 |
252 |
253 |
254 |
255 |
256 |
257 |
258 |
259 |
260 |
261 |
262 |
263 |
264 |
265 |
266 |
267 |
268 |
269 |
270 |
271 |
272 |
273 |
274 |
275 |
276 |
277 |
278 |
279 |
280 |
281 |
282 |
283 |
284 |
285 |
286 |
287 |
288 |
289 |
290 |
291 |
292 |
293 |
294 |
295 |
296 |
297 |
298 |
299 |
300 |
301 |
302 |
303 |
304 |
305 |
306 |
307 |
308 |
309 |
310 |
311 |
312 |
313 |
314 |
315 |
316 |
317 |
318 |
319 |
320 |
321 |
322 |
323 |
324 |
325 |
326 |
327 |
328 |
329 |
330 |
331 |
332 |
333 |
334 |
335 |
336 |
337 |
338 |
339 |
340 |
341 |
342 |
343 |
344 |
345 |
346 |
347 |
348 |
349 |
350 |
351 |
352 |
353 |
354 |
355 |
356 |
357 |
358 |
359 |
360 |
361 |
362 |
363 |
364 |
365 |
366 |
367 |
368 |
369 |
370 |
371 |
372 |
373 |
374 |
375 |
376 |
377 |
378 |
379 |
380 |
381 |
382 |
383 |
384 |
385 |
386 |
387 |
388 |
389 |
390 |
391 |
392 |
393 |
394 |
395 |
396 |
397 |
398 |
399 |
400 |
401 |
402 |
403 |
404 |
405 |
406 |
407 |
408 |
409 |
410 |
411 |
412 |
413 |
414 |
415 |
416 |
417 |
418 |
419 |
420 |
421 |
422 |
423 |
424 |
425 |
426 |
427 |
428 |
429 |
430 |
431 |
432 |
433 |
434 |
435 |
436 |
437 |
438 |
439 |
440 |
441 |
442 |
443 |
444 |
445 |
446 |
447 |
448 |
449 |
450 |
451 |
452 |
453 |
454 |
455 |
456 |
457 |
458 |
459 |
460 |
461 |
462 |
463 |
464 |
465 |
466 |
467 |
468 |
469 |
470 |
471 |
472 |
473 |
474 |
475 |
476 |
477 |
478 |
479 |
480 |
481 |
482 |
483 |
484 |
485 |
486 |
487 |
488 |
489 |
490 |
491 |
492 |
493 |
494 |
495 |
496 |
497 |
498 |
499 |
500 |
501 |
502 |
503 |
504 |
505 |
506 |
507 |
508 |
509 |
510 |
511 |
512 |
513 |
514 |
515 |
516 |
517 |
518 |
519 |
520 |
521 |
522 |
523 |
524 |
525 |
526 |
527 |
528 |
529 |
530 |
531 |
532 |
533 |
534 |
535 |
536 |
537 |
538 |
539 |
540 |
541 |
542 |
543 |
544 |
545 |
546 |
547 |
548 |
549 |
550 |
551 |
552 |
553 |
554 |
555 |
556 |
557 |
558 |
559 |
560 |
561 |
562 |
563 |
564 |
565 |
566 |
567 |
568 |
569 |
570 |
571 |
572 |
573 |
574 |
575 |
576 |
577 |
578 |
579 |
580 |
581 |
582 |
583 |
584 |
585 |
586 |
587 |
588 |
589 |
590 |
591 |
592 |
593 |
594 |
595 |
596 |
597 |
598 |
599 |
600 |
601 |
602 |
603 |
604 |
605 |
606 |
607 |
608 |
609 |
610 |
611 |
612 |
613 |
614 |
615 |
616 |
617 |
618 |
619 |
620 |
621 |
622 |
623 |
624 |
625 |
626 |
627 |
628 |
629 |
630 |
631 |
632 |
633 |
634 |
635 |
636 |
637 |
638 |
639 |
640 |
641 |
642 |
643 |
644 |
645 |
646 |
647 |
648 |
649 |
650 |
651 |
652 |
653 |
654 |
655 |
656 |
657 |
658 |
659 |
660 |
661 |
662 |
663 |
664 |
665 |
666 |
667 |
668 |
669 |
670 |
671 |
672 |
673 |
674 |
675 |
676 |
677 |
678 |
679 |
680 |
681 |
682 |
683 |
684 |
685 |
686 |
687 |
688 |
689 |
690 |
691 |
692 |
693 |
694 |
695 |
696 |
697 |
698 |
699 |
700 |
701 |
702 |
703 |
704 |
705 |
706 |
707 |
708 |
709 |
710 |
711 |
712 |
713 |
714 |
715 |
716 |
717 |
718 |
719 |
720 |
721 |
722 |
723 |
724 |
725 |
726 |
727 |
728 |
729 |
730 |
731 |
732 |
733 |
734 |
735 |
736 |
737 |
738 |
739 |
740 |
741 |
742 |
743 |
744 |
745 |
746 |
747 |
748 |
749 |
750 |
751 |
752 |
753 |
754 |
755 |
756 |
757 |
758 |
759 |
760 |
761 |
762 |
763 |
764 |
765 |
766 |
767 |
768 |
769 |
770 |
771 |
772 |
773 |
774 |
775 |
776 |
777 |
778 |
779 |
780 |
781 |
782 |
783 |
784 |
785 |
786 |
787 |
788 |
789 |
790 |
791 |
792 |
793 |
794 |
795 |
796 |
797 |
798 |
799 |
800 |
801 |
802 |
803 |
804 |
805 |
806 |
807 |
808 |
809 |
810 |
811 |
812 |
813 |
814 |
815 |
816 |
817 |
818 |
819 |
820 |
821 |
822 |
823 |
824 |
825 |
826 |
827 |
828 |
829 |
830 |
831 |
832 |
833 |
834 |
835 |
836 |
840 |
841 |
842 |
843 |
844 |
845 |
846 |
847 |
848 |
849 |
850 |
851 |
852 |
853 |
854 |
855 |
856 |
857 |
858 |
859 |
860 |
861 |
862 |
863 |
864 |
865 |
866 |
867 |
868 |
869 |
870 |
871 |
872 |
873 |
874 |
875 |
876 |
877 |
878 |
879 |
880 |
881 |
882 |
883 |
884 |
885 |
886 |
887 |
888 |
889 |
890 |
891 |
892 |
893 |
894 |
895 |
896 |
897 |
898 |
899 |
900 |
901 |
902 |
903 |
904 |
905 |
906 |
907 |
908 |
909 |
910 |
911 |
912 |
913 |
914 |
915 |
919 |
920 |
921 |
922 |
923 |
924 |
925 |
926 |
927 |
928 |
929 |
930 |
931 |
932 |
933 |
934 |
935 |
936 |
937 |
938 |
939 |
940 |
941 |
942 |
943 |
944 |
945 |
946 |
947 |
948 |
949 |
950 |
951 |
952 |
953 |
954 |
955 |
956 |
957 |
958 |
959 |
960 |
961 |
962 |
963 |
964 |
965 |
966 |
967 | >
968 |
969 |
970 |
971 |
972 |
973 | >
974 |
975 |
976 |
977 |
978 |
979 | >
980 |
981 |
982 |
983 |
984 |
985 |
986 |
987 |
988 |
989 |
990 |
991 |
992 |
993 |
994 |
998 |
999 |
1000 |
1001 |
1002 |
1003 |
1004 |
1005 |
1006 |
1007 |
1008 |
1009 |
1010 |
1011 |
1012 |
1013 |
1014 |
1015 |
1016 |
1017 |
1018 |
1019 |
1023 |
1024 |
1025 |
1026 |
1027 |
1028 |
1029 |
1030 |
1031 |
1032 |
1033 |
1034 |
1035 |
1036 |
1037 |
1038 |
1039 |
1040 |
1041 |
1042 |
1043 |
1044 |
1048 |
1049 |
1050 |
1051 |
1052 |
1053 |
1054 |
1055 |
1056 |
1057 |
1058 |
1059 |
1060 |
1061 |
1062 |
1063 |
1064 |
1065 |
1066 |
1067 |
1068 |
1069 |
1071 |
1072 |
1073 |
1074 |
1075 |
1076 |
1078 |
1079 |
1080 |
1081 |
1082 |
1083 |
1085 |
1086 |
1087 |
1088 |
1089 |
1090 |
1092 |
1093 |
1094 |
1095 |
1096 |
1097 |
1099 |
1100 |
1101 |
1102 |
1103 |
1104 |
1105 |
1106 |
1107 |
1109 |
1110 |
1111 |
1112 |
1113 |
1114 |
1116 |
1117 |
1118 |
1119 |
1120 |
1121 |
1123 |
1124 |
1125 |
1126 |
1127 |
1128 |
1130 |
1131 |
1132 |
1133 |
1134 |
1135 |
1137 |
1138 |
1139 |
1140 |
1141 |
1142 |
1143 |
1144 |
1145 |
1146 |
1147 |
1148 |
1149 |
1150 |
1151 |
1152 |
1153 |
1154 |
1155 |
1156 |
1157 |
1158 |
1159 |
1160 |
1161 |
1162 |
1163 |
1164 |
1165 |
1166 |
--------------------------------------------------------------------------------