961 Commits

Author SHA1 Message Date
LuK1337
e7ca02a2b3 sm8250-common: Mirgrate to lineagehealth IFastCharge 2025-12-28 20:09:06 +00:00
laleeroy
cbec4bee4b sm8250-common: Build vendor.display.config@1.9
getTransport: Cannot find entry vendor.display.config@1.9::IDisplayConfig/default in either framework or device VINTF manifest.

[ERROR][FORMAT ] camxdisplayconfig.cpp:124 Initialize() IDisplayConfig service is NULL, version 1.9
2025-12-28 20:09:06 +00:00
hungphan2001
d25fb30642 sm8250-common: Declare android.hardware.media.omx
hwservicemanager: getTransport: Cannot find entry android.hardware.media.omx@1.0::IOmx/default in either framework or device VINTF manifest
2025-12-28 20:09:06 +00:00
adithya2306
47684a50c8 sm8250-common: overlay: Define OEM fast charge sysfs node
* required for oem fast charger detection
* this forces android to display 'charging rapidly' whenever our proprietary 33w charger is connected, based on the value of this node (0/1)
2025-12-28 20:09:06 +00:00
Karan-Frost
3489a00e51 sm8250-common: vintf: Uprev vendor.qti.hardware.bluetooth_audio to 2.1
* I hwservicemanager: getTransport: Cannot find entry vendor.qti.hardware.bluetooth_audio@2.1::IBluetoothAudioProvidersFactory/default in either framework or device VINTF manifest.
* E HidlServiceManagement: Service vendor.qti.hardware.bluetooth_audio@2.1::IBluetoothAudioProvidersFactory/default must be in VINTF manifest in order to register/get.
* E LegacySupport: Could not register service vendor.qti.hardware.bluetooth_audio@2.1::IBluetoothAudioProvidersFactory/default (-2147483648).
* E btaudio_offload_qti_2_1: bt_audio_pre_init_qti: HIDL IBluetoothAudioProvidersFactory 2.1 registration failed
2025-12-28 20:09:06 +00:00
CitlaliItztli
89c1bbcb9f sm8250-common: Disable NL80211_REG_CHANGED event
* This is caused crash Wificond service as per logcat said wificond: Failed to get NL80211_ATTR_MAX_NUM_AKM_SUITES
2025-12-28 20:09:06 +00:00
aa122aa50f sm8250-common: Drop lmi camera sounds 2025-12-28 20:09:06 +00:00
e2cc9e8333 sm8250-common: Add missing fingerprint object 2025-12-28 20:09:06 +00:00
Kyle Hsiao
e7f83cf7f4 sm8250-common: overlay: Enable secure NFC support 2025-12-28 20:09:06 +00:00
unmoved21
1d44230fa3 sm8250-common: Enhance LE Audio and voice codec configurations
Update Bluetooth configurations to improve audio quality and device compatibility:
- Enable aptX Voice codec for HFP for superior call quality
- Add support for dual bidirectional Super Wideband in LE Audio
- Enable SIM phonebook access via PBAP for connected devices
- Disable SAP server for improved security
- Configure LE Audio behavior for better performance:
  * Disable multiple audio contexts to prevent conflicts
  * Enable bypass_allow_list for wider device compatibility
  * Enable idle notifications during calls for better audio management
  * Enable LE Audio offload for improved battery efficiency

These changes enhance the overall Bluetooth audio experience with better
codec support and optimized LE Audio configurations.
2025-12-28 20:09:06 +00:00
johnmart19
002007ba38 sm8250-common: Update PinnerService for EvolutionX
EvolutionX is using SystemUIGoogle.apk and odex files respectfully

E PinnerService: Failed to pin file = /system_ext/priv-app/SystemUI/SystemUI.apk
E PinnerService: Failed to pin file = /system_ext/priv-app/SystemUI/oat/arm64/SystemUI.odex
2025-12-28 20:09:06 +00:00
dkpost3
95b8303cc7 sm8250-common: fixing connecting BLE (bt 5.x) devices (smart watches, etc.) 2025-12-28 20:09:06 +00:00
johnmart19
d2c7f4a91f sm8250-common: Import Dolby Props 2025-12-28 20:09:06 +00:00
Pranav Vashi
9239a5ff42 sm8250-common: dolby: Add profiles overlay for moto dolby
Change-Id: Ided92625cb73f530656e86929b3ba70fea1e940d
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: firebird11 <hbgassel@gmail.com>
2025-12-28 20:09:06 +00:00
Pranav Vashi
a9aa5a0cd1 sm8250-common: dolby: Update dax-default from moto
Change-Id: I430adc74c64093bf3c1439e66607567cb6444b80
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: firebird11 <hbgassel@gmail.com>
2025-12-28 20:09:06 +00:00
Pranav Vashi
1c1fa0c3b4 sm8250-common: dolby: libstagefright_foundation-v33 moved to lineage compat
Change-Id: Ib1fd8644e6c2567c89d67967f31c62582cc006ef
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: firebird11 <hbgassel@gmail.com>
2025-12-28 20:09:06 +00:00
dogpoopy
15470684f6 sm8250-common: dolby: Switch dolby soundfx to libswdap
* libhwdap.so doesn't work with devices that doesn't have dolby hardware support
* libswdap.so from https://github.com/reiryuki/Dolby-Atmos-Moto-G52-Magisk-Module.git

[@neobuddy89: Pin libswdap.so from above module]
Change-Id: Icb22599d2d439a837b537b59330f30e558869532
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: firebird11 <hbgassel@gmail.com>
2025-12-28 20:09:06 +00:00
Pranav Vashi
6d9f2c9154 sm8250-common: dolby: Add dolby to audio effects
Change-Id: Ie4865489f79b617f2568fc29b382c56bb0cd6f11
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: firebird11 <hbgassel@gmail.com>
2025-12-28 20:09:06 +00:00
Pranav Vashi
37ee43e6d5 sm8250-common: dolby: Apply NLSound 4.0 optimization for dolby
Change-Id: I221799b79f80933cc8302418f1290893722a5368
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: firebird11 <hbgassel@gmail.com>
2025-12-28 20:09:06 +00:00
basamaryan
44e887777d sm8250-common: dolby: Forcefully disable volume leveler
sed -i "/volume-leveler-enable/ s/true/false/g" configs/audio/dax-default.xml

Change-Id: I7ceb29291a9e55036d57975f5a28a149c7fcb435
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: firebird11 <hbgassel@gmail.com>
2025-12-28 20:09:06 +00:00
Fabian Leutenegger
8019f39186 sm8250-common: dolby: Link Dolby Atmos dependencies against v33 libstagefright_foundation
* fixes crashes and absurdly high CPU usage while using dolby

Co-authored-by: Woomymy <woomy@woomy.be>
Change-Id: Ib72b775dae677f3085d0b0e2afcbb709d8690063
Signed-off-by: basamaryan <basam.aryan@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: firebird11 <hbgassel@gmail.com>
2025-12-28 20:09:06 +00:00
basamaryan
cd60f54978 sm8250-common: dolby: Build XiaomiDolby
Change-Id: I31ff2c27a479423951c8a645bf1cd65dc6ad6f81
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: firebird11 <hbgassel@gmail.com>
2025-12-28 20:09:06 +00:00
madmax7896
c124c46c1b sm8250-common: dolby: Import Dolby audio blobs and sepolicy
Squashed with:
commit b1baf8e4109edf71727c39bff18077110174dff2
Author: Yuan Si <do4suki@gmail.com>
Date:   Sat Sep 16 06:35:46 2023 +0800

    sweet: sepolicy: Address more Dolby audio denials

    09-16 06:33:17.209   613   613 E SELinux : avc:  denied  { find } for interface=vendor.dolby.hardware.dms::IDms sid=u:r:mediacodec:s0 pid=1262 scontext=u:r:mediacodec:s0 tcontext=u:object_r:hal_dms_hwservice:s0 tclass=hwservice_manager permissive=0
    09-16 06:33:17.209  1262  8489 E DecDynamicConfig: connectService : Connect to Dolby Native Service failed
    09-16 06:33:17.209  1262  8489 E DecDynamicConfig: checkShareConfig: Dolby service is NULL

    Change-Id: Ideb557073b53e7b31f6535d6053933104b455ae7
    Signed-off-by: Yuan Si <do4suki@gmail.com>

commit e83b80995343c56382e43bf0656ee1e2b79ee067
Author: YuKongA <70465933+YuKongA@users.noreply.github.com>
Date:   Thu Oct 12 00:02:27 2023 +0800

    sweet: sepolicy: Address mediacodec denials

    Partially taken from ec0e9c641f and extended to hal_dms_server

    Change-Id: I51cfbbb2f8b9d83e74ef2f44196e8393189ca3dc
    Signed-off-by: basamaryan <basam.aryan@gmail.com>

commit 0a7aab81667f137c57fa95c4661fa7e43e0e2c1c
Author: Pranav Vashi <neobuddy89@gmail.com>
Date:   Fri Aug 2 20:27:52 2024 +0530

    sweet: Move dax-default to device tree

    Change-Id: Id2054bb5e61bcfe58706e32f44d37fe7524aa912
    Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>

Change-Id: I2d466238525d074269377a82627a816527aefd74
Signed-off-by: Mesquita <mesquita@aospa.co>
Signed-off-by: basamaryan <basam.aryan@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: firebird11 <hbgassel@gmail.com>
2025-12-28 20:09:06 +00:00
keosh1
6f0529c18e sm8250-common: audio: Build DSPVolumeSynchronizer 2025-12-28 20:09:06 +00:00
Rik
05c854497d sm8250-common: init: Remove cache on boot 2025-12-28 20:09:06 +00:00
onettboots
ce94ca5a9c sm8250-common: kernel: Update flags for clang 20+
clang: error: version 'kernel' in target triple 'arm-unknown-linux-androidkernel' is invalid
2025-12-28 20:09:06 +00:00
Arian
2b359078cb sm8250-common: overlay: Update vibration patterns 2025-12-28 20:09:06 +00:00
MB
30966fa2d7 sm8250-common: Improve haptic and vibe patterns 2025-12-28 20:09:06 +00:00
johnmart19
d425c5b95d sm8250-common: Import MiSound Audio Effect 2025-12-28 20:09:06 +00:00
c83c43b966 sm8250-common: Add target specific kernel configuration
- This only works when your device specific kernel config is equal to your device codename and located in vendor/xiaomi
- When you use this you could drop 'TARGET_KERNEL_CONFIG' from your device specific tree
2025-12-28 20:09:06 +00:00
chrisl7
dd08053a44 sm8250-common: sepolicy: Allow vendor_init to set fingerprint_prop
Change-Id: I62c4a9e32b41d023da153b7844077761a6e0e7f0
2025-12-28 20:09:06 +00:00
ChaptSand
16036da78d sm8250-common: sepolicy: Access to touchpanel nodes
Change-Id: Ic28077a356d360f8d64aed8f67299ed1c309d248
2025-12-28 20:09:06 +00:00
ivecera
13d8dd8b65 sm8250-common: sensors: Build UDFPS sensors sub-HAL
* Build and ship UDFPS sensor sub-HAL for devices with UDFPS
* Allow sensors HAL access /sys/touchpanel directory

Change-Id: I440350e0d4d4296cbc77e68e8f87cc727b08528b
2025-12-28 20:09:06 +00:00
37ee36caba sm8250-common: set TARGET_SURFACEFLINGER_UDFPS_LIB to soong_config
* vendor/lineage/config/BoardConfigSoong.mk:84: warning: TARGET_SURFACEFLINGER_UDFPS_LIB is deprecated, please migrate to soong_config_set,surfaceflinger,udfps_lib
2025-12-28 20:09:06 +00:00
LuK1337
d0b11e1354 sm8250-common: Opt out of speaker_layout_channel_mask field
Required for ABI compatibility with audio HAL compiled before 15 QPR2.

Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/9426
Change-Id: Ic910f0634ee0707c21dad77f5264fd89fb33f1c0
2025-12-28 20:09:06 +00:00
khalvat-M
215354b7ab sm8250-common: sepolicy: Resolve rild denials
Change-Id: I8bcba4202f3a5dc36b037056c4609dd743d087bc
2025-12-28 20:09:06 +00:00
basamaryan
7444d9faad sm8250-common: Override kernel BPF version
Change-Id: I3c581f3120b6258b3b45020c5ba12f6bf5b0ee27
2025-12-28 20:09:00 +00:00
LuK1337
7ac42af8b2 sm8250-common: Remove vendor/lineage device framework matrix inclusion
See: I78da6340f38b93fdc4c3694cb8f431f387d16c0d
Change-Id: I0b9f527de50ca02082be9b92375559f4893b2688
2025-12-28 17:23:20 +00:00
Sebastiano Barezzi
90bf9a78f9 sm8250-common: Convert overlays to RRO
Change-Id: Id0226559b81e115a6340591e7a107d25d7ad6848
2025-11-17 11:04:33 +00:00
basamaryan
a3c330b422 sm8250-common: Update WFD system blobs from dada OS2.0.217.0.WOCMIXM
Change-Id: I95dfb07cae97f3c8716a7cb6d87a7081de986748
2025-11-17 10:58:07 +00:00
Bruno Martins
a1064afd5b sm8250-common: Set vendor init lib via soong config
Change-Id: I8f7e6b987bee58dbf09ca9ad7cfd5a7e99e19c3b
2025-10-30 23:17:09 +01:00
Sebastiano Barezzi
04c17fe6d8 sm8250-common: libinit: Introduce libvariant and related Soong select
Change-Id: I1aa99abc47d483cba2a0552e497667212919358c
2025-10-30 23:17:09 +01:00
Sebastiano Barezzi
54fa815b6a sm8250-common: libinit: Use early return
Change-Id: I860c3ec6eb736381021e545e5a73ac232eb0c8cc
2025-10-30 23:17:09 +01:00
Sebastiano Barezzi
2b5c24b540 sm8250-common: libinit: Move to local header path
We'll stop exporting the headers with the refactor

Change-Id: I66174d5f732f8d04e4a5d10fa2b54563bd5aeeb2
2025-10-30 23:17:09 +01:00
Sebastiano Barezzi
da9315c196 sm8250-common: libinit: Fix const and static usages
Change-Id: I39738685bca884a5c9303d877b699d0beab9eacc
2025-10-30 23:17:09 +01:00
Sebastiano Barezzi
1c3aecb6a8 sm8250-common: libinit: Add brackets
Change-Id: I1d70aeaf0972726d832c144f729067f96b2cb0c6
2025-10-30 23:17:09 +01:00
Sebastiano Barezzi
f4c506422d sm8250-common: libinit: Stop copying objects around functions
Change-Id: Ic226030f4dac212d3ed545e6b3cc41e8a53e29f7
2025-10-30 23:17:09 +01:00
Sebastiano Barezzi
2611da5420 sm8250-common: libinit: Move dalvik_heap_info outside the header
Change-Id: I6dea4a5e669a211c9fbf44d0ca3dc0c530bbdd6f
2025-10-30 23:16:31 +01:00
Sebastiano Barezzi
8b16c84186 sm8250-common: libinit: typedef is not needed with C++
Change-Id: Ie412cb5483b065b2d470d0d5dbb4c81c1aec1aa0
2025-10-30 23:16:31 +01:00
Sebastiano Barezzi
20322d050a sm8250-common: libinit: Fix headers inclusion order
Change-Id: Iabae5a63577cf462e171dee5eac796c345962801
2025-10-30 23:16:31 +01:00