Commit graph

136 commits

Author SHA1 Message Date
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
Cosmin Tanislav
b8a2244a43
sm6225-common: do not manually build dependencies
Change-Id: I4046d8eeabfc70842898b7034f75cdd6bcfc441b
2024-08-29 23:56:43 +03:00
Yumi Yukimura
b613146320 sm6225-common: Switch to QTI Memtrack AIDL HAL
Change-Id: Ibcbaff02fd56fbccc3a88c01a5f46a89cb212ef5
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
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
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
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
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
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
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
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
LuK1337
57cb867953
sm6225-common: Add hardware/samsung to soong namespaces
See I78b1b9930a57bc01afda722b9f8a196c372f9d8b.

Change-Id: I634b562e12b70a0c060d449d3ba1d4e87204cf5d
2024-04-02 16:41:18 +03:00
basamaryan
c2af420384
sm6225-common: Don't explicitly include updatable_apex.mk
It is inherited by base_system.mk as of QPR2

Change-Id: I020a05b233f61ea28d03199cbc76051e6e97e1dc
2024-03-22 13:45:39 +02:00
Michael Bestas
104e653a82
sm6225-common: Update media configs to devon_g T2SN33.73-22-3
Change-Id: I32a9e0fef589bc80e25cfc6b83c026504b4214e7
2024-01-05 11:41:06 +02:00
Bruno Martins
e6633b270e
sm6225-common: Move to QTI health AIDL service
The health AIDL HAL service provides functionalities of charger,
therefore system charger at /system/bin/charger is deprecated.
On top of that, QTI health AIDL HAL service enables suspend by
default, the equivalent of setting ro.charger.enable_suspend
for legacy charger.

Change-Id: I59c23e7974cea1174b0161f31a535fa3afa1e5c9
2023-11-22 17:53:38 +02:00
basamaryan
19e395b73f
sm6225-common: Build libprotobuf-cpp-full-3.9.1-vendorcompat
For now this is implicitly built by lineage specific
libprotobuf-cpp-lite-3.9.1-vendorcompat lib, but in the future this
might not be the case.

Change-Id: I724e933e046cbf631c078321d55550b96ca998da
2023-11-11 16:03:01 +02:00
LuK1337
0148ffbfa5
sm6225-common: Build libprotobuf-cpp-lite-3.9.1-vendorcompat
Change-Id: I0aac742db9c2b4b3e48ee20158f19405863893c2
2023-10-25 12:13:15 +03:00
Gabriel Biren
39179db190
sm6225-common: Update makefile to use the AIDL Wifi Vendor HAL.
Bug: 274964641
Test: Pre-submit tests
Change-Id: I4d9114377fe75b593bbfe6a59f03d8f5d607d6a1
2023-10-25 12:13:14 +03:00
Dhina17
9198f2f7a0 sm6225-common: Build android.hardware.drm@1.3 to vendor
Change-Id: Ida6955257edd8d742d0ba00f9ec339125e2a5b2e
2023-07-11 00:30:45 +05:30
Dhina17
644c2d4f30 sm6225-common: Drop redundant android.software.sip.voip.xml copy rule
Already it's here:
e6678e8cfd/config/common.mk (L67)

Change-Id: I45b268406391cbf337b61b41ec37fbe7990e4a67
2023-07-04 12:39:17 +05:30
Bruno Martins
d75928e372 sm6225-common: Migrate to AIDL ClearKey DRM HAL
Change-Id: Iad5cc1176978137c647069197b33f49fb4d98ab2
2023-07-01 14:07:27 +05:30
Michael Bestas
5b339c43bc
sm6225-common: Decommonize vendor_boot
Change-Id: I0cbe93fed447bcd86cbfb0e7a4e01823691f6f32
2023-06-12 14:47:04 +03:00
dianlujitao
a7f3973f7c sm6225-common: Build moto common overlay
Change-Id: I2547000945e816a5b6cc9876bef4a8430cf38754
2023-06-10 12:38:31 +02:00
Michael Bestas
912848fc7a sm6225-common: Build Lineage Health HAL
Change-Id: I70cc903a03ac9fa3303bb8fa039c9de4806449bf
2023-06-09 18:13:08 +02:00
Arian
37fb6cbefd
sm6225-common: Drop unused libs
Change-Id: I302af2e0a1c4008cd614151a4d1d0ba10528c4b1
2023-06-01 02:10:05 +03:00
Alexander Koskovich
71d2b2a087
sm6225-common: Drop PRODUCT_BUILD_SUPER_PARTITION
* Super image is not generated by a default 'm' build,
   but we at least want it for dist builds.

Change-Id: Ia12a5314632509fcd309d51ddf757efdc37499c3
2023-05-30 17:50:52 +03:00
Nolen Johnson
75b00aebb2 sm6225-common: Build MotoActions
* We already track hw/moto.

Change-Id: I9e935b31cda95b70c3398f798fd37b64b1984ac1
2023-05-29 15:47:07 -04:00
Bruno Martins
a95b95eb99 sm6225-common: Only ship with disabled A2DP offload configuration
A2DP hardware offload is broken since A13 QPR1 merge.

Change-Id: Idca3373669e28a0afd627daa79ebb0254abb5c74
2023-05-20 03:52:02 +05:30
Michael Bestas
a4f78a14ef
sm6225-common: Set up dalvik according to stock configuration
Based on init.mmi.product.rc

Change-Id: I5bd4a19a2a880189b9c28780ff343d1b9e508a80
2023-05-19 04:20:33 +03:00
Michael Bestas
8e1d912a3b
sm6225-common: Add FM blobs & build FM
Change-Id: I471a00dff44e8fb90e65b3f506a899e65c94d62f
2023-05-19 04:20:33 +03:00
Michael Bestas
4e4403b259
sm6225-common: Move izat config to device tree
Remove unused apdr.conf while we are at it

Change-Id: I49e6a7be7b29a79739c8f66966e26213c71b6160
2023-05-17 20:48:48 +03:00
Michael Bestas
f64e3835ce
sm6225-common: Build GPS HAL from source
Change-Id: I9bd42ab788a72ac80810d37b77591ebf0312a708
2023-05-17 20:48:48 +03:00
Michael Bestas
2ddb9afcae
sm6225-common: Decommonize AVB setup
Change-Id: Ifee2dac0dba86f5e0777dbe3c676a39c24bf113e
2023-05-10 23:49:35 +03:00
Michael Bestas
8ed68258b6
sm6225-common: Decommonize fstab
Change-Id: Ibe837811e364cb3b8fe189bf91474ae3dbf2989a
2023-05-10 23:36:33 +03:00
Michael Bestas
22c8cb21f6
sm6225-common: Decommonize all API levels
Change-Id: I305d1f3e0682d996689913a8893b2f0c3e2a7004
2023-05-10 23:14:06 +03:00
Michael Bestas
c0b985cab2
sm6225-common: Decommonize audio_policy_volumes.xml
Change-Id: Icaf4501ea49cb3e60a6ceb0e209bdaa5e13e83e9
2023-05-10 23:03:37 +03:00
Michael Bestas
f336ad2c94
sm6225-common: Decommonize NFC permissions
Change-Id: I7534163b89779c8c0a7c6641d94170f652fc286b
2023-05-10 22:44:51 +03:00