568 Commits

Author SHA1 Message Date
Michael Bestas
bd3564691d sm7325-common: Disable ELF checks for certain libraries
Change-Id: I61dbc3559b43becc22f69ae2c1c3e8edf95e2483
2024-11-10 17:30:51 -07:00
Cosmin Tanislav
1b25d82488 sm7325-common: skip dependencies which aren't defined in .bp
Change-Id: I01a653661856495788c05b720c0577dac44998a4
2024-11-10 17:21:36 -07:00
Cosmin Tanislav
7c052e1bb2 sm7325-common: fix vendor.qti.imsrtpservice@3.0 ELF checks
Change-Id: Ia1995d0a3360317843685082e3226ab30f124d09
2024-11-10 17:18:48 -07:00
Michael Bestas
2a34b8e1da sm7325-common: fix vendor.qti.hardware.fm@1.0 ELF checks
Change-Id: I43f0824f88c24dd9d039f9075090c17f4266ab2d
2024-11-10 17:06:59 -07:00
Cosmin Tanislav
26de1a855d sm7325-common: fix com.qualcomm.qti.dpm.api@1.0 ELF checks
Change-Id: I759752ccc133d7047d415eb83c5d3c55820437a4
2024-11-10 17:06:47 -07:00
Aaron Kling
a4a355df8f sm7325-common: Add vendor soong imports to extract
Change-Id: Ib19e69dc35af6b04519eeb695228af65f3d01d2a
2024-11-10 16:56:23 -07:00
Aaron Kling
d5f5c320ad sm7325-common: Enable elf checks
Change-Id: Ia6c9a381abb3384c77532d75e02fd84c841a4d1e
2024-11-10 16:39:08 -07:00
Marc Bourgoin
a554ddf1ec sm7325-common: Rework ims patches
Change-Id: Ib8589f65c8cbcd362a74141555546dc9c5caac2c
2024-11-10 16:32:32 -07:00
dianlujitao
01bd5f1ee2 sm7325-common: Nuke ATFWD
It's normally not used at all.

Change-Id: Idb824b3b8c783b6ac962e604df05f9154beb4ed2
2024-11-09 16:42:23 -07:00
Nolen Johnson
1d70ea6701 sm7325-common: Ensure we build the vendor version of libcrypto_shim
Reference: Ia42de59ff157cddc930a111f8ce5e36e645055ed
Change-Id: I9c9340b37a1ad0d6c22d3947541fe1196a5efeec
2024-10-27 17:04:07 -04:00
Michael Bestas
ea43549250 sm7325-common: Sync extract scripts with 22 templates
Change-Id: I7963ae050cfb193c5d0c2636da9c1e8f82bcdbdb
2024-10-23 15:08:03 -04:00
LuK1337
986ed29e19 sm7325-common: Shim WFD with libgui_shim/libinput_shim
Change-Id: I42bf06bc6b19942303031ef0147dafa6df127fe5
2024-10-23 15:08:02 -04:00
Michael Bestas
6877ce4086 sm7325-common: Shim widevine with libcrypto_shim
The following change
e202e51cb0
removed symbols that our libs require.

Change-Id: I1325c34ecec3d339dd68c665010ecb36fa2e6a29
2024-10-23 14:48:45 +00:00
Michael Bestas
d97869b1bf sm7325-common: Switch to AIDL USB HAL
Change-Id: I70f6a4e57eef577d86987bfae44f381a4f107624
2024-10-23 14:48:45 +00:00
Michael Bestas
1480063c60 sm7325-common: Switch to AIDL thermal HAL
Change-Id: I6ae621194044ab66fad69b9ef997b3b347bf6120
2024-10-23 14:48:45 +00:00
Cosmin Tanislav
c117c2ec85 sm7325-common: remove additional kernel flags
LLVM=1 is passed inside BoardConfigKernel.mk, and DTC is passed inside
kernel.mk

Change-Id: Ie80943cee67ca7447d50d76b59072e7d445bf979
2024-10-15 03:44:48 +00:00
Michael Bestas
375003228b sm7325-common: Compile the kernel without GCC
Change-Id: I882c0d8600f88c1bb939c7ee247230ec5e70338a
2024-10-15 03:44:42 +00:00
Marc Bourgoin
dd7d18c0c2 sm7325-common: Fix more property selinux denials
Change-Id: Icd4e387b994819659e26feeeefee6bf0ff604ee8
2024-09-25 20:42:36 -06:00
Malathi Gottam
1b89a4955b sm7325-common: media_profiles: Edit profiles xml in accordance with schema
Export of Video Editor codec profiles & levels and
configuration of Video editor capalibilies,
these two entries are no longer needed hence removed.

Original-Change-Id: I8252415f37f2b1089e7281eec32deda9fd6e98cf
Change-Id: Ib8b4f52b4b83a0a31a66d118c75005ac9945a4e9
2024-09-25 20:42:36 -06:00
Bruno Martins
01d6eee6bc sm7325-common: Remove software OMX blobs
Default to C2 codecs from swcodec apex.

Change-Id: I32f0b0abe680c1f350268115a3cc5488a2a57ec3
2024-09-25 20:42:36 -06:00
Yumi Yukimura
bc676f7640 sm7325-common: Switch to QTI Memtrack AIDL HAL
Change-Id: Ibcbaff02fd56fbccc3a88c01a5f46a89cb212ef5
2024-09-25 20:42:36 -06:00
Michael Bestas
714cca6024 sm7325-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-09-25 20:42:36 -06:00
Michael Bestas
2b41809aea sm7325-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-09-25 20:42:36 -06:00
Aaron Kling
88937c970f sm7325-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-09-25 20:42:36 -06:00
Bruno Martins
a38579c664 sm7325-common: Inherit from QTI FCM
Change-Id: I0bdd4d63b60a1e29cdd69e71f7268932a105c16b
2024-09-25 20:42:36 -06:00
Michael Bestas
27d036b329 sm7325-common: Bump LOC_HIDL_VERSION to 4.2
Change-Id: Ic961685f4a1887a2053ff08455ea3c3d0958ac86
2024-09-25 20:42:36 -06:00
Michael Bestas
ae03a427fd sm7325-common: gps: data-items: Fix snprintf usage
Fixes:
gps/core/data-items/DataItemConcreteTypes.cpp:465:9: error: 'snprintf'
will always be truncated; specified size is 10, but format string
expands to at least 20 [-Werror,-Wfortify-source]
  465 |         snprintf(t, sizeof(t),
        "[%02x:%02x:%02x:%02x:%02x:%02x]", d->mApSrnMacAddress[0],
      |         ^
gps/core/data-items/DataItemConcreteTypes.cpp:514:9: error: 'snprintf'
will always be truncated; specified size is 10, but format string
expands to at least 20 [-Werror,-Wfortify-source]
  514 |         snprintf(t, sizeof(t),
        "[%02x:%02x:%02x:%02x:%02x:%02x]", d->mApSrnMacAddress[0],
      |         ^
2 errors generated.

Change-Id: I37188e7497f7ade97648fb41e2becd73f6b559a9
2024-09-25 20:42:36 -06:00
Michael Bestas
e5deb4a931 sm7325-common: gps: Resolve unused parameter warnings
Change-Id: I3f92e977a847583f35a5a597487c52b5e0e09dde
2024-09-25 20:42:36 -06:00
Marc Bourgoin
c7eb5ab0ba sm7325-common: Update GPS from LA.UM.9.14.r1-24900-LAHAINA.QSSI14.0
Change-Id: If51ee4e4952e4d80fee116e7f7e07ab22a17522a
2024-09-25 20:42:36 -06:00
Cosmin Tanislav
f7473f4acb sm7325-common: use new locals for the RECEIVER_EXPORTED parameter
Change-Id: I9025b296d65b35fce75ff7628e507b13f1b9db1c
2024-09-25 20:40:36 -06:00
Cosmin Tanislav
6211b679c3 sm7325-common: automatically patch ims
https://review.lineageos.org/q/topic:%22extract-utils-apktool%22

Change-Id: I704e191adc7aafe6fe062c1bb330fbd1ca05493c
2024-09-25 07:44:44 -06:00
Marc Bourgoin
2143846123 sm7325-common: Update blobs from dubai-user-14-U1RD34.80-40-f0ea3-release-keys
Change-Id: I203f9a1ab4ce61f97d98a8936141167651f5c1e4
2024-09-25 07:36:47 -06:00
Marc Bourgoin
35a0f86366 sm7325-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 dubai A13:
        <fqname>@1.0::IComponentStore/default1</fqname>

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

Change-Id: I0c55a9781b398601ecbd6be7c327036fe4b1ac42
2024-09-23 22:44:12 -06:00
Michael Bestas
3e726ddd2e sm7325-common: extract-files improvements
Change-Id: I517698ca3b5a93e10a5b167417631c7f8d0ab9e2
2024-09-10 00:44:53 -04:00
Michael Bestas
b17aa83e37 sm7325-common: Sync extract scripts with templates
Change-Id: I98a36854c5a0c0390592911bb2558b34eff77efc
2024-09-05 01:37:47 -04:00
Nolen Johnson
490bd1363a sm7325-common: dubai_g-user 13 T1RDS33.116-33-15-8 5a543-33cdf1 release-keys
Change-Id: Ie54cadfbe653ccc6e533d612d5f0b7f074de6b63
2024-08-10 21:03:55 -04:00
Georg Veichtlbauer
e4162b4989 sm7325-common: Build vendor variant of libpower
Change-Id: Id7fe8a2598ffb93be4635424c86100a88aea8780
2024-07-13 16:44:21 -04:00
Bruno Martins
20748cc7e9
sm7325-common: Unset BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
Qualcomm targets can now build hermetic partitions.

Change-Id: I241105e01d85fea983b34846ca675666ac07541b
2024-07-02 04:47:52 -07:00
Bruno Martins
52c15bd6ab
sm7325-common: Convert WiFi firmware symlink to install_symlink target
The last bit that was preventing building hermetic images.

Change-Id: I75bb7de4593a7992f6015317cf97e088beeba0cb
2024-07-02 04:47:52 -07:00
dianlujitao
af758c94a7
sm7325-common: declare expat as symlink during extraction
Change-Id: I98f6793151a8c4a7ed216a7775c6899e17bca89e
2024-07-02 04:47:52 -07:00
Michael Bestas
48e9f7fb7a
sm7325-common: Convert aw882xx firmware symlink to install_symlink target
Change-Id: I1ed840d33d09e717bdc00675212fe508021dcc1c
2024-07-02 04:47:52 -07:00
Bruno Martins
a922fd8311
sm7325-common: Mark CNE symlink target as required package
Change-Id: I0bfe65ba61b6aa9916fe6459be2a84d772939a2f
2024-07-02 04:47:52 -07:00
Bruno Martins
b27ef9c5c2
sm7325-common: Declare EGL libs as symlinks during extraction
Change-Id: I4b2f3e79b5e518889d9771bf8990e27babca8b61
2024-07-02 04:47:52 -07:00
Bruno Martins
4001ca6e56
sm7325-common: Declare IMS libs as symlinks during extraction
Change-Id: Ia1b8097d28dd4888232fe383b830515b1b9bafaa
2024-07-02 04:47:52 -07:00
Michael Bestas
ad0fcaf14c
sm7325-common: Create rfs fsg symlink
Change-Id: Id337670d40aeb598e4b2507bd94d4885344c675c
2024-07-02 04:47:52 -07:00
Bruno Martins
9b1fd82b74
sm7325-common: Move to new RFS install_symlink targets
Change-Id: I9560fd0da00958d9349a0881b5a5f64a2c02e495
2024-07-02 04:47:52 -07:00
Eran Messeri
030ac039c2
sm7325-common: Copy out permission for target that supports Device ID attestation
* https://source.android.com/security/keystore/attestation

Change-Id: Ibeebb76e45338c24d41d82b680c3353af3ca478f
2024-07-02 04:47:52 -07:00
dianlujitao
3ba00ad29f
sm7325-common: Use ueventd to load aw882xx calibration file
* Avoid direct filesystem access from the kernel
 * Switch to CAF-defined label while at it

Change-Id: Id9571e0cfb635b536eb4927fb4b2bed042917306
2024-07-02 03:40:48 -07:00
dianlujitao
5dd69c17ba sm7325-common: Build MotoNrEnabler
Change-Id: Ib142f2c6ff58cb9b1b23982618c4eaf5106f922e
2024-07-01 18:02:55 +00:00
Nolen Johnson
143f1118e6 fixup! sm7325-common: Remove wait_for_keymaster and all references
* Oh wow, a second instance!

Change-Id: I97160cb66b218c3d9b5e8bf3c5eea6721e9e409f
2024-06-23 11:52:36 -04:00