1523 Commits

Author SHA1 Message Date
d85714642e raphael: Fix neverallows 2026-01-14 23:03:31 +09:00
0xCAFEBABE
8dd5a00d49 raphael: Update some soong config variables to bool type 2026-01-14 22:35:12 +09:00
cfc07f08aa Revert "raphael: Allow to access bootable/deprecated-ota targets"
This reverts commit f0e395a0c8.
2026-01-14 22:17:33 +09:00
Michael Bestas
1717220379 raphael: 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
2026-01-14 19:34:29 +09:00
ozturkmutlu65
5dc858be80 raphael: Add com.android.bluetooth context to seapp_contexts 2026-01-14 19:34:29 +09:00
be9e132d08 raphael: Switch miuicamera repo to gitea 2026-01-14 19:34:29 +09:00
034ac1079d [TMP] raphael: disable encryption
Let's disable it for now while we find what the root cause is.

Signed-off-by: nhansp <nhan.094.vn@gmail.com>
2026-01-14 16:49:04 +09:00
LuK1337
9125b266de raphael: 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-31 11:09:23 +09:00
bfadd7d266 raphael: Switch to SwitchPreferenceCompat 2025-12-31 11:08:48 +09:00
LuK1337
669eb46866 raphael: Remove vendor/lineage device framework matrix inclusion
See: I78da6340f38b93fdc4c3694cb8f431f387d16c0d
Change-Id: I0b9f527de50ca02082be9b92375559f4893b2688
2025-12-12 17:21:45 +09:00
2c07ac12c0 raphael: libinit: Drop fingerprint override 2025-11-09 17:24:23 +09:00
LuK1337
a25679d72a raphael: tfa98xx: Use hw_module_t->dso instead of RTLD_NEXT
W audio_amplifier: amp_module_open: enable_snd_device not found (undefined symbol: enable_snd_device)
E audio_hw_primary: Amplifier initialization failed

Change-Id: If313889c4749c589d0682982f1d804e4069ffff9
2025-11-09 17:24:23 +09:00
Michael Bestas
bd0b1b7941 raphael: Convert amplifier to blueprint
dlopen audio.primary instead of linking against it to avoid soong
namespace hell.

Change-Id: Ic9d420864cb5a6f1018210a84f0f3e6636550caa
2025-11-09 17:24:23 +09:00
basamaryan
980d7febe9 raphael: tfa98xx: Run clang-format
Change-Id: I53a26cfefb8f90187ebd8084ddf416b5d886bf9d
2025-11-09 17:24:23 +09:00
LuK1337
e34ff0e2a7 raphael: Adjust override prop key names
Change-Id: I436bbf425023dbe54cf3e2c35f50a5575511bc38
2025-11-09 17:24:23 +09:00
RealJohnGalt
0010c27c4a raphael: revert decrease debug.hwui.target_cpu_time_percent
There was an incorrect understanding of this prop, it is percentage of
frame time which is cpu work.
2025-11-09 17:24:23 +09:00
RealJohnGalt
c4f971ec87 raphael: set surface flinger min uclamp to ~30% 2025-11-09 17:24:23 +09:00
GuidixX
f93a5d52e1 raphael: props: Enable support for kernel idle timer
- Kernel idle time enabled, as it supports better power management
2025-11-09 17:24:23 +09:00
kondors1995
6e5f817739 raphael: Remove livedisplay 2025-11-09 17:24:23 +09:00
kondors1995
1d735d0872 raphael: cleanup config_defaultPinnerServiceFiles 2025-11-09 17:24:23 +09:00
Edgar Arriaga
b801a6b8b2 raphael: overlay: Add webview pinning
Bug: 307594624
Change-Id: Ia87d5a5ac22382342f56dd655a9e17639cdb54bc
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2025-11-09 17:24:23 +09:00
Dyneteve
894d30bbef raphael: Configure default light sensor type
Fixes adaptive brightness after r35 merge
2025-11-09 17:24:23 +09:00
LuK1337
41a872811c raphael: Update WFD vendor blobs from sweet_k6a OS1.0.19.0.THGMIX 2025-11-09 17:24:23 +09:00
basamaryan
edc447fd7b raphael: Update WFD system blobs from dada OS2.0.217.0.WOCMIXM 2025-11-09 17:24:23 +09:00
justinweng
395a63520d raphael: audio: extend buffer size to 256kb for offload playback
Extend buffer size for offload playback to reduce the frequency of CPU
wake up.
It makes ADSP to process more data one time and reduce the number of
times to wake up CPU.

Bug: 137973303
Test: MP3 playback

Change-Id: Ib0b2a8827647ed780bb20bd9dfa2a383153eb282
Signed-off-by: justinweng <justinweng@google.com>
2025-11-09 17:24:23 +09:00
Joey Huab
8befda51e0 Revert "raphael: unset BUILD_BROKEN_ENFORCE_SYSPROP_OWNER"
This reverts commit 69eaebfbb3.
2025-11-09 17:24:23 +09:00
Joey Huab
73f2acf17f Revert "raphael: Drop XiaomiDolby"
This reverts commit f76007e331fb6bfe0596c7d867f833a7a441e6b2.
2025-11-09 17:24:23 +09:00
Joey Huab
b64a3e951e Revert "raphael: Drop Mi Camera"
This reverts commit c04df8b7b0507e7eac4639612d531e63c037255f.
2025-11-09 17:24:23 +09:00
kondors1995
6f7260280c raphael: cleanup FM setup 2025-11-09 17:24:23 +09:00
dereference23
95d22e6bf2 raphael: tfa98xx: Fix PCM device check
It should've been && instead of ||, but pcm_open() always
returns a valid pointer, so we just drop the NULL check.

Change-Id: Ibf1d0b34b02ca5910cd4c1bee4d55a04205e2203
2025-11-09 17:24:23 +09:00
Bruno Rocha
272c106d68 raphael: Disable AUDIO_FEATURE_ENABLED_KPI_OPTIMIZE
log error:
E/audio_hw_extn(704): audio_extn_perf_lock_acquire: Failed to acquire perf lock, err: -1
E/audio_hw_extn(704): audio_extn_perf_lock_release: Perf lock release error
2025-11-09 17:24:23 +09:00
Tommaso Fonda
773fac066d raphael: tfa98xx: Add amplifier usecase to head of usecase list
When a call is received, if the ringtone is played through the speaker,
the audio HAL will freeze and restart when the call is answered,
leading to a few seconds of silence at the beginning of the call. This
happens because of a NULL pointer dereference, which is in turn caused
by a UAF in the check_usecases_codec_backend() function, in the audio
HAL.

The UAF occurs because the amplifier HAL appends its usecase at the
wrong end of the usecases list - tail instead of head. When the second
list_for_each() loop in the aforementioned function iterates through
the list, it first finds the regular low-latency-playback usecase,
and calls disable_snd_device() for the speaker output device. This
causes the amplifier HAL to execute aw882xx_stop_feedback(), which
frees its usecase in the list, but the internal pointer of the
list_for_each() macro already points to it, thus the following
iteration effectively operates on a free'd object.

To fix this issue, have the amplifier HAL append its usecase to the
head of the list: this way, it will be iterated on before the
low-latency-playback usecase, i.e. before it gets free'd.

Change-Id: Ia8dcb11b3ed320836a6602798ff5c390e7afa9d2
2025-11-09 17:24:23 +09:00
kondors1995
5781ef8115 raphael: Import audio amplifier from davinci
HEAD 2a10f6bc3d
2025-11-09 17:24:23 +09:00
kondors1995
8c42dfd953 raphael: Build audio stack from source
This is based of Davinci/sm6150 setup
Props are checked against stock

vendor.audio.feature.ext_hw_plugin.enable is kept disabled due to
crashes we saw in logs
2025-11-09 17:24:23 +09:00
ArianK16a
af403b5823 raphael: audio: Increase headphones echo reference channels 2025-11-09 17:24:23 +09:00
ArianK16a
9704538881 raphael: audio: Fix handset echo reference paths
* Xiaomi is using the earpiece echo reference paths in their HAL,
  while CAF uses handset paths.

* Rename the earpiece mixer paths to handset mixer paths in order
  to apply the correct echo reference for the CAF hal.

Change-Id: Id917fb33f49009e8145c58638e9fa6d05670473e
2025-11-09 17:24:23 +09:00
ArianK16a
7dcbdaa73a raphael: audio: Adjust echo reference speaker path names for caf audio HAL
* Xiaomi's audio HAL uses the "echo-reference-voip speaker" path during voip
  calls in speaker mode, while the CAF hal uses the "echo-reference-voip" path.

* That led to an echo in voip speaker calls since xiaomi appends speaker
  to the path name and hence the echo reference wasn't set up properly, because
  xiaomi did not apply their echo-reference edits to the default path.

* To fix this we can apply xiaomi's "echo-reference speaker" and
  "echo-reference-voip speaker" as "echo-reference" and "echo-reference-voip".

* Remove the "echo-reference speaker" and "echo-reference-voip speaker" paths
  because they are the same as "echo-reference" and "echo-reference-voip" and
  even if the HAL will support speaker paths one day, it would not be needed for
  us since we don't need to differ between speaker and no suffix.

Change-Id: I9c2d42db6870c7f3579f5d96756a8bd4063022c8
2025-11-09 17:24:23 +09:00
kondors1995
413af0bee7 raphael: audio: remove miui specifc changes 2025-11-09 17:24:23 +09:00
kondors1995
052f879ef6 raphael: audio: Merge static mixer_paths overlay into mixer_paths_tavil.xml 2025-11-09 17:24:23 +09:00
Joey Huab
19821df6ee raphael: sepolicy: Drop duplicate genfs entry 2025-11-09 17:24:23 +09:00
Sebastiano Barezzi
e44b3a9c8a raphael: Move to sort-blobs-list shortcut
Change-Id: I6f2fe5ed88f6fd3f9a344720ee5e967e2ff71469
2025-11-09 17:24:23 +09:00
Subhajeet Muhuri
8680d4be01 raphael: Silence Codec2 spammy logs
I QC2Buf  : Buffer 0xf3041d10 imported as 0xf3042690
W QC2V4l2Codec: [avcD_13] unknown/unsupported param Output::HdrStaticMetadata index = 0xD200180A

Change-Id: I5de137760aa0ffb5cb52a12ae074c2862de24a40
2025-11-09 17:24:23 +09:00
kondors1995
5f5100a913 raphael: update DPM, IMS, Radio system blobs from LA.QSSI.15.0.r1-14500-qssi.0 2025-11-09 17:24:23 +09:00
kondors1995
fefeb46771 raphael: update fm blobs from LA.QSSI.15.0.r1-14500-qssi.0 2025-11-09 17:24:23 +09:00
kondors1995
ebd8579556 raphael: update alarm blobs from alarm component 2025-11-09 17:24:23 +09:00
Vincent Wang
1f078645f2 raphael: rro_overlays: Enable fp screen off unlock feature
Edit: Turn on by default

Bug: 389002332
Flag: android.hardware.biometrics.screen_off_unlock_udfps
Test: 1. FP screen off unlock should be included in settings
      2. FP screen off unlock should be enabled by default
Change-Id: I65eda6ae6f69ff4e6a3191d91fb8be42797c7fcb
Signed-off-by: ralph950412 <ralph950412@gmail.com>
2025-11-09 17:24:23 +09:00
Joey Huab
c88cc1999c Revert "raphael: Switch to NCM USB tethering"
This reverts commit 0f68b4ad3f.
2025-11-09 17:24:23 +09:00
Joey Huab
46d07feae0 raphael: Add missing hidls to FCM 2025-11-09 17:24:23 +09:00
Joey Huab
5009a88468 raphael: Drop Mi Camera 2025-11-09 17:24:23 +09:00
kondors1995
8f2a63026f raphael: Enable remaining elf checks & patch lib-imsvideocodec 2025-11-09 17:24:23 +09:00