Commit graph

465 commits

Author SHA1 Message Date
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
Michael Bestas
2d138058a1 Revert "sm6225-common: Unset BUILD_BROKEN_INCORRECT_PARTITION_IMAGES"
This reverts commit a95fef1c7b.

Reason for revert: Breaks various things.

Change-Id: I1416e65a2100ea213c09ce53e7aca6af0f019c40
2024-06-27 22:20:41 +00:00
Paul Crowley
54f23291e2
sm6225-common: Remove wait_for_keymaster and all references
No longer needed now init listens for property changes on a
separate thread.

Bug: 186580823
Test: Cuttlefish boots successfully
Change-Id: Ief3a546d2154231d18957c2f703bd128966d7288
2024-06-24 16:13:15 +03:00
Bruno Martins
a95fef1c7b
sm6225-common: Unset BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
Qualcomm targets can now build hermetic partitions.

Change-Id: I241105e01d85fea983b34846ca675666ac07541b
2024-06-24 02:23:29 +03:00
Bruno Martins
2330aea7f1
sm6225-common: Convert WiFi firmware symlink to install_symlink target
The last bit that was preventing building hermetic images.

Change-Id: I75bb7de4593a7992f6015317cf97e088beeba0cb
2024-06-24 02:23:29 +03:00
Michael Bestas
2efe1428fa
sm6225-common: Convert expat symlink to install_symlink target
Change-Id: I4cf144e660d44bd0f28e5b94d9995ddd4c08b38c
2024-06-24 02:23:29 +03:00
Michael Bestas
46e1aae879
sm6225-common: Convert aw882xx firmware symlink to install_symlink target
Change-Id: I1ed840d33d09e717bdc00675212fe508021dcc1c
2024-06-24 02:23:28 +03:00
Bruno Martins
a5093a707d
sm6225-common: Mark CNE symlink target as required package
Change-Id: I0bfe65ba61b6aa9916fe6459be2a84d772939a2f
2024-06-24 02:23:25 +03:00
Bruno Martins
84257e0f99
sm6225-common: Declare EGL libs as symlinks during extraction
Change-Id: I4b2f3e79b5e518889d9771bf8990e27babca8b61
2024-06-24 01:06:12 +03:00
Bruno Martins
c3033d56c9
sm6225-common: Declare IMS libs as symlinks during extraction
Change-Id: Ia1b8097d28dd4888232fe383b830515b1b9bafaa
2024-06-24 00:48:18 +03:00
Michael Bestas
1cb7fbac98
sm6225-common: Create rfs fsg symlink
Change-Id: Id337670d40aeb598e4b2507bd94d4885344c675c
2024-06-24 00:46:59 +03:00