16 Commits

Author SHA1 Message Date
Lunark :3
f0da33eb07 vermeer: Add mi_tuning camera blobs for cn model
Change-Id: I4b2c30b3623ad85910da350cdd16eb4da38f9549
Signed-off-by: Lunark :3 <jvillaltamatos3007@gmail.com>
2026-06-13 12:41:55 -05:00
Lunark :3
3d12621b90 vermeer: Rename aw_cali.bin --> aw_calr.bin
- Fixed:  warnings/errors:
    W aw82xx_smartpa 2-0035: Direct firmware load for aw_cali.bin failed with error -2
    W aw82xx_smartpa 2-0035: Falling back to sysfs fallback for: aw_cali.bin
    E ueventd: firmware: could not find firmware for aw_cali.bin
    E ueventd: firmware: attemted /etc/firmware/aw_cali.bin, open failed: No such file or directory
    E ueventd: firmware: attemted /odm/firmware/aw_cali.bin, open failed: No such file or directory
    E ueventd: firmware: attemted /vendor/firmware/aw_cali.bin, open failed: No such file or directory
    E ueventd: firmware: attemted /firmware/image/aw_cali.bin, open failed: No such file or directory
    E ueventd: firmware: attemted /vendor/firmware_mnt/image/aw_cali.bin, open failed: No such file or directory
    E ueventd: firmware: attemted /vendor/vm-system/aw_cali.bin, open failed: No such file or directory
    E aw_cali_get_read_cali_re: channel:1 open aw_cali.bin failed!

Change-Id: I78d364d52b0cf81ceb494a111811017e2e510485
Signed-off-by: Lunark :3 <jvillaltamatos3007@gmail.com>
2026-05-25 19:42:28 -05:00
Lunark :3
f5e91b6469 vermeer: Update from OS3.0.301.0.WNKMIXM
- Also update redmi k70 camera sensors to OS3.0.302.WNKCNXM

Change-Id: I727017d4a37af8d094540e4a1933a74313a5e5fb
Signed-off-by: Lunark :3 <jvillaltamatos3007@gmail.com>
2026-04-26 12:32:21 -05:00
Lunark :3
b360f60a7f vermeer: Commonize IFAA service
Change-Id: I153c4b29c34b584b27d91d8bf5a3e5f537ac29d1
Signed-off-by: Lunark :3 <jvillaltamatos3007@gmail.com>
2026-04-13 19:49:15 -05:00
Arian
3f5a5f0c9c vermeer: Commonize udfps sensor configuration
Change-Id: I07c84a88c2737446147e01a8aa8e73d74522f8f6
2026-04-11 10:44:08 -05:00
Lunark :3
f21f9d8285 vermeer: Commonize fp screen off feature
Change-Id: I17ec739c7c2ee7edf3a8c497ee16891e88c41fa4
Signed-off-by: Lunark :3 <jvillaltamatos3007@gmail.com>
2026-04-11 10:43:44 -05:00
Lunark :3
ea6113c85a vermeer: Update from OS3.0.7.0.WNKMIXM
Change-Id: I0ecbc7ddfc5bf0e074baf5b58d1b7a082cc6abbc
Signed-off-by: Lunark :3 <jvillaltamatos3007@gmail.com>
2026-03-27 22:32:50 -05:00
Luofan Chen
588b64b3d7 vermeer: overlay: Nfc: Add targetName and move to vendor
The overlay policy of the NFC package requires the RRO to be in
vendor/system/product partition, but not odm partition, and the name
"NfcCustomization" should be specified.

Test: Open NFC setting and verify that the secure NFC setting ispresent
Change-Id: Ibc9f4f7167986af386d109079538ebcdf7c0b7a2
2026-03-10 20:48:33 -05:00
Omkar Chandorkar
1abf1669fb vermeer: overlay: Enable secure NFC functionality
Change-Id: I4e9acc7d8ec14237512aadf100d564984aa5a896
Co-authored-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2026-03-10 20:48:33 -05:00
Fabian Leutenegger
6a9ddebf12 vermeer: Allow more notification icons to be shown
* we have the space on our 6.7" panel, so lets make use out of it

Change-Id: I59401086cf4c41bc2058781af1fc1087ffde2095
2026-03-10 19:59:09 -05:00
AdarshGrewal
610b742ae5 vermeer: overlay: Move all Wifi overlays to single dir
Change-Id: Ib01f9f6162ba8f8763f1cd5876f6a72075e9abd4
2026-02-10 21:33:58 -05:00
AdarshGrewal
aeadc6a317 vermeer: overlay: Move all SettingsProvider overlays to single dir
Change-Id: Idcd2c557edccc168d460a2e81922167d876f021d
2026-02-10 21:22:46 -05:00
SkyMinus
579ff09ade vermeer: audio: Increase ADC1 Volume level from 5 to 8
Change-Id: Ic994bac2b4f53657bbfda9d084cbd203e146f031
2026-02-08 22:37:24 -05:00
Michael Bestas
1a3a04f892 vermeer: Patch some blobs to depend on libtinyxml2-v34.so
libtinyxml2 10.1.0 update which landed in BP4A contains ABI
incompatible changes which cause runtime crashes.

Change-Id: Icc67da5f754b0bb30dce6192b1e520fdf1349ac5
Signed-off-by: Lunark :3 <jvillaltamatos3007@gmail.com>
2026-02-03 12:53:31 -05:00
Lunark :3
e1d301c44e vermeer: Fix Elf checks
Change-Id: I8816642d171fd6a42ef2642a2a34d869acfb0864
Signed-off-by: Lunark :3 <jvillaltamatos3007@gmail.com>
2026-02-02 12:32:16 -05:00
Lunark :3
5a1dbb5236 vermeer: Update from OS3.0.6.0.WNKMIXM
- Also update some camera sensor for Redmi K70 to OS3.0.6.0.WNKCNXM

Change-Id: I2dc397cdabb80bfa1b2fed4b3fb2fb1db2711dbf
Signed-off-by: Lunark :3 <jvillaltamatos3007@gmail.com>
2026-02-02 12:31:49 -05:00
25 changed files with 140 additions and 66 deletions

View File

@@ -11,5 +11,5 @@ install_symlink {
name: "firmware_aw_cali.bin_symlink",
vendor: true,
installed_location: "firmware/aw_cali.bin",
symlink_target: "/mnt/vendor/persist/audio/aw_cali.bin",
symlink_target: "/mnt/vendor/persist/audio/aw_calr.bin",
}

View File

@@ -302,7 +302,7 @@
<ctl name="TX SMIC MUX2" value="SWR_MIC4" />
<ctl name="TX_AIF1_CAP Mixer DEC2" value="1" />
<ctl name="ADC1 ChMap" value="SWRM_TX2_CH1" />
<ctl name="ADC1 Volume" value="5" />
<ctl name="ADC1 Volume" value="8" />
<ctl name="TX1 MODE" value="ADC_LP" />
<ctl name="ADC1_MIXER Switch" value="1" />
<ctl name="AMIC1_MIXER Switch" value="1" />

View File

@@ -5,6 +5,7 @@
#
# Inherit from xiaomi sm8550-common
TARGET_HAS_UDFPS := true
$(call inherit-product, device/xiaomi/sm8550-common/common.mk)
# Inherit from the proprietary version
@@ -22,14 +23,11 @@ PRODUCT_COPY_FILES += \
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/init/init.vermeer.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.vermeer.rc
# IFAAService
PRODUCT_PACKAGES += \
IFAAService
# Overlay
PRODUCT_PACKAGES += \
ApertureResVermeer \
FrameworkResOverlayVermeer \
NfcOverlayVermeer \
SettingsOverlayVermeer \
SettingsOverlayVermeerPOCO \
SettingsOverlayVermeerRedmi \

View File

@@ -62,7 +62,8 @@ blob_fixups: blob_fixups_user_type = {
.clear_symbol_version('AHardwareBuffer_lock')
.clear_symbol_version('AHardwareBuffer_release')
.clear_symbol_version('AHardwareBuffer_unlock'),
'odm/lib64/libTrueSight.so': blob_fixup()
('odm/lib64/libAncHumanVideoBokehV4.so',
'odm/lib64/libTrueSight.so'): blob_fixup()
.clear_symbol_version('AHardwareBuffer_allocate')
.clear_symbol_version('AHardwareBuffer_describe')
.clear_symbol_version('AHardwareBuffer_isSupported')
@@ -70,21 +71,29 @@ blob_fixups: blob_fixups_user_type = {
.clear_symbol_version('AHardwareBuffer_lockPlanes')
.clear_symbol_version('AHardwareBuffer_release')
.clear_symbol_version('AHardwareBuffer_unlock'),
'odm/lib64/libMiVideoFilter.so': blob_fixup()
'odm/lib64/libMiPhotoFilter.so': blob_fixup()
.clear_symbol_version('AHardwareBuffer_allocate')
.clear_symbol_version('AHardwareBuffer_describe')
.clear_symbol_version('AHardwareBuffer_isSupported')
.clear_symbol_version('AHardwareBuffer_lockPlanes')
.clear_symbol_version('AHardwareBuffer_release')
.clear_symbol_version('AHardwareBuffer_unlock'),
'odm/lib64/libmorpho_ubwc.so': blob_fixup()
.clear_symbol_version('AHardwareBuffer_describe'),
'odm/lib64/libwrapper_dlengine.so': blob_fixup()
('odm/lib64/libwrapper_dlengine.so',
'vendor/lib64/libsnpe_config.so'): blob_fixup()
.add_needed('liblog.so'),
'odm/lib64/hw/camera.xiaomi.so': blob_fixup()
.add_needed('libprocessgroup_shim.so')
.replace_needed('libui.so', 'libui-v34.so'),
'odm/lib64/hw/vendor.xiaomi.sensor.citsensorservice@2.0-impl.so': blob_fixup()
.binary_regex_replace(b'_ZN13DisplayConfig10ClientImpl13ClientImplGetENSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEPNS_14ConfigCallbackE', sensor_simbol)
.replace_needed('libtinyxml2.so', 'libtinyxml2-v34.so')
.binary_regex_replace(b'_ZN13DisplayConfig10ClientImpl13ClientImplGetENSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEPNS_14ConfigCallbackE', sensor_simbol),
('odm/bin/hw/vendor.qti.camera.provider-service_64',
'odm/lib64/camx.provider-impl.so',
'odm/lib64/com.qti.feature2.anchorsync.so',
'odm/lib64/camera/plugins/com.xiaomi.plugin.anchor.so'): blob_fixup()
.replace_needed('libtinyxml2.so', 'libtinyxml2-v34.so'),
}
module = ExtractUtilsModule(

View File

@@ -23,4 +23,4 @@ PRODUCT_MANUFACTURER := Xiaomi
PRODUCT_GMS_CLIENTID_BASE := android-xiaomi
PRODUCT_BUILD_PROP_OVERRIDES += \
BuildFingerprint=POCO/vermeer_global/vermeer:15/AQ3A.240912.001/OS2.0.207.0.VNKMIXM:user/release-keys
BuildFingerprint=POCO/vermeer_global/vermeer:16/BP2A.250605.031.A3/OS3.0.301.0.WNKMIXM:user/release-keys

View File

@@ -494,11 +494,4 @@
black in software (to avoid aliasing or emulate a cutout that is not physically existent).
-->
<bool name="config_fillMainBuiltInDisplayCutout">true</bool>
<!-- Whether to enable fp unlock when screen turns off on udfps devices -->
<bool name="config_screen_off_udfps_enabled">true</bool>
<!-- Default value for fp screen off unlock toggle, it only works for the devices that support
fp screen off unlock-->
<bool name="config_screen_off_udfps_default_on">true</bool>
</resources>

View File

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

View File

@@ -0,0 +1,11 @@
<!--
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.mondrian">
<overlay android:targetPackage="com.android.nfc"
android:targetName="NfcCustomization"
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>vermeer</item>
</string-array>
</resources>

View File

@@ -0,0 +1,18 @@
//
// SPDX-FileCopyrightText: The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//
runtime_resource_overlay {
name: "SettingsProviderResVermeerPOCO",
manifest: "AndroidManifest-POCO.xml",
resource_dirs: ["res-POCO"],
vendor: true,
}
runtime_resource_overlay {
name: "SettingsProviderResVermeerRedmi",
manifest: "AndroidManifest-Redmi.xml",
resource_dirs: ["res-Redmi"],
vendor: true,
}

View File

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

View File

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

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Maximum number of notification icons shown on the Always on Display
(excluding overflow dot) -->
<integer name="max_notif_icons_on_aod">4</integer>
<!-- Maximum number of notification icons shown on the lockscreen (excluding overflow dot) -->
<integer name="max_notif_icons_on_lockscreen">4</integer>
<!-- Maximum number of notification icons shown in the status bar (excluding overflow dot) -->
<integer name="max_notif_static_icons">5</integer>
</resources>

View File

@@ -0,0 +1,18 @@
//
// SPDX-FileCopyrightText: The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//
runtime_resource_overlay {
name: "WifiResVermeerPOCO",
manifest: "AndroidManifest-POCO.xml",
resource_dirs: ["res-POCO"],
vendor: true,
}
runtime_resource_overlay {
name: "WifiResVermeerRedmi",
manifest: "AndroidManifest-Redmi.xml",
resource_dirs: ["res-Redmi"],
vendor: true,
}

View File

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

View File

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

View File

@@ -1,5 +1,5 @@
## All proprietary files from this list, unless pinned and noted otherwise,
## are taken from POCO F6 Pro / Redmi K70 AQ3A.240912.001 OS2.0.207.0.VNKMIXM
## are taken from POCO F6 Pro / Redmi K70 BP2A.250605.031.A3 OS3.0.301.0.WNKMIXM
# ACDBs
odm/etc/acdbdata/Tutu/Tutu_acdb_cal.acdb:vendor/etc/acdbdata/kalama_mtp/Tutu_acdb_cal.acdb
@@ -445,13 +445,40 @@ odm/etc/camera/resources/render/GlobalConfig.json
odm/etc/camera/resources/default_param.json
odm/etc/camera/resources/truesight_param.json
odm/etc/camera/resources/truesight_param_debug.json
odm/etc/camera/videofilter/102_SummerDay.png
odm/etc/camera/videofilter/103_Fantasy.png
odm/etc/camera/videofilter/104_Meet.png
odm/etc/camera/videofilter/105_WindSing.png
odm/etc/camera/videofilter/106_Lost.png
odm/etc/camera/videofilter/107_Central.png
odm/etc/camera/videofilter/108_NorthernEurope.png
odm/etc/camera/videofilter/109_Rome.png
odm/etc/camera/videofilter/110_BlackGold.png
odm/etc/camera/videofilter/111_GreenOrange.png
odm/etc/camera/videofilter/112_CyberPunk.png
odm/etc/camera/videofilter/113_BlackIce.png
odm/etc/camera/videofilter/121_Bleach.png
odm/etc/camera/videofilter/122_Thriller.png
odm/etc/camera/videofilter/123_TealOrange.png
odm/etc/camera/videofilter/124_JapaneseStyle.png
odm/etc/camera/videofilter/125_Latin.png
odm/etc/camera/videofilter/126_Fantasy2.png
odm/etc/camera/videofilter/127_Creamy.png
odm/etc/camera/videofilter/128_Sepia.png
odm/etc/camera/videofilter/129_LeicaVivid.png
odm/etc/camera/videofilter/130_LeicaNatural.png
odm/etc/camera/videofilter/131_MonochromeTrue.png
odm/etc/camera/videofilter/132_MonochromeHighContrast.png
odm/etc/camera/videofilter/133_MonochromeBrown.png
odm/etc/camera/videofilter/134_MonochromeBlue.png
odm/etc/camera/videofilter/135_Classical.png
odm/etc/camera/videofilter/136_Filene.png
odm/etc/camera/videofilter/137_GreenNight.png
odm/etc/camera/videofilter/138_LiteratureAndArt.png
odm/etc/camera/videofilter/139_OrangeHoney.png
odm/etc/camera/videofilter/140_Romance.png
odm/etc/camera/videofilter/141_FR500.png
odm/etc/camera/videofilter/142_FE250.png
odm/etc/camera/videofilter/144_RedHero.png
odm/etc/camera/videofilter/146_TactileGreen.png
odm/etc/camera/videofilter/148_Mild.png
@@ -536,7 +563,9 @@ odm/etc/camera/beauty_config_gl.json
odm/etc/camera/beauty_config_gl_8g.json
odm/etc/camera/beauty_style_nude.cng
odm/etc/camera/bokehParams.json
odm/etc/camera/camerabooster.json
odm/etc/camera/cameracustomize.json
odm/etc/camera/cameradfx_config.json
odm/etc/camera/cameraopt_reclaim.json
odm/etc/camera/camxoverridesettings.txt
odm/etc/camera/com.xiaomi.dcal.wu.golden
odm/etc/camera/com.xiaomi.dcal.wu.golden2
@@ -672,16 +701,17 @@ odm/lib64/com.qualcomm.mcx.nonlinearmapper.so
odm/lib64/com.qualcomm.mcx.policy.mfl.so
odm/lib64/com.qualcomm.mcx.policy.xr.so
odm/lib64/com.qualcomm.qti.mcx.usecase.extension.so
odm/lib64/com.xiaomi.camdfx.so
odm/lib64/com.xiaomi.camhal.overlap.so
odm/lib64/com.xiaomi.camhal.submodel.camxfrag.so
odm/lib64/com.xiaomi.camhal.submodel.chifrag.so
odm/lib64/com.xiaomi.drivermqs.so
odm/lib64/com.xiaomi.immunesystem.so
odm/lib64/libAF.so
odm/lib64/libAncHumanVideoBokehV4.so;DISABLE_CHECKELF
odm/lib64/libAncHumanVideoBokehV4.so
odm/lib64/libHISCppAlgos.so
odm/lib64/libMiMotion.so
odm/lib64/libMiVideoFilter.so
odm/lib64/libMiPhotoFilter.so
odm/lib64/libTrueSight.so
odm/lib64/libXMFaceFocus.so
odm/lib64/libaidenoiser.so
@@ -881,7 +911,7 @@ vendor/lib64/libmicuttlefish_fs.so
vendor/lib64/libmivsock_utils.so
vendor/lib64/libos.so
vendor/lib64/libquickcamera.so
vendor/lib64/libsnpe_config.so;DISABLE_CHECKELF
vendor/lib64/libsnpe_config.so
vendor/lib64/libsynx.so
vendor/lib64/libthreadutils.so
vendor/lib64/vendor.xiaomi.hardware.aon-V1-ndk.so
@@ -1041,11 +1071,8 @@ odm/lib64/camera/com.qti.tuned.vermeer_aac_gc16b3_front_ii.bin
odm/lib64/camera/com.qti.tuned.vermeer_aac_ov16a1q_front.bin
odm/lib64/camera/com.qti.tuned.vermeer_aac_ovx8000_wide_ii.bin
odm/lib64/camera/com.qti.tuned.vermeer_ofilm_gc02m1_macro.bin
odm/lib64/camera/com.qti.tuned.vermeer_ofilm_gc02m1_macro_light_ii.bin|00b0c97c79528c69616783ea75a7cfb2024241a2
odm/lib64/camera/com.qti.tuned.vermeer_ofilm_imx355_ultra.bin
odm/lib64/camera/com.qti.tuned.vermeer_ofilm_imx355_ultra_light_ii.bin|3ecad4978b6bff03e596c3c68e9aa5d5d69b3e0e
odm/lib64/camera/com.qti.tuned.vermeer_ofilm_ovx8000_wide_i.bin
odm/lib64/camera/com.qti.tuned.vermeer_ofilm_ovx8000_wide_i_light_ii.bin|b5082f05a336240252c0711e9533250a05e3de89
odm/lib64/camera/fdconfigpreview.bin
odm/lib64/camera/fdconfigpreviewlite.bin
odm/lib64/camera/fdconfigsecure.bin
@@ -1053,6 +1080,14 @@ odm/lib64/camera/fdconfigvideo.bin
odm/lib64/camera/fdconfigvideolite.bin
odm/lib64/camera/libchxlogicalcameratable.so
# Camera - Redmi K70 OS3.0.303.0.WNKCNXM
odm/etc/camera/mi_tuning/vermeer_ofilm_gc02m1_macro_light_ii.bin|7b7148798236ebcbc098a68c41e5b4349b36ac87
odm/etc/camera/mi_tuning/vermeer_ofilm_imx355_ultra_light_ii.bin|afcdb9e61661efbb3d79d19322c74bbb6442ab2b
odm/etc/camera/mi_tuning/vermeer_ofilm_ovx8000_wide_i_light_ii.bin|a8eb43601bed1190a744a3d10635fcc8a8cc04f1
odm/lib64/camera/com.qti.tuned.vermeer_ofilm_gc02m1_macro_light_ii.bin|00b0c97c79528c69616783ea75a7cfb2024241a2
odm/lib64/camera/com.qti.tuned.vermeer_ofilm_imx355_ultra_light_ii.bin|3ecad4978b6bff03e596c3c68e9aa5d5d69b3e0e
odm/lib64/camera/com.qti.tuned.vermeer_ofilm_ovx8000_wide_i_light_ii.bin|b982058a91ff749b156de472aa8d198c0b60f6ba
# Camera Firmware
odm/firmware/CAMERA_ICP.b00
odm/firmware/CAMERA_ICP.b01
@@ -1197,6 +1232,7 @@ vendor/etc/sensors/sns_reg_config
# Sensors (CIT)
odm/bin/hw/vendor.xiaomi.sensor.citsensorservice@2.0-service
odm/etc/cit_param_config.json
odm/etc/init/vendor.xiaomi.sensor.citsensorservice@2.0-service.rc
odm/etc/vintf/manifest/vendor.xiaomi.sensor.citsensorservice@2.0-service.xml
odm/lib64/hw/vendor.xiaomi.sensor.citsensorservice@2.0-impl.so