Commit graph

475 commits

Author SHA1 Message Date
23b4587a50 [DNM] 2024-09-17 16:52:32 +02:00
Yumi Yukimura
ae810038e5 sm6225-common: Use libcrypto-v34 for widevine libs
* The symbol `CBS_init` is no longer exported from latest libcrypto
* libcrypto from VNDK 34 is available in hardware/lineage/compat,
  and we had no problem with it on VNDK 33. Let's use it.

Change-Id: I6e9b0857df4650e8d5d63793716fe84da93ab165
2024-09-17 16:52:28 +02:00
1a85468eff sm6225-common: Time for tequila! 2024-09-08 01:42:08 +02:00
Aaron Kling
427abace16
sm6225-common: Re-enable broken dup rules check
All failures of this have been resolved

Change-Id: I56a923ac90b98e63c093c8cb65cb1059dde57c49
2024-08-29 23:56:43 +03:00
Cosmin Tanislav
b8a2244a43
sm6225-common: do not manually build dependencies
Change-Id: I4046d8eeabfc70842898b7034f75cdd6bcfc441b
2024-08-29 23:56:43 +03:00
Aaron Kling
487d2d2c3e
sm6225-common: Remove elf files in copy files check
New extract files uses packages instead of copy files

Change-Id: I337c07d13bd350958d4808e1693cc6e03753a96c
2024-08-29 23:56:43 +03:00
Michael Bestas
2cf381432d
sm6225-common: Disable ELF checks on device specific libs
Change-Id: Iff53502e94cee5a065b75300992a632aca84e0c3
2024-08-29 23:56:42 +03:00
Michael Bestas
0d472eec37
sm6225-common: Libraries are now automatically added to PRODUCT_PACKAGES
Change-Id: Ie92fe02b7e6279195bf28944942c815db773b798
2024-08-29 21:43:26 +03:00
Michael Bestas
2d45e03059
sm6225-common: Disable ELF checks for certain libraries
Change-Id: I61dbc3559b43becc22f69ae2c1c3e8edf95e2483
2024-08-29 21:43:26 +03:00
Cosmin Tanislav
183450ce8f
sm6225-common: skip dependencies which aren't defined in .bp
Change-Id: I01a653661856495788c05b720c0577dac44998a4
2024-08-29 21:43:25 +03:00
Cosmin Tanislav
789d6c9662
sm6225-common: fix vendor.qti.imsrtpservice@3.0 ELF checks
Change-Id: Ia1995d0a3360317843685082e3226ab30f124d09
2024-08-29 21:43:25 +03:00
Michael Bestas
25ef98a45b
sm6225-common: fix vendor.qti.hardware.fm@1.0 ELF checks
Change-Id: I43f0824f88c24dd9d039f9075090c17f4266ab2d
2024-08-29 21:43:25 +03:00
Cosmin Tanislav
e836fbd4f3
sm6225-common: fix com.qualcomm.qti.dpm.api@1.0 ELF checks
Change-Id: I759752ccc133d7047d415eb83c5d3c55820437a4
2024-08-29 21:43:25 +03:00
Aaron Kling
d040357505
sm6225-common: Add vendor soong imports to extract
Change-Id: Ib19e69dc35af6b04519eeb695228af65f3d01d2a
2024-08-29 21:43:25 +03:00
Aaron Kling
378d026b31
sm6225-common: Enable elf checks
Change-Id: Ia6c9a381abb3384c77532d75e02fd84c841a4d1e
2024-08-29 21:43:25 +03:00
Michael Bestas
d7163d49fe
sm6225-common: Sync extract scripts with templates
Change-Id: I98a36854c5a0c0390592911bb2558b34eff77efc
2024-08-29 21:43:25 +03:00
Cosmin Tanislav
f146e70de9
sm6225-common: merge duplicate fixup cases
Change-Id: I3016420dd3a0be3191447ef344d4e135d957c2d4
2024-08-29 21:43:25 +03:00
Cosmin Tanislav
37344b0e53
sm6225-common: automatically patch ims
https://review.lineageos.org/q/topic:%22extract-utils-apktool%22

Change-Id: I704e191adc7aafe6fe062c1bb330fbd1ca05493c
2024-08-26 18:47:37 +03:00
Michael Bestas
db1f6e0112
sm6225-common: Cleanup proprietary files
Sort, remove unused files, add missing services, libs and configs

Change-Id: I07496a91e3a6fcfe9c3108149b7e64b0a560e023
2024-08-25 10:36:39 +03:00
Michael Bestas
ef9d2bfe74
sm6225-common: Remove unused vendor-qti-hardware-sensorscalibrate.xml
Fixes:
I SystemConfig: Ignore shared library
vendor.qti.hardware.sensorscalibrate-V1.0:
/system/framework/vendor.qti.hardware.sensorscalibrate-V1.0-java.jar
does not exist

Change-Id: Ic420818fba928331e17a914c609fbf6c15af677c
2024-08-25 05:37:31 +03:00
Yumi Yukimura
b613146320 sm6225-common: Switch to QTI Memtrack AIDL HAL
Change-Id: Ibcbaff02fd56fbccc3a88c01a5f46a89cb212ef5
2024-08-19 06:58:01 +00:00
Malathi Gottam
6680dc7b7e sm6225-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-08-19 06:58:01 +00:00
Michael Bestas
0336e9a8c2 sm6225-common: Enable slow-cpu media_codecs
bengal/khaje is a slow cpu

Change-Id: Ibddaad3ae44d1460073aa686637db10a60b7be98
2024-08-19 06:58:01 +00:00
wenchangliu
bb5dd25136 sm6225-common: add "can-swap-width-height" for video codecs
[VSR-4.2-004.002] MUST support identical size ranges horizontally
as vertically (for example, support portrait videos of the same size
if they support a landscape video size.)

Bug: 322453106
Test: atest android.mediav2.cts.CodecInfoTest
Change-Id: I6918bc926964c8dd398d686ee3e7713d4f023ff2
2024-08-19 06:58:01 +00:00
Vasantha Balla
27156185cc sm6225-common: Add property to prefer hw codecs in thumbnail
Add property "media.stagefright.thumbnail.prefer_hw_codecs"
to system.prop

Change-Id: If60f9cdc8b0236df421a72e7621f1e57fd3f4f55
2024-08-19 06:58:01 +00:00
Bruno Martins
225e97375a sm6225-common: Remove software OMX blobs
Default to C2 codecs from swcodec apex.

Change-Id: I32f0b0abe680c1f350268115a3cc5488a2a57ec3
2024-08-19 06:58:01 +00:00
Alexander Martinz
6a2ac3eb15 sm6225-common: media: performance: remove non-existant codecs
Change-Id: I60a86ed4693c9f26e9e639513c11724e992c1716
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
2024-08-19 06:58:01 +00:00
Alexander Martinz
8e5cc81b67 sm6225-common: media: drop OMX heic encoder
Test: run cts -m CtsMediaEncoderTestCases

Change-Id: I0fa1c08e9df365106ee48c61b1ef1b7b0f461d32
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
2024-08-19 06:58:01 +00:00
Alexander Martinz
100a6d61d3 sm6225-common: media: drop OMX sw video codecs
These are already supported by c2.

3gpp:
  - c2.android.h263.decoder
  - c2.android.h263.encoder

mp4v-es:
  - c2.android.mpeg4.decoder
  - c2.android.mpeg4.encoder

Test: run cts -m CtsMediaDecoderTestCases
Test: run cts -m CtsMediaEncoderTestCases

Change-Id: I6929ec570642255ea04f19c479d494ad4d1aec20
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
2024-08-19 06:58:01 +00:00
Michael Bestas
fd70788102 sm6225-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-08-19 06:58:01 +00:00
Michael Bestas
a1c32085c0 sm6225-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-08-19 06:58:01 +00:00
Aaron Kling
7335ac56fa sm6225-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-08-19 06:58:01 +00:00
Michael Bestas
00ea12a98a sm6225-common: Use the right media_codecs on khaje devices
Moto khaje devices are SoC ID 518, which use the v3 configs
according to init.qcom.early_boot.sh.

Use the AOSP SKU mechanism to load the right codecs, since we lack the
qcom framework changes to load the custom configs.

Change-Id: I4b53bf586b5d9160a1e4af2271c8ea9e2915b1ef
2024-08-19 06:58:01 +00:00
Michael Bestas
95237aab19 sm6225-common: Copy media_codecs_vendor to media_codecs
These are the right codecs to use for this device. The vendor codecs
file isn't picked up without qcom framework changes.

Change-Id: Ieecd2bfc14db2b396ca6257fdb2cd9361d9d7738
2024-08-19 06:58:01 +00:00
Michael Bestas
ae0041654a sm6225-common: Remove unused media_codecs
Default is bengal, v3 is khaje

Change-Id: I7682684c25b9783ffc8786f374be347d3109ce21
2024-08-19 06:58:01 +00:00
Anver sadhique
ab19ab6b04 sm6225-common: media: use AOSP FLAC decoder.
qti flac decoder doesn't support floating encodings, use AOSP decoder.

Change-Id: Id67432ac3735576a1b08d17c5c425abcbed32f81
2024-08-19 06:58:01 +00:00
Michael Bestas
257254af54 sm6225-common: Drop unused media_profiles
Change-Id: I1faa844bf0348000c9ec6cd46cfd2e227e9f0a3a
2024-08-19 06:58:01 +00:00
Michael Bestas
55893f11d9 Reapply "sm6225-common: Unset BUILD_BROKEN_INCORRECT_PARTITION_IMAGES"
This reverts commit 2d138058a1.

Change-Id: I0e0eabdc848c5c80ed9baa5db6e68fda9402a6ee
2024-08-15 18:58:09 +00:00
Michael Bestas
7b0c1a2352 sm6225-common: Update to devon_g T2SNS33.73-22-3-7
Change-Id: Ief42449169cd83a970a0e43c78f583b94812e829
2024-07-29 13:38:15 -04:00
Ethan Chen
6679acfe48
sm6225-common: Remove unused init.qcom.class_core service
* This script is a no-op for the bengal platform.

Change-Id: I71fef49d4a81f3dbeffc89d87dcf63fa56579bf0
2024-07-05 18:17:08 +03:00
Ethan Chen
7e811fecf4
sm6225-common: Remove unused init.mdm script
Change-Id: I12cc8cc64518a7ce9f0d32e8811ed6d3fbc09d4e
2024-07-05 18:17:08 +03:00
Ethan Chen
30f0c4dbcf
sm6225-common: Remove factory testing init scripting
Change-Id: I76abf290f7606dd46f0bff62176ef73143042164
2024-07-05 18:17:08 +03:00
Michael Bestas
7bbdd005ab
sm6225-common: Drop most motorola modifications from post_boot script
These are either irrelevant or just used for debugging.

Change-Id: I6d434a4bbd69a362dd72e8b5a719c7fe51f99668
2024-07-05 18:17:08 +03:00
dianlujitao
f49fb47274
sm6225-common: Nuke ATFWD
It's normally not used at all.

Change-Id: Idb824b3b8c783b6ac962e604df05f9154beb4ed2
2024-07-05 13:58:08 +03:00
Lorenzo Colitti
12bb447f90
sm6225-common: Delete dhcpcd init entries, since dhcpcd is no more.
Bug: 27192644
Change-Id: I1aa25190c07f027884421d91c1e93f214493382d
2024-07-05 13:54:55 +03:00
Ethan Chen
8adb4cfa31
sm6225-common: Remove wigig components
Change-Id: If730bffdf749f30ddf0dfeec8ce769848b19b17e
2024-07-05 13:54:14 +03:00
Nagireddy Annem
7d981302e6
sm6225-common: init: Set permissions to rawdump node
Move permission setting logic from init rc file to ueventd rc file.

Change-Id: I4b94e0e188f8b420a608cc2e0d97e4b960381c31
2024-07-05 13:53:35 +03:00
dianlujitao
3a99687186
sm6225-common: declare expat as symlink during extraction
Change-Id: I0e42b6baabf3f44fb390e9a32af8a546cdf162c6
2024-07-04 09:37:10 +03:00
Michael Bestas
0c303a370c
sm6225-common: Switch to SPDX copyright & update dates
Change-Id: I1adc8afc557a0d8a7379ec24589ea68b2391d147
2024-06-28 15:51:10 +03:00
Alexander Koskovich
5c302b1a26
sm6225-common: rro_overlays: Drop explicit 'sdk_version' declaration
* We don't need to manually set this anymore.

Change-Id: I1239ba541636e53f8ea4373d3815024f2cd60824
2024-06-28 12:57:39 +03:00