142 Commits

Author SHA1 Message Date
pabloescobar-reborn
bc2b445d01 marble: import audio configs from stock 2026-01-17 16:01:04 +09:00
Michael Bestas
5df4b3afb9 marble: 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-11 03:32:43 +09:00
Fiqri Ardyansyah
546d1c3ef0 marble: sensors: Use unique_ptr for _oem_msg to avoid memory leaks
Change-Id: Ifa44fbf3e6da5bcdfabd10e1a405fb290f641cba
Signed-off-by: Fiqri Ardyansyah <fiqri191002@gmail.com>
2026-01-11 03:11:17 +09:00
beingashwani
9c704d1ea3 marble: call gamebar package 2026-01-11 03:11:17 +09:00
0xCAFEBABE
cd0336994e marble: Update some soong config variables to bool type 2026-01-11 03:11:17 +09:00
165f92aee9 marble: Initialize for Evolution X 11.x+ 2026-01-11 03:11:17 +09:00
Fiqri Ardyansyah
dd4b8ca7e4 marble: rootdir: Disable eSE power manager service in Indian SKU
Change-Id: I6298c9e8ddccffaf4668b6513888fde479d06eaa
Signed-off-by: Fiqri Ardyansyah <fiqri191002@gmail.com>
2026-01-11 03:11:17 +09:00
Alex Yustasov
b1e239ad04 marble: fix auto brightness after screen turn on
After the screen has been off for a long time, when the screen is turned on, auto brightness is very slow to restore from 0.
I sensors-hal: handle_sns_std_sensor_event:65, light_event: ts=763376097432, lux: 0.0, extra_info=0
or when the screen is on
I DisplayPowerController[0]: BrightnessEvent: brt=0.0011033387 (8.0%), nits= 3.1000004, lux=0.0, reason=automatic

adb logcat | grep " lux"

added LightNotifier logic from https://github.com/LineageOS/android_device_xiaomi_sm8450-common/blob/lineage-22.2/sensors/sensor-n
otifier/notifiers/LightNotifier.cpp
2026-01-11 03:11:16 +09:00
Joey Huab
92a0a0c526 marble: Add Props to fix camera OIS 2026-01-11 03:11:16 +09:00
Hridaya Prajapati
9abbd832cb marble: overlay: Configure sfps overlay
- Apparently there are 2 DisplayIds for marble, i.e, CN and other regions.
   config_sfps_sensor_props_0 worked well for CN variants meanwhile the fingerprint
   overlay was giving some problems on another variants.
 - Adding config_sfps_sensor_props_1 with IN variant's DisplayId seemed to solve this problem.

Change-Id: Iae213911cf4c3c2722ed9497a29d34849111a95c
2026-01-11 03:11:16 +09:00
Mike Ma
b1bc188abc marble: overlay: Remove PowerProfile.POWER_NONE
Signed-off-by: kenway214 <kenway214@outlook.com>
Signed-off-by: Fiqri Ardyansyah <fiqri191002@gmail.com>
2026-01-11 03:11:16 +09:00
Subratam6296
dcc12e386e marble: overlay: Add overlay to improve signal reception
Signed-off-by: kssrao13882 <kssrao13882@gmail.com>
2026-01-11 03:11:16 +09:00
Bruno Martins
b346c231be marble: overlay: Enable config_proximityCheckOnFpsUnlock
The device ships with PocketMode app, which effectivelly disables
listening to fingeprints in case the proximity sensor is covered.

Change-Id: If67a0a98c753726ae2eed4d76e073275d7ae74da
2026-01-11 03:11:16 +09:00
AdarshGrewal
749552c49e marble: Include MiuiCamera if exists
Change-Id: Iee675b4924cb2be7ac2d36c7737b06edc9cadfc9
2026-01-11 03:11:16 +09:00
c79bf6cbb4 marble: libinit: Drop fingerprint override 2026-01-11 03:11:16 +09:00
Joey
4b9ab1dcd9 marble: libinit: Drop 16gb dalvik heap config 2026-01-11 03:11:16 +09:00
SebaUbuntu
fc8c693a2e marble: Import libinit from old tree
Co-Authored-By: Ramii Ahmed <ramy@ahmedramy.com>
Co-Authored-By: luk1337 <priv.luk@gmail.com>
Co-Authored-By: Arian <arian.kulmer@web.de>
Co-Authored-By: Mohammed Althaf Thayyil <me@althafvly.com>
Co-Authored-By: YuKongA <70465933+YuKongA@users.noreply.github.com>
2026-01-11 03:11:14 +09:00
Fiqri Ardyansyah
e580941db4 marble: Set sensors logging level to warn
Setting the logging level for sensor to warning is
actually enough for both userbuild and userdebug.

Change-Id: I5c6a5ce215c413466a4d04b4c8fae5392258fc01
Signed-off-by: Fiqri Ardyansyah <fiqri191002@gmail.com>
2026-01-11 03:10:40 +09:00
Fiqri Ardyansyah
703c5e61e8 marble: Kill log spam in logcat from SensorService
--------- beginning of main
09-16 20:02:20.468  1651  2292 W SensorService: sensor 000004f8 already enabled in connection 0xb4000077d6d5f340 (ignoring)
09-16 20:02:20.468  1651  2466 W SensorService: sensor 000004f8 already enabled in connection 0xb4000077d6d5f340 (ignoring)
09-16 20:02:20.468  1651  2374 W SensorService: sensor 000004f8 already enabled in connection 0xb4000077d6d5f340 (ignoring)
09-16 20:02:20.468  1651  2454 W SensorService: sensor 000004f8 already enabled in connection 0xb4000077d6d5f340 (ignoring)
09-16 20:02:20.468  1651  2293 W SensorService: sensor 000004f8 already enabled in connection 0xb4000077d6d5f340 (ignoring)
09-16 20:02:20.469  1651  2466 W SensorService: sensor 000004f8 already enabled in connection 0xb4000077d6d5f340 (ignoring)
09-16 20:02:20.469  1651  2374 W SensorService: sensor 000004f8 already enabled in connection 0xb4000077d6d5f340 (ignoring)
09-16 20:02:20.469  1651  2292 W SensorService: sensor 000004f8 already enabled in connection 0xb4000077d6d5f340 (ignoring)
09-16 20:02:20.469  1651  2454 W SensorService: sensor 000004f8 already enabled in connection 0xb4000077d6d5f340 (ignoring)
09-16 20:02:20.469  1651  2293 W SensorService: sensor 000004f8 already enabled in connection 0xb4000077d6d5f340 (ignoring)
09-16 20:02:20.469  1651  2374 W SensorService: sensor 000004f8 already enabled in connection 0xb4000077d6d5f340 (ignoring)
09-16 20:02:20.469  1651  2466 W SensorService: sensor 000004f8 already enabled in connection 0xb4000077d6d5f340 (ignoring)
09-16 20:02:20.469  1651  2292 W SensorService: sensor 000004f8 already enabled in connection 0xb4000077d6d5f340 (ignoring)
09-16 20:02:20.469  1651  2454 W SensorService: sensor 000004f8 already enabled in connection 0xb4000077d6d5f340 (ignoring)
09-16 20:02:20.469  1651  2293 W SensorService: sensor 000004f8 already enabled in connection 0xb4000077d6d5f340 (ignoring)
09-16 20:02:20.469  1651  2466 W SensorService: sensor 000004f8 already enabled in connection 0xb4000077d6d5f340 (ignoring)
09-16 20:02:20.469  1651  2374 W SensorService: sensor 000004f8 already enabled in connection 0xb4000077d6d5f340 (ignoring)
09-16 20:02:20.469  1651  2292 W SensorService: sensor 000004f8 already enabled in connection 0xb4000077d6d5f340 (ignoring)
09-16 20:02:20.469  1651  2454 W SensorService: sensor 000004f8 already enabled in connection 0xb4000077d6d5f340 (ignoring)
09-16 20:02:20.469  1651  2293 W SensorService: sensor 000004f8 already enabled in connection 0xb4000077d6d5f340 (ignoring)
09-16 20:02:20.469  1651  2466 W SensorService: sensor 000004f8 already enabled in connection 0xb4000077d6d5f340 (ignoring)
09-16 20:02:20.469  1651  2374 W SensorService: sensor 000004f8 already enabled in connection 0xb4000077d6d5f340 (ignoring)
09-16 20:02:20.469  1651  2292 W SensorService: sensor 000004f8 already enabled in connection 0xb4000077d6d5f340 (ignoring)
09-16 20:02:20.469  1651  2454 W SensorService: sensor 000004f8 already enabled in connection 0xb4000077d6d5f340 (ignoring)
09-16 20:02:20.469  1651  2293 W SensorService: sensor 000004f8 already enabled in connection 0xb4000077d6d5f340 (ignoring)
09-16 20:02:20.469  1651  2466 W SensorService: sensor 000004f8 already enabled in connection 0xb4000077d6d5f340 (ignoring)
09-16 20:02:20.469  1651  2374 W SensorService: sensor 000004f8 already enabled in connection 0xb4000077d6d5f340 (ignoring)
09-16 20:02:20.469  1651  2292 W SensorService: sensor 000004f8 already enabled in connection 0xb4000077d6d5f340 (ignoring)
...

Signed-off-by: Fiqri Ardyansyah <fiqri191002@gmail.com>
2026-01-11 03:10:40 +09:00
Adithya R
b1fcf9c943 marble: Silence some spammy logging
HWC and cit sensor logspam is so intense it bumps up logd's idle CPU
usage up to over 3%. With this change, logs are much cleaner and logd
idle CPU usage is reduced to under 1%, while still allowing error logs
to pass through.
- Do this only in user/debug builds (except eng).
- Add wifi and cnss too while we're at it, they can get noisy at times.
2026-01-11 03:10:40 +09:00
Adithya R
2f984cf52b marble: Optimize statusbar paddings 2026-01-11 03:10:40 +09:00
chaitanya
29b13601b0 marble: fix black glowing at DCI-P3 and others
taken configs from OS1.0.2.0.UMRCNXM, fixed all PostBlendIGC and PostBlendGC blobs to eliminate black glowing in all display modes.
2026-01-11 03:10:40 +09:00
Joey Huab
ce1beddd70 Revert "marble: Drop prebuilt libdisplayconfig.qti"
This reverts commit 563271d199.
2026-01-11 03:10:40 +09:00
Joey Huab
f9e97d407a Revert "marble: Drop unused xiaomi mdss display config"
This reverts commit 70a535664a.
2026-01-11 03:10:40 +09:00
Joey Huab
69d52872d2 Revert "marble: Add dependency on sm8450-common"
This reverts commit 92d497c406.
2026-01-11 03:10:36 +09:00
Arian
ba6f99d342 marble: Update blobs and firmware from OS2.0.216.0.VMRMIXM
Change-Id: I5a1630a317eab2ced8cd22457a8d59fecd90241f
2026-01-07 18:04:56 +01:00
Arian
d0a557eb36 marble: Update blobs and firmware from OS2.0.211.0.VMRMIXM
Change-Id: Ia6e3e99f49901e26d586189cd3d79a836d13e690
2025-12-02 11:01:48 +01:00
Arian
a1256c6893 marble: Update blobs and firmware from OS2.0.210.0.VMRMIXM
Change-Id: I7e5fa201dff300094123a080aa5b13ebdff54ee7
2025-11-10 14:58:40 +00:00
danielml
1980ae8e6c marble: Override doze mode support
Change-Id: Ibdc4080dc66b5667993307f4c8ff6f83dc751e85
2025-11-10 13:19:00 +00:00
Arian
0b2efa7e71 Revert "marble: overlay: Allow switching between 60Hz and 120Hz"
This is already applied to sm8450-common
This reverts commit 8c6fdb8377.

Change-Id: Id85d1417fc3d3f15db51ee9fde40a9feaf39b533
2025-10-28 16:53:04 +01:00
Arian
c0d95a2efa marble: Update blobs and firmware from OS2.0.209.0.VMRMIXM
Change-Id: I23a6d98c4de375afb4ac9db49280032a7e203c27
2025-10-24 18:25:02 +02:00
Arian
81d15f2766 marble: Decommonize vendor security patch level
This should be the minimum of all vendor components, including firmware
and device specific blobs. We can assume the sm8450-common blobs to be
the latest available for any device using this tree. Thus, setting this
from the device specific trees according to the stock rom correctly
sets the patch to the minimum of the vendor blobs.

Change-Id: I873011e3abdac42d89120b8b2ef5b77f61f6a15b
2025-10-24 16:36:53 +02:00
Arian
26084bb24e marble: audio: Enable get_module_version for hotword sound model config
This fixes microphone while google voice match is enabled

Change-Id: I11858bca5d44884188f33a7462b6d236aef0b482
2025-09-27 13:28:43 +02:00
Arian
5887a5c9be marble: Update blobs and firmware from OS2.0.205.0.VMRMIXM
Change-Id: I62d963ff1c84c2c1feb7456664894f23447d0f0e
2025-08-27 17:01:40 +02:00
Michael Bestas
a096a2fa58 marble: ELF checks are enabled by default
Change-Id: I5740f4c8d359831b4cb794912c5d650f55c33f17
2025-08-12 16:26:37 +02:00
Arian
ae58a1e646 marble: Add missing camera blobs
This fixes grainy images when using night mode in MiuiCamera.

E vendor.qti.camera.provider@2.7-service_64: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:1496: Error 0x80000406: remote_handle64_open failed for file:///libQnnHtpV69Skel.so?qnn_skel_handle_invoke&_modver=1.0&_dom=cdsp (errno Success)

Change-Id: I85822c4b46655c04969d2cd1fe33e99750343f74
2025-07-07 09:58:08 +00:00
Arian
cba6e35639 marble: Commonize initial stereo master volume
It seems like this is also needed on devices with cirrus speakers.

Revert "mondrian: Increase initial stereo master volume"

This reverts commit 6daf034d8857b696bd5bd21c56d2dcc3876602e7.

Change-Id: I7e004257b372e721ee1af608fd25cfc7e539e159
2025-07-06 12:36:16 +02:00
Arian
30f51c3a48 marble: Update blobs and firmware from OS2.0.5.0.VMRMIXM
Change-Id: Ia191407d48cb95ab1ff6c7d87bfa44f1a86e1943
2025-06-17 12:16:03 +02:00
Arian
fa7aac9e9d marble: audio: Configure stereo microphone for landscape camcorder
Change-Id: I59b9eede84540adb3eba5e8251dd21c5266d0662
2025-05-24 17:44:15 +02:00
Arian
f3f393920a marble: Update blobs and firmware from OS2.0.4.0.VMRMIXM
Change-Id: Idd64ef683ac488e810aee731a917f9634278b416
2025-05-24 12:30:34 +02:00
Arian
520c130f84 marble: Commonize adreno gmu and sqe firmware
These firmware files are signed by qualcomm and not device
specific. The zap shader firmware is signed differently per
device, thus is not being commonized.

Change-Id: I205df73b58d6cc046ebc82908c33c65835ccf0bc
2025-05-24 11:37:23 +02:00
Arian
92d497c406 marble: Add dependency on sm8450-common
Change-Id: I29e2b39e6c5684449f5410b7ec38a29df91d820a
2025-05-20 01:15:39 +02:00
Arian
8fbc0ab073 marble: Fix wrong format specifier in libgf_hal.so
The format string includes two %s but only one parameter
was provided. Since Android 15 QPR2 this results in a
segfault in liblog.

F libc    : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x44dc in tid 4546 (android.hardwar), pid 4515 (android.hardwar)

Change-Id: I60f8c4a088ae60e2c92f070135a49e2910a366c7
2025-05-18 17:59:00 +02:00
Arian
5461104366 marble: Migrate sensor-notifer config to soong_config_set
Change-Id: I75975e686a3418cddb2b2a2483afbb74d157bc0e
2025-05-18 17:59:00 +02:00
Adithya R
e44dab4ed7 marble: Update display ids after display-drivers change
Recent kernel change in the display driver [1] caused a change in
display hardware port id which resulted in a change in display id.

[1]: 0a3ce41964

Change-Id: I58d3cb151ce3683643c6094758bee0a66bfa8cd5
2025-05-18 17:59:00 +02:00
Arian
302e57ae8c marble: Move displayconfig to vendor
Change-Id: I3502115424d71dfc0e084ead33c6ebdcbda3fd65
2025-05-18 17:59:00 +02:00
Arian
70a535664a marble: Drop unused xiaomi mdss display config
Change-Id: I2e203ccb65533a7e75b34014235d51f3a5ddc689
2025-05-18 17:59:00 +02:00
Arian
563271d199 marble: Drop prebuilt libdisplayconfig.qti
This is built from source

Change-Id: Ie256b012c323cd33cfc628c742bb941f9c6b1774
2025-05-18 17:59:00 +02:00
Arian
1fcc45f8dd marble: Update blobs and firmware from OS2.0.1.0.VMRMIXM
Change-Id: If3e6cbbdbef59cae99a3093c82e7dc08f288fd04
2025-05-18 17:59:00 +02:00
dianlujitao
fc15cd57af marble: Add aw_cali.bin firmware symlink
Change-Id: Iefc4440f7ea1c45facf52a71cc92c9613e8875fc
2025-05-18 17:59:00 +02:00