├── sepolicy └── system_server.te ├── board-info.txt ├── Android.mk ├── AndroidProducts.mk ├── rootdir ├── Android.mk └── etc │ └── init.target.rc ├── setup-makefiles.sh ├── configs ├── keylayout │ ├── uinput-fpc.kl │ └── uinput-goodix.kl ├── idc │ ├── uinput-fpc.idc │ └── uinput-goodix.idc ├── Android.bp └── powerhint.json ├── extract-files.sh ├── vendor.prop ├── manifest.xml ├── BoardConfig.mk ├── overlay └── frameworks │ └── base │ ├── packages │ └── SystemUI │ │ └── res │ │ ├── values-sw372dp │ │ └── dimens.xml │ │ ├── drawable │ │ └── rounded.xml │ │ └── values │ │ ├── dimens.xml │ │ └── config.xml │ └── core │ └── res │ └── res │ ├── values │ ├── strings.xml │ └── config.xml │ └── xml │ └── power_profile.xml ├── overlay-lineage └── lineage-sdk │ └── lineage │ └── res │ └── res │ └── values │ └── config.xml ├── ancient_violet.mk ├── cherish.dependencies ├── update-sha1sums.py ├── device.mk ├── audio ├── sound_trigger_mixer_paths.xml ├── audio_policy_volumes.xml └── audio_platform_info_intcodec.xml └── proprietary-files.txt /sepolicy/system_server.te: -------------------------------------------------------------------------------- 1 | # Smart charging 2 | allow system_server sysfs_battery_supply:file { getattr open read write }; 3 | -------------------------------------------------------------------------------- /board-info.txt: -------------------------------------------------------------------------------- 1 | require version-cn=CN,4.3.c2-00029,V11.0.1.0.QFHCNXM 2 | require version-in=India,4.3.c2-00029,V12.0.0.2.QFHINXM 3 | -------------------------------------------------------------------------------- /Android.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2019 The LineageOS Project 3 | # 4 | # SPDX-License-Identifier: Apache-2.0 5 | # 6 | 7 | LOCAL_PATH := $(call my-dir) 8 | 9 | ifneq ($(filter violet,$(TARGET_DEVICE)),) 10 | include $(call all-makefiles-under,$(LOCAL_PATH)) 11 | endif 12 | -------------------------------------------------------------------------------- /AndroidProducts.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2019 The LineageOS Project 3 | # 4 | # SPDX-License-Identifier: Apache-2.0 5 | # 6 | 7 | PRODUCT_MAKEFILES := \ 8 | $(LOCAL_DIR)/ancient_violet.mk 9 | 10 | COMMON_LUNCH_CHOICES := \ 11 | ancient_violet-userdebug \ 12 | ancient_violet-eng 13 | -------------------------------------------------------------------------------- /rootdir/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := init.target.rc 5 | LOCAL_MODULE_TAGS := optional 6 | LOCAL_MODULE_CLASS := ETC 7 | LOCAL_SRC_FILES := etc/init.target.rc 8 | LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)/init/hw 9 | include $(BUILD_PREBUILT) 10 | -------------------------------------------------------------------------------- /setup-makefiles.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (C) 2018-2019 The LineageOS Project 4 | # 5 | # SPDX-License-Identifier: Apache-2.0 6 | # 7 | 8 | set -e 9 | 10 | # Required! 11 | export DEVICE=violet 12 | export DEVICE_COMMON=sm6150-common 13 | export VENDOR=xiaomi 14 | 15 | export DEVICE_BRINGUP_YEAR=2020 16 | 17 | "./../../${VENDOR}/${DEVICE_COMMON}/setup-makefiles.sh" "$@" 18 | -------------------------------------------------------------------------------- /configs/keylayout/uinput-fpc.kl: -------------------------------------------------------------------------------- 1 | # 2 | # FPC1020 Touch sensor driver 3 | # 4 | # Copyright (c) 2013,2014 Fingerprint Cards AB 5 | # 6 | # This program is free software; you can redistribute it and/or 7 | # modify it under the terms of the GNU General Public License Version 2 8 | # as published by the Free Software Foundation. 9 | # 10 | 11 | #key 96 DPAD_CENTER 12 | #key 102 HOME 13 | #key 105 DPAD_LEFT 14 | #key 106 DPAD_RIGHT 15 | -------------------------------------------------------------------------------- /configs/idc/uinput-fpc.idc: -------------------------------------------------------------------------------- 1 | # 2 | # FPC1020 Touch sensor driver 3 | # 4 | # Copyright (c) 2013,2014 Fingerprint Cards AB 5 | # 6 | # This program is free software; you can redistribute it and/or 7 | # modify it under the terms of the GNU General Public License Version 2 8 | # as published by the Free Software Foundation. 9 | # 10 | 11 | device.internal = 1 12 | 13 | keyboard.layout = uinput-fpc 14 | keyboard.builtIn = 1 15 | keyboard.orientationAware = 1 16 | -------------------------------------------------------------------------------- /configs/idc/uinput-goodix.idc: -------------------------------------------------------------------------------- 1 | # 2 | # FPC1020 Touch sensor driver 3 | # 4 | # Copyright (c) 2013,2014 Fingerprint Cards AB 5 | # 6 | # This program is free software; you can redistribute it and/or 7 | # modify it under the terms of the GNU General Public License Version 2 8 | # as published by the Free Software Foundation. 9 | # 10 | 11 | device.internal = 1 12 | 13 | keyboard.layout = uinput-gf 14 | keyboard.builtIn = 1 15 | keyboard.orientationAware = 1 16 | -------------------------------------------------------------------------------- /configs/keylayout/uinput-goodix.kl: -------------------------------------------------------------------------------- 1 | # 2 | # Goodix fingerprint sensor driver 3 | # 4 | # Copyright (c) 2013,2014 Fingerprint Cards AB 5 | # 6 | # This program is free software; you can redistribute it and/or 7 | # modify it under the terms of the GNU General Public License Version 2 8 | # as published by the Free Software Foundation. 9 | # 10 | #key 96 DPAD_CENTER 11 | #key 96 DPAD_CENTER 12 | #key 102 HOME 13 | #key 105 DPAD_LEFT 14 | #key 106 DPAD_RIGHT 15 | -------------------------------------------------------------------------------- /extract-files.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (C) 2018-2019 The LineageOS Project 4 | # 5 | # SPDX-License-Identifier: Apache-2.0 6 | # 7 | 8 | # If we're being sourced by the common script that we called, 9 | # stop right here. No need to go down the rabbit hole. 10 | if [ "${BASH_SOURCE[0]}" != "${0}" ]; then 11 | return 12 | fi 13 | 14 | set -e 15 | 16 | # Required! 17 | export DEVICE=violet 18 | export DEVICE_COMMON=sm6150-common 19 | export VENDOR=xiaomi 20 | 21 | export DEVICE_BRINGUP_YEAR=2020 22 | 23 | "./../../${VENDOR}/${DEVICE_COMMON}/extract-files.sh" "$@" 24 | -------------------------------------------------------------------------------- /vendor.prop: -------------------------------------------------------------------------------- 1 | # Audio 2 | persist.vendor.audio.hifi=false 3 | 4 | # ACDB 5 | persist.vendor.audio.calfile0=/vendor/etc/acdbdata/IDP/IDP_Speaker_cal.acdb 6 | persist.vendor.audio.calfile1=/vendor/etc/acdbdata/IDP/IDP_Headset_cal.acdb 7 | persist.vendor.audio.calfile2=/vendor/etc/acdbdata/IDP/IDP_General_cal.acdb 8 | persist.vendor.audio.calfile3=/vendor/etc/acdbdata/IDP/IDP_Codec_cal.acdb 9 | persist.vendor.audio.calfile4=/vendor/etc/acdbdata/IDP/IDP_Bluetooth_cal.acdb 10 | persist.vendor.audio.calfile5=/vendor/etc/acdbdata/IDP/IDP_Hdmi_cal.acdb 11 | persist.vendor.audio.calfile6=/vendor/etc/acdbdata/IDP/IDP_Global_cal.acdb 12 | persist.vendor.audio.calfile7=/vendor/etc/acdbdata/IDP/IDP_Handset_cal.acdb 13 | -------------------------------------------------------------------------------- /manifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | android.hardware.ir 4 | hwbinder 5 | 1.0 6 | 7 | IConsumerIr 8 | default 9 | 10 | 11 | 12 | android.hardware.sensors 13 | hwbinder 14 | 2.0 15 | 16 | ISensors 17 | default 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /configs/Android.bp: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright 2018 The Android Open Source Project 3 | // 4 | // Licensed under the Apache License, Version 2.0 (the "License"); 5 | // you may not use this file except in compliance with the License. 6 | // You may obtain a copy of the License at 7 | // 8 | // http://www.apache.org/licenses/LICENSE-2.0 9 | // 10 | // Unless required by applicable law or agreed to in writing, software 11 | // distributed under the License is distributed on an "AS IS" BASIS, 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | // See the License for the specific language governing permissions and 14 | // limitations under the License. 15 | // 16 | 17 | prebuilt_etc { 18 | name: "powerhint.json", 19 | 20 | src: "powerhint.json", 21 | proprietary: true, 22 | 23 | } 24 | -------------------------------------------------------------------------------- /BoardConfig.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2019 The LineageOS Project 3 | # 4 | # SPDX-License-Identifier: Apache-2.0 5 | # 6 | 7 | # Display density 8 | TARGET_SCREEN_DENSITY := 440 9 | 10 | # Inherit from sm6150-common 11 | -include device/xiaomi/sm6150-common/BoardConfigCommon.mk 12 | 13 | DEVICE_PATH := device/xiaomi/violet 14 | 15 | # Properties 16 | TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop 17 | 18 | # Assert 19 | TARGET_OTA_ASSERT_DEVICE := violet 20 | 21 | # Kernel 22 | BOARD_KERNEL_BASE := 0x00000000 23 | BOARD_RAMDISK_OFFSET := 0x01000000 24 | TARGET_KERNEL_CONFIG := vendor/lineage_violet_defconfig 25 | 26 | # Platform 27 | TARGET_BOARD_PLATFORM_GPU := qcom-adreno612 28 | 29 | # HIDL 30 | DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest.xml 31 | 32 | # Inherit from the proprietary version 33 | -include vendor/xiaomi/violet/BoardConfigVendor.mk 34 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values-sw372dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 36px 20 | 21 | -------------------------------------------------------------------------------- /overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 15 | 16 | 17 | true 18 | 19 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | Redmi Note 7 Pro 21 | 22 | -------------------------------------------------------------------------------- /ancient_violet.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2019-2020 The LineageOS Project 3 | # 4 | # SPDX-License-Identifier: Apache-2.0 5 | # 6 | 7 | # Inherit from violet device 8 | $(call inherit-product, device/xiaomi/violet/device.mk) 9 | 10 | # Inherit some common Lineage stuff. 11 | $(call inherit-product, vendor/ancient/config/common_full_phone.mk) 12 | 13 | # Device identifier. This must come after all inclusions. 14 | PRODUCT_NAME := ancient_violet 15 | PRODUCT_DEVICE := violet 16 | PRODUCT_BRAND := Xiaomi 17 | PRODUCT_MODEL := Redmi Note 7 Pro 18 | PRODUCT_MANUFACTURER := Xiaomi 19 | 20 | #Maintainer 21 | PRODUCT_PROPERTY_OVERRIDES += \ 22 | ro.ancient.maintainer=Karthik Lal 23 | 24 | BUILD_FINGERPRINT := "google/redfin/redfin:11/RD1A.201105.003.C1/6886399:user/release-keys" 25 | 26 | PRODUCT_BUILD_PROP_OVERRIDES += \ 27 | PRIVATE_BUILD_DESC="violet-user 9 PKQ1.181203.001 V11.0.8.0.PFHINXM release-keys" \ 28 | PRODUCT_NAME="violet" 29 | 30 | PRODUCT_PROPERTY_OVERRIDES += \ 31 | ro.build.fingerprint=google/redfin/redfin:11/RD1A.201105.003.C1/6886399:user/release-keys 32 | 33 | PRODUCT_GMS_CLIENTID_BASE := android-xiaomi 34 | 35 | # Vanilla 36 | ANCIENT_NOGAPPS=true 37 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/drawable/rounded.xml: -------------------------------------------------------------------------------- 1 | 14 | 19 | 20 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /cherish.dependencies: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "repository": "CherishOS-Devices/device_xiaomi_6150-common", 4 | "target_path": "device/xiaomi/sm6150-common" 5 | "branch": "ten" 6 | }, 7 | { 8 | "repository": "CherishOS-Devices/device_xiaomi_violet", 9 | "target_path": "device/xiaomi/violet" 10 | "branch": "Cherish_gapps" 11 | }, 12 | { 13 | "repository": "kdrag0n/proton-clang", 14 | "target_path": "prebuilts/clang/host/linux-x86/clang-proton", 15 | "branch": "master" 16 | }, 17 | { 18 | "repository": "karthik558/kernel_xiaomi_sm6150", 19 | "target_path": "kernel/xiaomi/sm6150" 20 | "branch": "ten" 21 | }, 22 | { 23 | "repository": "karthik5581/proprietary_vendor_xiaomi", 24 | "target_path": "device/xiaomi/violet" 25 | "remote": "gitlab" 26 | }, 27 | { 28 | "repository": "LineageOS/android_hardware_xiaomi", 29 | "target_path": "hardware/xiaomi", 30 | "branch": "lineage-17.1" 31 | }, 32 | { 33 | "repository": "LineageOS/android_hardware_qcom_display", 34 | "target_path": "hardware/qcom-caf/sm8150/display", 35 | "branch": "lineage-17.1-caf-sm8150" 36 | }, 37 | { 38 | "repository": "LineageOS/android_hardware_qcom_audio", 39 | "target_path": "hardware/qcom-caf/sm8150/audio", 40 | "branch": "lineage-17.1-caf-sm8150" 41 | }, 42 | { 43 | "repository": "LineageOS/android_hardware_qcom_media", 44 | "target_path": "hardware/qcom-caf/sm8150/media", 45 | "branch": "lineage-17.1-caf-sm8150" 46 | }, 47 | ] 48 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 36px 21 | 22 | 25 | 41px 26 | 27 | 28 | 25px 29 | 55px 30 | 31 | 32 | 12dp 33 | 34 | 13dp 35 | 36 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 32 | 33 | 34 | 35 | /sys/class/drm/sde-crtc-0/measured_fps 36 | 37 | 38 | -------------------------------------------------------------------------------- /rootdir/etc/init.target.rc: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2013-2018, The Linux Foundation. All rights reserved. 2 | # 3 | # Redistribution and use in source and binary forms, with or without 4 | # modification, are permitted provided that the following conditions are 5 | # met: 6 | # * Redistributions of source code must retain the above copyright 7 | # notice, this list of conditions and the following disclaimer. 8 | # * Redistributions in binary form must reproduce the above 9 | # copyright notice, this list of conditions and the following 10 | # disclaimer in the documentation and/or other materials provided 11 | # with the distribution. 12 | # * Neither the name of The Linux Foundation nor the names of its 13 | # contributors may be used to endorse or promote products derived 14 | # from this software without specific prior written permission. 15 | # 16 | # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED 17 | # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 18 | # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT 19 | # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS 20 | # BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 21 | # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 22 | # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 23 | # BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 24 | # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE 25 | # OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN 26 | # IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | # 28 | # 29 | 30 | on boot 31 | 32 | chown system system /sys/class/power_supply/battery/input_suspend 33 | chmod 0666 /sys/class/power_supply/battery/input_suspend 34 | 35 | # FPS Info 36 | chown system graphics /sys/class/drm/sde-crtc-0/measured_fps 37 | chmod 0666 /sys/class/drm/sde-crtc-0/measured_fps 38 | -------------------------------------------------------------------------------- /update-sha1sums.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # 3 | # Copyright (C) 2016 The CyanogenMod Project 4 | # Copyright (C) 2017-2018 The LineageOS Project 5 | # 6 | # Licensed under the Apache License, Version 2.0 (the "License"); 7 | # you may not use this file except in compliance with the License. 8 | # You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | # 18 | 19 | from hashlib import sha1 20 | import sys 21 | 22 | device='violet' 23 | vendor='xiaomi' 24 | 25 | lines = [ line for line in open('proprietary-files.txt', 'r') ] 26 | vendorPath = '../../../vendor/' + vendor + '/' + device + '/proprietary' 27 | needSHA1 = False 28 | 29 | def cleanup(): 30 | for index, line in enumerate(lines): 31 | # Remove '\n' character 32 | line = line[:-1] 33 | 34 | # Skip empty or commented lines 35 | if len(line) == 0 or line[0] == '#': 36 | continue 37 | 38 | # Drop SHA1 hash, if existing 39 | if '|' in line: 40 | line = line.split('|')[0] 41 | lines[index] = '%s\n' % (line) 42 | 43 | def update(): 44 | for index, line in enumerate(lines): 45 | # Remove '\n' character 46 | line = line[:-1] 47 | 48 | # Skip empty lines 49 | if len(line) == 0: 50 | continue 51 | 52 | # Check if we need to set SHA1 hash for the next files 53 | if line[0] == '#': 54 | needSHA1 = (' - from' in line) 55 | continue 56 | 57 | if needSHA1: 58 | # Remove existing SHA1 hash 59 | line = line.split('|')[0] 60 | filePath = line.split(':')[1] if len(line.split(':')) == 2 else line 61 | 62 | if filePath[0] == '-': 63 | file = open('%s/%s' % (vendorPath, filePath[1:]), 'rb').read() 64 | else: 65 | file = open('%s/%s' % (vendorPath, filePath), 'rb').read() 66 | 67 | hash = sha1(file).hexdigest() 68 | lines[index] = '%s|%s\n' % (line, hash) 69 | 70 | if len(sys.argv) == 2 and sys.argv[1] == '-c': 71 | cleanup() 72 | else: 73 | update() 74 | 75 | with open('proprietary-files.txt', 'w') as file: 76 | for line in lines: 77 | file.write(line) 78 | 79 | file.close() 80 | -------------------------------------------------------------------------------- /device.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2019-2020 The LineageOS Project 3 | # 4 | # SPDX-License-Identifier: Apache-2.0 5 | # 6 | 7 | $(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_p.mk) 8 | 9 | # Get non-open-source specific aspects 10 | $(call inherit-product-if-exists, vendor/xiaomi/violet/violet-vendor.mk) 11 | 12 | # Overlays 13 | DEVICE_PACKAGE_OVERLAYS += \ 14 | $(LOCAL_PATH)/overlay 15 | 16 | PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += \ 17 | $(LOCAL_PATH)/overlay-lineage/lineage-sdk 18 | 19 | # Permissions 20 | PRODUCT_COPY_FILES += \ 21 | frameworks/native/data/etc/android.hardware.consumerir.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.consumerir.xml \ 22 | frameworks/native/data/etc/android.hardware.wifi.aware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.aware.xml \ 23 | frameworks/native/data/etc/android.hardware.wifi.rtt.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.rtt.xml 24 | 25 | # Audio 26 | PRODUCT_COPY_FILES += \ 27 | $(LOCAL_PATH)/audio/audio_platform_info_intcodec.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info.xml \ 28 | $(LOCAL_PATH)/audio/audio_platform_info_intcodec.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_intcodec.xml \ 29 | $(LOCAL_PATH)/audio/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \ 30 | $(LOCAL_PATH)/audio/mixer_paths_idp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_idp.xml \ 31 | $(LOCAL_PATH)/audio/sound_trigger_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths.xml 32 | 33 | # Fingerprint 34 | PRODUCT_PACKAGES += \ 35 | android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sm6150 36 | 37 | # Device init scripts 38 | PRODUCT_PACKAGES += \ 39 | init.target.rc 40 | 41 | # Input 42 | PRODUCT_COPY_FILES += \ 43 | $(LOCAL_PATH)/configs/idc/uinput-fpc.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/uinput-fpc.idc \ 44 | $(LOCAL_PATH)/configs/idc/uinput-goodix.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/uinput-goodix.idc 45 | 46 | # IR 47 | PRODUCT_PACKAGES += \ 48 | android.hardware.ir@1.0-impl \ 49 | android.hardware.ir@1.0-service 50 | 51 | # Keylayouts 52 | PRODUCT_COPY_FILES += \ 53 | $(LOCAL_PATH)/configs/keylayout/uinput-fpc.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/uinput-fpc.kl \ 54 | $(LOCAL_PATH)/configs/keylayout/uinput-goodix.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/uinput-goodix.kl 55 | 56 | # PixelWallpapers 57 | PRODUCT_PACKAGES += \ 58 | PixelLiveWallpaperPrebuilt 59 | 60 | # Inherit from sm6150-common 61 | $(call inherit-product, device/xiaomi/sm6150-common/sm6150.mk) 62 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/xml/power_profile.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 96 4 | 403 5 | 6 | 6 7 | 2 8 | 9 | 10 | 300000 11 | 576000 12 | 748800 13 | 1017600 14 | 1209600 15 | 1363200 16 | 1516800 17 | 1593600 18 | 1708800 19 | 20 | 21 | 6 22 | 11 23 | 14 24 | 23 25 | 29 26 | 35 27 | 41 28 | 45 29 | 62 30 | 31 | 32 | 300000 33 | 652800 34 | 768000 35 | 979200 36 | 1017600 37 | 1209600 38 | 1363200 39 | 1516800 40 | 1708800 41 | 1900800 42 | 2016000 43 | 44 | 45 | 26 46 | 47 47 | 54 48 | 72 49 | 76 50 | 97 51 | 137 52 | 163 53 | 221 54 | 324 55 | 354 56 | 57 | 4 58 | 3 59 | 4 60 | 4000 61 | 50 62 | 2 63 | 2 64 | 1 65 | 120 66 | 30 67 | 29 68 | 52 69 | 121 70 | 650 71 | 70 72 | 20 73 | 52 74 | 75 | 3 76 | 2 77 | 78 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | 39 | M -80,0 L -80,80 L 80,80 L 80,0 Z 40 | 41 | 42 | 80.0px 43 | 24.0dp 44 | 45 | 46 | true 47 | 48 | true 49 | 50 | 51 | /sys/class/power_supply/battery/input_suspend 52 | 1 53 | 0 54 | 55 | 56 | true 57 | 58 | 59 | false 60 | 61 | 62 | -------------------------------------------------------------------------------- /audio/sound_trigger_mixer_paths.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 | 88 | 89 | 90 | 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 | -------------------------------------------------------------------------------- /audio/audio_policy_volumes.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 24 | 25 | 26 | 27 | 0,-4200 28 | 33,-2800 29 | 66,-1400 30 | 100,0 31 | 32 | 33 | 0,-2400 34 | 33,-1600 35 | 66,-800 36 | 100,0 37 | 38 | 39 | 0,-2400 40 | 33,-1600 41 | 66,-800 42 | 100,0 43 | 44 | 46 | 48 | 49 | 1,-3000 50 | 33,-2600 51 | 66,-2200 52 | 100,-1800 53 | 54 | 56 | 58 | 60 | 62 | 64 | 65 | 1,-2970 66 | 33,-2010 67 | 66,-1020 68 | 100,0 69 | 70 | 72 | 74 | 76 | 78 | 80 | 82 | 84 | 86 | 88 | 89 | 0,-2970 90 | 33,-2010 91 | 66,-1020 92 | 100,0 93 | 94 | 96 | 98 | 100 | 102 | 103 | 1,-2970 104 | 33,-2010 105 | 66,-1020 106 | 100,0 107 | 108 | 110 | 112 | 114 | 115 | 0,-4200 116 | 33,-2800 117 | 66,-1400 118 | 100,0 119 | 120 | 121 | 0,-2400 122 | 33,-1600 123 | 66,-800 124 | 100,0 125 | 126 | 127 | 0,-4200 128 | 33,-2800 129 | 66,-1400 130 | 100,0 131 | 132 | 134 | 136 | 137 | 1,-3000 138 | 33,-2600 139 | 66,-2200 140 | 100,-1800 141 | 142 | 144 | 146 | 148 | 150 | 151 | 1,-3000 152 | 33,-2600 153 | 66,-2200 154 | 100,-1800 155 | 156 | 158 | 160 | 162 | 164 | 166 | 168 | 170 | 172 | 174 | 176 | 178 | 180 | 182 | 184 | 186 | 188 | 190 | 192 | 194 | 196 | 198 | 200 | 202 | 204 | 205 | 206 | -------------------------------------------------------------------------------- /proprietary-files.txt: -------------------------------------------------------------------------------- 1 | # ACDB 2 | vendor/etc/acdbdata/IDP/IDP_Bluetooth_cal.acdb 3 | vendor/etc/acdbdata/IDP/IDP_Codec_cal.acdb 4 | vendor/etc/acdbdata/IDP/IDP_General_cal.acdb 5 | vendor/etc/acdbdata/IDP/IDP_Global_cal.acdb 6 | vendor/etc/acdbdata/IDP/IDP_Handset_cal.acdb 7 | vendor/etc/acdbdata/IDP/IDP_Hdmi_cal.acdb 8 | vendor/etc/acdbdata/IDP/IDP_Headset_cal.acdb 9 | vendor/etc/acdbdata/IDP/IDP_Speaker_cal.acdb 10 | vendor/etc/acdbdata/IDP/IDP_workspaceFile.qwsp 11 | 12 | # ADSP Modules 13 | vendor/lib/rfsa/adsp/libarcsoft_dualcam_refocus_skel.so 14 | vendor/lib/rfsa/adsp/libhexagon_nn_skel_secondary.so 15 | vendor/lib/rfsa/adsp/libSuperSensor_skel.so 16 | vendor/lib/rfsa/adsp/libVDHexagonSuperPhoto_skel.so 17 | vendor/lib/rfsa/adsp/misound_karaokemix_res.bin 18 | vendor/lib/rfsa/adsp/misound_karaoke_res.bin 19 | vendor/lib/rfsa/adsp/misound_res.bin 20 | 21 | # Audio (speaker amplifier) firmware 22 | vendor/firmware/tas2563_uCDSP.bin 23 | 24 | # Bluetooth 25 | vendor/bin/hw/android.hardware.bluetooth@1.0-service-qti 26 | vendor/etc/init/android.hardware.bluetooth@1.0-service-qti.rc 27 | vendor/lib64/hw/android.hardware.bluetooth@1.0-impl-qti.so 28 | vendor/lib/hw/android.hardware.bluetooth@1.0-impl-qti.so 29 | 30 | # Camera 31 | vendor/etc/camera/beauty_ui9_intelligent_params.config 32 | vendor/etc/camera/eyelineblush.cng 33 | vendor/etc/camera/lf_facerank_model.bin 34 | vendor/etc/camera/megviifacepp_0_5_2_model 35 | vendor/etc/camera/sdm_ys_32p_120_21_5_perturb50.bin 36 | vendor/etc/camera/vidhance_calibration_F7B 37 | vendor/etc/scve/facereco/gModel.dat 38 | vendor/lib64/camera/com.qti.eeprom.truly_cmb433.so 39 | vendor/lib64/camera/com.qti.sensor.imx318.so 40 | vendor/lib64/camera/com.qti.sensor.imx334.so 41 | vendor/lib64/camera/com.qti.sensor.imx362.so 42 | vendor/lib64/camera/com.qti.sensor.imx376.so 43 | vendor/lib64/camera/com.qti.sensor.imx386.so 44 | vendor/lib64/camera/com.qti.sensor.imx476.so 45 | vendor/lib64/camera/com.qti.sensor.imx519.so 46 | vendor/lib64/camera/com.qti.sensor.imx576.so 47 | vendor/lib64/camera/com.qti.sensor.imx577.so 48 | vendor/lib64/camera/com.qti.sensor.imx586.so 49 | vendor/lib64/camera/com.qti.sensor.imx586_factory.so 50 | vendor/lib64/camera/com.qti.sensor.imx586_semco.so 51 | vendor/lib64/camera/com.qti.sensor.imx586_semco_factory.so 52 | vendor/lib64/camera/com.qti.sensor.imx586_sunny.so 53 | vendor/lib64/camera/com.qti.sensor.imx586_sunny_factory.so 54 | vendor/lib64/camera/com.qti.sensor.max7366_6dof.so 55 | vendor/lib64/camera/com.qti.sensor.max7366_eyetrack.so 56 | vendor/lib64/camera/com.qti.sensor.max7366_ov6211.so 57 | vendor/lib64/camera/com.qti.sensor.max7366_ov9282.so 58 | vendor/lib64/camera/com.qti.sensor.ov12a10.so 59 | vendor/lib64/camera/com.qti.sensor.ov12a10_front.so 60 | vendor/lib64/camera/com.qti.sensor.ov13855.so 61 | vendor/lib64/camera/com.qti.sensor.ov13855_sunny.so 62 | vendor/lib64/camera/com.qti.sensor.ov13880.so 63 | vendor/lib64/camera/com.qti.sensor.ov7251.so 64 | vendor/lib64/camera/com.qti.sensor.ov8856.so 65 | vendor/lib64/camera/com.qti.sensor.s5k2l7.so 66 | vendor/lib64/camera/com.qti.sensor.s5k2x5sp.so 67 | vendor/lib64/camera/com.qti.sensor.s5k5e8.so 68 | vendor/lib64/camera/com.qti.sensor.s5k5e8_semco.so 69 | vendor/lib64/camera/com.qti.sensor.s5k5e8_sunny.so 70 | vendor/lib64/camera/com.qti.sensor.s5k5e9yu05.so 71 | vendor/lib64/camera/com.qti.sensormodule.altek1_imx577.bin 72 | vendor/lib64/camera/com.qti.sensormodule.altek2_imx577.bin 73 | vendor/lib64/camera/com.qti.sensormodule.altek_imx577.bin 74 | vendor/lib64/camera/com.qti.sensormodule.liteon_imx318.bin 75 | vendor/lib64/camera/com.qti.sensormodule.liteon_imx362.bin 76 | vendor/lib64/camera/com.qti.sensormodule.liteon_max7366_6dof.bin 77 | vendor/lib64/camera/com.qti.sensormodule.liteon_max7366_eyetrack.bin 78 | vendor/lib64/camera/com.qti.sensormodule.liteon_max7366_ov6211.bin 79 | vendor/lib64/camera/com.qti.sensormodule.liteon_max7366_ov9282.bin 80 | vendor/lib64/camera/com.qti.sensormodule.liteon_ov7251.bin 81 | vendor/lib64/camera/com.qti.sensormodule.ofilm_imx376.bin 82 | vendor/lib64/camera/com.qti.sensormodule.ofilm_imx586.bin 83 | vendor/lib64/camera/com.qti.sensormodule.ofilm_ov12a10.bin 84 | vendor/lib64/camera/com.qti.sensormodule.ofilm_ov12a10_front.bin 85 | vendor/lib64/camera/com.qti.sensormodule.ofilm_ov13855.bin 86 | vendor/lib64/camera/com.qti.sensormodule.ofilm_ov13880.bin 87 | vendor/lib64/camera/com.qti.sensormodule.ofilm_s5k5e8.bin 88 | vendor/lib64/camera/com.qti.sensormodule.pmd_irs1645.bin 89 | vendor/lib64/camera/com.qti.sensormodule.semco_imx258.bin 90 | vendor/lib64/camera/com.qti.sensormodule.semco_imx386.bin 91 | vendor/lib64/camera/com.qti.sensormodule.semco_imx586.bin 92 | vendor/lib64/camera/com.qti.sensormodule.semco_s5k5e8.bin 93 | vendor/lib64/camera/com.qti.sensormodule.sony_imx334.bin 94 | vendor/lib64/camera/com.qti.sensormodule.sunny_imx519.bin 95 | vendor/lib64/camera/com.qti.sensormodule.sunny_imx576.bin 96 | vendor/lib64/camera/com.qti.sensormodule.sunny_imx586.bin 97 | vendor/lib64/camera/com.qti.sensormodule.sunny_ov13855.bin 98 | vendor/lib64/camera/com.qti.sensormodule.sunny_ov2281.bin 99 | vendor/lib64/camera/com.qti.sensormodule.sunny_s5k2l7.bin 100 | vendor/lib64/camera/com.qti.sensormodule.sunny_s5k5e8.bin 101 | vendor/lib64/camera/com.qti.sensormodule.sunny_s5k5e9yu05.bin 102 | vendor/lib64/camera/com.qti.sensormodule.truly_imx476.bin 103 | vendor/lib64/camera/com.qti.sensormodule.truly_ov8856.bin 104 | vendor/lib64/camera/com.qti.tuned.altek1_imx577.bin 105 | vendor/lib64/camera/com.qti.tuned.altek_imx577.bin 106 | vendor/lib64/camera/com.qti.tuned.default.bin 107 | vendor/lib64/camera/com.qti.tuned.liteon_imx318.bin 108 | vendor/lib64/camera/com.qti.tuned.liteon_imx362.bin 109 | vendor/lib64/camera/com.qti.tuned.liteon_max7366_6dof.bin 110 | vendor/lib64/camera/com.qti.tuned.liteon_max7366_eyetrack.bin 111 | vendor/lib64/camera/com.qti.tuned.liteon_max7366_ov9282.bin 112 | vendor/lib64/camera/com.qti.tuned.liteon_ov7251.bin 113 | vendor/lib64/camera/com.qti.tuned.ofilm_imx376.bin 114 | vendor/lib64/camera/com.qti.tuned.ofilm_imx586.bin 115 | vendor/lib64/camera/com.qti.tuned.ofilm_imx586_cn.bin 116 | vendor/lib64/camera/com.qti.tuned.ofilm_ov12a10.bin 117 | vendor/lib64/camera/com.qti.tuned.ofilm_ov12a10_front.bin 118 | vendor/lib64/camera/com.qti.tuned.ofilm_ov13855.bin 119 | vendor/lib64/camera/com.qti.tuned.ofilm_ov13855_cn.bin 120 | vendor/lib64/camera/com.qti.tuned.ofilm_ov13880.bin 121 | vendor/lib64/camera/com.qti.tuned.ofilm_s5k5e8.bin 122 | vendor/lib64/camera/com.qti.tuned.semco_imx258.bin 123 | vendor/lib64/camera/com.qti.tuned.semco_imx258_mono.bin 124 | vendor/lib64/camera/com.qti.tuned.semco_imx386.bin 125 | vendor/lib64/camera/com.qti.tuned.semco_imx481.bin 126 | vendor/lib64/camera/com.qti.tuned.semco_imx586.bin 127 | vendor/lib64/camera/com.qti.tuned.semco_s5k5e8.bin 128 | vendor/lib64/camera/com.qti.tuned.sunny_imx519.bin 129 | vendor/lib64/camera/com.qti.tuned.sunny_imx586.bin 130 | vendor/lib64/camera/com.qti.tuned.sunny_imx586_cn.bin 131 | vendor/lib64/camera/com.qti.tuned.sunny_ov13855.bin 132 | vendor/lib64/camera/com.qti.tuned.sunny_ov13855_cn.bin 133 | vendor/lib64/camera/com.qti.tuned.sunny_s5k2l7.bin 134 | vendor/lib64/camera/com.qti.tuned.sunny_s5k5e8.bin 135 | vendor/lib64/camera/com.qti.tuned.sunny_s5k5e9yu05.bin 136 | vendor/lib64/camera/com.qti.tuned.truly_ov8856.bin 137 | vendor/lib64/camera/components/com.arcsoft.node.capturebokeh.so 138 | vendor/lib64/camera/components/com.arcsoft.node.hdr.so 139 | vendor/lib64/camera/components/com.arcsoft.node.hdrchecker.so 140 | vendor/lib64/camera/components/com.arcsoft.node.realtimebokeh.so 141 | vendor/lib64/camera/components/com.arcsoft.node.skinbeautifier.so 142 | vendor/lib64/camera/components/com.arcsoft.node.superlowlight.so 143 | vendor/lib64/camera/components/com.qti.camx.chiiqutils.so 144 | vendor/lib64/camera/components/com.qti.eisv2.so 145 | vendor/lib64/camera/components/com.qti.eisv3.so 146 | vendor/lib64/camera/components/com.qti.hvx.addconstant.so 147 | vendor/lib64/camera/components/com.qti.hvx.binning.so 148 | vendor/lib64/camera/components/com.qti.node.aiasd.so 149 | vendor/lib64/camera/components/com.qti.node.depth.so 150 | vendor/lib64/camera/components/com.qti.node.dummyrtb.so 151 | vendor/lib64/camera/components/com.qti.node.dummysat.so 152 | vendor/lib64/camera/components/com.qti.node.eisv2.so 153 | vendor/lib64/camera/components/com.qti.node.eisv3.so 154 | vendor/lib64/camera/components/com.qti.node.fcv.so 155 | vendor/lib64/camera/components/com.qti.node.gpu.so 156 | vendor/lib64/camera/components/com.qti.node.memcpy.so 157 | vendor/lib64/camera/components/com.qti.node.remosaic.so 158 | vendor/lib64/camera/components/com.qti.node.sr.so 159 | vendor/lib64/camera/components/com.qti.node.stich.so 160 | vendor/lib64/camera/components/com.qti.node.swcac.so 161 | vendor/lib64/camera/components/com.qti.node.swregistration.so 162 | vendor/lib64/camera/components/com.qti.node.xiaomigenderage.so 163 | vendor/lib64/camera/components/com.qti.stats.aec.so 164 | vendor/lib64/camera/components/com.qti.stats.af.so 165 | vendor/lib64/camera/components/com.qti.stats.afd.so 166 | vendor/lib64/camera/components/com.qti.stats.asd.so 167 | vendor/lib64/camera/components/com.qti.stats.awb.so 168 | vendor/lib64/camera/components/com.qti.stats.awbwrapper.so 169 | vendor/lib64/camera/components/com.qti.stats.haf.so 170 | vendor/lib64/camera/components/com.qti.stats.hafoverride.so 171 | vendor/lib64/camera/components/com.qti.stats.pdlib.so 172 | vendor/lib64/camera/components/com.qti.stats.pdlibsony.so 173 | vendor/lib64/camera/components/com.qti.stats.pdlibwrapper.so 174 | vendor/lib64/camera/components/com.qtistatic.stats.aec.so 175 | vendor/lib64/camera/components/com.qtistatic.stats.af.so 176 | vendor/lib64/camera/components/com.qtistatic.stats.awb.so 177 | vendor/lib64/camera/components/com.qtistatic.stats.pdlib.so 178 | vendor/lib64/camera/components/com.vidhance.node.eis.so 179 | vendor/lib64/camera/components/com.vidhance.stats.aec_dmbr.so 180 | vendor/lib64/camera/components/com.xiaomi.node.mibokeh.so 181 | vendor/lib64/camera/components/com.xiaomi.node.misegment.so 182 | vendor/lib64/camera/components/GpuKernelRepo.pb 183 | vendor/lib64/camera/components/libdepthmapwrapper.so 184 | vendor/lib64/camera/components/libmmcamera_cac3.so 185 | vendor/lib64/camera/components/model_back.dlc 186 | vendor/lib64/camera/components/model_front.dlc 187 | vendor/lib64/camera/fdconfigpreview.bin 188 | vendor/lib64/camera/fdconfigpreviewlite.bin 189 | vendor/lib64/camera/fdconfigvideo.bin 190 | vendor/lib64/camera/fdconfigvideolite.bin 191 | vendor/lib64/hw/camera.qcom.so 192 | vendor/lib64/hw/com.qti.chi.override.so 193 | vendor/lib64/hw/com.qti.chi.override_moorea.so 194 | vendor/lib64/libarcsoft_beautyshot.so 195 | vendor/lib64/libarcsoft_dualcam_refocus.so 196 | vendor/lib64/libarcsoft_high_dynamic_range.so 197 | vendor/lib64/libarcsoft_portrait_lighting.so 198 | vendor/lib64/libarcsoft_portrait_lighting_c.so 199 | vendor/lib64/libarcsoft_supernight.so 200 | vendor/lib64/libc++_shared.so 201 | vendor/lib64/libcamera_nn_stub.so 202 | vendor/lib64/libcamera_scene.so 203 | vendor/lib64/libcamxfdalgov7.so 204 | vendor/lib64/libcamxfdalgov8.so 205 | vendor/lib64/libcamxfdengine.so 206 | vendor/lib64/libcamxstatscore.so 207 | vendor/lib64/libcamxswprocessalgo.so 208 | vendor/lib64/libcamxtintlessalgo.so 209 | vendor/lib64/libcom.qti.chinodeutils.so 210 | vendor/lib64/libFaceGrade.so 211 | vendor/lib64/libmegface.so 212 | vendor/lib64/libMegviiFacepp-0.5.2.so 213 | vendor/lib64/libmibokeh_660.so 214 | vendor/lib64/libmmcamera_faceproc.so 215 | vendor/lib64/libmmcamera_faceproc2.so 216 | vendor/lib64/libmpbase.so 217 | vendor/lib64/libscveBlobDescriptor.so 218 | vendor/lib64/libscveBlobDescriptor_stub.so 219 | vendor/lib64/libscveCommon.so 220 | vendor/lib64/libscveCommon_stub.so 221 | vendor/lib64/libscveFaceLandmarks.so 222 | vendor/lib64/libscveFaceRecognition.so 223 | vendor/lib64/libscveObjectSegmentation.so 224 | vendor/lib64/libscveObjectSegmentation_stub.so 225 | vendor/lib64/libscveObjectTracker.so 226 | vendor/lib64/libscveObjectTracker_stub.so 227 | vendor/lib64/libscvePanorama.so 228 | vendor/lib64/libscvePanorama_lite.so 229 | vendor/lib64/libSNPE.so 230 | vendor/lib64/libsns_device_mode_stub.so 231 | vendor/lib64/libsns_fastRPC_util.so 232 | vendor/lib64/libsns_low_lat_stream_stub.so 233 | vendor/lib64/libsnsapi.so 234 | vendor/lib64/libsnsdiaglog.so 235 | vendor/lib64/libswregistrationalgo.so 236 | vendor/lib64/libswvdec.so 237 | vendor/lib64/libsymphony-cpu.so 238 | vendor/lib64/libsymphonypower.so 239 | vendor/lib64/libVDSuperPhotoAPI.so 240 | vendor/lib64/libvidhance.so 241 | vendor/lib64/libXMFD_AgeGender.so 242 | vendor/lib64/mibokeh_660_opencl.bin 243 | 244 | # Camera Firmware 245 | vendor/firmware/CAMERA_ICP.elf 246 | 247 | # Consumer IR 248 | vendor/lib64/hw/consumerir.default.so:vendor/lib64/hw/consumerir.sm6150.so 249 | 250 | # Fingerprint 251 | vendor/lib/vendor.qti.hardware.fingerprint@1.0.so 252 | vendor/lib64/hw/fingerprint.fpc.default.so 253 | vendor/lib64/hw/fingerprint.goodix.default.so 254 | vendor/lib64/com.fingerprints.extension@2.0.so 255 | vendor/lib64/libgf_ca.so 256 | vendor/lib64/libgf_hal.so 257 | vendor/lib64/libgoodixhwfingerprint.so 258 | vendor/lib64/libvendor.goodix.hardware.interfaces.biometrics.fingerprint@2.1.so 259 | vendor/lib64/vendor.qti.hardware.fingerprint@1.0.so 260 | 261 | # Fingerprint Firmware 262 | vendor/firmware/goodixfp.b00 263 | vendor/firmware/goodixfp.b01 264 | vendor/firmware/goodixfp.b02 265 | vendor/firmware/goodixfp.b03 266 | vendor/firmware/goodixfp.b04 267 | 268 | # GPU Firmware 269 | vendor/firmware/a612_rgmu.bin 270 | vendor/firmware/a612_zap.b00 271 | vendor/firmware/a612_zap.b01 272 | vendor/firmware/a612_zap.b02 273 | vendor/firmware/a612_zap.elf 274 | vendor/firmware/a612_zap.mdt 275 | 276 | # IPA Firmware 277 | vendor/firmware/ipa_fws.b02 278 | vendor/firmware/ipa_fws.mdt 279 | 280 | # Sensors 281 | vendor/bin/hw/android.hardware.sensors@2.0-service 282 | vendor/bin/sensors.qti 283 | vendor/etc/init/android.hardware.sensors@2.0-service.rc 284 | vendor/lib64/android.hardware.sensors@2.0-impl.so 285 | vendor/lib64/libssc.so 286 | vendor/lib64/sensors.ssc.so 287 | 288 | # Sensor Configs 289 | vendor/etc/sensors/config/ak991x_dri_0.json 290 | vendor/etc/sensors/config/bma2x2_0.json 291 | vendor/etc/sensors/config/bme680_0.json 292 | vendor/etc/sensors/config/bmg160_0.json 293 | vendor/etc/sensors/config/bmi160_0.json 294 | vendor/etc/sensors/config/bmm150_0.json 295 | vendor/etc/sensors/config/bmp285_0.json 296 | vendor/etc/sensors/config/bu52053nvx_0.json 297 | vendor/etc/sensors/config/cm3526_0.json 298 | vendor/etc/sensors/config/default_sensors.json 299 | vendor/etc/sensors/config/dps368_0.json 300 | vendor/etc/sensors/config/icp101xx_0.json 301 | vendor/etc/sensors/config/lsm6ds3_0.json 302 | vendor/etc/sensors/config/lsm6ds3c_0.json 303 | vendor/etc/sensors/config/lsm6dsm_0_16g.json 304 | vendor/etc/sensors/config/lsm6dsm_0_8g.json 305 | vendor/etc/sensors/config/lsm6dsm_0.json 306 | vendor/etc/sensors/config/lsm6dso_0_16g.json 307 | vendor/etc/sensors/config/lsm6dso_0_8g.json 308 | vendor/etc/sensors/config/lsm6dso_0.json 309 | vendor/etc/sensors/config/ltr308_0_on_change.json 310 | vendor/etc/sensors/config/pah_8011_0_platform.ppg_enable_ex_1.json 311 | vendor/etc/sensors/config/pah_8011_0_platform.ppg_enable_ex_2.json 312 | vendor/etc/sensors/config/rpr0521rs_0.json 313 | vendor/etc/sensors/config/shtw2_0.json 314 | vendor/etc/sensors/config/sns_amd.json 315 | vendor/etc/sensors/config/sns_amd_sw_disabled.json 316 | vendor/etc/sensors/config/sns_amd_sw_enabled.json 317 | vendor/etc/sensors/config/sns_aont.json 318 | vendor/etc/sensors/config/sns_basic_gestures.json 319 | vendor/etc/sensors/config/sns_bring_to_ear.json 320 | vendor/etc/sensors/config/sns_ccd.json 321 | vendor/etc/sensors/config/sns_cm.json 322 | vendor/etc/sensors/config/sns_dae.json 323 | vendor/etc/sensors/config/sns_device_orient.json 324 | vendor/etc/sensors/config/sns_diag_filter.json 325 | vendor/etc/sensors/config/sns_distance_bound.json 326 | vendor/etc/sensors/config/sns_dpc.json 327 | vendor/etc/sensors/config/sns_facing.json 328 | vendor/etc/sensors/config/sns_fmv.json 329 | vendor/etc/sensors/config/sns_geomag_rv.json 330 | vendor/etc/sensors/config/sns_gyro_cal.json 331 | vendor/etc/sensors/config/sns_heart_rate.json 332 | vendor/etc/sensors/config/sns_mag_cal.json 333 | vendor/etc/sensors/config/sns_multishake.json 334 | vendor/etc/sensors/config/sns_pedometer.json 335 | vendor/etc/sensors/config/sns_rmd.json 336 | vendor/etc/sensors/config/sns_rotv.json 337 | vendor/etc/sensors/config/sns_smd.json 338 | vendor/etc/sensors/config/sns_tilt.json 339 | vendor/etc/sensors/config/sns_tilt_sw_disabled.json 340 | vendor/etc/sensors/config/sns_tilt_sw_enabled.json 341 | vendor/etc/sensors/config/sns_tilt_to_wake.json 342 | vendor/etc/sensors/config/sns_wrist_pedo.json 343 | vendor/etc/sensors/config/stk3x3x_0.json 344 | vendor/etc/sensors/config/sx932x_0.json 345 | vendor/etc/sensors/config/talos_ak991x_0.json 346 | vendor/etc/sensors/config/talos_irq.json 347 | vendor/etc/sensors/config/talos_lsm6ds3c_0.json 348 | vendor/etc/sensors/config/talos_power_0.json 349 | vendor/etc/sensors/config/talos_stk3x3x_0.json 350 | vendor/etc/sensors/config/tmd2725.json 351 | vendor/etc/sensors/config/tmx4903.json 352 | vendor/etc/sensors/sns_reg_config 353 | 354 | # Thermal 355 | vendor/bin/thermal-engine 356 | vendor/etc/thermal-engine.conf 357 | vendor/etc/thermal-engine-camera.conf 358 | vendor/etc/thermal-engine-map.conf 359 | vendor/etc/thermal-engine-normal.conf 360 | vendor/etc/thermal-engine-studio.conf 361 | vendor/etc/thermal-engine-tgame.conf 362 | vendor/lib64/libthermalfeature.so 363 | -------------------------------------------------------------------------------- /configs/powerhint.json: -------------------------------------------------------------------------------- 1 | { 2 | "Nodes": [ 3 | { 4 | "Name": "CPULittleClusterMaxFreq", 5 | "Path": "/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq", 6 | "Values": [ 7 | "9999999", 8 | "1209600" 9 | ], 10 | "DefaultIndex": 0, 11 | "ResetOnInit": true 12 | }, 13 | { 14 | "Name": "CPULittleClusterMinFreq", 15 | "Path": "/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq", 16 | "Values": [ 17 | "9999999", 18 | "1017000", 19 | "0" 20 | ], 21 | "ResetOnInit": true 22 | }, 23 | { 24 | "Name": "CPUBigClusterMaxFreq", 25 | "Path": "/sys/devices/system/cpu/cpu6/cpufreq/scaling_max_freq", 26 | "Values": [ 27 | "9999999", 28 | "1900800", 29 | "1017600" 30 | ], 31 | "DefaultIndex": 0, 32 | "ResetOnInit": true 33 | }, 34 | { 35 | "Name": "CPUBigClusterMinFreq", 36 | "Path": "/sys/devices/system/cpu/cpu6/cpufreq/scaling_min_freq", 37 | "Values": [ 38 | "9999999", 39 | "0" 40 | ], 41 | "ResetOnInit": true 42 | }, 43 | { 44 | "Name": "GPUMaxFreq", 45 | "Path": "/sys/class/kgsl/kgsl-3d0/devfreq/max_freq", 46 | "Values": [ 47 | "845000000", 48 | "745000000", 49 | "700000000" 50 | ], 51 | "DefaultIndex": 0, 52 | "ResetOnInit": true 53 | }, 54 | { 55 | "Name": "GPUMinFreq", 56 | "Path": "/sys/class/kgsl/kgsl-3d0/devfreq/min_freq", 57 | "Values": [ 58 | "550000000", 59 | "435000000", 60 | "290000000" 61 | ], 62 | "ResetOnInit": true 63 | }, 64 | { 65 | "Name": "GPUBusMinFreq", 66 | "Path": "/sys/class/devfreq/soc:qcom,gpubw/min_freq", 67 | "Values": [ 68 | "6881", 69 | "5931", 70 | "3879", 71 | "2597", 72 | "0" 73 | ], 74 | "ResetOnInit": true 75 | }, 76 | { 77 | "Name": "GPUForceRailOn", 78 | "Path": "/sys/class/kgsl/kgsl-3d0/force_rail_on", 79 | "Values": [ 80 | "1", 81 | "0" 82 | ], 83 | "ResetOnInit": true 84 | }, 85 | { 86 | "Name": "GPUForceClkOn", 87 | "Path": "/sys/class/kgsl/kgsl-3d0/force_clk_on", 88 | "Values": [ 89 | "1", 90 | "0" 91 | ], 92 | "ResetOnInit": true 93 | }, 94 | { 95 | "Name": "GPUIdleTimer", 96 | "Path": "/sys/class/kgsl/kgsl-3d0/idle_timer", 97 | "Values": [ 98 | "10000", 99 | "80" 100 | ], 101 | "ResetOnInit": true 102 | }, 103 | { 104 | "Name": "TASchedtuneBoost", 105 | "Path": "/dev/stune/top-app/schedtune.boost", 106 | "Values": [ 107 | "30", 108 | "10" 109 | ], 110 | "ResetOnInit": true 111 | }, 112 | { 113 | "Name": "TASchedtuneHighCap", 114 | "Path": "/dev/stune/top-app/schedtune.prefer_high_cap", 115 | "Values": [ 116 | "1", 117 | "0" 118 | ], 119 | "ResetOnInit": true 120 | }, 121 | { 122 | "Name": "CDSchedtuneBoost", 123 | "Path": "/dev/stune/camera-daemon/schedtune.boost", 124 | "Values": [ 125 | "1", 126 | "0" 127 | ], 128 | "ResetOnInit": true 129 | }, 130 | { 131 | "Name": "CDSchedtuneHighCap", 132 | "Path": "/dev/stune/camera-daemon/schedtune.prefer_high_cap", 133 | "Values": [ 134 | "1", 135 | "0" 136 | ], 137 | "ResetOnInit": true 138 | }, 139 | { 140 | "Name": "CPUBWHystTriggerCount", 141 | "Path": "/sys/class/devfreq/soc:qcom,cpu-cpu-llcc-bw/bw_hwmon/hyst_trigger_count", 142 | "Values": [ 143 | "0", 144 | "3" 145 | ], 146 | "ResetOnInit": true 147 | }, 148 | { 149 | "Name": "CPUBWHistMemory", 150 | "Path": "/sys/class/devfreq/soc:qcom,cpu-cpu-llcc-bw/bw_hwmon/hist_memory", 151 | "Values": [ 152 | "0", 153 | "20" 154 | ], 155 | "ResetOnInit": true 156 | }, 157 | { 158 | "Name": "CPUBWHystLength", 159 | "Path": "/sys/class/devfreq/soc:qcom,cpu-cpu-llcc-bw/bw_hwmon/hyst_length", 160 | "Values": [ 161 | "0", 162 | "10" 163 | ], 164 | "ResetOnInit": true 165 | }, 166 | { 167 | "Name": "CPUBWSampleMs", 168 | "Path": "/sys/class/devfreq/soc:qcom,cpu-cpu-llcc-bw/bw_hwmon/sample_ms", 169 | "Values": [ 170 | "10", 171 | "4" 172 | ], 173 | "ResetOnInit": true 174 | }, 175 | { 176 | "Name": "CPUBWIOPercent", 177 | "Path": "/sys/class/devfreq/soc:qcom,cpu-cpu-llcc-bw/bw_hwmon/io_percent", 178 | "Values": [ 179 | "80", 180 | "68" 181 | ], 182 | "ResetOnInit": true 183 | }, 184 | { 185 | "Name": "CPUBWMinFreq", 186 | "Path": "/sys/class/devfreq/soc:qcom,cpu-cpu-llcc-bw/min_freq", 187 | "Values": [ 188 | "12298", 189 | "9155", 190 | "2288" 191 | ], 192 | "ResetOnInit": true 193 | }, 194 | { 195 | "Name": "LLCCBWMinFreq", 196 | "Path": "/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/min_freq", 197 | "Values": [ 198 | "6881", 199 | "5161", 200 | "2086" 201 | ], 202 | "ResetOnInit": true 203 | }, 204 | { 205 | "Name": "LLCCBWSampleMs", 206 | "Path": "/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/sample_ms", 207 | "Values": [ 208 | "10", 209 | "4" 210 | ], 211 | "ResetOnInit": true 212 | }, 213 | { 214 | "Name": "LLCCBWHistMemory", 215 | "Path": "/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/hist_memory", 216 | "Values": [ 217 | "0", 218 | "20" 219 | ], 220 | "ResetOnInit": true 221 | }, 222 | { 223 | "Name": "LLCCBWHystLength", 224 | "Path": "/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/hyst_length", 225 | "Values": [ 226 | "0", 227 | "10" 228 | ], 229 | "ResetOnInit": true 230 | }, 231 | { 232 | "Name": "CameraHalCpuset", 233 | "Path": "/dev/cpuset/camera-daemon/cpus", 234 | "Values": [ 235 | "0-6", 236 | "0-7" 237 | ], 238 | "ResetOnInit": true 239 | }, 240 | { 241 | "Name": "LLCCBWHystTriggerCount", 242 | "Path": "/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/hyst_trigger_count", 243 | "Values": [ 244 | "0", 245 | "3" 246 | ], 247 | "ResetOnInit": true 248 | }, 249 | { 250 | "Name": "L3BigClusterMinFreq", 251 | "Path": "/sys/class/devfreq/soc:qcom,cpu6-cpu-l3-lat/min_freq", 252 | "Values": [ 253 | "1516200000", 254 | "300000000" 255 | ], 256 | "ResetOnInit": true 257 | }, 258 | { 259 | "Name": "PMQoSCpuDmaLatency", 260 | "Path": "/dev/cpu_dma_latency", 261 | "Values": [ 262 | "43", 263 | "100" 264 | ], 265 | "HoldFd": true 266 | }, 267 | { 268 | "Name": "EnergyAware", 269 | "Path": "/proc/sys/kernel/sched_energy_aware", 270 | "Values": [ 271 | "0", 272 | "1" 273 | ], 274 | "ResetOnInit": true 275 | }, 276 | { 277 | "Name": "PowerHALMainState", 278 | "Path": "vendor.powerhal.state", 279 | "Values": [ 280 | "CAMERA_STREAMING", 281 | "CAMERA_STREAMING_4K", 282 | "CAMERA_STREAMING_60FPS", 283 | "CAMERA_STREAMING_SECURE", 284 | "SUSTAINED_PERFORMANCE", 285 | "" 286 | ], 287 | "Type": "Property" 288 | }, 289 | { 290 | "Name": "PowerHALAudioState", 291 | "Path": "vendor.powerhal.audio", 292 | "Values": [ 293 | "AUDIO_LOW_LATENCY", 294 | "" 295 | ], 296 | "Type": "Property" 297 | }, 298 | { 299 | "Name": "PowerHALRenderingState", 300 | "Path": "vendor.powerhal.rendering", 301 | "Values": [ 302 | "EXPENSIVE_RENDERING", 303 | "" 304 | ], 305 | "Type": "Property" 306 | } 307 | ], 308 | "Actions": [ 309 | { 310 | "PowerHint": "SUSTAINED_PERFORMANCE", 311 | "Node": "PowerHALMainState", 312 | "Duration": 0, 313 | "Value": "SUSTAINED_PERFORMANCE" 314 | }, 315 | { 316 | "PowerHint": "SUSTAINED_PERFORMANCE", 317 | "Node": "CPUBigClusterMaxFreq", 318 | "Duration": 0, 319 | "Value": "1017600" 320 | }, 321 | { 322 | "PowerHint": "SUSTAINED_PERFORMANCE", 323 | "Node": "CPULittleClusterMaxFreq", 324 | "Duration": 0, 325 | "Value": "1209600" 326 | }, 327 | { 328 | "PowerHint": "SUSTAINED_PERFORMANCE", 329 | "Node": "GPUMaxFreq", 330 | "Duration": 0, 331 | "Value": "745000000" 332 | }, 333 | { 334 | "PowerHint": "INTERACTION", 335 | "Node": "CPULittleClusterMinFreq", 336 | "Duration": 0, 337 | "Value": "1017000" 338 | }, 339 | { 340 | "PowerHint": "INTERACTION", 341 | "Node": "TASchedtuneBoost", 342 | "Duration": 0, 343 | "Value": "30" 344 | }, 345 | { 346 | "PowerHint": "INTERACTION", 347 | "Node": "TASchedtuneHighCap", 348 | "Duration": 0, 349 | "Value": "1" 350 | }, 351 | { 352 | "PowerHint": "INTERACTION", 353 | "Node": "CPUBWHystTriggerCount", 354 | "Duration": 0, 355 | "Value": "0" 356 | }, 357 | { 358 | "PowerHint": "INTERACTION", 359 | "Node": "CPUBWHystLength", 360 | "Duration": 0, 361 | "Value": "0" 362 | }, 363 | { 364 | "PowerHint": "INTERACTION", 365 | "Node": "CPUBWHistMemory", 366 | "Duration": 0, 367 | "Value": "0" 368 | }, 369 | { 370 | "PowerHint": "INTERACTION", 371 | "Node": "CPUBWMinFreq", 372 | "Duration": 0, 373 | "Value": "9155" 374 | }, 375 | { 376 | "PowerHint": "INTERACTION", 377 | "Node": "LLCCBWMinFreq", 378 | "Duration": 0, 379 | "Value": "2086" 380 | }, 381 | { 382 | "PowerHint": "LAUNCH", 383 | "Node": "EnergyAware", 384 | "Duration": 5000, 385 | "Value": "0" 386 | }, 387 | { 388 | "PowerHint": "LAUNCH", 389 | "Node": "CPUBigClusterMaxFreq", 390 | "Duration": 5000, 391 | "Value": "9999999" 392 | }, 393 | { 394 | "PowerHint": "LAUNCH", 395 | "Node": "CPUBigClusterMinFreq", 396 | "Duration": 5000, 397 | "Value": "9999999" 398 | }, 399 | { 400 | "PowerHint": "LAUNCH", 401 | "Node": "CPULittleClusterMinFreq", 402 | "Duration": 5000, 403 | "Value": "9999999" 404 | }, 405 | { 406 | "PowerHint": "LAUNCH", 407 | "Node": "PMQoSCpuDmaLatency", 408 | "Duration": 5000, 409 | "Value": "43" 410 | }, 411 | { 412 | "PowerHint": "LAUNCH", 413 | "Node": "CPUBWHystTriggerCount", 414 | "Duration": 5000, 415 | "Value": "0" 416 | }, 417 | { 418 | "PowerHint": "LAUNCH", 419 | "Node": "CPUBWHystLength", 420 | "Duration": 5000, 421 | "Value": "0" 422 | }, 423 | { 424 | "PowerHint": "LAUNCH", 425 | "Node": "CPUBWHistMemory", 426 | "Duration": 5000, 427 | "Value": "0" 428 | }, 429 | { 430 | "PowerHint": "LAUNCH", 431 | "Node": "CPUBWMinFreq", 432 | "Duration": 5000, 433 | "Value": "12298" 434 | }, 435 | { 436 | "PowerHint": "LAUNCH", 437 | "Node": "GPUForceClkOn", 438 | "Duration": 5000, 439 | "Value": "1" 440 | }, 441 | { 442 | "PowerHint": "LAUNCH", 443 | "Node": "GPUForceRailOn", 444 | "Duration": 5000, 445 | "Value": "1" 446 | }, 447 | { 448 | "PowerHint": "LAUNCH", 449 | "Node": "GPUIdleTimer", 450 | "Duration": 5000, 451 | "Value": "10000" 452 | }, 453 | { 454 | "PowerHint": "LAUNCH", 455 | "Node": "LLCCBWMinFreq", 456 | "Duration": 5000, 457 | "Value": "6881" 458 | }, 459 | { 460 | "PowerHint": "LAUNCH", 461 | "Node": "L3BigClusterMinFreq", 462 | "Duration": 5000, 463 | "Value": "1516200000" 464 | }, 465 | { 466 | "PowerHint": "CAMERA_LAUNCH", 467 | "Node": "EnergyAware", 468 | "Duration": 3000, 469 | "Value": "0" 470 | }, 471 | { 472 | "PowerHint": "CAMERA_LAUNCH", 473 | "Node": "CPUBigClusterMaxFreq", 474 | "Duration": 3000, 475 | "Value": "9999999" 476 | }, 477 | { 478 | "PowerHint": "CAMERA_LAUNCH", 479 | "Node": "CPUBigClusterMinFreq", 480 | "Duration": 3000, 481 | "Value": "9999999" 482 | }, 483 | { 484 | "PowerHint": "CAMERA_LAUNCH", 485 | "Node": "CPULittleClusterMaxFreq", 486 | "Duration": 3000, 487 | "Value": "9999999" 488 | }, 489 | { 490 | "PowerHint": "CAMERA_LAUNCH", 491 | "Node": "CPULittleClusterMinFreq", 492 | "Duration": 3000, 493 | "Value": "9999999" 494 | }, 495 | { 496 | "PowerHint": "CAMERA_LAUNCH", 497 | "Node": "PMQoSCpuDmaLatency", 498 | "Duration": 1000, 499 | "Value": "43" 500 | }, 501 | { 502 | "PowerHint": "CAMERA_STREAMING", 503 | "Node": "PowerHALMainState", 504 | "Duration": 0, 505 | "Value": "CAMERA_STREAMING" 506 | }, 507 | { 508 | "PowerHint": "CAMERA_STREAMING", 509 | "Node": "CPUBigClusterMaxFreq", 510 | "Duration": 0, 511 | "Value": "1900800" 512 | }, 513 | { 514 | "PowerHint": "CAMERA_STREAMING", 515 | "Node": "CPUBWSampleMs", 516 | "Duration": 0, 517 | "Value": "10" 518 | }, 519 | { 520 | "PowerHint": "CAMERA_STREAMING", 521 | "Node": "CPUBWIOPercent", 522 | "Duration": 0, 523 | "Value": "80" 524 | }, 525 | { 526 | "PowerHint": "CAMERA_STREAMING", 527 | "Node": "LLCCBWSampleMs", 528 | "Duration": 0, 529 | "Value": "10" 530 | }, 531 | { 532 | "PowerHint": "CAMERA_STREAMING", 533 | "Node": "CDSchedtuneBoost", 534 | "Duration": 0, 535 | "Value": "1" 536 | }, 537 | { 538 | "PowerHint": "CAMERA_STREAMING", 539 | "Node": "CDSchedtuneHighCap", 540 | "Duration": 0, 541 | "Value": "1" 542 | }, 543 | { 544 | "PowerHint": "CAMERA_STREAMING_60FPS", 545 | "Node": "PowerHALMainState", 546 | "Duration": 0, 547 | "Value": "CAMERA_STREAMING_60FPS" 548 | }, 549 | { 550 | "PowerHint": "CAMERA_STREAMING_60FPS", 551 | "Node": "CPUBigClusterMaxFreq", 552 | "Duration": 0, 553 | "Value": "1900800" 554 | }, 555 | { 556 | "PowerHint": "CAMERA_STREAMING_60FPS", 557 | "Node": "CDSchedtuneBoost", 558 | "Duration": 0, 559 | "Value": "1" 560 | }, 561 | { 562 | "PowerHint": "CAMERA_STREAMING_60FPS", 563 | "Node": "CDSchedtuneHighCap", 564 | "Duration": 0, 565 | "Value": "1" 566 | }, 567 | { 568 | "PowerHint": "CAMERA_STREAMING_60FPS", 569 | "Node": "CPUBWSampleMs", 570 | "Duration": 0, 571 | "Value": "10" 572 | }, 573 | { 574 | "PowerHint": "CAMERA_STREAMING_60FPS", 575 | "Node": "CPUBWIOPercent", 576 | "Duration": 0, 577 | "Value": "80" 578 | }, 579 | { 580 | "PowerHint": "CAMERA_STREAMING_60FPS", 581 | "Node": "LLCCBWSampleMs", 582 | "Duration": 0, 583 | "Value": "10" 584 | }, 585 | { 586 | "PowerHint": "CAMERA_STREAMING_60FPS", 587 | "Node": "CPUBWHystTriggerCount", 588 | "Duration": 0, 589 | "Value": "0" 590 | }, 591 | { 592 | "PowerHint": "CAMERA_STREAMING_60FPS", 593 | "Node": "CPUBWHystLength", 594 | "Duration": 0, 595 | "Value": "0" 596 | }, 597 | { 598 | "PowerHint": "CAMERA_STREAMING_60FPS", 599 | "Node": "LLCCBWHystTriggerCount", 600 | "Duration": 0, 601 | "Value": "0" 602 | }, 603 | { 604 | "PowerHint": "CAMERA_STREAMING_60FPS", 605 | "Node": "LLCCBWHystLength", 606 | "Duration": 0, 607 | "Value": "0" 608 | }, 609 | { 610 | "PowerHint": "CAMERA_STREAMING_4K", 611 | "Node": "PowerHALMainState", 612 | "Duration": 0, 613 | "Value": "CAMERA_STREAMING_4K" 614 | }, 615 | { 616 | "PowerHint": "CAMERA_STREAMING_4K", 617 | "Node": "CPUBigClusterMaxFreq", 618 | "Duration": 0, 619 | "Value": "1900800" 620 | }, 621 | { 622 | "PowerHint": "CAMERA_STREAMING_4K", 623 | "Node": "CPUBWSampleMs", 624 | "Duration": 0, 625 | "Value": "10" 626 | }, 627 | { 628 | "PowerHint": "CAMERA_STREAMING_4K", 629 | "Node": "CPUBWIOPercent", 630 | "Duration": 0, 631 | "Value": "80" 632 | }, 633 | { 634 | "PowerHint": "CAMERA_STREAMING_4K", 635 | "Node": "LLCCBWSampleMs", 636 | "Duration": 0, 637 | "Value": "10" 638 | }, 639 | { 640 | "PowerHint": "CAMERA_STREAMING_4K", 641 | "Node": "CPUBWHystTriggerCount", 642 | "Duration": 0, 643 | "Value": "0" 644 | }, 645 | { 646 | "PowerHint": "CAMERA_STREAMING_4K", 647 | "Node": "CPUBWHystLength", 648 | "Duration": 0, 649 | "Value": "0" 650 | }, 651 | { 652 | "PowerHint": "CAMERA_STREAMING_4K", 653 | "Node": "LLCCBWHystTriggerCount", 654 | "Duration": 0, 655 | "Value": "0" 656 | }, 657 | { 658 | "PowerHint": "CAMERA_STREAMING_4K", 659 | "Node": "LLCCBWHystLength", 660 | "Duration": 0, 661 | "Value": "0" 662 | }, 663 | { 664 | "PowerHint": "CAMERA_STREAMING_SECURE", 665 | "Node": "PowerHALMainState", 666 | "Duration": 0, 667 | "Value": "CAMERA_STREAMING_SECURE" 668 | }, 669 | { 670 | "PowerHint": "CAMERA_STREAMING_SECURE", 671 | "Node": "CPUBigClusterMaxFreq", 672 | "Duration": 0, 673 | "Value": "1900800" 674 | }, 675 | { 676 | "PowerHint": "CAMERA_STREAMING_SECURE", 677 | "Node": "CPUBWSampleMs", 678 | "Duration": 0, 679 | "Value": "10" 680 | }, 681 | { 682 | "PowerHint": "CAMERA_STREAMING_SECURE", 683 | "Node": "CPUBWIOPercent", 684 | "Duration": 0, 685 | "Value": "80" 686 | }, 687 | { 688 | "PowerHint": "CAMERA_STREAMING_SECURE", 689 | "Node": "LLCCBWSampleMs", 690 | "Duration": 0, 691 | "Value": "10" 692 | }, 693 | { 694 | "PowerHint": "CAMERA_STREAMING_SECURE", 695 | "Node": "LLCCBWHistMemory", 696 | "Duration": 0, 697 | "Value": "0" 698 | }, 699 | { 700 | "PowerHint": "CAMERA_STREAMING_SECURE", 701 | "Node": "LLCCBWHystLength", 702 | "Duration": 0, 703 | "Value": "0" 704 | }, 705 | { 706 | "PowerHint": "CAMERA_STREAMING_SECURE", 707 | "Node": "LLCCBWHystTriggerCount", 708 | "Duration": 0, 709 | "Value": "0" 710 | }, 711 | { 712 | "PowerHint": "CAMERA_STREAMING_SECURE", 713 | "Node": "CameraHalCpuset", 714 | "Duration": 0, 715 | "Value": "0-6" 716 | }, 717 | { 718 | "PowerHint": "CAMERA_SHOT", 719 | "Node": "EnergyAware", 720 | "Duration": 5000, 721 | "Value": "0" 722 | }, 723 | { 724 | "PowerHint": "CAMERA_SHOT", 725 | "Node": "CPUBigClusterMaxFreq", 726 | "Duration": 5000, 727 | "Value": "9999999" 728 | }, 729 | { 730 | "PowerHint": "CAMERA_SHOT", 731 | "Node": "CPUBigClusterMinFreq", 732 | "Duration": 5000, 733 | "Value": "9999999" 734 | }, 735 | { 736 | "PowerHint": "CAMERA_SHOT", 737 | "Node": "CPULittleClusterMaxFreq", 738 | "Duration": 5000, 739 | "Value": "9999999" 740 | }, 741 | { 742 | "PowerHint": "CAMERA_SHOT", 743 | "Node": "CPULittleClusterMinFreq", 744 | "Duration": 5000, 745 | "Value": "9999999" 746 | }, 747 | { 748 | "PowerHint": "CAMERA_SHOT", 749 | "Node": "PMQoSCpuDmaLatency", 750 | "Duration": 1000, 751 | "Value": "43" 752 | }, 753 | { 754 | "PowerHint": "AUDIO_STREAMING", 755 | "Node": "PMQoSCpuDmaLatency", 756 | "Duration": 2000, 757 | "Value": "43" 758 | }, 759 | { 760 | "PowerHint": "AUDIO_LOW_LATENCY", 761 | "Node": "PowerHALAudioState", 762 | "Duration": 0, 763 | "Value": "AUDIO_LOW_LATENCY" 764 | }, 765 | { 766 | "PowerHint": "AUDIO_LOW_LATENCY", 767 | "Node": "PMQoSCpuDmaLatency", 768 | "Duration": 0, 769 | "Value": "43" 770 | }, 771 | { 772 | "PowerHint": "EXPENSIVE_RENDERING", 773 | "Node": "PowerHALRenderingState", 774 | "Duration": 0, 775 | "Value": "EXPENSIVE_RENDERING" 776 | }, 777 | { 778 | "PowerHint": "EXPENSIVE_RENDERING", 779 | "Node": "GPUMinFreq", 780 | "Duration": 0, 781 | "Value": "435000000" 782 | }, 783 | { 784 | "PowerHint": "EXPENSIVE_RENDERING", 785 | "Node": "GPUMaxFreq", 786 | "Duration": 0, 787 | "Value": "845000000" 788 | }, 789 | { 790 | "PowerHint": "TPU_BOOST", 791 | "Node": "PMQoSCpuDmaLatency", 792 | "Duration": 2000, 793 | "Value": "43" 794 | } 795 | ] 796 | } 797 | -------------------------------------------------------------------------------- /audio/audio_platform_info_intcodec.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 | 88 | 89 | 90 | 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 | 245 | 250 | 255 | 256 | 257 | 258 | 259 | 260 | 262 | 264 | 266 | 267 | 268 | 270 | 271 | 272 | 274 | 275 | 276 | 278 | 279 | 280 | 282 | 283 | 284 | 286 | 287 | 288 | 290 | 292 | 293 | 294 | 296 | 298 | 299 | 300 | 302 | 304 | 306 | 307 | 308 | 310 | 312 | 313 | 314 | 316 | 318 | 319 | 320 | 322 | 324 | 325 | 326 | 328 | 330 | 331 | 332 | 334 | 336 | 338 | 339 | 340 | 342 | 344 | 346 | 347 | 348 | 350 | 352 | 354 | 355 | 356 | 358 | 360 | 362 | 363 | 364 | 366 | 367 | 368 | 370 | 372 | 373 | 374 | 376 | 378 | 380 | 381 | 382 | 384 | 386 | 387 | 388 | 390 | 392 | 394 | 395 | 396 | 397 | 398 | 399 | --------------------------------------------------------------------------------