Commit graph

673 commits

Author SHA1 Message Date
GustavoCaruzoGoncalves
c472765090 added hals missing on device_framework_matrix 2024-10-14 04:15:30 +00:00
Anand S
666a873a89
sm6375-common: Drop custom media volume steps
* Let's use default 15 steps.

Change-Id: I2e05167a73e251ac4c924baa938be5a4e4181610
2024-10-11 23:14:56 +05:30
Michael Bestas
8c41055ee2
sm6375-common: extract-files improvements
Change-Id: I517698ca3b5a93e10a5b167417631c7f8d0ab9e2
2024-10-01 14:31:59 +05:30
Michael Bestas
b40e04a211
sm6375-common: Sync extract scripts with templates
Change-Id: I98a36854c5a0c0390592911bb2558b34eff77efc
2024-10-01 14:31:00 +05:30
Zinadin Zidan
e64c76f82a
sm6375-common: prop: Set false to voice.path.for.pcm.voip calls
* It fixes voip calls mic sound delays while compr_voip enabled.

Signed-off-by: Zinadin Zidan <zidan.roking@gmail.com>
Change-Id: I686a3861834f5e3a12aaa7a03fb07b7de3064ce0
Signed-off-by: Fiqri Ardyansyah <fiqri15072019@gmail.com>
2024-10-01 14:12:53 +05:30
SagarMakhar
3bc59fd97f
sm6375-common: Fix persist.vendor.radio.poweron_opt to 0
* If this value 1 breaks SMS receiving

Change-Id: I12b87e8f8147bc3358c71244912387cb9c9297a7
2024-10-01 14:12:53 +05:30
Bruno Martins
c725d42530
sm6375-common: Remove software OMX blobs
Default to C2 codecs from swcodec apex.

Change-Id: I32f0b0abe680c1f350268115a3cc5488a2a57ec3
2024-10-01 14:12:52 +05:30
Yumi Yukimura
8fa12b6555
sm6375-common: Switch to QTI Memtrack AIDL HAL
Change-Id: Ibcbaff02fd56fbccc3a88c01a5f46a89cb212ef5
2024-10-01 14:12:52 +05:30
Michael Bestas
60905dff94
sm6375-common: Remove media_codecs_google_c2*
AOSP codecs can be used by default and it is not necessary to include
them device side.

Change-Id: I8227b06f0466b614f12fa9008402b92461ea3dd0
2024-10-01 14:12:51 +05:30
Michael Bestas
49a9e47634
sm6375-common: Use AOSP default Codec2/OMX ranks
debug.stagefright.ccodec=4
is the default value in frameworks.

debug.stagefright.omx_default_rank=0
was used to rank OMX SW codecs lower than OMX HW codecs
but we have removed all OMX SW codecs now.

Change-Id: Idf55ec02c2c0f4d2fa73f949cffef0d820a54570
2024-10-01 14:12:51 +05:30
Aaron Kling
567149e130
sm6375-common: Remove software omx codec references
These are no longer available as of Android 14 QPR3. The C2 codecs
available by default in the swcodec apex will be used instead.

Change-Id: I8cdf3e700823779a7382c66c3df8410d41209b7c
2024-10-01 14:12:50 +05:30
Cosmin Tanislav
d1e62103fa
sm6375-common: use new locals for the RECEIVER_EXPORTED parameter
Change-Id: I9025b296d65b35fce75ff7628e507b13f1b9db1c
2024-10-01 14:12:50 +05:30
Cosmin Tanislav
808a1f0ec7
sm6375-common: automatically patch ims
https://review.lineageos.org/q/topic:%22extract-utils-apktool%22

Change-Id: I704e191adc7aafe6fe062c1bb330fbd1ca05493c
2024-10-01 14:12:50 +05:30
Anand S
e84126adea
sm6375-common: Update from MMI-U1UGS34M.23-82-2-3
* From fogos_g-user 14 U1UGS34M.23-82-2-3 da6528 release-keys.

Co-authored-by: BarryBlackCat <silva.tiago0910@gmail.com>
Change-Id: I2909d038ad061f04eecb23e9cec407babe51d924
2024-10-01 14:12:08 +05:30
Marc Bourgoin
87837dc07a
sm6375-common: Update blob fixup for dolby c2 with a wildcard
The fqname can change, so let's add a wildcard after the word default with fqname
just to make sure it doesn't accidentally delete the instance line

eg, on corfur A12:
        <fqname>@1.0::IComponentStore/default1</fqname>

on fogos A14:
        <fqname>@1.0::IComponentStore/default9</fqname>

Change-Id: I0c55a9781b398601ecbd6be7c327036fe4b1ac42
2024-09-30 19:13:35 +05:30
Anand S
a31766c037
Revert "sm6375-common: powerhint: Add DT2W"
Reason for revert: We're moving DT2W to custom sensors HAL in device specific trees.

This reverts commit 911e53bbef.

Change-Id: I2ba9b1551f453bd73457f027f2e834b2cdcd63b4
2024-09-19 23:43:30 +05:30
Anand S
8ddb649319
Revert "sm6375-common: sepolicy: Label vendor.qti.hardware.radio.ims.IImsRadio/imsradio"
This reverts commit 43738e9d15.

Reason for revert: Resolved in I3a6d8a1486558db1622c2c447256024eed8773ae

Change-Id: I7c2cdf93cbe61816d4d6c8f334ca6fdc095c53c8
2024-08-29 11:43:00 +05:30
Anand S
a259b48a19
Revert "sm6375-common: sepolicy: Address radio service denials"
This reverts commit 1190897038.

Reason for revert: Resolved in I3a6d8a1486558db1622c2c447256024eed8773ae & Ia119414d2aa417215fbc9bdefe69ee5771860d23

Change-Id: Ib010e5bda4b240dfa5616722ae139774c4d4fc68
2024-08-29 11:42:50 +05:30
Andrew Hexen
46d9b35cd3
Revert "sm6375-common: sepolicy: Fix denials related to vendor_qtelephony"
This reverts commit 8029a5833e.

Reason for revert: Resolved in I3a6d8a1486558db1622c2c447256024eed8773ae

Change-Id: I6b11bfeafdff078dc2d196cfbc0c8f64a3b66c7c
2024-08-29 11:34:30 +05:30
Vaisakh Murali
e64c0dc28a
sm6375-common: properties: Use HintManager for HWUI
This will send HWUI timings to HintManager for better CPU scheduling.
Setting a 30% margin for CPU should heavily reduce CPU loads for HWUI and
use GPU for the rest.

Change-Id: I048ae87ac93b729181e5c51f5c72869731ecb058
2024-08-21 21:44:55 +05:30
Vivekachooz
dcc78bd011
sm6375-common: powerhint: Enable L3 frequencies for interaction
Change-Id: Ic7b370030b60d2b68bd74fa8daa9ba83f74cdf1f
2024-08-21 21:44:54 +05:30
Adithya R
d5b17cbe94
sm6375-common: powerhint: Set screen-off schedutil ratelimits
Use a more power-friendly rate limit configuration (2ms up/down)
to reduce power consumption a bit when the screen is off.

Power results during screen off GPS usage, measured by
Alex Naidis <alex.naidis@paranoidandroid.co> on SDM845:

Before:
392mW
93.5mA

After:
378.5mW
90.2mA

Co-authored-by: Alex Naidis <alex.naidis@paranoidandroid.co>
Change-Id: I1ec50702847a196e2f9366f71b3a5b9465c9a596
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2024-08-21 21:44:54 +05:30
Edwin Moquete
ead9530aaf
sm6375-common: Disable display refresh rate override
This got enabled by default on U, and it causes apps like
Chrome and Youtube to set the refresh rate to 30FPS when
playing some videos.

Change-Id: I649bf03d550c2b9726c7957d15ed09e455d874ec
2024-08-21 21:44:53 +05:30
karthick111
3791b2fe93
sm6375-common: powerhint: Adjust min frequencies to lowest possible
Change-Id: I38ec27f5c25627b60577b54fd4e1e9a45a517825
2024-08-21 21:44:53 +05:30
karthick111
dc11d7d847
sm6375-common: powerhint: Set DISPLAY_INACTIVE hint for little cluster
Change-Id: I45df1015e39ba6bdacad9ce53f7157a5f7ba7dc8
2024-08-21 21:44:52 +05:30
snnbyyds
c4c87e4f3d
sm6375-common: sepolicy: Suppress a hal_camera_default denial
* W provider@2.4-se: type=1400 audit(0.0:236): avc:  denied  { read } for  name="u:object_r:default_prop:s0" dev="tmpfs" ino=21259 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=0

Change-Id: I22cb788198489d6d729e975460674f07cff38072
2024-08-21 21:44:52 +05:30
Vivekachooz
a1a4be6d11
sm6375-common: powerhint: Enable GPUMinFreq for EXPENSIVE_RENDERING
Change-Id: Id3fefc6a492557d775a04377432d39034047dd56
2024-08-21 21:44:48 +05:30
Adithya R
289f24a12e
sm6375-common: Disable COMPRESS_VOIP in BoardConfig
To make VOIP work properly the following has to be set:

AUDIO_FEATURE_ENABLED_COMPRESS_VOIP := false in BoardConfig.mk
vendor.audio.feature.compr_voip.enable=true in vendor.prop

I have no idea why this is but setting either one of them differently results in the mic not working as it should.

Signed-off-by: Ad!thya's avatarAdithya R <gh0strider.2k18.reborn@gmail.com>
Change-Id: Ia0d9c2f7bf8527c15f6a69f60dbfc777e6fa5775
2024-08-18 00:57:22 +05:30
Anand S
c22d26a63a
sm6375-common: Explicitly set multisim property
* Our family of devices all use dual sim slots. So let's set the prop once and for all.

Change-Id: I68be2c6c65dcc7e114823fe9f93f5444a65f4420
2024-08-16 23:32:05 +05:30
Anand S
f03a406c62
[TMP] Revert "sm7325-common: Enable LZ4 compression for ramdisks"
This reverts commit c9984ff4ff.

Change-Id: I46f2fbc1bad8673462a4ba898254605c7bfb45e3
2024-08-15 04:21:12 +05:30
Anand S
ad5cacda34
sm6375-common: Adjust a2dp offload cap prop with stock
Change-Id: I6a3cb667439a60c64df67ee8bc87361190a6a5c0
2024-08-14 12:56:42 +05:30
Anand S
159408b79d
sm6375-common: Fix bluetooth soc props
Change-Id: Ic0e1a64323005b3f1511c6b9ae5c735edb25bbcc
2024-08-14 12:56:42 +05:30
Luofan Chen
39ce580beb
sm6375-common: Define TARGET_GRALLOC_HANDLE_HAS_RESERVED_SIZE
Otherwise the error happens:

* E qdmetadata: Invalid gralloc handle (at 0xb400007aaf240a10): ver(12/12) ints(22/23) fds(2/2)
* E qdmetadata: validateAndMap: Private handle is invalid - handle:0xb400007aaf240a10

Change-Id: Ia62146e8e4bef1342dc964724bd0d088656ad4bc
2024-08-11 12:56:42 +05:30
Anand S
24d5796d02
sm6375-common: sepolicy: Add rule for fingerprint
* E SELinux : avc:  denied  { find } for interface=android.hardware.health::IHealth sid=u:r:hal_fingerprint_default:s0 pid=1445 scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:hal_health_hwservice:s0 tclass=hwservice_manager permissive=0

Change-Id: I7a7ff4798f1c605948627b73ae3f7a76596ec354
2024-08-10 12:56:42 +05:30
Anand S
a515c2c835
sm6375-common: sepolicy: Allow fp hal to access graphics device
* I HwBinder:1502_1: type=1400 audit(0.0:862): avc:  denied  { read write } for  name="card0" dev="tmpfs" ino=26702 scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:graphics_device:s0 tclass=chr_file permissive=1
* I HwBinder:1502_1: type=1400 audit(0.0:863): avc:  denied  { open } for  path="/dev/dri/card0" dev="tmpfs" ino=26702 scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:graphics_device:s0 tclass=chr_file permissive=1
* I HwBinder:1502_1: type=1400 audit(0.0:864): avc:  denied  { ioctl } for  path="/dev/dri/card0" dev="tmpfs" ino=26702 ioctlcmd=0x649f scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:graphics_device:s0 tclass=chr_file permissive=1

Change-Id: Iccfda81d6ab92f43c988ab2ff85577dffbcd5699
2024-08-10 12:56:42 +05:30
Anand S
63efc084ce
sm6375-common: sepolicy: Allow binder calls from fp hal to health hal
* I health@2.1-serv: type=1400 audit(0.0:860): avc:  denied  { call } for  scontext=u:r:hal_health_default:s0 tcontext=u:r:hal_fingerprint_default:s0 tclass=binder permissive=0

Change-Id: Ifc834b3ef0f07ebf94ecb1f3c7163f8b9959b0f1
2024-08-10 12:56:42 +05:30
Anand S
fc851ad7e4
sm6375-common: sepolicy: Allow capsense_reset to create netlink_kobject_uevent_socket
* W capsense_reset: type=1400 audit(0.0:42): avc:  denied  { create } for  scontext=u:r:capsense_reset:s0 tcontext=u:r:capsense_reset:s0 tclass=netlink_kobject_uevent_socket permissive=0

Change-Id: I0219ec9cd04b913de53f3ae02f8047ae00932252
2024-08-08 12:56:42 +05:30
Anand S
efcc4a19d8
sm6375-common: sepolicy: Fix connectto denials related to Power HAL
* avc:  denied  { connectto } for  path="/dev/socket/property_service" scontext=u:r:hal_power_default:s0 tcontext=u:r:init:s0 tclass=unix_stream_socket permissive=0

Change-Id: Ida438cb2136e75ffbde76fd7dee3bb283e9f6fe2
2024-08-08 12:56:42 +05:30
Andrew Hexen
8029a5833e
sm6375-common: sepolicy: Fix denials related to vendor_qtelephony
avc:  denied  { find } for pid=2562 uid=10156 name=vendor.qti.hardware.radio.ims.IImsRadio/imsradio0 scontext=u:r:vendor_qtelephony:s0:c156,c256,c512,c768 tcontext=u:object_r:default_android_service:s0 tclass=service_manager permissive=0

(Picked from commit Iacd17a9621ca9bfc0e80fb17eadd4461475ef1aa)

Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: Ia24447db581364570be3259e61e0e37d57f86365
2024-08-08 12:56:42 +05:30
Anand S
6e5cabb82d
sm6375-common: Decommonise libgui_shim_vendor
Change-Id: I835cbf1ace68a5b1151714332ac5e538911bd35d
2024-08-07 12:56:42 +05:30
johnmart19
cb6fe0ac8c
sm6375-common: Build android.hardware.media.omx from source
* Fixes: android.hardware.media.omx@1.0-service: Service not available yet.

Change-Id: I9581b6d244f4336d2cff4785ba99bd64079faa1f
2024-08-01 12:56:42 +05:30
Anand S
cb8bd4bcde
sm6375-common: sepolicy: Fix vendor_hal_gnss_qti denial
* E SELinux : avc:  denied  { find } for pid=1003 uid=1021 name=android.frameworks.sensorservice.ISensorManager/default scontext=u:r:vendor_hal_gnss_qti:s0 tcontext=u:object_r:fwk_sensor_service:s0 tclass=service_manager permissive=0.

Change-Id: Ie2ef4484794c7087b61e674756a61d4bdd20fd72
2024-08-01 12:56:42 +05:30
Keertesh
43738e9d15
sm6375-common: sepolicy: Label vendor.qti.hardware.radio.ims.IImsRadio/imsradio
* E SELinux : avc:  denied  { find } for pid=2735 uid=10166 name=vendor.qti.hardware.radio.ims.IImsRadio/imsradio0 scontext=u:r:vendor_qtelephony:s0:c166,c256,c512,c768 tcontext=u:object_r:default_android_service:s0 tclass=service_manager permissive=0.

Change-Id: I10a41013aed59dafdd59bf26378f71f1a05f80fd
2024-08-01 12:56:42 +05:30
=?UTF-8?q?=D0=94=D0=B0=D0=BD=D1=8F?=
97d2e1d9fa
sm6375-common: sepolicy: Address denials for hal_power_default
* W NodeLooperThrea: type=1400 audit(0.0:699): avc:  denied  { write } for  name="property_service" dev="tmpfs" ino=18780 scontext=u:r:hal_power_default:s0 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0.

Change-Id: I8908ef81fd59832e12dc5eca78ae8a4d48056531
2024-08-01 12:56:42 +05:30
Anand S
6b74e49acf
sm6375-common: Update Radio stack from S2RUBS32.51-15-9-5
* From corfur_g-user 12 S2RUBS32.51-15-9-5 76c7d7 release-keys.

Change-Id: I75da23defce23b4fc1cf4c391cb2bcd694f2972b
2024-07-30 12:56:42 +05:30
Anand S
09cd170ddd
sm6375-common: Update QMI blobs from S2RUBS32.51-15-9-5
* From corfur_g-user 12 S2RUBS32.51-15-9-5 76c7d7 release-keys.

Change-Id: Ieeb8ae4f00588cd0d2d95765b33c8af94d872208
2024-07-30 12:56:42 +05:30
Anand S
c4cb488575
sm6375-common: Update Media and OMX stack from S2RUBS32.51-15-9-5
* From corfur_g-user 12 S2RUBS32.51-15-9-5 76c7d7 release-keys.
* Remove unused blair_lite configs and media_codecs_vendor_audio.xml.

Change-Id: I622aee21b1a50d3580fdd5aff5bf93e7a8ff8129
2024-07-30 12:56:42 +05:30
Anand S
2bc7083347
sm6375-common: Update CNE stack from S2RUBS32.51-15-9-5
* From corfur_g-user 12 S2RUBS32.51-15-9-5 76c7d7 release-keys.

Change-Id: Ie597785c94973b6fc9b392cfc63c74e59791764e
2024-07-30 12:56:42 +05:30
Anand S
5eac58af6e
sm6375-common: Set media.settings.xml
Change-Id: If19a18b2a91e833bab83bf8992bb8f4c5ac5253b
2024-07-28 12:56:42 +05:30
Anand S
3db4150da2
sm6375-common: Decommonise audio_io_policy.conf
Change-Id: I9e11a69f29a7e82c4b0feb4f3210d25897ccaf86
2024-07-27 12:56:42 +05:30