Commit graph

739 commits

Author SHA1 Message Date
Aaron Kling
8d167757f0
sm6375-common: Remove elf files in copy files check
New extract files uses packages instead of copy files

Change-Id: I337c07d13bd350958d4808e1693cc6e03753a96c
2025-01-18 00:00:51 +05:30
Aaron Kling
b29c3f156d
sm6375-common: Add vendor soong imports to extract
Change-Id: Ib19e69dc35af6b04519eeb695228af65f3d01d2a
2025-01-17 23:57:27 +05:30
Aaron Kling
2710a972f0
sm7325-common: Enable elf checks
Change-Id: Ia6c9a381abb3384c77532d75e02fd84c841a4d1e
2025-01-17 23:32:31 +05:30
Anand S
c1ab7949ac
sm6375-common: Update from MMI-U1UGS34.23-82-2-6
* From fogos_g-user 14 U1UGS34.23-82-2-6 e21904 release-keys.

Change-Id: If8b8175ac813f905585ddc956bf0519a988ab890
2025-01-17 14:52:40 +05:30
Moeta Yuko
0b4dabfaba
sm6375-coommon: remove OMX
* OMX HW video codecs are no longer used after enabling Codec2
 * OMX HW audio codecs won't work without QCOM A/V enhancements, which
   we don't have on Lineage.

Change-Id: I65852151c8fb6387add5fc4402ba3f13c97b5f64
2025-01-17 14:28:15 +05:30
Anand S
f58c3b584a
sm6375-common: Drop DT2W from common tree
* It wasn't working anyways, and we're using custom sensors HAL to handle DT2W.

Change-Id: Ic23bea4ebef2766bc5161c178fa1869e43e8b8b4
2025-01-15 15:35:39 +05:30
Marc Bourgoin
1c4218f9e2
sm6375-common: Rework ims patches
Change-Id: Ib8589f65c8cbcd362a74141555546dc9c5caac2c
2024-12-17 13:09:41 +05:30
dianlujitao
a10ea3beb1
sm6375-common: Nuke ATFWD
It's normally not used at all.

Change-Id: Idb824b3b8c783b6ac962e604df05f9154beb4ed2
2024-12-17 13:05:00 +05:30
Anand S
8451ea6b97
sm6375-common: Fix VINTF Compatibility check
* We're already inheriting these from QTI FCM. So it throws error while running VINTF check since these are only defined in manifest and not in device FCM.

Change-Id: If3c68b027fe7337ed2bc936f0035477ccca4d9b6
2024-11-12 12:08:53 +05:30
Nolen Johnson
f125b49b3b
sm6375-common: Ensure we build the vendor version of libcrypto_shim
Reference: Ia42de59ff157cddc930a111f8ce5e36e645055ed
Change-Id: I9c9340b37a1ad0d6c22d3947541fe1196a5efeec
2024-11-11 12:51:15 +05:30
Michael Bestas
e1c4d04fe0
sm6375-common: Sync extract scripts with 22 templates
Change-Id: I7963ae050cfb193c5d0c2636da9c1e8f82bcdbdb
2024-11-11 12:50:46 +05:30
LuK1337
22c8464422
sm6375-common: Shim WFD with libgui_shim/libinput_shim
Change-Id: I42bf06bc6b19942303031ef0147dafa6df127fe5
2024-11-11 12:47:03 +05:30
Michael Bestas
c1d90ad058
sm6375-common: Shim widevine with libcrypto_shim
The following change
e202e51cb0
removed symbols that our libs require.

Change-Id: I1325c34ecec3d339dd68c665010ecb36fa2e6a29
2024-11-11 12:35:47 +05:30
Michael Bestas
add45126b8
sm6375-common: Switch to AIDL USB HAL
Change-Id: I70f6a4e57eef577d86987bfae44f381a4f107624
2024-11-11 12:35:20 +05:30
Michael Bestas
f194c4c58c
sm6375-common: Switch to AIDL thermal HAL
Change-Id: I6ae621194044ab66fad69b9ef997b3b347bf6120
2024-11-11 12:35:03 +05:30
Anand S
0607293922
Revert "sm6375-common: Switch to Thermal 2.0 mock"
This reverts commit e03aec7112.

Reason for revert: We're switching to QTI AIDL thermal.

Change-Id: I27b78d5dcc32e0dce31a39d2a71ba4b3b9892a50
2024-11-11 12:33:52 +05:30
BarryBlackCat
71317365f8
sm6375-common: sepolicy: Support both display nodes for bangkk
* Goodix ts uses spi0.0 and fts uses spi0.1, so suppport both of them

Change-Id: I519b7ae4b8306c5cb4823602a3d35a609d7522e6
Signed-off-by: BarryBlackCat <silva.tiago0910@gmail.com>
2024-10-28 10:10:20 +05:30
Bruno Martins
7245225e70
sm6375-common: Inherit from QTI FCM
Change-Id: I0bdd4d63b60a1e29cdd69e71f7268932a105c16b
2024-10-24 16:25:13 +05:30
Anand S
53441d57a6
sm6375-common: Set ro.vendor.sensors.prox_for_call to true
* It seems like proximity dies randomly for some users and setting this to true fixes it somehow.
* So let's keep this enabled since it doesn't do any harm and the issue gets fixed as well.

Change-Id: I143adec5333728037b3dff04248e3bfcce02073b
2024-10-24 15:52:40 +05:30
Anand S
6fc17e3472
sm6375-common: Drop custom media volume steps
* Let's use default 15 steps.

Change-Id: I2e05167a73e251ac4c924baa938be5a4e4181610
2024-10-11 20:16:00 +05:30
Michael Bestas
13efe6675d
sm6375-common: extract-files improvements
Change-Id: I517698ca3b5a93e10a5b167417631c7f8d0ab9e2
2024-10-01 20:16:00 +05:30
Michael Bestas
4ae580f6b3
sm6375-common: Sync extract scripts with templates
Change-Id: I98a36854c5a0c0390592911bb2558b34eff77efc
2024-10-01 20:16:00 +05:30
Zinadin Zidan
4d56580172
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 20:16:00 +05:30
SagarMakhar
76852d8bc6
sm6375-common: Fix persist.vendor.radio.poweron_opt to 0
* If this value 1 breaks SMS receiving

Change-Id: I12b87e8f8147bc3358c71244912387cb9c9297a7
2024-10-01 20:16:00 +05:30
Bruno Martins
dd5f2c6b5a
sm6375-common: Remove software OMX blobs
Default to C2 codecs from swcodec apex.

Change-Id: I32f0b0abe680c1f350268115a3cc5488a2a57ec3
2024-10-01 20:16:00 +05:30
Yumi Yukimura
c34753c913
sm6375-common: Switch to QTI Memtrack AIDL HAL
Change-Id: Ibcbaff02fd56fbccc3a88c01a5f46a89cb212ef5
2024-10-01 20:16:00 +05:30
Michael Bestas
fb008aa5b8
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 20:16:00 +05:30
Michael Bestas
5058e9dee2
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 20:16:00 +05:30
Aaron Kling
d4e90af834
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 20:16:00 +05:30
Cosmin Tanislav
dbb08a0071
sm6375-common: use new locals for the RECEIVER_EXPORTED parameter
Change-Id: I9025b296d65b35fce75ff7628e507b13f1b9db1c
2024-10-01 20:16:00 +05:30
Cosmin Tanislav
7962f0faab
sm6375-common: automatically patch ims
https://review.lineageos.org/q/topic:%22extract-utils-apktool%22

Change-Id: I704e191adc7aafe6fe062c1bb330fbd1ca05493c
2024-10-01 20:16:00 +05:30
Anand S
f8025fc851
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 20:16:00 +05:30
Marc Bourgoin
251556afea
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 20:16:00 +05:30
Anand S
624980f670
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 20:16:00 +05:30
Anand S
e6a519acf5
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 20:16:00 +05:30
Andrew Hexen
35e2d0551d
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 20:16:00 +05:30
Vaisakh Murali
1c66bcebc5
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 20:16:00 +05:30
Vivekachooz
865ad35abb
sm6375-common: powerhint: Enable L3 frequencies for interaction
Change-Id: Ic7b370030b60d2b68bd74fa8daa9ba83f74cdf1f
2024-08-21 20:16:00 +05:30
Adithya R
eae05d470c
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 20:16:00 +05:30
Edwin Moquete
8c51a6a2e0
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 20:16:00 +05:30
karthick111
756da063a0
sm6375-common: powerhint: Adjust min frequencies to lowest possible
Change-Id: I38ec27f5c25627b60577b54fd4e1e9a45a517825
2024-08-21 20:16:00 +05:30
karthick111
110f897ac9
sm6375-common: powerhint: Set DISPLAY_INACTIVE hint for little cluster
Change-Id: I45df1015e39ba6bdacad9ce53f7157a5f7ba7dc8
2024-08-21 20:16:00 +05:30
snnbyyds
f182f2c1bd
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 20:16:00 +05:30
Vivekachooz
ae9f3df1e6
sm6375-common: powerhint: Enable GPUMinFreq for EXPENSIVE_RENDERING
Change-Id: Id3fefc6a492557d775a04377432d39034047dd56
2024-08-21 20:16:00 +05:30
Adithya R
a4e85ce01a
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 20:16:00 +05:30
Anand S
a42bde7bc4
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 20:16:00 +05:30
Anand S
ba9668d835
[TMP] Revert "sm7325-common: Enable LZ4 compression for ramdisks"
This reverts commit c9984ff4ff.

Change-Id: I46f2fbc1bad8673462a4ba898254605c7bfb45e3
2024-08-15 20:16:00 +05:30
Anand S
cafc1fcde1
sm6375-common: Adjust a2dp offload cap prop with stock
Change-Id: I6a3cb667439a60c64df67ee8bc87361190a6a5c0
2024-08-14 20:16:00 +05:30
Anand S
79d7c8779b
sm6375-common: Fix bluetooth soc props
Change-Id: Ic0e1a64323005b3f1511c6b9ae5c735edb25bbcc
2024-08-14 20:16:00 +05:30
Luofan Chen
265aa519a4
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 20:16:00 +05:30