21 Commits

Author SHA1 Message Date
Bruno Martins
095c667e44 sm7325-common: Migrate to AIDL ClearKey DRM HAL
Change-Id: Iad5cc1176978137c647069197b33f49fb4d98ab2
2022-09-29 22:21:22 -04:00
Bruno Martins
3fc54cfaf5 sm7325-common: Drop component overrides
This is no longer needed as of Android 13.

Change-Id: I38435c47c8781678f82014decbbae40dcab0a07b
2022-09-29 22:21:20 -04:00
Josh Wu
a36404f913 sm7325-common: Switch BtAudio to AIDL
Test: m
Bug: 203490261
Change-Id: I4b8ac40d5ad410b89eb6a0573d740d86471ecfc7
Merged-In: I4b8ac40d5ad410b89eb6a0573d740d86471ecfc7
2022-09-29 22:21:14 -04:00
Jakub Pawlowski
19dbb0b0d2 sm7325-common: Use bluetooth.audio@2.1
bluetooth.audio@2.1 adds new functionalities required for Bluetooth LE
Audio development

Bug: 150670922
Change-Id: Iac2ece0c029a38fef82e81f5ba3ba491163818ef
2022-09-29 22:21:13 -04:00
SGCMarkus
e98449d472 sm7325-common: switch to developer_gsi_keys
Change-Id: Iad357bd7dc0b6ae15e381c23a7ddf7b86f50f14e
2022-09-29 22:21:13 -04:00
Nolen Johnson
0d42f55a28 sm7325-common: Opt-out of Lineage charger
* We have our own images/animation.

Change-Id: I8ebbe920c1923d47237e1c9bce7aa3959ae37801
2022-09-20 17:46:49 +02:00
hpnightowl
d69dcab171 sm7325-common: drop audio.a2dp.default
- building from here
  https://github.com/LineageOS/android_build/blob/lineage-18.1/target/product/full_base.mk#L35

Change-Id: Ib71c1abd381468ec3621d60e5ca959f738f51168
2022-09-13 15:35:22 -04:00
Daniel Rosenberg
26c6ab6578 sm7325-common: Enable casefolding support on userdata
This enables casefolding, which is required for removal of sdcardfs.

Test: Wipe data and boot. lsattr /data/media, check for +F
Bug: 138322712
Change-Id: I020aa6bb9c121e7bda83c07bc9fb37dcfa26702c
2022-08-27 23:42:32 -06:00
Marc Bourgoin
219c25e9e1 sm7325-common: Adapt to virtual A/B
dubai is virtual A/B where-as berlin is not

Based on the logic from
https://github.com/LineageOS/android_device_xiaomi_sm8250-common

Change-Id: Ibadfd452365c799b290d32fd5afabc046b9f9c41
2022-08-26 04:02:24 -06:00
Marc Bourgoin
1b8366b8c7 sm7325-common: Decommonize some some audio and blobs
These audio and blobs differ between what berlin and dubai each have

Change-Id: I30dbfdb8a0872bc439ae0f52d72ba84794b1ca26
2022-08-26 04:02:21 -06:00
SGCMarkus
c159f4a887 sm7325-common: use media_codecs_yupik_v0.xml also for v1
both ro.media.xml_variant.codecs and ro.media.xml_variant.codecs_performance are
set to _yupik_v1, but media_codecs_yupik_v1.xml, but it does not contain any
video codecs.
This causes video playback (e.g. Youtube) to only support up to 1080p60 (stuttering)
without HDR. Trying to record videos in >1080p will also result in the camera HAL
crashing.

Using the v0 config for v1 too fixes both issues. Youtube now supports up
to 4K60 with HDR, and camera recording in >1080p works.

Change-Id: I498c2fca380618dea4768e9d3fcda77585b1de97
2022-08-11 14:01:34 +02:00
SGCMarkus
9396fb121e sm7325-common: Switch to AOSP BT HAL
Change-Id: I9a733ff3edd6b1841096c86998007c51724ce309
2022-08-09 16:07:12 -04:00
Nolen Johnson
887dd57b09 sm7325-common: Swap to QTI USB init scripts
Change-Id: Ibb01a6a8b9817b01a8db397cdf82a89659562d62
2022-08-09 11:01:48 -04:00
Nolen Johnson
e438ed51d8 sm7325-common: Switch to commom QSAP
Change-Id: Ia57042a4fb9afe4c5b3e70c29d80c4f652901096
2022-08-08 16:58:29 -04:00
SGCMarkus
b10f491df2 sm7325-common: build audioadsprpcd
this fixes audio recording/incall audio

Change-Id: Iedd83baf0c9e59689cbda5f027eaad76072782a2
2022-08-08 16:40:07 +02:00
Nolen Johnson
21be1e6bc5 sm7325-common: Cleanup dead targets
build/make/core/main.mk:1136: warning:  device/motorola/berlin/lineage_berlin.mk includes non-existent modules in PRODUCT_PACKAGES

Offending entries:
libOmxVdec
libOmxVenc
libOmxVidcCommon
libc2dcolorconvert
libqcreverb

build/make/core/main.mk:1136: error: Build failed.
15:35:26 ckati failed with: exit status 1

To do this yourself, put the following line into
lineage_$TARGET.mk:

`$(call enforce-product-packages-exist,)`

Note that the above flag must be in the product
makefile to work.

Change-Id: I0e4d93f4c3be077d49befa1f547d11d623ca74d5 |
2022-08-07 22:04:29 -04:00
Nolen Johnson
6db14c7ddc sm7325-common: Correctly declare device recovery directory
Change-Id: Iebf2df406c526df25df74252d5b11e8eb4a32528
2022-08-07 22:04:29 -04:00
SGCMarkus
1008a7e64b sm7325-common: build more blobs from source
includes:
*) com.dsi.ant@1.0
*) vendor.qti.hardware.btconfigstore@1.0
*) vendor.qti.hardware.btconfigstore@2.0
*) vendor.qti.hardware.display.composer-service
*) libdisplayconfig.qti
*) libsdmcore
*) libsdmutils
*) libsdedrm
*) libqsap_sdk
*) vendor.qti.hardware.systemhelper@1.0

Change-Id: Ica20d37094b0528f0b3984f0500f17f6f253b14f
2022-08-07 15:28:00 +02:00
SGCMarkus
1acd9985f2 sm7325-common: add missing blobs
Change-Id: If397d94efa834ee7f20c528c71afa23782ddcdf4
2022-07-29 15:13:16 +02:00
SGCMarkus
225edc4c9f sm7325-common: dont try to copy non-existing media files
remnant from sm8250 -> sm7325 conversion and old berlin tree

Change-Id: Ief117f831977a5281e6d0a3edf9df383569830f2
2022-04-04 22:22:35 +02:00
SGCMarkus
95b667c5b9 sm8250-common -> sm7325-common 2022-03-26 23:16:05 +01:00