Commit graph

450 commits

Author SHA1 Message Date
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
Bruno Martins
1f6bff2d81
sm6225-common: Move to new RFS install_symlink targets
Change-Id: I9560fd0da00958d9349a0881b5a5f64a2c02e495
2024-06-24 00:44:11 +03:00
MD Raza
8fccbc318d
sm6225-common: extract-utils: extract CarrierSettings when only list exists
Signed-off-by: MD Raza <delightreza@gmail.com>
Change-Id: Iab770bfcec3fec3b2c0211c6c47e1bc6f675a38e
2024-06-23 22:10:50 +03:00
basamaryan
dce0970651
sm6225-common: Drop unnecessary BOARD_USERDATAIMAGE_FILE_SYSTEM_TYPE flag
Change-Id: Ibb96c529ac64239d7bb919e46f5a625a6deebf98
2024-06-23 18:34:34 +03:00
Arian
0b5f292802
sm6225-common: Don't explicitly build fs_config_files
The fs_config_files for each partition is already added to
PRODUCT_PACKAGES by base_{product,system,system_ext,vendor}.mk.

Change-Id: Ifbadacd5cb20beca70ed8b3accb3baf86a989c92
2024-06-23 18:34:33 +03:00
Michael Bestas
4dc7c8e3b9
sm6225-common: Build missing libraries for 14 QPR3
Change-Id: I6a84526ca1e9f4e5140c8068646433cab3fe85b2
2024-06-15 23:37:28 +03:00
Michael Bestas
7bb9e7f4df
sm6225-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-06-15 23:37:22 +03:00
Michael Bestas
81aaabbfbf
sm6225-common: Update to devon_g T2SNS33.73-22-3-6
Change-Id: I6ab71057e2912a2e3f5d8c77a90fdd8ed8a96e7d
2024-06-04 18:00:32 +03:00
Sebastiano Barezzi
5b2c950add
sm6225-common: Drop proto sensors configs
Change-Id: Ie8377977931f18f0f7f3082c1c4e87a53111c593
2024-05-18 09:27:57 +03:00
Michael Bestas
84de105bbe
sm6225-common: Drop QTI WFD
It seems like bengal does not support this feature, stock does not have
the complete stack and after making it connect by using the entire blob
stack from another device, it results in a green screen.

Change-Id: Id158d3d17460c3122168310a8ca45809984e6dc0
2024-04-30 18:46:19 +03:00
Michael Bestas
bb651acb8d
sm6225-common: Stop building some unused vendor libs
Change-Id: If49e53c15c807e72fc2cb259a1f159009aa2eec8
2024-04-10 15:29:53 +03:00
Bruno Martins
cf148b82e2
sm6225-common: Prepend "system/" before paths where necessary
Change-Id: I29a61453565d0b2a27c601b8e58edbe1bad3ec9a
2024-04-09 22:04:52 +03:00
MD Raza
3bcd8763cc sm6225-common: Add gf_ident service
Signed-off-by: MD Raza <delightreza@gmail.com>
Change-Id: Iabeed926079cb2edb1d287e2654e7fa288c329fb
2024-04-05 07:21:13 +05:30
LuK1337
57cb867953
sm6225-common: Add hardware/samsung to soong namespaces
See I78b1b9930a57bc01afda722b9f8a196c372f9d8b.

Change-Id: I634b562e12b70a0c060d449d3ba1d4e87204cf5d
2024-04-02 16:41:18 +03:00
Bruno Martins
a4fbf5792c
sm6225-common: Use the common device compatibility matrix from QCOM
Change-Id: I0c0f3ecddbe6d7b232cc0d13c78ca58094e4e720
2024-03-28 10:12:04 +02:00
Michael Bestas
75ca2f011e
sm6225-common: Update to devon_g T2SNS33.73-22-3-5
Change-Id: I2fd5fab318f88995032fff579a818b6698e20a99
2024-03-25 10:48:46 +02:00