├── Android.bp ├── board-info.txt ├── setup-makefiles.py ├── lineage.dependencies ├── AndroidProducts.mk ├── overlay ├── OPlusFrameworksResTarget │ ├── Android.bp │ ├── AndroidManifest.xml │ └── res │ │ ├── values │ │ ├── dimens.xml │ │ └── config.xml │ │ └── xml │ │ └── power_profile.xml ├── OPlusSettingsResTarget │ ├── Android.bp │ ├── res │ │ └── values │ │ │ └── config.xml │ └── AndroidManifest.xml ├── OPlusSystemUIResTarget │ ├── Android.bp │ ├── res │ │ ├── values │ │ │ ├── config.xml │ │ │ └── dimens.xml │ │ ├── drawable │ │ │ └── rounded.xml │ │ └── values-land │ │ │ └── dimens.xml │ └── AndroidManifest.xml └── OPlusSettingsProviderResTarget │ ├── Android.bp │ ├── res │ └── values │ │ └── defaults.xml │ └── AndroidManifest.xml ├── vendor.prop ├── proprietary-firmware.txt ├── BoardConfig.mk ├── manifest.xml ├── overlay-lineage ├── lineage-sdk │ └── lineage │ │ └── res │ │ └── res │ │ └── values │ │ └── config.xml └── packages │ └── apps │ └── Aperture │ └── app │ └── src │ └── main │ └── res │ └── values │ └── config.xml ├── lineage_wly.mk ├── configs └── display_id_4630946358012694401.xml ├── audio ├── backend_conf.xml ├── sound_trigger_mixer_paths.xml ├── sound_trigger_platform_info.xml └── resourcemanager_waipio_mtp.xml ├── device.mk └── extract-files.py /Android.bp: -------------------------------------------------------------------------------- 1 | soong_namespace { 2 | } 3 | -------------------------------------------------------------------------------- /board-info.txt: -------------------------------------------------------------------------------- 1 | require board=lahaina|wly 2 | -------------------------------------------------------------------------------- /setup-makefiles.py: -------------------------------------------------------------------------------- 1 | #!./extract-files.py --regenerate_makefiles 2 | -------------------------------------------------------------------------------- /lineage.dependencies: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "repository": "android_device_oneplus_sm8350-common", 4 | "target_path": "device/oneplus/sm8350-common" 5 | } 6 | ] 7 | -------------------------------------------------------------------------------- /AndroidProducts.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2021 The LineageOS Project 3 | # 4 | # SPDX-License-Identifier: Apache-2.0 5 | # 6 | 7 | PRODUCT_MAKEFILES := \ 8 | $(LOCAL_DIR)/lineage_wly.mk 9 | -------------------------------------------------------------------------------- /overlay/OPlusFrameworksResTarget/Android.bp: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (C) 2022 The LineageOS Project 3 | // SPDX-License-Identifier: Apache-2.0 4 | // 5 | 6 | runtime_resource_overlay { 7 | name: "OPlusFrameworksResTarget", 8 | device_specific: true, 9 | } 10 | -------------------------------------------------------------------------------- /overlay/OPlusSettingsResTarget/Android.bp: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (C) 2023 The LineageOS Project 3 | // SPDX-License-Identifier: Apache-2.0 4 | // 5 | 6 | runtime_resource_overlay { 7 | name: "OPlusSettingsResTarget", 8 | device_specific: true, 9 | } 10 | -------------------------------------------------------------------------------- /overlay/OPlusSystemUIResTarget/Android.bp: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (C) 2022 The LineageOS Project 3 | // SPDX-License-Identifier: Apache-2.0 4 | // 5 | 6 | runtime_resource_overlay { 7 | name: "OPlusSystemUIResTarget", 8 | device_specific: true, 9 | } 10 | -------------------------------------------------------------------------------- /overlay/OPlusSettingsProviderResTarget/Android.bp: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (C) 2022 The LineageOS Project 3 | // SPDX-License-Identifier: Apache-2.0 4 | // 5 | 6 | runtime_resource_overlay { 7 | name: "OPlusSettingsProviderResTarget", 8 | device_specific: true, 9 | } 10 | -------------------------------------------------------------------------------- /vendor.prop: -------------------------------------------------------------------------------- 1 | # Bluetooth 2 | bluetooth.device.default_name=OnePlus 10 Pro 5G 3 | 4 | # Graphics 5 | ro.surface_flinger.set_idle_timer_ms=250 6 | ro.surface_flinger.set_touch_timer_ms=300 7 | 8 | # Radio 9 | persist.radio.multisim.config=dsds 10 | 11 | # USB 12 | vendor.usb.product_string=OnePlus 10 Pro 5G 13 | -------------------------------------------------------------------------------- /overlay/OPlusSystemUIResTarget/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | true 10 | 11 | 12 | -------------------------------------------------------------------------------- /overlay/OPlusSettingsResTarget/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 119 10 | 11 | 12 | -------------------------------------------------------------------------------- /overlay/OPlusSettingsProviderResTarget/res/values/defaults.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | OnePlus 10 Pro 5G 10 | 11 | 12 | -------------------------------------------------------------------------------- /overlay/OPlusFrameworksResTarget/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 8 | 9 | 13 | 14 | -------------------------------------------------------------------------------- /overlay/OPlusSettingsResTarget/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 8 | 9 | 13 | 14 | -------------------------------------------------------------------------------- /overlay/OPlusSystemUIResTarget/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 8 | 9 | 13 | 14 | -------------------------------------------------------------------------------- /overlay/OPlusSettingsProviderResTarget/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 8 | 9 | 13 | 14 | -------------------------------------------------------------------------------- /overlay/OPlusSystemUIResTarget/res/drawable/rounded.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /overlay/OPlusSystemUIResTarget/res/values-land/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 63px 10 | 11 | 12 | 33px 13 | 14 | 15 | 0px 16 | 17 | 18 | -------------------------------------------------------------------------------- /proprietary-firmware.txt: -------------------------------------------------------------------------------- 1 | ## All proprietary files from this list, unless pinned and noted otherwise, 2 | ## are from OnePlus 10 Pro 5G (NE2213_15.0.0.901(EX01)). 3 | 4 | abl.img;AB 5 | aop_config.img;AB 6 | aop.img;AB 7 | bluetooth.img;AB 8 | cpucp.img;AB 9 | devcfg.img;AB 10 | dsp.img;AB 11 | engineering_cdt.img;AB 12 | featenabler.img;AB 13 | hyp.img;AB 14 | imagefv.img;AB 15 | keymaster.img;AB 16 | modem.img;AB 17 | oplus_sec.img;AB 18 | oplusstanvbk.img;AB 19 | qupfw.img;AB 20 | shrm.img;AB 21 | splash.img;AB 22 | tz.img;AB 23 | uefi.img;AB 24 | uefisecapp.img;AB 25 | xbl_config.img;AB 26 | xbl.img;AB 27 | xbl_ramdump.img;AB 28 | -------------------------------------------------------------------------------- /BoardConfig.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2021-2023 The LineageOS Project 3 | # 4 | # SPDX-License-Identifier: Apache-2.0 5 | # 6 | 7 | # Include the common OEM chipset BoardConfig. 8 | include device/oneplus/sm8450-common/BoardConfigCommon.mk 9 | 10 | DEVICE_PATH := device/oneplus/wly 11 | 12 | # HIDL 13 | DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest.xml 14 | 15 | # Properties 16 | TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop 17 | 18 | # Recovery 19 | TARGET_RECOVERY_DENSITY := xxhdpi 20 | TARGET_RECOVERY_UI_MARGIN_HEIGHT := 126 21 | 22 | # Include the proprietary files BoardConfig. 23 | include vendor/oneplus/wly/BoardConfigVendor.mk 24 | -------------------------------------------------------------------------------- /overlay/OPlusFrameworksResTarget/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 11 | 28dp 12 | 152px 13 | 28dp 14 | 15 | 16 | 8dp 17 | 18 | 19 | -------------------------------------------------------------------------------- /manifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | android.hardware.secure_element 4 | hwbinder 5 | 1.2 6 | 7 | ISecureElement 8 | SIM1 9 | SIM2 10 | eSE1 11 | 12 | 13 | 14 | vendor.qti.esepowermanager 15 | hwbinder 16 | 1.1 17 | 18 | IEsePowerManager 19 | default 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | /system_ext/app/KeyHandler/KeyHandler.apk 12 | /system_ext/priv-app/LineageParts/LineageParts.apk 13 | 14 | 15 | 16 | 17 | org.lineageos.settings.device.KeyHandler 18 | org.lineageos.lineageparts.gestures.KeyHandler 19 | 20 | 21 | 22 | true 23 | 24 | 25 | -------------------------------------------------------------------------------- /lineage_wly.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2021-2024 The LineageOS Project 3 | # 4 | # SPDX-License-Identifier: Apache-2.0 5 | # 6 | 7 | # Inherit from those products. Most specific first. 8 | $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit_only.mk) 9 | $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk) 10 | 11 | # Inherit from wly device 12 | $(call inherit-product, device/oneplus/wly/device.mk) 13 | 14 | # Inherit some common Lineage stuff. 15 | $(call inherit-product, vendor/lineage/config/common_full_phone.mk) 16 | 17 | PRODUCT_NAME := lineage_wly 18 | PRODUCT_DEVICE := wly 19 | PRODUCT_MANUFACTURER := OnePlus 20 | PRODUCT_BRAND := OnePlus 21 | PRODUCT_MODEL := NE2213 22 | 23 | PRODUCT_GMS_CLIENTID_BASE := android-oneplus 24 | 25 | PRODUCT_BUILD_PROP_OVERRIDES += \ 26 | BuildDesc="NE2213-user 13 UP1A.230620.001 S.12f8570_15_17 release-keys" \ 27 | BuildFingerprint=OnePlus/NE2213/OP516FL1:14/UP1A.230620.001/S.12f8570_15_17:user/release-keys \ 28 | DeviceName=OP516FL1 \ 29 | DeviceProduct=NE2213 \ 30 | SystemDevice=OP516FL1 \ 31 | SystemName=NE2213 32 | -------------------------------------------------------------------------------- /overlay/OPlusSystemUIResTarget/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 156px 10 | 11 | 13 | 48.3 14 | 15 | 16 | 0px 17 | 18 | 19 | 35px 20 | 21 | 22 | 11px 23 | 24 | 25 | @*android:dimen/status_bar_height 26 | 27 | 28 | @dimen/status_bar_padding_start 29 | 30 | 200px 31 | 32 | 33 | -------------------------------------------------------------------------------- /overlay-lineage/packages/apps/Aperture/app/src/main/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | true 9 | 10 | 35 | 36 | 37 | 0 sd|hd|fhd|uhd 60 38 | 40 | 41 | 2 sd|hd|fhd 60 42 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /configs/display_id_4630946358012694401.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 2412 6 | 1080 7 | 450 8 | 9 | 10 | 3216 11 | 1440 12 | 600 13 | 14 | 15 | 16 | 17 | 0.00097680097 18 | 2.0 19 | 20 | 21 | 1.0 22 | 800.0 23 | 24 | 25 | 26 | 0.50036665851 27 | 0.1 28 | 8700 29 | 30 | 1800 31 | 300 32 | 60 33 | 34 | 35 | 36 | 2.000 37 | 8.000 38 | 39 | 40 | 500.000 41 | 1.5 42 | 43 | 44 | 45 | 0.06 46 | 0.06 47 | 0.04 48 | 0.04 49 | 3000 50 | 3000 51 | 52 | -------------------------------------------------------------------------------- /audio/backend_conf.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 | -------------------------------------------------------------------------------- /device.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2021-2025 The LineageOS Project 3 | # 4 | # SPDX-License-Identifier: Apache-2.0 5 | # 6 | 7 | # AAPT 8 | PRODUCT_AAPT_CONFIG := normal 9 | PRODUCT_AAPT_PREF_CONFIG := xxxhdpi 10 | 11 | # Alert slider 12 | PRODUCT_PACKAGES += \ 13 | KeyHandler \ 14 | tri-state-key-calibrate 15 | 16 | # Audio 17 | PRODUCT_COPY_FILES += \ 18 | $(LOCAL_PATH)/audio/backend_conf.xml:$(TARGET_COPY_OUT_ODM)/etc/backend_conf.xml \ 19 | $(LOCAL_PATH)/audio/mixer_paths_waipio_mtp.xml:$(TARGET_COPY_OUT_ODM)/etc/mixer_paths.xml \ 20 | $(LOCAL_PATH)/audio/mixer_paths_waipio_mtp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_taro/mixer_paths_waipio_mtp.xml \ 21 | $(LOCAL_PATH)/audio/resourcemanager_waipio_mtp.xml:$(TARGET_COPY_OUT_ODM)/etc/resourcemanager.xml \ 22 | $(LOCAL_PATH)/audio/resourcemanager_waipio_mtp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_taro/resourcemanager_waipio_mtp.xml \ 23 | $(LOCAL_PATH)/audio/sound_trigger_mixer_paths.xml:$(TARGET_COPY_OUT_ODM)/etc/sound_trigger_mixer_paths.xml \ 24 | $(LOCAL_PATH)/audio/sound_trigger_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_taro/sound_trigger_mixer_paths.xml \ 25 | $(LOCAL_PATH)/audio/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_ODM)/etc/sound_trigger_platform_info.xml \ 26 | $(LOCAL_PATH)/audio/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_taro/sound_trigger_platform_info.xml \ 27 | $(LOCAL_PATH)/audio/usecaseKvManager.xml:$(TARGET_COPY_OUT_ODM)/etc/usecaseKvManager.xml \ 28 | $(LOCAL_PATH)/audio/usecaseKvManager.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usecaseKvManager.xml 29 | 30 | # Boot animation 31 | TARGET_SCREEN_HEIGHT := 3216 32 | TARGET_SCREEN_WIDTH := 1440 33 | 34 | # Display 35 | PRODUCT_COPY_FILES += \ 36 | $(LOCAL_PATH)/configs/display_id_4630946358012694401.xml:$(TARGET_COPY_OUT_VENDOR)/etc/displayconfig/display_id_4630946358012694401.xml 37 | 38 | $(call soong_config_set,qtidisplay,oplus_udfps,true) 39 | $(call soong_config_set,qtidisplay,pxlw_vendor_namespace,vendor/oneplus/sm8450-common) 40 | 41 | # Fingerprint 42 | PRODUCT_PACKAGES += \ 43 | android.hardware.biometrics.fingerprint@2.3-service.oplus 44 | 45 | PRODUCT_COPY_FILES += \ 46 | frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml 47 | 48 | $(call soong_config_set,surfaceflinger,udfps_lib,//hardware/oplus:libudfps_extension.oplus) 49 | 50 | # NFC 51 | PRODUCT_PACKAGES += \ 52 | android.hardware.nfc-service.nxp \ 53 | com.android.nfc_extras \ 54 | Tag 55 | 56 | PRODUCT_COPY_FILES += \ 57 | frameworks/native/data/etc/android.hardware.nfc.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.ese.xml \ 58 | frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \ 59 | frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \ 60 | frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \ 61 | frameworks/native/data/etc/android.hardware.se.omapi.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.ese.xml \ 62 | frameworks/native/data/etc/android.hardware.se.omapi.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.uicc.xml \ 63 | frameworks/native/data/etc/com.android.nfc_extras.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.android.nfc_extras.xml \ 64 | frameworks/native/data/etc/com.nxp.mifare.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.nxp.mifare.xml 65 | 66 | # Overlays 67 | DEVICE_PACKAGE_OVERLAYS += \ 68 | $(LOCAL_PATH)/overlay-lineage 69 | 70 | PRODUCT_PACKAGES += \ 71 | OPlusFrameworksResTarget \ 72 | OPlusSettingsProviderResTarget \ 73 | OPlusSettingsResTarget \ 74 | OPlusSystemUIResTarget 75 | 76 | # PowerShare 77 | PRODUCT_PACKAGES += \ 78 | vendor.lineage.powershare-service.oplus 79 | 80 | # Soong namespaces 81 | PRODUCT_SOONG_NAMESPACES += \ 82 | $(LOCAL_PATH) 83 | 84 | # Inherit from the common OEM chipset makefile. 85 | $(call inherit-product, device/oneplus/sm8450-common/common.mk) 86 | 87 | # Inherit from the proprietary files makefile. 88 | $(call inherit-product, vendor/oneplus/wly/wly-vendor.mk) 89 | -------------------------------------------------------------------------------- /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 | from extract_utils.fixups_blob import ( 8 | BlobFixupCtx, 9 | File, 10 | blob_fixup, 11 | blob_fixups_user_type, 12 | ) 13 | from extract_utils.fixups_lib import ( 14 | lib_fixups, 15 | ) 16 | from extract_utils.main import ( 17 | ExtractUtils, 18 | ExtractUtilsModule, 19 | ) 20 | from extract_utils.tools import ( 21 | llvm_objdump_path, 22 | ) 23 | from extract_utils.utils import ( 24 | run_cmd, 25 | ) 26 | 27 | namespace_imports = [ 28 | 'hardware/oplus', 29 | 'vendor/oneplus/sm8450-common', 30 | 'hardware/qcom-caf/sm8450', 31 | 'vendor/qcom/opensource/commonsys-intf/display', 32 | 'vendor/qcom/opensource/commonsys/display', 33 | ] 34 | 35 | 36 | def blob_fixup_nop_call( 37 | ctx: BlobFixupCtx, 38 | file: File, 39 | file_path: str, 40 | call_instruction: str, 41 | disassemble_symbol: str, 42 | symbol: str, 43 | *args, 44 | **kwargs, 45 | ): 46 | for line in run_cmd( 47 | [ 48 | llvm_objdump_path, 49 | f'--disassemble-symbols={disassemble_symbol}', 50 | file_path, 51 | ] 52 | ).splitlines(): 53 | line = line.split(maxsplit=3) 54 | 55 | if len(line) != 4: 56 | continue 57 | 58 | offset, _, instruction, args = line 59 | 60 | if instruction != call_instruction: 61 | continue 62 | 63 | if not args.endswith(f' <{symbol}>'): 64 | continue 65 | 66 | with open(file_path, 'rb+') as f: 67 | f.seek(int(offset[:-1], 16)) 68 | f.write(b'\x1f\x20\x03\xd5') # AArch64 NOP 69 | 70 | break 71 | 72 | 73 | blob_fixups: blob_fixups_user_type = { 74 | 'odm/bin/hw/vendor.oplus.hardware.biometrics.fingerprint@2.1-service': blob_fixup() 75 | .replace_needed('android.hardware.biometrics.common-V1-ndk_platform.so', 'android.hardware.biometrics.common-V1-ndk.so') 76 | .replace_needed('android.hardware.biometrics.fingerprint-V1-ndk_platform.so', 'android.hardware.biometrics.fingerprint-V1-ndk.so') 77 | .replace_needed('vendor.oplus.hardware.commondcs-V1-ndk_platform.so', 'vendor.oplus.hardware.commondcs-V1-ndk.so') 78 | .replace_needed('vendor.oplus.hardware.osense.client-V1-ndk_platform.so', 'vendor.oplus.hardware.osense.client-V1-ndk.so') 79 | .replace_needed('vendor.oplus.hardware.performance-V1-ndk_platform.so', 'vendor.oplus.hardware.performance-V1-ndk.so'), 80 | 'odm/etc/camera/CameraHWConfiguration.config': blob_fixup() 81 | .regex_replace('SystemCamera = 0; 0; 1; 1; 1', 'SystemCamera = 0; 0; 0; 0; 1'), 82 | ('odm/lib64/libPerfectColor.so', 'odm/lib64/libCOppLceTonemapAPI.so', 'odm/lib64/libSuperRaw.so', 'odm/lib64/libYTCommon.so', 'odm/lib64/libaps_frame_registration.so', 'odm/lib64/libyuv2.so'): blob_fixup() 83 | .replace_needed('libstdc++.so', 'libstdc++_vendor.so'), 84 | ('odm/lib64/libAlgoProcess.so', 'vendor/lib64/libcamximageformatutils.so'): blob_fixup() 85 | .replace_needed('android.hardware.graphics.common-V2-ndk_platform.so', 'android.hardware.graphics.common-V6-ndk.so') 86 | .replace_needed('vendor.qti.hardware.display.config-V2-ndk_platform.so', 'vendor.qti.hardware.display.config-V5-ndk.so') 87 | .replace_needed('vendor.oplus.hardware.osense.client-V1-ndk_platform.so', 'vendor.oplus.hardware.osense.client-V1-ndk.so') 88 | .replace_needed('vendor.oplus.hardware.performance-V1-ndk_platform.so', 'vendor.oplus.hardware.performance-V1-ndk.so'), 89 | ('odm/lib64/libHIS.so', 'odm/lib64/libOGLManager.so'): blob_fixup() 90 | .clear_symbol_version('AHardwareBuffer_allocate') 91 | .clear_symbol_version('AHardwareBuffer_describe') 92 | .clear_symbol_version('AHardwareBuffer_lock') 93 | .clear_symbol_version('AHardwareBuffer_release') 94 | .clear_symbol_version('AHardwareBuffer_unlock'), 95 | ('odm/lib64/libaiboost_hexagon.so', 'odm/lib64/libarcsoft_high_dynamic_range_v4.so'): blob_fixup() 96 | .clear_symbol_version('remote_handle_close') 97 | .clear_symbol_version('remote_handle_invoke') 98 | .clear_symbol_version('remote_handle_open') 99 | .clear_symbol_version('remote_handle64_close') 100 | .clear_symbol_version('remote_handle64_invoke') 101 | .clear_symbol_version('remote_handle64_open') 102 | .clear_symbol_version('remote_register_buf_attr') 103 | .clear_symbol_version('remote_register_buf'), 104 | ('odm/lib64/libarcsoft_dual_sat.so', 'odm/lib64/libarcsoft_dual_zoomtranslator.so', 'odm/lib64/libarcsoft_triple_sat.so', 'odm/lib64/libarcsoft_triple_zoomtranslator.so'): blob_fixup() 105 | .add_needed('libc++_shared.so'), 106 | 'odm/lib64/libextensionlayer.so': blob_fixup() 107 | .replace_needed('libziparchive.so', 'libziparchive_odm.so'), 108 | 'vendor/etc/libnfc-nci.conf': blob_fixup() 109 | .regex_replace('NFC_DEBUG_ENABLED=1', 'NFC_DEBUG_ENABLED=0'), 110 | 'vendor/etc/libnfc-nxp.conf': blob_fixup() 111 | .regex_replace('(NXPLOG_.*_LOGLEVEL)=0x03', '\\1=0x02') 112 | .regex_replace('NFC_DEBUG_ENABLED=1', 'NFC_DEBUG_ENABLED=0'), 113 | 'vendor/lib64/libmidasserviceintf_aidl.so': blob_fixup() 114 | .replace_needed('android.frameworks.stats-V1-ndk_platform.so', 'android.frameworks.stats-V1-ndk.so'), 115 | ( 116 | 'odm/lib64/vendor.oplus.hardware.cameraextension-V1-service-impl.so', 117 | 'odm/lib64/libextensionlayer.so', 118 | 'odm/lib64/camera/com.qti.sensor.imx615.so', 119 | 'odm/lib64/camera/com.qti.sensor.imx789.so', 120 | 'odm/lib64/camera/com.qti.sensor.ov08a10.so', 121 | 'odm/lib64/camera/com.qti.sensor.s5kjn1sq03.so', 122 | 'odm/lib64/vendor.oplus.hardware.sendextcamcmd-V1-service-impl.so', 123 | 'vendor/lib64/com.qti.feature2.mfsr.so', 124 | 'vendor/lib64/com.qti.feature2.rtmcx.so', 125 | 'vendor/lib64/vendor.qti.hardware.camera.postproc@1.0-service-impl.so', 126 | 'vendor/lib64/libcamxcommonutils.so', 127 | 'vendor/lib64/com.qti.feature2.gs.sm8350.so', 128 | 'vendor/lib64/com.qti.feature2.rt.so', 129 | 'vendor/lib64/com.qualcomm.mcx.distortionmapper.so', 130 | 'vendor/lib64/com.qti.feature2.fusion.so', 131 | 'vendor/lib64/com.qti.feature2.rawhdr.so', 132 | 'vendor/lib64/com.qti.feature2.mfsr.netrani.so', 133 | 'vendor/lib64/com.qti.feature2.derivedoffline.so', 134 | 'vendor/lib64/com.qti.feature2.mfsr.sm8450.so', 135 | 'vendor/lib64/com.qualcomm.qti.mcx.usecase.extension.so', 136 | 'vendor/lib64/com.qti.feature2.ml.so', 137 | 'vendor/lib64/com.qti.feature2.memcpy.so', 138 | 'vendor/lib64/com.qti.feature2.gs.sm8450.so', 139 | 'vendor/lib64/com.qti.qseeutils.so', 140 | 'vendor/lib64/com.qti.feature2.mcreprocrt.so', 141 | 'vendor/lib64/com.qti.feature2.hdr.so', 142 | 'vendor/lib64/com.qti.feature2.swmf.so', 143 | 'vendor/lib64/com.qti.feature2.mux.so', 144 | 'vendor/lib64/com.qti.feature2.ml.fillmore.so', 145 | 'vendor/lib64/com.qti.feature2.gs.cedros.so', 146 | 'vendor/lib64/com.qti.feature2.serializer.so', 147 | 'vendor/lib64/com.qti.feature2.qcfa.so', 148 | 'vendor/lib64/vendor.qti.hardware.camera.aon@1.0-service-impl.so', 149 | 'vendor/lib64/com.qti.feature2.demux.so', 150 | 'vendor/lib64/com.qti.feature2.mfsr.fillmore.so', 151 | 'vendor/lib64/com.qti.feature2.statsregeneration.so', 152 | 'vendor/lib64/com.qti.feature2.generic.so', 153 | 'vendor/lib64/com.qualcomm.mcx.linearmapper.so', 154 | 'vendor/lib64/hw/camera.qcom.so', 155 | 'vendor/lib64/hw/com.qti.chi.override.so', 156 | 'vendor/lib64/com.qti.chiusecaseselector.so', 157 | 'vendor/lib64/libcamerapostproc.so', 158 | 'vendor/lib64/com.qualcomm.mcx.policy.xr.so', 159 | 'vendor/lib64/com.qti.feature2.frameselect.so', 160 | 'vendor/lib64/com.qualcomm.mcx.policy.mfl.so', 161 | 'vendor/lib64/com.qti.feature2.stub.so', 162 | 'vendor/lib64/camera/components/com.qti.node.depth.so', 163 | 'vendor/lib64/camera/components/com.qti.node.gme.so', 164 | 'vendor/lib64/camera/components/com.bots.node.vendortagwrite.so', 165 | 'vendor/lib64/camera/components/com.qti.node.ml.so', 166 | 'vendor/lib64/camera/components/com.qti.node.hdr10pgen.so', 167 | 'vendor/lib64/camera/components/com.qti.node.hdr10phist.so', 168 | 'vendor/lib64/camera/components/libdepthmapwrapper_secure.so', 169 | 'vendor/lib64/camera/components/com.qti.node.swregistration.so', 170 | 'vendor/lib64/camera/components/com.qti.node.mlinference.so', 171 | 'vendor/lib64/camera/components/com.qti.node.eisv2.so', 172 | 'vendor/lib64/camera/components/com.qti.node.gyrornn.so', 173 | 'vendor/lib64/camera/components/com.qti.node.dewarp.so', 174 | 'vendor/lib64/camera/components/com.qti.camx.chiiqutils.so', 175 | 'vendor/lib64/camera/components/com.qti.node.swec.so', 176 | 'vendor/lib64/camera/components/com.qti.node.eisv3.so', 177 | 'vendor/lib64/camera/components/com.arcsoft.node.eisv2.so', 178 | 'vendor/lib64/com.qti.feature2.anchorsync.so', 179 | 'vendor/lib64/com.qti.feature2.gs.fillmore.so', 180 | 'vendor/lib64/com.qti.feature2.realtimeserializer.so', 181 | 'vendor/lib64/com.qti.feature2.gs.sdm865.so', 182 | ): blob_fixup() 183 | .replace_needed('vendor.oplus.hardware.osense.client-V1-ndk_platform.so', 'vendor.oplus.hardware.osense.client-V1-ndk.so') 184 | .replace_needed('vendor.oplus.hardware.performance-V1-ndk_platform.so', 'vendor.oplus.hardware.performance-V1-ndk.so'), 185 | 'odm/lib64/liboplus-uah-client.so': blob_fixup() 186 | .replace_needed('vendor.oplus.hardware.urcc-V1-ndk_platform.so', 'vendor.oplus.hardware.urcc-V1-ndk.so'), 187 | } # fmt: skip 188 | 189 | module = ExtractUtilsModule( 190 | 'wly', 191 | 'oneplus', 192 | namespace_imports=namespace_imports, 193 | blob_fixups=blob_fixups, 194 | lib_fixups=lib_fixups, 195 | ) 196 | 197 | if __name__ == '__main__': 198 | utils = ExtractUtils.device_with_common( 199 | module, 'sm8450-common', module.vendor 200 | ) 201 | utils.run() 202 | -------------------------------------------------------------------------------- /overlay/OPlusFrameworksResTarget/res/xml/power_profile.xml: -------------------------------------------------------------------------------- 1 | 2 | 30 | 31 | 32 | 33 | 42 | 0 43 | 53.35 44 | 93.32 45 | 202.46 46 | 46 47 | 1.7 48 | 1.8 49 | 223 50 | 120 51 | 0 52 | 0 53 | 108 54 | 1047 55 | 75 56 | 57 | 78 58 | 51 59 | 1.7 60 | 76 61 | 176 62 | 3300 63 | 64 | 66 | 161.5 67 | 133.5 68 | 69 | 70 | 1.2 71 | 72 | 73 | 74 | 77 | 1 78 | 180.8 79 | 80 | 168.4 81 | 183.8 82 | 221.3 83 | 374.6 84 | 542.8.8 85 | 86 | 800 87 | 88 | 96 | 97 | 4 98 | 3 99 | 1 100 | 101 | 102 | 107 | 108 | 307200 109 | 403200 110 | 518400 111 | 614400 112 | 729600 113 | 844800 114 | 960000 115 | 1075200 116 | 1171200 117 | 1267200 118 | 1363200 119 | 1478400 120 | 1574400 121 | 1689600 122 | 1785600 123 | 124 | 125 | 126 | 633600 127 | 768000 128 | 883200 129 | 998400 130 | 1113600 131 | 1209600 132 | 1324800 133 | 1440000 134 | 1555200 135 | 1651200 136 | 1766400 137 | 1881600 138 | 1996800 139 | 2112000 140 | 2227200 141 | 2342400 142 | 2419200 143 | 2496000 144 | 145 | 146 | 147 | 806400 148 | 940800 149 | 1056000 150 | 1171200 151 | 1286400 152 | 1401600 153 | 1497600 154 | 1612800 155 | 1728000 156 | 1843200 157 | 1958400 158 | 2054400 159 | 2169600 160 | 2284800 161 | 2400000 162 | 2515200 163 | 2630400 164 | 2726400 165 | 2822400 166 | 2841600 167 | 2995200 168 | 169 | 170 | 173 | 174 | 24 175 | 25 176 | 27 177 | 28 178 | 31 179 | 34 180 | 37 181 | 41 182 | 44 183 | 49 184 | 52 185 | 58 186 | 70 187 | 73 188 | 77 189 | 190 | 191 | 194 | 195 | 38 196 | 46 197 | 53 198 | 62 199 | 72 200 | 77 201 | 87 202 | 99 203 | 109 204 | 121 205 | 148 206 | 160 207 | 183 208 | 216 209 | 247 210 | 288 211 | 302 212 | 319 213 | 214 | 215 | 218 | 219 | 77 220 | 90 221 | 103 222 | 116 223 | 136 224 | 150 225 | 161 226 | 177 227 | 191 228 | 216 229 | 238 230 | 252 231 | 292 232 | 354 233 | 371 234 | 429 235 | 499 236 | 555 237 | 615 238 | 635 239 | 650 240 | 241 | 242 | 243 | 15.68 244 | 245 | 6.5 246 | 247 | 249 | 250 | 22.7 251 | 252 | 253 | 254 | 5000 255 | 256 | 257 | 258 | 1.4 259 | 260 | 177 261 | 262 | 269 263 | 266 | 267 | 268 | 269 | 3300 270 | 271 | 272 | .0002 273 | .002 274 | .02 275 | .2 276 | 2 277 | 278 | 279 | 280 | -------------------------------------------------------------------------------- /overlay/OPlusFrameworksResTarget/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 10 | true 11 | 12 | 18 | 19 | 600 20 | 300 21 | 22 | 23 | 29 | 30 | 600 31 | 300 32 | 33 | 34 | 45 | 46 | 10 47 | 48 | 49 | 55 | 56 | 0 57 | 58 | 59 | 65 | 66 | 0 67 | 68 | 69 | 89 | 90 | 2 91 | 4 92 | 6 93 | 8 94 | 10 95 | 15 96 | 20 97 | 25 98 | 30 99 | 35 100 | 40 101 | 45 102 | 50 103 | 55 104 | 60 105 | 65 106 | 70 107 | 75 108 | 80 109 | 95 110 | 100 111 | 120 112 | 140 113 | 160 114 | 180 115 | 200 116 | 220 117 | 240 118 | 260 119 | 280 120 | 300 121 | 320 122 | 340 123 | 360 124 | 380 125 | 400 126 | 420 127 | 440 128 | 460 129 | 480 130 | 500 131 | 700 132 | 900 133 | 1100 134 | 1300 135 | 1500 136 | 1700 137 | 1900 138 | 2000 139 | 2500 140 | 2800 141 | 3100 142 | 3400 143 | 3700 144 | 4000 145 | 4500 146 | 5000 147 | 148 | 149 | 162 | 163 | 2.094286 164 | 3.0 165 | 5.0 166 | 10.0 167 | 15.0 168 | 22.0 169 | 40.0 170 | 60.0 171 | 75.0 172 | 80.0 173 | 82.0 174 | 82.0 175 | 82.0 176 | 83.0 177 | 83.0 178 | 83.0 179 | 84.0 180 | 84.0 181 | 85.0 182 | 85.0 183 | 86.0 184 | 86.0 185 | 87.0 186 | 89.0 187 | 95.0 188 | 100.0 189 | 105.0 190 | 110.0 191 | 115.0 192 | 120.0 193 | 122.0 194 | 123.0 195 | 124.0 196 | 126.0 197 | 127.0 198 | 128.0 199 | 129.0 200 | 130.0 201 | 131.0 202 | 132.0 203 | 134.0 204 | 136.0 205 | 137.0 206 | 157.0 207 | 180.0 208 | 205.0 209 | 226.0 210 | 246.0 211 | 264.0 212 | 273.0 213 | 310.0 214 | 340.0 215 | 362.0 216 | 380.0 217 | 400.0 218 | 420.0 219 | 450.0 220 | 502.0 221 | 222 | 223 | 226 | 0.00097680097 227 | 228 | 231 | 0.00097680097 232 | 233 | 236 | 0.25006110975 237 | 238 | 242 | 1.0 243 | 244 | 248 | 0.00097680097 249 | 250 | 252 | 100% 253 | 254 | 259 | 1500 260 | 1500 261 | 262 | 263 | 5000 264 | 265 | 266 | 7400 267 | 268 | 272 | 273 | 5604 274 | 5604 275 | 5629 276 | 5657 277 | 5686 278 | 5713 279 | 5749 280 | 5877 281 | 6056 282 | 6202 283 | 6348 284 | 6506 285 | 6673 286 | 6834 287 | 6974 288 | 7080 289 | 7160 290 | 7261 291 | 7409 292 | 7537 293 | 7658 294 | 7771 295 | 7873 296 | 7873 297 | 7873 298 | 7873 299 | 7873 300 | 7873 301 | 7873 302 | 7873 303 | 7873 304 | 305 | 306 | 309 | true 310 | 311 | 313 | false 314 | 315 | 316 | org.lineageos.sensor.udfps 317 | 318 | 330 | 331 | M 154,83 332 | M 111,83 333 | A 43,43 0 1,0 197,83 334 | A 43,43 0 1,0 111,83 335 | Z 336 | @left 337 | 338 | 339 | 345 | 346 | M 0,0 347 | H 236 348 | V 152 349 | H 0 350 | Z 351 | @left 352 | 353 | 354 | 357 | true 358 | 359 | 363 | 120 364 | 365 | 366 | 367 | 720 368 | 2463 369 | 114 370 | 371 | 372 | 373 | -------------------------------------------------------------------------------- /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 | 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 | -------------------------------------------------------------------------------- /audio/sound_trigger_platform_info.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 | 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 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 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 | 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 | 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 | 442 | 443 | 444 | 445 | 446 | 447 | 448 | 449 | 450 | 451 | 452 | 453 | 454 | 455 | 456 | 457 | 458 | 459 | 460 | 461 | 462 | 463 | 464 | -------------------------------------------------------------------------------- /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 | 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 | 1 65 | 66 | PAL_STREAM_ULTRA_LOW_LATENCY 67 | PAL_STREAM_COMPRESSED 68 | PAL_STREAM_PCM_OFFLOAD 69 | PAL_STREAM_VOIP_RX 70 | 71 | 72 | 73 | 1 74 | 75 | PAL_STREAM_LOW_LATENCY 76 | PAL_STREAM_ULTRA_LOW_LATENCY 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 0xB3000000 100 | 1000 101 | 9 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | PAL_STREAM_VOICE_UI 111 | PAL_STREAM_ACD 112 | PAL_STREAM_ULTRASOUND 113 | PAL_STREAM_SENSOR_PCM_DATA 114 | 115 | 116 | 117 | PAL_DEVICE_IN_HANDSET_MIC 118 | CODEC_DMA-LPAIF_RXTX-TX-3 119 | 4 120 | 2 121 | 48000 122 | 16 123 | handset-mic 124 | 125 | PAL_STREAM_LOW_LATENCY 126 | 127 | 128 | PAL_STREAM_DEEP_BUFFER 129 | 130 | 1 131 | main-mic-test 132 | 133 | 134 | 1 135 | sec-mic-test 136 | 137 | 138 | 1 139 | anc-mic-test 140 | 141 | 142 | 2 143 | mmi-mic-record 144 | 145 | 146 | 1 147 | mmi-anc-mic-record 148 | 149 | 150 | 2 151 | mmi-mic-seal-record 152 | 153 | 154 | 155 | PAL_STREAM_VOIP_TX 156 | 2 157 | dmic-endfire 158 | 159 | 2 160 | voice-dmic-ef-hac 161 | 162 | 163 | 164 | PAL_STREAM_VOICE_CALL 165 | 1 166 | OFF 167 | 16 168 | voice-dmic-ef 169 | 170 | 2 171 | handset-dmic-endfire 172 | 173 | 174 | 4 175 | quad-mic 176 | 177 | 178 | 2 179 | voice-dmic-ef-hac 180 | 181 | 182 | 183 | PAL_STREAM_ULTRA_LOW_LATENCY 184 | 185 | 186 | PAL_STREAM_RAW 187 | 188 | 4 189 | unprocessed-hdr-mic-landscape 190 | 191 | 192 | 4 193 | unprocessed-hdr-mic-portrait 194 | 195 | 196 | 4 197 | unprocessed-hdr-mic-inverted-landscape 198 | 199 | 200 | 4 201 | unprocessed-hdr-mic-inverted-portrait 202 | 203 | 204 | 1 205 | qva-rec-mic 206 | 207 | 208 | 209 | PAL_DEVICE_OUT_HANDSET 210 | PAL_DEVICE_OUT_SPEAKER 211 | 212 | 213 | 214 | PAL_DEVICE_IN_SPEAKER_MIC 215 | CODEC_DMA-LPAIF_RXTX-TX-3 216 | 4 217 | 48000 218 | 16 219 | 2 220 | speaker-mic 221 | 222 | PAL_STREAM_LOW_LATENCY 223 | 224 | 225 | PAL_STREAM_DEEP_BUFFER 226 | 227 | 228 | PAL_STREAM_VOIP_TX 229 | 2 230 | speaker-dmic-endfire 231 | 232 | 233 | PAL_STREAM_VOICE_CALL 234 | 1 235 | OFF 236 | 16 237 | voice-speaker-dmic-ef 238 | 239 | 2 240 | speaker-dmic-endfire 241 | 242 | 243 | 4 244 | quad-mic 245 | 246 | 247 | 248 | PAL_STREAM_LOOPBACK 249 | 250 | 251 | PAL_STREAM_ULTRA_LOW_LATENCY 252 | 253 | 254 | PAL_DEVICE_OUT_SPEAKER 255 | 256 | 257 | 258 | PAL_DEVICE_IN_WIRED_HEADSET 259 | CODEC_DMA-LPAIF_RXTX-TX-3 260 | 1 261 | 1 262 | headset-mic 263 | 264 | PAL_STREAM_LOW_LATENCY 265 | 266 | 267 | PAL_STREAM_DEEP_BUFFER 268 | 269 | 1 270 | headset-mic 271 | 272 | 273 | 1 274 | headset-mic 275 | 276 | 277 | 278 | PAL_STREAM_ULTRA_LOW_LATENCY 279 | 280 | 1 281 | headset-mic 282 | 283 | 284 | 1 285 | headset-mic 286 | 287 | 288 | 289 | PAL_STREAM_LOOPBACK 290 | 291 | 1 292 | headset-mic 293 | 294 | 295 | 1 296 | headset-mic 297 | 298 | 299 | 300 | PAL_STREAM_VOIP_TX 301 | 48000 302 | 16 303 | 304 | 305 | PAL_STREAM_VOICE_CALL 306 | OFF 307 | 48000 308 | 16 309 | 1 310 | voice-headset-mic 311 | 312 | 313 | PAL_STREAM_ULTRA_LOW_LATENCY 314 | 315 | 316 | PAL_DEVICE_OUT_WIRED_HEADSET 317 | PAL_DEVICE_OUT_WIRED_HEADPHONE 318 | 319 | 320 | 321 | PAL_DEVICE_IN_BLUETOOTH_SCO_HEADSET 322 | SLIM-DEV1-TX-7 323 | 1 324 | 1 325 | 8000 326 | 16 327 | bt-sco-mic 328 | 329 | PAL_STREAM_LOW_LATENCY 330 | 331 | 332 | PAL_STREAM_DEEP_BUFFER 333 | 334 | 335 | PAL_STREAM_VOIP_TX 336 | 337 | 338 | PAL_STREAM_VOICE_CALL 339 | 1 340 | 341 | 342 | PAL_STREAM_ULTRA_LOW_LATENCY 343 | 344 | 345 | PAL_DEVICE_OUT_BLUETOOTH_SCO 346 | 347 | 348 | 349 | PAL_DEVICE_IN_HANDSET_VA_MIC 350 | CODEC_DMA-LPAIF_VA-TX-0 351 | 2 352 | 1 353 | 48000 354 | 16 355 | va-mic 356 | 357 | PAL_DEVICE_OUT_SPEAKER 358 | PAL_DEVICE_OUT_HANDSET 359 | PAL_DEVICE_OUT_BLUETOOTH_A2DP 360 | 361 | 362 | 363 | PAL_DEVICE_IN_HEADSET_VA_MIC 364 | CODEC_DMA-LPAIF_VA-TX-0 365 | 2 366 | 1 367 | headset-va-mic 368 | 48000 369 | 16 370 | 371 | PAL_DEVICE_OUT_WIRED_HEADSET 372 | PAL_DEVICE_OUT_WIRED_HEADPHONE 373 | PAL_DEVICE_OUT_BLUETOOTH_A2DP 374 | 375 | 376 | 377 | PAL_DEVICE_IN_USB_HEADSET 378 | USB_AUDIO-TX 379 | 1 380 | 1 381 | 48000 382 | 16 383 | usb-headset-mic 384 | 385 | PAL_STREAM_VOIP_TX 386 | 387 | 388 | PAL_STREAM_LOW_LATENCY 389 | 390 | 391 | PAL_STREAM_DEEP_BUFFER 392 | 393 | 1 394 | usb-headset-mic 395 | 396 | 397 | 1 398 | usb-headset-mic 399 | 400 | 401 | 402 | PAL_STREAM_ULTRA_LOW_LATENCY 403 | 404 | 1 405 | usb-headset-mic 406 | 407 | 408 | 1 409 | usb-headset-mic 410 | 411 | 412 | 413 | PAL_STREAM_LOOPBACK 414 | 415 | 1 416 | usb-headset-mic 417 | 418 | 419 | 1 420 | usb-headset-mic 421 | 422 | 423 | 424 | PAL_STREAM_VOICE_CALL 425 | 1 426 | OFF 427 | 428 | 429 | PAL_STREAM_ULTRA_LOW_LATENCY 430 | 431 | 432 | PAL_DEVICE_OUT_USB_DEVICE 433 | PAL_DEVICE_OUT_USB_HEADSET 434 | 435 | 436 | 437 | PAL_DEVICE_IN_FM_TUNER 438 | MI2S-LPAIF-TX-TERTIARY 439 | 2 440 | 2 441 | play-fm 442 | 48000 443 | 16 444 | 445 | PAL_STREAM_LOOPBACK 446 | 447 | 448 | 449 | PAL_DEVICE_IN_PROXY 450 | PCM_RT_PROXY-TX-1 451 | 2 452 | 1 453 | 48000 454 | 16 455 | afe-proxy 456 | 457 | PAL_STREAM_PROXY 458 | 459 | 460 | 461 | PAL_DEVICE_IN_VI_FEEDBACK 462 | MI2S-LPAIF-TX-TERTIARY 463 | 2 464 | 2 465 | 48000 466 | 32 467 | vi-feedback 468 | 469 | 470 | PAL_DEVICE_IN_BLUETOOTH_A2DP 471 | SLIM-DEV1-TX-7 472 | 1 473 | 1 474 | bt-a2dp-mic 475 | 44100 476 | 16 477 | 478 | 479 | PAL_DEVICE_IN_TELEPHONY_RX 480 | PCM_RT_PROXY-TX-1 481 | 2 482 | 2 483 | afe-proxy 484 | 485 | PAL_STREAM_PROXY 486 | 487 | 488 | 489 | PAL_DEVICE_IN_ULTRASOUND_MIC 490 | CODEC_DMA-LPAIF_RXTX-TX-4 491 | 2 492 | 1 493 | 96000 494 | 16 495 | ultrasound-mic 496 | 497 | PAL_STREAM_ULTRASOUND 498 | 499 | 500 | 501 | PAL_DEVICE_IN_EXT_EC_REF 502 | MI2S-LPAIF-TX-TERTIARY 503 | ext_ec_ref_tx 504 | 2 505 | 2 506 | 48000 507 | 16 508 | 509 | 510 | PAL_DEVICE_NONE 511 | CODEC_DMA-LPAIF_WSA-RX-0 512 | 2 513 | 1 514 | none 515 | 48000 516 | 16 517 | 518 | 519 | PAL_DEVICE_OUT_SPEAKER 520 | MI2S-LPAIF-RX-TERTIARY 521 | 2 522 | 2 523 | 48000 524 | 24 525 | speaker 526 | 0 527 | 0 528 | 529 | 0 530 | 0 531 | 0 532 | 533 | 534 | 535 | PAL_AUDIO_FMT_PCM_S24_LE 536 | 537 | 0 538 | 544 | 0 545 | 546 | 0 547 | 548 | PAL_STREAM_VOICE_CALL 549 | 2 550 | 2 551 | speaker 552 | 553 | 554 | PAL_STREAM_VOIP_RX 555 | 3 556 | speaker 557 | 558 | 559 | PAL_STREAM_ULTRASOUND 560 | 1 561 | 96000 562 | 563 | 564 | PAL_STREAM_LOW_LATENCY 565 | 566 | 2 567 | mmi-speaker-left 568 | 569 | 570 | 2 571 | mmi-speaker-right 572 | 573 | 574 | 575 | 576 | PAL_DEVICE_OUT_HANDSET 577 | MI2S-LPAIF-RX-TERTIARY 578 | 2 579 | 2 580 | 581 | 0 582 | 48000 583 | 24 584 | 0 585 | handset 586 | 587 | PAL_STREAM_VOICE_CALL 588 | 2 589 | handset 590 | 591 | handset 592 | 593 | 594 | 595 | PAL_STREAM_VOIP_RX 596 | 3 597 | handset 598 | 599 | handset 600 | 601 | 602 | 603 | PAL_STREAM_ULTRASOUND 604 | 1 605 | 96000 606 | 607 | 608 | PAL_STREAM_LOW_LATENCY 609 | 610 | 2 611 | mmi-receiver 612 | 613 | 614 | 615 | PAL_STREAM_DEEP_BUFFER 616 | 617 | 2 618 | mmi-receiver 619 | 620 | 621 | 622 | 623 | PAL_DEVICE_OUT_WIRED_HEADPHONE 624 | CODEC_DMA-LPAIF_RXTX-RX-0 625 | 2 626 | 2 627 | 24 628 | 1 629 | headphones 630 | 650 | 651 | PAL_STREAM_VOICE_CALL 652 | 1 653 | 48000 654 | 16 655 | voice-headset 656 | 657 | 658 | PAL_STREAM_VOIP_RX 659 | 2 660 | 48000 661 | 16 662 | 663 | 664 | 665 | PAL_DEVICE_OUT_WIRED_HEADSET 666 | CODEC_DMA-LPAIF_RXTX-RX-0 667 | 2 668 | 2 669 | 24 670 | 1 671 | headphones 672 | 692 | 693 | PAL_STREAM_VOICE_CALL 694 | 1 695 | 48000 696 | 16 697 | voice-headset 698 | 699 | 700 | PAL_STREAM_VOIP_RX 701 | 2 702 | 48000 703 | 16 704 | 705 | 706 | 707 | PAL_DEVICE_OUT_BLUETOOTH_A2DP 708 | SLIM-DEV1-RX-7 709 | 1 710 | 1 711 | bt-a2dp 712 | 44100 713 | 16 714 | 715 | PAL_STREAM_VOICE_CALL 716 | 1 717 | 718 | 719 | 720 | PAL_DEVICE_OUT_BLUETOOTH_SCO 721 | SLIM-DEV1-RX-7 722 | 1 723 | 1 724 | bt-sco 725 | 8000 726 | 16 727 | 728 | PAL_STREAM_VOICE_CALL 729 | 1 730 | 731 | 732 | 733 | PAL_DEVICE_OUT_AUX_DIGITAL 734 | DISPLAY_PORT-RX 735 | 32 736 | 2 737 | display-port 738 | 1 739 | 740 | PAL_STREAM_VOICE_CALL 741 | 1 742 | 743 | 744 | 745 | PAL_DEVICE_OUT_HDMI 746 | DISPLAY_PORT-RX 747 | 32 748 | 2 749 | 1 750 | display-port 751 | 752 | PAL_STREAM_VOICE_CALL 753 | 1 754 | 755 | 756 | 757 | PAL_DEVICE_OUT_USB_DEVICE 758 | USB_AUDIO-RX 759 | 2 760 | 2 761 | usb-headphones 762 | 1 763 | 764 | PAL_STREAM_VOICE_CALL 765 | 1 766 | 767 | 768 | 769 | PAL_DEVICE_OUT_USB_HEADSET 770 | USB_AUDIO-RX 771 | 2 772 | 2 773 | usb-headphones 774 | 1 775 | 776 | PAL_STREAM_VOICE_CALL 777 | 1 778 | 779 | 780 | 781 | PAL_DEVICE_OUT_AUX_DIGITAL_1 782 | DISPLAY_PORT-RX 783 | 8 784 | 2 785 | display-port 786 | 1 787 | 788 | PAL_STREAM_VOICE_CALL 789 | 1 790 | 791 | 792 | 793 | PAL_DEVICE_OUT_PROXY 794 | PCM_RT_PROXY-RX-1 795 | 8 796 | 2 797 | 16 798 | afe-proxy 799 | 0 800 | 48000 801 | 802 | PAL_STREAM_VOICE_CALL 803 | 1 804 | 805 | 806 | 807 | PAL_DEVICE_OUT_HEARING_AID 808 | PCM_RT_PROXY-RX-1 809 | 8 810 | 2 811 | afe-proxy 812 | 0 813 | 814 | PAL_STREAM_VOICE_CALL 815 | 1 816 | 817 | 818 | 819 | PAL_DEVICE_OUT_HAPTICS_DEVICE 820 | CODEC_DMA-LPAIF_RXTX-RX-6 821 | 2 822 | 1 823 | haptics-dev 824 | 825 | 826 | PAL_DEVICE_OUT_ULTRASOUND 827 | CODEC_DMA-LPAIF_WSA-RX-1 828 | 2 829 | 1 830 | ultrasound-handset 831 | 96000 832 | 16 833 | 834 | 835 | 836 | 837 | PAL_STREAM_VOIP_TX 838 | 839 | 840 | 841 | PAL_STREAM_GENERIC 842 | 843 | 844 | 845 | 846 | PAL_STREAM_DEEP_BUFFER 847 | 848 | 849 | PAL_STREAM_LOW_LATENCY 850 | PAL_STREAM_GENERIC 851 | 852 | 853 | 854 | 855 | PAL_STREAM_VOICE_UI 856 | 857 | 858 | PAL_STREAM_LOW_LATENCY 859 | PAL_STREAM_GENERIC 860 | 861 | 862 | 863 | 864 | PAL_STREAM_ACD 865 | 866 | 867 | PAL_STREAM_LOW_LATENCY 868 | PAL_STREAM_GENERIC 869 | 870 | 871 | 872 | 873 | PAL_STREAM_PROXY 874 | 875 | 876 | PAL_STREAM_COMPRESSED 877 | PAL_STREAM_ULTRA_LOW_LATENCY 878 | PAL_STREAM_LOW_LATENCY 879 | PAL_STREAM_GENERIC 880 | 881 | 882 | 883 | 884 | PAL_STREAM_RAW 885 | 886 | 887 | PAL_STREAM_COMPRESSED 888 | PAL_STREAM_ULTRA_LOW_LATENCY 889 | PAL_STREAM_LOW_LATENCY 890 | PAL_STREAM_GENERIC 891 | 892 | 893 | 894 | 895 | PAL_STREAM_SENSOR_PCM_DATA 896 | 897 | 898 | PAL_STREAM_LOW_LATENCY 899 | PAL_STREAM_GENERIC 900 | 901 | 902 | 903 | 904 | 905 | 906 | 907 | 908 | 909 | 910 | 911 | 912 | 913 | 914 | 915 | 916 | 917 | 918 | 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 | QC_ACD 991 | 992 | 993 | 994 | 995 | 996 | 997 | 998 | 999 | 1000 | 1001 | 1002 | ACD_SOUND_MODEL_ID_EVENT 1003 | event.eai 1004 | 0x0B001007 1005 | 1006 | 1007 | 1008 | 1009 | 1010 | 1011 | 1012 | 1013 | 1014 | 1015 | 1016 | 1017 | ACD_SOUND_MODEL_ID_SPEECH 1018 | speech.eai 1019 | 0x0B001008 1020 | 1021 | 1022 | 1023 | 1024 | 1025 | ACD_SOUND_MODEL_ID_MUSIC 1026 | music.eai 1027 | 0x0B001009 1028 | 1029 | 1030 | 1031 | 1032 | 1033 | ACD_SOUND_MODEL_AMBIENCE_NOISE_SILENCE 1034 | 1035 | 0xFFFFFFFF 1036 | 1037 | 1038 | 1039 | 1040 | 1041 | 1042 | 1043 | 1044 | 1045 | 1046 | 1047 | QC_SENSOR_PCM_DATA 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 | 1193 | 1194 | 1195 | 1196 | 1197 | 1198 | 1199 | 1200 | 1201 | 1202 | 1203 | 1204 | 1205 | 1206 | 1207 | 1208 | 1209 | 1210 | 1211 | 1212 | 1213 | 1214 | 1215 | 1216 | 1217 | 1218 | 1219 | 1220 | 1221 | 1222 | 1223 | 1224 | 1225 | 1226 | 1227 | 1228 | 1229 | 1230 | 1231 | 1232 | 1233 | 1234 | 1235 | 1236 | 1237 | 1238 | 1239 | 1240 | 1241 | 1242 | 1243 | 1244 | 1245 | 1246 | 1247 | 1248 | 1249 | 1250 | 1251 | 1252 | 1253 | 1254 | 1255 | 1256 | 1257 | 1258 | 1259 | 1260 | 1261 | 1262 | 1263 | 1264 | 1265 | 1266 | 1267 | 1268 | 1269 | 1270 | 1271 | 1272 | 1273 | 1274 | 1275 | 1276 | 1277 | 1278 | 1279 | 1280 | 1281 | 1282 | 1283 | 1284 | 1285 | 1286 | 1287 | 1288 | 1289 | 1290 | 1291 | 1292 | 1293 | 1294 | 1295 | 1296 | 1297 | 1298 | 1299 | --------------------------------------------------------------------------------