Compare commits

..

76 commits

Author SHA1 Message Date
4d215b1087 zeus: Time for tequila! 2024-09-08 20:53:09 +00:00
Arian
74c028c25d zeus: Add missing librmsclib1
Change-Id: I39d16444af0e21d09139faa79d8cdaa94f3422c1
2024-09-08 20:52:17 +00:00
Arian
7ea090b6a5 zeus: Update blobs and firmware from V816.0.11.0.ULBEUXM
Change-Id: I74d3b69e81447b87def5dc2321f1bb9724dd1c7b
2024-09-08 20:52:14 +00:00
Arian
5b52733143 zeus: Move sensors hals.conf back to vendor repo
sensors.xiaomi is added by common tree now

Change-Id: I541b656304bfde478966c84115d94bc989742149
2024-09-08 20:52:12 +00:00
Michael Bestas
995cd12967 zeus: Sync extract scripts with templates
Change-Id: I98a36854c5a0c0390592911bb2558b34eff77efc
2024-09-08 20:52:10 +00:00
Michael Bestas
411fa2c522 zeus: Libraries are now automatically added to PRODUCT_PACKAGES
Change-Id: Ie92fe02b7e6279195bf28944942c815db773b798
2024-09-08 20:52:08 +00:00
Arian
fe5d727bb3 zeus: Disable ELF checks for some camera libraries
Change-Id: I8afe754199dbbf33d801238be9ab87af6c88945b
2024-09-08 20:52:05 +00:00
Cosmin Tanislav
5e72ce14bb zeus: Skip dependencies which aren't defined in .bp
Change-Id: I01a653661856495788c05b720c0577dac44998a4
2024-09-08 20:52:03 +00:00
Arian
84f24226ed zeus: Disable elf checks for some audio libraries
Change-Id: I86ddbf339ff56fb543910458d40cff933abcb0a0
2024-09-08 20:52:01 +00:00
Arian
96e51b8999 zeus: Commonize most audio blobs
Change-Id: Ie6c95ede7e4c3243799207120c0474bb0cabeccd
2024-09-08 20:51:59 +00:00
Arian
167276f766 zeus: Rename audio.primary.taro to audio.primary.taro-zeus to avoid conflicts
Change-Id: I1d7012df4acc1e3b9180eb8523ebe77ffc8a35e9
2024-09-08 20:51:56 +00:00
Arian
1e533f6ce2 zeus: Fix sonames of extracted blobs
Change-Id: Ia4327e5b64e705da6dff6da01d2c9f16dfd609c5
2024-09-08 20:51:54 +00:00
Arian
d1bf7a48f6 zeus: Provide a unique module name for camera libQnnHtpAltPrepV69Stub
Change-Id: Ib2c2549a2ba874a6744cd184add9e16acb1d162c
2024-09-08 20:51:52 +00:00
Aaron Kling
b0981200de zeus: Add vendor soong imports to extract
Change-Id: I7b290a9412bd11bb5577ce634a0291ffca40b283
2024-09-08 20:51:49 +00:00
Bruno Martins
8cb582b208 zeus: overlay-lineage: Declare support for wireless charging
Change-Id: Iba6a8b357779a3bb2134f2fc0878819339615239
2024-09-08 20:51:47 +00:00
Arian
37686de087 zeus: Decommonize building powershare hal
Change-Id: I9d9e2ad2e7d758085c573e4d4cb7f747fb0e4cfc
2024-09-08 20:51:44 +00:00
Arian
b43c5380e8 zeus: Commonize audio related media_codecs
Change-Id: I10207af8c2490df8dad2db335fdf0def83e4c006
2024-09-08 20:51:42 +00:00
Arian
1aaf950dee zeus: overlay: Use logical camera in aperture
Change-Id: Iac84535f59d194335c8b1efb659821a3416267da
2024-09-08 20:51:40 +00:00
Arian
27ea387625 zeus: Patch libcamximageformatutils to get rid of ndk_platform qti display config dependency
Change-Id: Ia242857a302860ea4faa2a45656b95c81cf78a33
2024-09-08 20:51:38 +00:00
Josh Tsuji
a983f99615 zeus: overlay: Add physical button/sensor locations
Bug: 181020504
Change-Id: Ifb45b7daeb07246dbc3a80c36c21e40ead87e674
Test: these were physically measured on device
2024-09-08 20:51:35 +00:00
Omkar Chandorkar
09c4307300 zeus: overlay: Move UDFPS enroll radius to settings
- required after LineageOS/android_packages_apps_Settings@af35c7c

Change-Id: I79ecd91513df0d195e1d15d20b4438d1b283743f
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
2024-09-08 20:51:33 +00:00
Omkar Chandorkar
6c241ebecd zeus: overlay: Enable secure NFC functionality
Change-Id: I4e9acc7d8ec14237512aadf100d564984aa5a896
Co-authored-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2024-09-08 20:51:31 +00:00
Sebastiano Barezzi
7a6a3ad83e zeus: Partially revert "Move to QTI health AIDL service"
https://github.com/LineageOS/android_system_core/blob/lineage-21.0/init/init.cpp#L1099

This partially reverts commit 505ca3e6f0.

Change-Id: I284f80f364e9057a8373a015f0acaee3ef9e395d
2024-09-08 20:51:28 +00:00
Arian
638c8a42a1 zeus: Remove unused adreno firmwares
Change-Id: I352c4841e38c79caf25848a34fc0f13733093ab0
2024-09-08 20:51:26 +00:00
Arian
b33e6716d1 zeus: Drop prebuilt libmemunreachable.so
That's already build implicitly from source as a dependency of android.hardware.audio@7.0-impl

Change-Id: I00407fef7a9bceada953d04d4b024107a070ccc0
2024-09-08 20:51:23 +00:00
Arian
5b04f71e15 zeus: Drop some audio libs which are built from source now
Change-Id: Iec844207b53de1d5bcc95dedbff0b2decc5c081b
2024-09-08 20:51:21 +00:00
Arian
4a9342685a zeus: Get rid of 32 bit blobs
Change-Id: Ia92a7aa8292b2d5aaca7075f6613bf65484b3f43
2024-09-08 20:51:19 +00:00
Arian
d467045329 zeus: Don't provide a module for libssccalapi@2.0
Change-Id: I50e798402773b571e8324bbf29263a64764a3543
2024-09-08 20:51:17 +00:00
Michael Bestas
8e4c8f40e8 zeus: Drop COMMON_LUNCH_CHOICES
As of 14 QPR2 this is broken, let's remove it instead of updating it
every 3 months. breakfast is the way to go.

Change-Id: I097bd54b894d9a49c7ce8b1ab6f343349e268fd8
2024-09-08 20:51:14 +00:00
Arian
3f316fe93d zeus: Drop xiaomi citsensorservice and enable light sensor notifier
Change-Id: I896f31b925976bbe51d42a7c39d698793fba6cd7
2024-09-08 20:51:12 +00:00
Arian
bdeb993264 zeus: Update blobs and firmware from V816.0.4.0.ULBMIXM
Change-Id: I4121df076e5146d077b957d80025688b45515336
2024-09-08 20:51:09 +00:00
Arian
671b7d110d zeus: Update blobs from V816.0.6.0.ULBEUXM
Change-Id: Icc45db6c57716c39f1b352b5542d6903358f8ed7
2024-09-08 20:51:06 +00:00
Arian
f49e513d68 zeus: Add missing kvh2xml.xml
Change-Id: Ia02223fb16e8f970f547398aee48659b22eb377e
2024-05-21 13:49:33 +02:00
Arian
fd689cc7ce zeus: Decommonize NFC configs
Change-Id: Ifab750ae0db648bc7e5a7125fb85efd9f29fe4dc
2024-05-18 14:43:46 +02:00
Arian
4022475125 zeus: Decommonize libssccalapi@2.0
Change-Id: Iece45cb6136ba89e8d6f55f920239978a142f7e5
2024-05-18 10:55:10 +02:00
Arian
186d6f42b5 zeus: overlay: Decommonize brightness overlays
Change-Id: I830e690f92454b58833937646eb8a166cfdad5ea
2024-03-14 18:40:07 +01:00
Arian
84930f23a1 zeus: Import displayconfig to control HBM
Change-Id: Ic0db626323bedabee791bb7c9e443b71e49ee36d
2024-03-14 18:04:29 +01:00
Arian
4ec5225d3a zeus: Decommonize CIT sensors
Change-Id: I06e14a2a29c3ed4d6e4df7919151cfefef481de4
2024-03-07 21:31:20 +01:00
Arian
cc49e760ce zeus: Drop vm-bootsys image
Change-Id: I984e30437c12fa5967461637cc41207d5035bf0d
2024-03-07 20:50:41 +01:00
Arian
c93a847f8e zeus: Add goodix_fod module
Change-Id: Ie4c0edd4b4e597866a10ae030e6f076b217c8c56
2024-03-07 20:46:33 +01:00
Arian
89e2b2a637 zeus: Update blobs from V816.0.2.0.ULBCNXM
Change-Id: Ief542e94878a4ab80cca8f011aba36bbdc2f6dcc
2024-03-07 20:46:29 +01:00
Arian
aacf52c6bb zeus: Decommonize sensors configs
Change-Id: I24d103a3b59f09d70ab025a75f48f8544bfc19a6
2024-03-07 20:42:05 +01:00
Arian
95b45bfd8c zeus: Decommonize ADSP modules
Change-Id: Ibe74c783a5bd1c9722f0de360e99cda86cda40da
2024-03-07 20:40:49 +01:00
Arian
71d4f7b6d4 zeus: Import decommonized libQnnHtpAltPrepV69Stub.so
Change-Id: I8a7fe8eca6434a723a60dab5bb647d58f4d2ee64
2024-03-05 19:11:30 +01:00
LuK1337
3d09c84d59 zeus: Setup firmware extraction
Change-Id: I693e59abbfcec4f016de324517ad0e24ef565c65
2024-03-05 19:10:59 +01:00
Bruno Martins
505ca3e6f0 zeus: Move to QTI health AIDL service
The health AIDL HAL service provides functionalities of charger,
therefore system charger at /system/bin/charger is deprecated.
On top of that, QTI health AIDL HAL service enables suspend by
default, the equivalent of setting ro.charger.enable_suspend
for legacy charger.

Change-Id: I59c23e7974cea1174b0161f31a535fa3afa1e5c9
2024-03-05 19:10:36 +01:00
Arian
ec9478a5b3 zeus: cleanup blobs
Change-Id: I66df1ede910992a1ffcbc5526c1dc123bf5c0ef8
2024-03-05 19:10:00 +01:00
Arian
0a301e41c3 zeus: Decommonize audio HAL
Change-Id: I4b4897c034aacfd7f73c04b9df493f3d5aa9b33c
2024-03-05 19:08:36 +01:00
Arian
b693da8be6 zeus: Decommonize AGM
Change-Id: I01c3b06f28428eeaba9c4af60af4404f0ebdbd25
2024-03-05 19:07:47 +01:00
Arian
20c8a20ca0 zeus: Decommonize touch_report
Change-Id: Iecd65f73437430174ba7726bb1b15e50d368a654
2024-03-05 19:07:29 +01:00
Arian
551e6d87cc zeus: Add regulator, touch, haptics and audio kernel modules
Change-Id: I9484a243935db3355a8639a9ae6413dc82431b1c
2024-03-05 19:06:47 +01:00
Arian
f41dfdbfc5 zeus: Decommonize camera blobs
Change-Id: Id17186d37eb852dbc0ce546795902d19ebdbf13d
2023-09-30 11:30:33 +02:00
Arian
819c4b4267 zeus: Set stock build fingerprint and description
Change-Id: I9af04943b1b869a57c82f9f2dac6ddf9391162c2
2023-08-19 16:22:59 +02:00
Arian
072960794e zeus: Declare source of extracted files
Change-Id: Ia2ee93bd694354605155d9f0c17c9b33aed7460d
2023-08-19 16:22:31 +02:00
Arian
e5b5b455d0 zeus: Decommonize com.qti.chi.override.so
Change-Id: I70a48b4a04af0f9eec0bf1404b9f3b0baf41963b
2023-08-12 09:56:47 +02:00
Arian
80a22a662c zeus: Decommonize batterysecret
Change-Id: I702f5447e7fa71105f717a2b21c3c6861587aeca
2023-07-20 10:18:40 +02:00
Arian
6b43e11112 zeus: Add goodix_fod blobs too
Change-Id: I6512d69113f9ad98ff070d2c93af71f82cb52826
2023-07-08 12:27:54 +02:00
Arian
b0ca187e5c zeus: Unpin fingerprint blobs
Change-Id: I7a322f1e2e6ba72295c9a67d630b68d702d0cea9
2023-07-08 12:25:58 +02:00
Arian
d1c024a9df zeus: Import audio configs from V14.0.7.0.TLBMIXM
Change-Id: I32c54ebd2f55ed06bc49da567d6654f056909f50
2023-06-25 14:44:05 +02:00
Arian
825e57ba45 zeus: Import mod_device property
Change-Id: Ide1eba4a88a17ff514baabc4b464e971e1a2bb89
2023-06-25 14:38:40 +02:00
Arian
941f7c8c0e zeus: Enable 60 fps video in aperture
Change-Id: Ic5265ca2722182a414fccb6f3be460832e247ed3
2023-06-25 13:23:47 +02:00
LuK1337
e34db23bd3 zeus: overlay: Configure aux camera for Aperture
Change-Id: I543f078dd4dba30e1b22737d5c22d591e3fb34e6
2023-06-25 13:23:26 +02:00
Arian
795d8ba157 zeus: Pin fingeprint blobs from V13.0.10.0.SLBEUXM
Change-Id: Ib418b0ba5af119bdb0d0dede1d2f5c4957a99bdf
2023-06-25 12:40:49 +02:00
Arian
bfd99f8ac9 zeus: Import missing fingerprint blob
Change-Id: I81b053de1c360050c340019025f8e414479bfd3b
2023-06-19 14:02:09 +02:00
Arian
e7f6c49146 zeus: Initial proprietary-files.txt
Change-Id: Ie3f4a882bc3d725192c20f875432368f15abf8a7
2023-05-18 23:19:07 +02:00
Cosmin Tanislav
39e7544618 zeus: Add support for udfps long press sensor
Change-Id: I7196dce967c9adbc62bb5156ade749c92c7780a1
2023-05-11 19:52:13 +02:00
Arian
2105861097 zeus: overlay: Add fingerprint overlays
Change-Id: I71ac9af898e929252b826b7e70d47f1575c9e9f7
2023-05-11 19:51:41 +02:00
Arian
b1c70f21dd zeus: overlay: Add corner content padding
Change-Id: Iee6fe4fea0d00235d15c3c0ab0c742d1e315001d
2023-05-11 19:49:27 +02:00
Arian
85b3cab69c zeus: overlay: Import display cutout and rounded corner configurations
Change-Id: I169f8b61c3f1345e3b612db8f9c15dd4963e6425
2023-05-11 19:48:21 +02:00
Arian
2f0393d907 zeus: overlay: Import power_profile from V14.0.7.0.TLBMIXM
Change-Id: I56acb96ff07f18eb025315bdf794d77ae38ccc15
2023-05-11 19:47:29 +02:00
Roshan Pius
7f7852794a zeus: overlay: Add WifiResZeus
Bug: 148617260
Test: Device boots up and connects to wifi networks.
Change-Id: Iec27a6d947a232a42451ef095dc73d1a52327db5
2023-05-11 19:39:48 +02:00
LuK1337
9d8fd6ceed zeus: overlay: Set default Settings.Global.DEVICE_NAME according to MIUI
MIUI uses ro.product.vendor.marketname for default device name.

Change-Id: I310c1ffc581b72653783d1093d9e7ebde544bb16
2023-05-11 19:39:41 +02:00
Arian
6b2faff44b zeus: Configure screen density
Set the screen density according to ro.sf.lcd_density from miui.

Change-Id: Ic11b052d132f150da7070e5b8669e5a229f7528d
2023-05-11 19:39:19 +02:00
Michael Bestas
288a7a692c zeus: Add board-info.txt
* Fixes flashall in fastbootd

Change-Id: Iae2f33113317cfaadeff7a3610463880077c35e0
2023-05-11 19:39:19 +02:00
Arian
aae2fe82eb zeus: Initial device tree
Change-Id: I6d195d295b5f94b71c3ff32b21aa33d3af7bf588
2023-05-11 19:36:27 +02:00
Arian
c3040f46af zeus: Add spec info about Xiaomi 12 Pro
Change-Id: I5c9f71ed7e5c37ff5b5ee161e501fd0e36c721be
2023-05-11 17:48:42 +02:00
23 changed files with 270 additions and 278 deletions

View file

@ -14,17 +14,16 @@ $(call inherit-product, vendor/xiaomi/zeus/zeus-vendor.mk)
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
ApertureResZeus \ ApertureResZeus \
FrameworksResZeus \ FrameworksResZeus \
LineageResZeus \
NfcResZeus \
SettingsProviderResZeus \ SettingsProviderResZeus \
SettingsResZeus \ SettingsResZeus \
SystemUIResZeus \ SystemUIResZeus \
WifiResZeus WifiResZeus
# Sensors # Powershare
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
sensors.xiaomi vendor.lineage.powershare@1.0-service.default
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/sensors/hals.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/hals.conf
# Soong namespaces # Soong namespaces
PRODUCT_SOONG_NAMESPACES += \ PRODUCT_SOONG_NAMESPACES += \

View file

@ -1,28 +1,62 @@
#!/bin/bash #!/bin/bash
# #
# Copyright (C) 2016 The CyanogenMod Project # SPDX-FileCopyrightText: 2016 The CyanogenMod Project
# Copyright (C) 2017-2020 The LineageOS Project # SPDX-FileCopyrightText: 2017-2024 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
# #
function blob_fixup() { function blob_fixup() {
case "${1}" in case "${1}" in
vendor/etc/camera/zeus_enhance_motiontuning.xml|vendor/etc/camera/zeus_motiontuning.xml) vendor/etc/camera/zeus_enhance_motiontuning.xml|vendor/etc/camera/zeus_motiontuning.xml)
[ "$2" = "" ] && return 0
sed -i 's/xml=version/xml version/g' "${2}" sed -i 's/xml=version/xml version/g' "${2}"
;; ;;
vendor/etc/camera/pureShot_parameter.xml|vendor/etc/camera/pureView_parameter.xml) vendor/etc/camera/pureShot_parameter.xml|vendor/etc/camera/pureView_parameter.xml)
[ "$2" = "" ] && return 0
sed -i 's/=\([0-9]\+\)>/="\1">/g' "${2}" sed -i 's/=\([0-9]\+\)>/="\1">/g' "${2}"
;; ;;
vendor/etc/init/hw/init.batterysecret.rc) vendor/lib64/hw/audio.primary.taro-zeus.so)
sed -i 's/on charger/on property:init.svc.vendor.charger=running/g' "${2}" [ "$2" = "" ] && return 0
"${PATCHELF_0_17_2}" --set-soname "audio.primary.taro-zeus.so" "${2}"
;; ;;
vendor/lib/hw/vendor.xiaomi.sensor.citsensorservice@2.0-impl.so|vendor/lib64/hw/vendor.xiaomi.sensor.citsensorservice@2.0-impl.so) vendor/lib64/hw/fingerprint.goodix_fod.default.so)
sed -i 's/_ZN13DisplayConfig10ClientImpl13ClientImplGetENSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEPNS_14ConfigCallbackE/_ZN13DisplayConfig10ClientImpl4InitENSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEPNS_14ConfigCallbackE\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0/g' "${2}" [ "$2" = "" ] && return 0
"${PATCHELF_0_17_2}" --set-soname "fingerprint.goodix_fod.default.so" "${2}"
;;
vendor/lib64/hw/fingerprint.goodix_fod6.default.so)
[ "$2" = "" ] && return 0
"${PATCHELF_0_17_2}" --set-soname "fingerprint.goodix_fod6.default.so" "${2}"
;;
vendor/lib64/libcamximageformatutils.so)
[ "$2" = "" ] && return 0
"${PATCHELF_0_17_2}" --replace-needed "vendor.qti.hardware.display.config-V2-ndk_platform.so" "vendor.qti.hardware.display.config-V2-ndk.so" "${2}"
;;
vendor/lib64/libkaraokepal.so)
[ "$2" = "" ] && return 0
"${PATCHELF_0_17_2}" --replace-needed "audio.primary.taro.so" "audio.primary.taro-zeus.so" "${2}"
;;
vendor/lib64/libSnpeCpu.so)
[ "$2" = "" ] && return 0
"${PATCHELF_0_17_2}" --set-soname "libSnpeCpu.so" "${2}"
;;
vendor/lib64/libSnpeGpu.so)
[ "$2" = "" ] && return 0
"${PATCHELF_0_17_2}" --set-soname "libSnpeGpu.so" "${2}"
;;
vendor/lib64/libSnpeHtpV69Stub.so)
[ "$2" = "" ] && return 0
"${PATCHELF_0_17_2}" --set-soname "libSnpeHtpV69Stub.so" "${2}"
;;
*)
return 1
;; ;;
esac esac
} }
function blob_fixup_dry() {
blob_fixup "$1" ""
}
# If we're being sourced by the common script that we called, # If we're being sourced by the common script that we called,
# stop right here. No need to go down the rabbit hole. # stop right here. No need to go down the rabbit hole.
if [ "${BASH_SOURCE[0]}" != "${0}" ]; then if [ "${BASH_SOURCE[0]}" != "${0}" ]; then
@ -34,5 +68,6 @@ set -e
export DEVICE=zeus export DEVICE=zeus
export DEVICE_COMMON=sm8450-common export DEVICE_COMMON=sm8450-common
export VENDOR=xiaomi export VENDOR=xiaomi
export VENDOR_COMMON=${VENDOR}
"./../../${VENDOR}/${DEVICE_COMMON}/extract-files.sh" "$@" "./../../${VENDOR_COMMON}/${DEVICE_COMMON}/extract-files.sh" "$@"

View file

@ -0,0 +1,81 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: 2023-2024 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Enable auxiliary cameras selector. -->
<bool name="config_enableAuxCameras">true</bool>
<!-- List of ID of auxiliary cameras that must be ignored by the app. -->
<string-array name="config_ignoredAuxCameraIds">
<item>0</item>
<item>2</item>
<item>3</item>
<item>5</item>
<item>6</item>
<item>7</item>
</string-array>
<!-- Decide whether to ignore auxiliary cameras that
are logical (made of multiple physical sensors).
Set this to false if your camera HAL doesn't expose
one or more aux cameras as a standalone camera device.
Note that you will probably need to add
more camera IDs to ignoreCameraIds. -->
<bool name="config_ignoreLogicalAuxCameras">false</bool>
<!-- An array of triplets made of (camera ID, qualities, frame rates).
These video modes will be added to the available
quality/frame rate combinations of a camera device.
Make sure the device is able to handle those configurations
and maintain a stable frame rate at any condition.
Note that you can't add video qualities that aren't
exposed by the camera, only new frame rates.
Valid values of resolution are:
- "sd" (480p)
- "hd" (720p)
- "fhd" (1080p)
- "uhd" (2160p)
Valid values of frame rate are:
- "24"
- "30"
- "60"
- "120"
Additionally you can prepend `-` to frame rate to mark it as unsupported.
Example:
<string-array name="config_additionalVideoConfigurations">
<item>0</item> <item>sd|hd|fhd</item> <item>60|120</item>
<item>0</item> <item>uhd</item> <item>-60</item>
<item>1</item> <item>sd|hd|fhd</item> <item>60</item>
</string-array>
-->
<string-array name="config_additionalVideoConfigurations">
<item>1</item> <item>sd|hd|fhd</item> <item>60</item>
<item>4</item> <item>sd|hd|fhd|uhd</item> <item>60</item>
</string-array>
<!-- An array of triplets made of (camera ID, approximate zoom ratio, exact zoom ratio).
These values will be added to the lens selector if one or more cameras uses the
multi-camera API to let the user select which lens to use.
It's highly recommended to leave config_enableAuxCameras to false, since with
multi-camera API you only use a single camera device for all sensors.
You may enable it if you need auxiliary camera devices for a set of cameras on one
of the device's side (e.g. logical main back camera but multiple physical camera
devices on front), in that case if a main device side's lens is referenced here
all the auxiliary camera devices of that side will be ignored.
You may be able to get the exact zoom ratio needed to trigger the lens switch from
your stock camera app and observing the zoom ratio it sets with the following command:
adb shell dumpsys media.camera | grep 'android.control.zoomRatio' -1
Example for Google Pixel 7 Pro's back camera configuration:
<string-array name="config_logicalZoomRatios">
<item>0</item> <item>0.5</item> <item>0.55632502</item>
<item>0</item> <item>2.0</item> <item>2.0</item>
<item>0</item> <item>5.0</item> <item>5.0</item>
</string-array>
-->
<string-array name="config_logicalZoomRatios">
<item>4</item> <item>0.6</item> <item>0.64999998</item>
<item>4</item> <item>2.0</item> <item>2.0</item>
</string-array>
</resources>

View file

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

View file

@ -401,22 +401,6 @@
--> -->
<string name="config_mainBuiltInDisplayCutout" translatable="false">M 0,0 H -42 V 108 H 42 V 0 H 0 Z</string> <string name="config_mainBuiltInDisplayCutout" translatable="false">M 0,0 H -42 V 108 H 42 V 0 H 0 Z</string>
<!-- The default refresh rate for a given device. Change this value to set a higher default
refresh rate. If the hardware composer on the device supports display modes with a higher
refresh rate than the default value specified here, the framework may use those higher
refresh rate modes if an app chooses one by setting preferredDisplayModeId or calling
setFrameRate().
If a non-zero value is set for config_defaultPeakRefreshRate, then
config_defaultRefreshRate may be set to 0, in which case the value set for
config_defaultPeakRefreshRate will act as the default frame rate. -->
<integer name="config_defaultRefreshRate">0</integer>
<!-- The default peak refresh rate for a given device. Change this value if you want to prevent
the framework from using higher refresh rates, even if display modes with higher refresh
rates are available from hardware composer. Only has an effect if the value is
non-zero. -->
<integer name="config_defaultPeakRefreshRate">120</integer>
<!-- List of biometric sensors on the device, in decreasing strength. Consumed by AuthService <!-- List of biometric sensors on the device, in decreasing strength. Consumed by AuthService
when registering authenticators with BiometricService. Format must be ID:Modality:Strength, when registering authenticators with BiometricService. Format must be ID:Modality:Strength,
where: IDs are unique per device, Modality as defined in BiometricAuthenticator.java, where: IDs are unique per device, Modality as defined in BiometricAuthenticator.java,

View file

@ -0,0 +1,10 @@
//
// Copyright (C) 2024 The LineageOS Project
//
// SPDX-License-Identifier: Apache-2.0
//
runtime_resource_overlay {
name: "LineageResZeus",
device_specific: true,
}

View file

@ -0,0 +1,10 @@
<!--
Copyright (C) 2024 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="lineageos.platform.overlay.zeus">
<overlay android:targetPackage="lineageos.platform"
android:isStatic="true"
android:priority="700"/>
</manifest>

View file

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2024 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Whether the device supports wireless charging or not -->
<bool name="config_deviceSupportsWirelessCharging">true</bool>
</resources>

10
overlay/Nfc/Android.bp Normal file
View file

@ -0,0 +1,10 @@
//
// Copyright (C) 2024 The LineageOS Project
//
// SPDX-License-Identifier: Apache-2.0
//
runtime_resource_overlay {
name: "NfcResZeus",
device_specific: true,
}

View file

@ -0,0 +1,10 @@
<!--
Copyright (C) 2024 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.nfc.overlay.zeus">
<overlay android:targetPackage="com.android.nfc"
android:isStatic="true"
android:priority="700"/>
</manifest>

View file

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2024 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- List of SKUs where Secure NFC functionality is supported -->
<string-array name="config_skuSupportsSecureNfc" translatable="false">
<item>zeus</item>
</string-array>
</resources>

View file

@ -1,5 +1,5 @@
// //
// Copyright (C) 2022 The LineageOS Project // Copyright (C) 2024 The LineageOS Project
// //
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
// //

View file

@ -1,5 +1,5 @@
<!-- <!--
Copyright (C) 2022 The LineageOS Project Copyright (C) 2024 The LineageOS Project
SPDX-License-Identifier: Apache-2.0 SPDX-License-Identifier: Apache-2.0
--> -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!-- <!--
Copyright (C) 2023 The LineageOS Project Copyright (C) 2024 The LineageOS Project
SPDX-License-Identifier: Apache-2.0 SPDX-License-Identifier: Apache-2.0
--> -->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">

View file

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2023 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Whether to show peak refresh rate in display settings -->
<bool name="config_show_peak_refresh_rate_switch">true</bool>
<!-- Whether to show min refresh rate in display settings -->
<bool name="config_show_min_refresh_rate_switch">true</bool>
</resources>

View file

@ -1,8 +1,18 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!-- <!--
Copyright (C) 2023 The LineageOS Project Copyright (C) 2023-2024 The LineageOS Project
SPDX-License-Identifier: Apache-2.0 SPDX-License-Identifier: Apache-2.0
--> -->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<dimen name="rounded_corner_content_padding">52.0px</dimen> <dimen name="rounded_corner_content_padding">52.0px</dimen>
<!-- Location on the screen of the center of the physical power button. This is a reasonable
default that should be overridden by device-specific overlays. -->
<dimen name="physical_power_button_center_screen_location_y">1400px</dimen>
<!-- Location on the screen of the center of the fingerprint sensor. For devices with under
display fingerprint sensors, this directly corresponds to the fingerprint sensor's location.
For devices with sensors on the back of the device, this corresponds to the location on the
screen directly in front of the sensor. -->
<dimen name="physical_fingerprint_sensor_center_screen_location_y">2480px</dimen>
</resources> </resources>

View file

@ -1,2 +1,6 @@
# Audio
ro.hardware.audio.primary=taro-zeus
# Sensors # Sensors
ro.vendor.sensors.notifier.light_sensors=5,33171089 ro.vendor.sensors.notifier.light_sensors.primary=5,33171089
ro.vendor.sensors.xiaomi.udfps=true

View file

@ -1,4 +1,4 @@
# All unpinned blobs below are extracted from zeus V816.0.4.0.ULBMIXM # All unpinned blobs below are extracted from zeus V816.0.11.0.ULBEUXM
# ACDB # ACDB
vendor/etc/acdbdata/Mise_elus/Mise_elus_acdb_cal.acdb vendor/etc/acdbdata/Mise_elus/Mise_elus_acdb_cal.acdb
@ -78,11 +78,19 @@ vendor/etc/audio_cloud_control_white_list.xml
vendor/etc/backend_conf.xml vendor/etc/backend_conf.xml
vendor/etc/card-defs.xml vendor/etc/card-defs.xml
vendor/etc/kvh2xml.xml vendor/etc/kvh2xml.xml
vendor/etc/media_codecs_c2_audio.xml
vendor/etc/media_codecs_vendor_audio.xml
vendor/etc/microphone_characteristics.xml vendor/etc/microphone_characteristics.xml
vendor/etc/usecaseKvManager.xml vendor/etc/usecaseKvManager.xml
# Audio
# audio.primary.taro depends on vendor.qti.hardware.pal@1.0-impl, which is a gnu makefile target
vendor/lib64/hw/audio.primary.taro.so:vendor/lib64/hw/audio.primary.taro-zeus.so;DISABLE_CHECKELF
vendor/lib64/libagm.so
# libar-pal depends on libagmclient, which is a gnu makefile target
vendor/lib64/libar-pal.so;DISABLE_CHECKELF
# libcrussp depends on libagmmixer, which is a gnu makefile target
vendor/lib64/libcrussp.so;DISABLE_CHECKELF
vendor/lib64/libkaraokepal.so
# Audio firmware # Audio firmware
vendor/firmware/BH-cs35l41-dsp1-spk-cali.bin vendor/firmware/BH-cs35l41-dsp1-spk-cali.bin
vendor/firmware/BH-cs35l41-dsp1-spk-prot.bin vendor/firmware/BH-cs35l41-dsp1-spk-prot.bin
@ -104,98 +112,6 @@ vendor/firmware/TL-music.txt
vendor/firmware/cs35l41-dsp1-spk-cali.wmfw vendor/firmware/cs35l41-dsp1-spk-cali.wmfw
vendor/firmware/cs35l41-dsp1-spk-prot.wmfw vendor/firmware/cs35l41-dsp1-spk-prot.wmfw
# Audio graph manager
vendor/bin/agmcap
vendor/bin/agmcompressplay
vendor/bin/agmplay
vendor/bin/cplay
vendor/bin/hw/vendor.qti.hardware.AGMIPC@1.0-service
vendor/etc/init/vendor.qti.hardware.AGMIPC@1.0-service.rc
-vendor/lib/libagm.so
vendor/lib/libagm_compress_plugin.so
vendor/lib/libagm_mixer_plugin.so
vendor/lib/libagm_pcm_plugin.so
vendor/lib/libagmclient.so
vendor/lib/libagmmixer.so
vendor/lib/libmisight.so
-vendor/lib/vendor.qti.hardware.AGMIPC@1.0-impl.so
vendor/lib/vendor.qti.hardware.AGMIPC@1.0.so
-vendor/lib64/libagm.so
vendor/lib64/libagm_compress_plugin.so
vendor/lib64/libagm_mixer_plugin.so
vendor/lib64/libagm_pcm_plugin.so
vendor/lib64/libagmclient.so
vendor/lib64/libagmmixer.so
vendor/lib64/libmisight.so
-vendor/lib64/vendor.qti.hardware.AGMIPC@1.0-impl.so
vendor/lib64/vendor.qti.hardware.AGMIPC@1.0.so
# Audio libraries
vendor/etc/models/acd/event.eai
vendor/etc/models/acd/music.eai
vendor/etc/models/acd/speech.eai
vendor/lib/hw/audio.primary.taro.so
vendor/lib/hw/gyro_fusion_interface.so
vendor/lib/libadm.so
vendor/lib/libadsprpc.so
vendor/lib/libar-acdb.so
vendor/lib/libar-gpr.so
vendor/lib/libar-gsl.so
-vendor/lib/libar-pal.so
vendor/lib/libats.so
vendor/lib/libaudio_log_utils.so
vendor/lib/libaudiocloudctrl.so
vendor/lib/libaudioroute_ext.so
vendor/lib/libbatterylistener.so
vendor/lib/libcapiv2svacnnvendor.so
vendor/lib/libcapiv2svarnnvendor.so
vendor/lib/libcapiv2uvvendor.so
vendor/lib/libdapparamstorage.so
vendor/lib/libfmpal.so
vendor/lib/libkaraokepal.so
vendor/lib/liblx-ar_util.so
vendor/lib/liblx-osal.so
vendor/lib/libmcs.so
vendor/lib/libpal_net_if.so
vendor/lib/libpalclient.so
vendor/lib/libqtigefar.so
vendor/lib/libresampler.so
vendor/lib/libsndcardparser.so
vendor/lib/libxlog.so
vendor/lib/vendor.qti.hardware.pal@1.0-impl.so
vendor/lib/vendor.qti.hardware.pal@1.0.so
vendor/lib64/hw/audio.primary.taro.so
vendor/lib64/hw/gyro_fusion_interface.so
vendor/lib64/libadm.so
vendor/lib64/libadsprpc.so
vendor/lib64/libar-acdb.so
vendor/lib64/libar-gpr.so
vendor/lib64/libar-gsl.so
-vendor/lib64/libar-pal.so
vendor/lib64/libats.so
vendor/lib64/libaudio_log_utils.so
vendor/lib64/libaudiocloudctrl.so
vendor/lib64/libaudioroute_ext.so
vendor/lib64/libbatterylistener.so
vendor/lib64/libcapiv2svacnnvendor.so
vendor/lib64/libcapiv2svarnnvendor.so
vendor/lib64/libcapiv2uvvendor.so
vendor/lib64/libcrussp.so
vendor/lib64/libdapparamstorage.so
vendor/lib64/libfmpal.so
vendor/lib64/libkaraokepal.so
vendor/lib64/liblx-ar_util.so
vendor/lib64/liblx-osal.so
vendor/lib64/libmcs.so
vendor/lib64/libpal_net_if.so
vendor/lib64/libpalclient.so
vendor/lib64/libqtigefar.so
vendor/lib64/libresampler.so
vendor/lib64/libsndcardparser.so
vendor/lib64/libxlog.so
vendor/lib64/vendor.qti.hardware.pal@1.0-impl.so
vendor/lib64/vendor.qti.hardware.pal@1.0.so
# Batterysecret # Batterysecret
vendor/bin/batterysecret vendor/bin/batterysecret
vendor/etc/init/hw/init.batterysecret.rc vendor/etc/init/hw/init.batterysecret.rc
@ -549,53 +465,6 @@ vendor/etc/camera/zeus_enhance_motiontuning.xml
vendor/etc/camera/zeus_motiontuning.xml vendor/etc/camera/zeus_motiontuning.xml
vendor/etc/init/vendor.qti.camera.provider@2.7-service_64.rc vendor/etc/init/vendor.qti.camera.provider@2.7-service_64.rc
vendor/etc/vintf/manifest/vendor.xiaomi.hardware.quickcamera@1.0-service.xml vendor/etc/vintf/manifest/vendor.xiaomi.hardware.quickcamera@1.0-service.xml
vendor/lib/camera/com.qti.tuned.default.bin
vendor/lib/camera/fdconfigpreview.bin
vendor/lib/camera/fdconfigpreviewlite.bin
vendor/lib/camera/fdconfigvideo.bin
vendor/lib/camera/fdconfigvideolite.bin
vendor/lib/camx.device@3.2-impl.so
vendor/lib/camx.device@3.3-impl.so
vendor/lib/camx.device@3.4-ext-impl.so
vendor/lib/camx.device@3.4-impl.so
vendor/lib/camx.device@3.5-ext-impl.so
vendor/lib/camx.device@3.5-impl.so
vendor/lib/camx.device@3.6-ext-impl.so
vendor/lib/camx.device@3.6-impl.so
vendor/lib/camx.device@3.7-impl.so
vendor/lib/camx.provider@2.4-external.so
vendor/lib/camx.provider@2.4-impl.so
vendor/lib/camx.provider@2.4-legacy.so
vendor/lib/camx.provider@2.5-external.so
vendor/lib/camx.provider@2.5-legacy.so
vendor/lib/camx.provider@2.6-legacy.so
vendor/lib/camx.provider@2.7-legacy.so
vendor/lib/com.qti.settings.fillmore.so
vendor/lib/com.qti.settings.sm8450.so
vendor/lib/hw/vendor.xiaomi.hardware.quickcamera@1.0-impl.so
vendor/lib/libAF.so
vendor/lib/libSNPE.so
vendor/lib/libSnpeCpu.so
vendor/lib/libSnpeGpu.so
vendor/lib/libSnpeHtpV69Stub.so
vendor/lib/libc++_shared.so
vendor/lib/libcamxcommonutils.so
vendor/lib/libcamxexternalformatutils.so
vendor/lib/libcamxsettingsmanager.so
vendor/lib/libcvface_api.so
vendor/lib/libmemunreachable.so
vendor/lib/libmialgo_ai_vision.so
vendor/lib/libmialgo_globalsaliency.so
vendor/lib/libmialgo_utils.so
vendor/lib/libos.so
vendor/lib/libqshcamera.so
vendor/lib/libquickcamera.so
vendor/lib/libsnpe_dsp_domains_v2.so
vendor/lib/libsnpe_dsp_domains_v3.so
vendor/lib/libsynx.so
vendor/lib/libthreadutils.so
vendor/lib/libxmi_slow_motion_mein.so
vendor/lib/vendor.xiaomi.hardware.quickcamera@1.0.so
vendor/lib64/camera/com.qti.tuned.default.bin vendor/lib64/camera/com.qti.tuned.default.bin
vendor/lib64/camera/components/com.bots.node.vendortagwrite.so vendor/lib64/camera/components/com.bots.node.vendortagwrite.so
vendor/lib64/camera/components/com.mi.node.AIIE.so vendor/lib64/camera/components/com.mi.node.AIIE.so
@ -686,7 +555,7 @@ vendor/lib64/camera/fdconfigpreviewlite.bin
vendor/lib64/camera/fdconfigvideo.bin vendor/lib64/camera/fdconfigvideo.bin
vendor/lib64/camera/fdconfigvideolite.bin vendor/lib64/camera/fdconfigvideolite.bin
vendor/lib64/camera/libQnnHtpAltPrepV69Skel.so vendor/lib64/camera/libQnnHtpAltPrepV69Skel.so
vendor/lib64/camera/libQnnHtpAltPrepV69Stub.so vendor/lib64/camera/libQnnHtpAltPrepV69Stub.so;MODULE=libQnnHtpAltPrepV69Stub-camera
vendor/lib64/camera/plugins/com.xiaomi.plugin.anchor.so vendor/lib64/camera/plugins/com.xiaomi.plugin.anchor.so
vendor/lib64/camera/plugins/com.xiaomi.plugin.arcsoftsll.so vendor/lib64/camera/plugins/com.xiaomi.plugin.arcsoftsll.so
vendor/lib64/camera/plugins/com.xiaomi.plugin.capbokeh.so vendor/lib64/camera/plugins/com.xiaomi.plugin.capbokeh.so
@ -776,7 +645,8 @@ vendor/lib64/libSNPE.so
vendor/lib64/libSnpeCpu.so vendor/lib64/libSnpeCpu.so
vendor/lib64/libSnpeGpu.so vendor/lib64/libSnpeGpu.so
vendor/lib64/libSnpeHtpV69Stub.so vendor/lib64/libSnpeHtpV69Stub.so
vendor/lib64/libTrueSight.so # libTrueSight depends on NDK libnativewindow and build is unable to resolve its symbols
vendor/lib64/libTrueSight.so;DISABLE_CHECKELF
vendor/lib64/lib_sr_models.so vendor/lib64/lib_sr_models.so
vendor/lib64/libaidenoiser.so vendor/lib64/libaidenoiser.so
vendor/lib64/libalCFR.so vendor/lib64/libalCFR.so
@ -834,7 +704,6 @@ vendor/lib64/libipebpsstriping170.so
vendor/lib64/libipebpsstriping480.so vendor/lib64/libipebpsstriping480.so
vendor/lib64/libjpege.so vendor/lib64/libjpege.so
vendor/lib64/libmctfengine_stub.so vendor/lib64/libmctfengine_stub.so
vendor/lib64/libmemunreachable.so
vendor/lib64/libmfGhostDetection.so vendor/lib64/libmfGhostDetection.so
vendor/lib64/libmiStereoFactoryRemapBasicLib.so vendor/lib64/libmiStereoFactoryRemapBasicLib.so
vendor/lib64/libmiai_deblur.so vendor/lib64/libmiai_deblur.so
@ -847,7 +716,8 @@ vendor/lib64/libmialgo_globalsaliency.so
vendor/lib64/libmialgo_ie_capture.so vendor/lib64/libmialgo_ie_capture.so
vendor/lib64/libmialgo_ie_preview.so vendor/lib64/libmialgo_ie_preview.so
vendor/lib64/libmialgo_image_colourkeeping.so vendor/lib64/libmialgo_image_colourkeeping.so
vendor/lib64/libmialgo_pureShot.so # libmialgo_pureShot depends on libcdsprpc and build is unable to resolve its symbols
vendor/lib64/libmialgo_pureShot.so;DISABLE_CHECKELF
vendor/lib64/libmialgo_pureView.so vendor/lib64/libmialgo_pureView.so
vendor/lib64/libmialgo_rfs.so vendor/lib64/libmialgo_rfs.so
vendor/lib64/libmialgo_sd.so vendor/lib64/libmialgo_sd.so
@ -871,7 +741,8 @@ vendor/lib64/libmmcamera_lscv35.so
vendor/lib64/libmmcamera_mfnr.so vendor/lib64/libmmcamera_mfnr.so
vendor/lib64/libmmcamera_mfnr_t4.so vendor/lib64/libmmcamera_mfnr_t4.so
vendor/lib64/libmmcamera_pdpc.so vendor/lib64/libmmcamera_pdpc.so
vendor/lib64/libmorpho_ubwc.so # libTrueSight depends on NDK libnativewindow and build is unable to resolve its symbols
vendor/lib64/libmorpho_ubwc.so;DISABLE_CHECKELF
vendor/lib64/libmorpho_ultrazoom_eis.so vendor/lib64/libmorpho_ultrazoom_eis.so
vendor/lib64/libmorpho_video_stabilizer.so vendor/lib64/libmorpho_video_stabilizer.so
vendor/lib64/libmpbase.so vendor/lib64/libmpbase.so
@ -888,6 +759,7 @@ vendor/lib64/libquickcamera.so
vendor/lib64/librelight_only.so vendor/lib64/librelight_only.so
vendor/lib64/libremosaic_wrapper.so vendor/lib64/libremosaic_wrapper.so
vendor/lib64/libremosaiclib.so vendor/lib64/libremosaiclib.so
vendor/lib64/librmsclib1.so
vendor/lib64/libsdk_sr.so vendor/lib64/libsdk_sr.so
vendor/lib64/libsfeShiftExtrapolation.so vendor/lib64/libsfeShiftExtrapolation.so
vendor/lib64/libsnpe_dsp_domains_v2.so vendor/lib64/libsnpe_dsp_domains_v2.so
@ -955,14 +827,6 @@ vendor/firmware/zeus_wide_bu24618_ois.mem
vendor/firmware/zeus_wide_bu24618_ois.prog vendor/firmware/zeus_wide_bu24618_ois.prog
# Camera sensors # Camera sensors
vendor/lib/camera/com.qti.sensormodule.zeus_ofilm_ov32b40_front.bin
vendor/lib/camera/com.qti.sensormodule.zeus_semco_imx707_wide.bin
vendor/lib/camera/com.qti.sensormodule.zeus_sunny_s5kjn1_tele.bin
vendor/lib/camera/com.qti.sensormodule.zeus_sunny_s5kjn1_ultra.bin
vendor/lib/camera/com.qti.tuned.zeus_ofilm_ov32b40_front.bin
vendor/lib/camera/com.qti.tuned.zeus_semco_imx707_wide.bin
vendor/lib/camera/com.qti.tuned.zeus_sunny_s5kjn1_tele.bin
vendor/lib/camera/com.qti.tuned.zeus_sunny_s5kjn1_ultra.bin
vendor/lib64/camera/com.qti.actuator.zeus_semco_imx707_ak7314_wide_actuator.so vendor/lib64/camera/com.qti.actuator.zeus_semco_imx707_ak7314_wide_actuator.so
vendor/lib64/camera/com.qti.actuator.zeus_sunny_s5kjn1_dw9714_tele_actuator.so vendor/lib64/camera/com.qti.actuator.zeus_sunny_s5kjn1_dw9714_tele_actuator.so
vendor/lib64/camera/com.qti.eeprom.zeus_ofilm_ov32b40_p24c64f_front_eeprom.so vendor/lib64/camera/com.qti.eeprom.zeus_ofilm_ov32b40_p24c64f_front_eeprom.so
@ -1040,7 +904,7 @@ vendor/firmware/evautil64.b07
vendor/firmware/evautil64.mdt vendor/firmware/evautil64.mdt
# Display configs # Display configs
product/etc/displayconfig/display_id_4630947134992368258.xml product/etc/displayconfig/display_id_4630947134992368258.xml:vendor/etc/displayconfig/display_id_4630947134992368258.xml
vendor/etc/display/qdcm_calib_data_xiaomi_38_0c_0a_cmd_mode_dsc_dsi_panel.json vendor/etc/display/qdcm_calib_data_xiaomi_38_0c_0a_cmd_mode_dsc_dsi_panel.json
vendor/etc/mdss_dsi_l2_38_0c_0a_dsc_cmd_mi.xml vendor/etc/mdss_dsi_l2_38_0c_0a_dsc_cmd_mi.xml
@ -1054,27 +918,6 @@ vendor/lib64/libgf_hal6.so
vendor/lib64/libhvx_proxy_stub.so vendor/lib64/libhvx_proxy_stub.so
# Graphics (Adreno firmware) # Graphics (Adreno firmware)
vendor/firmware/a610_zap.b00
vendor/firmware/a610_zap.b01
vendor/firmware/a610_zap.b02
vendor/firmware/a610_zap.elf
vendor/firmware/a610_zap.mdt
vendor/firmware/a630_sqe.fw
vendor/firmware/a660_sqe.fw
vendor/firmware/a662_gmu.bin
vendor/firmware/a662_zap.b00
vendor/firmware/a662_zap.b01
vendor/firmware/a662_zap.b02
vendor/firmware/a662_zap.elf
vendor/firmware/a662_zap.mbn
vendor/firmware/a662_zap.mdt
vendor/firmware/a710_sqe.fw
vendor/firmware/a710_zap.b00
vendor/firmware/a710_zap.b01
vendor/firmware/a710_zap.b02
vendor/firmware/a710_zap.elf
vendor/firmware/a710_zap.mbn
vendor/firmware/a710_zap.mdt
vendor/firmware/a730_sqe.fw vendor/firmware/a730_sqe.fw
vendor/firmware/a730_zap.b00 vendor/firmware/a730_zap.b00
vendor/firmware/a730_zap.b01 vendor/firmware/a730_zap.b01
@ -1158,12 +1001,12 @@ vendor/etc/sensors/config/sx932x_0.json
vendor/etc/sensors/config/sx933x_0.json vendor/etc/sensors/config/sx933x_0.json
vendor/etc/sensors/config/tcs3408.json vendor/etc/sensors/config/tcs3408.json
vendor/etc/sensors/config/tmd3719.json vendor/etc/sensors/config/tmd3719.json
vendor/etc/sensors/hals.conf
vendor/etc/sensors/sensorDisplayMap.json vendor/etc/sensors/sensorDisplayMap.json
vendor/etc/sensors/sns_reg_config vendor/etc/sensors/sns_reg_config
# Sensors - SSC calibration # Sensors - SSC calibration
-vendor/lib/libssccalapi@2.0.so vendor/lib64/libssccalapi@2.0.so
-vendor/lib64/libssccalapi@2.0.so
# Thermal engine # Thermal engine
vendor/etc/thermal-4k.conf vendor/etc/thermal-4k.conf

View file

@ -1,5 +1,5 @@
## All proprietary files from this list, unless pinned and noted otherwise, ## All proprietary files from this list, unless pinned and noted otherwise,
## are from zeus V816.0.4.0.ULBMIXM ## are from zeus V816.0.11.0.ULBEUXM
abl.img;AB abl.img;AB
aop.img;AB aop.img;AB

View file

@ -1,4 +0,0 @@
sensors.ultrasoundproximity.so
sensors.ssc.so
sensors.touch.detect.so
sensors.xiaomi.so

View file

@ -1,15 +1,51 @@
#!/bin/bash #!/bin/bash
# #
# Copyright (C) 2016 The CyanogenMod Project # SPDX-FileCopyrightText: 2016 The CyanogenMod Project
# Copyright (C) 2017-2020 The LineageOS Project # SPDX-FileCopyrightText: 2017-2024 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
# #
function vendor_imports() {
cat << EOF >> "$1"
"device/xiaomi/sm8450-common",
"hardware/qcom-caf/sm8450",
"hardware/xiaomi",
"vendor/qcom/opensource/commonsys-intf/display",
EOF
}
function lib_to_package_fixup_vendor_variants() {
if [ "$2" != "vendor" ]; then
return 1
fi
case "$1" in
libagmclient | \
libagmmixer | \
vendor.qti.hardware.pal@1.0-impl)
;;
*)
return 1
esac
}
function lib_to_package_fixup() {
lib_to_package_fixup_clang_rt_ubsan_standalone "$1" || \
lib_to_package_fixup_proto_3_9_1 "$1" || \
lib_to_package_fixup_vendor_variants "$@"
}
# If we're being sourced by the common script that we called,
# stop right here. No need to go down the rabbit hole.
if [ "${BASH_SOURCE[0]}" != "${0}" ]; then
return
fi
set -e set -e
export DEVICE=zeus export DEVICE=zeus
export DEVICE_COMMON=sm8450-common export DEVICE_COMMON=sm8450-common
export VENDOR=xiaomi export VENDOR=xiaomi
export VENDOR_COMMON=${VENDOR}
"./../../${VENDOR}/${DEVICE_COMMON}/setup-makefiles.sh" "$@" "./../../${VENDOR_COMMON}/${DEVICE_COMMON}/setup-makefiles.sh" "$@"