Commit Graph

1020 Commits

Author SHA1 Message Date
Bruno Martins
9d365530cd sm8550-common: Correct secure MSM kernel modules loading stages
This now matches securemsm-kernel configs for kalama.
Essentially, QCOM explicitly loads hdcp_qseecom_dlkm in recovery
and also decided to load qrng_dlkm in the first-stage in order
to improve booting times.

Change-Id: I6ff0debc8eaabf3d2ee0d06771f74b90d21e1804
2023-09-18 21:45:54 +01:00
Pranav Vashi
d4526e57f9 sm8550-common: Remove kernel LTO specification
Change-Id: I055f07b01e413eef5daf8b7f8f3fac86cd27a89c
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2023-09-18 21:32:41 +01:00
Bruno Martins
3966afc2a2 sm8550-common: Add remaining kernel dependency repos
Change-Id: Id01a1a2f7c705737a3135002d35f342b1e440d88
2023-09-18 21:32:41 +01:00
Bruno Martins
a3e2c4a4ed sm8550-common: Build DTB and DTBO from sources
Change-Id: I45e2d5e23e08d25abf8ec4218d140e7233321cea
2023-09-18 21:32:41 +01:00
Bruno Martins
da4b84fb49 sm8550-common: Update from OOS 11.A.25
Change-Id: Id8a337ccedf1cc3338d061e1f3756bb9b9ad7b21
2023-09-18 21:32:41 +01:00
Bruno Martins
69eb52b3bd sm8550-common: Properly include and load GKI modules
This allows GKI modules to be copied to GKI module partition,
that is system_dlkm.

Change-Id: Id7e90aa17a60f32bc70d18469c910fa4ed7db1d5
2023-09-18 21:32:41 +01:00
Bruno Martins
800ef86be7 sm8550-common: Use device-specific data-ipa-cfg-mgr
This is a workaround to deal with the fact that QCOM has moved
libipanat out of data-ipa-cfg-mgr for kalama.

Change-Id: I66a01d115546af415dc7956831ea41d1e2902863
2023-09-18 21:32:41 +01:00
Bruno Martins
1ac545c7ca sm8550-common: Update from OOS 11.A.24
Change-Id: I2b70b98c6133f7551d2ff1e7ea049d64e51dcfb4
2023-09-16 14:45:37 +01:00
Pranav Vashi
b72af1fe2e sm8550-common: Remove qrtr namespace module merged upstream
* ns.ko is merged with qrtr.ko

Change-Id: I65788e998add9c83258d4bd9050d5155ba0b0142
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2023-09-16 14:45:37 +01:00
chandu078
d21920e225 sm8550-common: Include vendor/oplus/kalama_GKI.config fragment
Change-Id: Ibcb995e49f518a6e1dd3864cc8b10fe739ce8a7d
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2023-09-16 14:45:37 +01:00
Pranav Vashi
8aeb4f1bdd sm8550-common: Drop debug and test kernel modules
Change-Id: I77ab2c3fd7fdcde6535ebb31cb05537f071b1304
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2023-09-16 14:45:37 +01:00
Pranav Vashi
d709c1b35f sm8550-common: init: Reset kernel scripts to CLO
Change-Id: Ie1ec116c03be634bc2ca14b53125cd9186420e27
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2023-09-16 14:45:37 +01:00
Pranav Vashi
49bb9d8fd0 sm8550-common: Move few kernel scripts to device tree
* The oplus modifications are no-op. It's better to have working
  qcom implementation instead.
* This also allows to further fine-tune.

Change-Id: Iaa7634f6d5bb25035d09bbb4455553718792cff3
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2023-09-16 14:45:37 +01:00
chandu078
4ceaf2e33a sm8550-common: init: Skip setting permission on multimedia kevent feedback
This was dropped during the last minimal kernel import.

Change-Id: I377d817327f5e85c6381e9e89a42162b699a1436
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2023-09-16 14:45:37 +01:00
chandu078
5b254796a0 sm8550-common: Remove dropped OPLUS and unused QCOM kernel modules
Change-Id: If2edf9187966ce5d73ea697964a2d3f5ba646756
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2023-09-16 14:45:32 +01:00
Adithya R
ad06662f29 sm8550-common: init: Remove cnss_diag service
Change-Id: I759ca58e3a59ac6b8a113deb0a4e149a43a89225
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2023-09-09 13:44:42 +01:00
ZVNexus
6ecb5be3fb sm8550-common: init: Remove QCOM system daemon service
* For factory use only and has real performance costs.

Change-Id: I2d25c28c2ba146fa4464cb49f02ead6a6d787b48
2023-09-09 13:44:42 +01:00
Abhiprayah Tiwari
3dd0c4576e sm8550-common: Move testscripts file from main rc to test rc
Moving init.qcom.testscripts.sh service start from
init.qcom.rc to init.test.rc to prevent it from having
any signature in user builds.

Change-Id: Ifa69537f8394e0919d26d6db300910620278ed76
2023-09-09 13:44:42 +01:00
Bruno Martins
5b5ff113a9 sm8550-common: Enable extended compress format
It's enabled in kalama platform, as observed in stock libtinycompress.

Change-Id: I3183faced679ab433ed1ce30ac7df6c7c511e476
2023-09-06 22:05:14 +01:00
Bruno Martins
89ce4acff1 sm8550-common: Skip building agm test binaries
Change-Id: I6e0f4f37b4ae465700dfd4d20e54858a8241dcf4
2023-09-06 20:42:55 +01:00
Aaron Kling
e45f75b2dd sm8550-common: Move most agm and pal targets to source built
Change-Id: I6ca0c5396a3b583b37e029f5c98ff13127db65a6
2023-09-06 18:05:16 +01:00
Michael Bestas
6d9f48c380 sm8550-common: Create libwfdnative symlink for WfdService
Change-Id: I668d899eabcc9c8f1018a51761b0f566839daca6
2023-08-30 11:54:01 +01:00
Pranav Vashi
2de9223e7a sm8550-common: Remove duplicate entries in modules load lists
Change-Id: Id3b31e15325c7df562a8690f4ecfedb006471285
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2023-08-29 17:58:54 +01:00
Bruno Martins
025a582700 sm8550-common: Remove WVCdm L1 odm lib
Quite sadly, L1 breaks as soon as bootloader is unlocked.
Despite apps such as DRM Info still report security level 1,
it can be noticed that system ID is not proper as it shows
a 10 digit number instead of 5. In this state, the device
doesn't properly fallback to L3, thus breaking any app that
requires DRM.

Removing the lib allows the sucessful fallback to L3,
at least it's something...

Change-Id: I8e09647674cdb98a85a4977b1b468288c4ca52c5
2023-08-29 15:55:51 +01:00
SongFerngWang
f178614008 sm8550-common: overlay: Enable 5G SA and NSA
Change-Id: I2101eb6052bd74eed9ce6a981809bbbae0d61ec5
2023-08-28 22:36:16 +01:00
Pranav Vashi
12e3d7494d sm8550-common: Add missing display calibration data configs
Change-Id: Icc79b2070d9657e781ddc655986c60d5fb3756e1
2023-08-28 22:19:01 +01:00
Bruno Martins
3173a97110 sm8550-common: Build QTI health service
Change-Id: I929a51b8516e5b3265f08160d0055f7dae6ab2bf
2023-08-05 00:58:37 +01:00
Bruno Martins
8264689077 sm8550-common: Let build system copy audio manifests
Despite forcing prebuilt audio HAL to be copied at the very end,
it's still built from sources along with all dependencies,
including the non-qmaa manifests.

Change-Id: I64a3611d6ea7b6d013d21dbf2df2b9b4c34963e6
2023-08-03 12:00:38 +01:00
Bruno Martins
eb5af629c4 sm8550-common: Remove few unused blobs and reorganize
Change-Id: I489a809217964b87438fdce72ec3ec9f54cdf09c
2023-08-03 11:58:10 +01:00
Bruno Martins
0513be442c sm8550-common: Build misc deps and dynamic_sensor_hal from sources
Change-Id: Ifed734fc01282467b6ae7a9c893e8f474038eaaf
2023-08-03 11:56:33 +01:00
Bruno Martins
ca1229c299 sm8550-common: Update audio-HAL path
It has been moved to a subdir and the structure is now as follows:

  hardware/qcom-caf/$(QCOM_HARDWARE_VARIANT)/audio
  ├─ agm (clo:platform/vendor/qcom/opensource/agm)
  ├─ pal (clo:platform/vendor/qcom/opensource/arpal-lx)
  └─ primary_hal (clo:platform/hardware/qcom/audio-ar)

Change-Id: Icfce2884a482b498e97f931732d37974161cf620
2023-08-02 22:11:49 +01:00
SGCMarkus
3d26483ca3 sm8550-common: Build external kernel modules
Change-Id: I7d7166ff6e8f6f8e4b02fba39539ffc3293f7e25
2023-07-28 17:05:01 +01:00
Bruno Martins
9fd913dd41 sm8550-common: Build kernel inline
Change-Id: Ie1eff6252419ed25018e70770db17d7115154750
2023-07-28 17:05:01 +01:00
chandu078
99919d570b sm8550-common: Drop unused Audio Calibration Database files
Change-Id: I675e2173d02828e9dab38c79115a7a26afdb937f
2023-07-28 17:05:01 +01:00
chandu078
66e4fe94f1 sm8550-common: Pick microphone characteristics config from audio HAL
Change-Id: Ia5ac45cdcb4ce99bc2347b8f567e04d51413dd22
2023-07-28 17:05:01 +01:00
Purushottam Kushwaha
1d49023b42 sm8550-common: NAN: set property 'wifi.aware.interface' to use separate interface
This CL is to set 'wifi.aware.interface' property for the targets
where separate NAN discovery interface is supported.

Change-Id: Ib892f2207a9366a5a86071fd6d3c4b37e174b08c
CRs-Fixed: 2680050
2023-07-27 14:59:01 +01:00
chandu078
1bef1c62cb sm8550-common: Use WCNSS configuration from OPLUS
Change-Id: Id846f9d15e4a3b6be4b81c0a11bff52b7e4217ca
2023-07-27 13:50:54 +01:00
Chandu Dyavanapelli
f97f6c268d sm8550-common: Disable HWC on virtual displays
This aligns with stock and fixes screen recording issue,
without any side-effect over WiFi Display feature.

Change-Id: I4dd0a9c5825d0e8c87d759a6d99fc2fb061154d4
2023-07-26 17:24:30 +01:00
Bruno Martins
ee9a23f903 sm8550-common: Fix WiFi Display
The 64-bit variant of WFD service was missing, which is exactly
the one that's required. Ditch the 32-bit one while at it.

Change-Id: I23d9f82d8988ac404e0b97ab66e5dd676d60c67c
2023-07-25 23:37:16 +01:00
Bruno Martins
323bc12700 sm8550-common: Add device ID attestation support
Change-Id: I30c3ffb6cdc816c69d9f0ecc52e87c7cd8f6fa8e
2023-07-25 22:34:34 +01:00
Bruno Martins
31df6ab7d9 sm8550-common: Modify OpenGL and Vulkan dEQP level to 2022
Stock declares that device passes dEQP tests associated with date 2022-03-01.

Change-Id: I01a780bf6519bb2003e730610d2efe88e4cd47d0
2023-07-25 22:21:48 +01:00
Chandu Dyavanapelli
34d07d4125 sm8550-common: audio: Import policy configuration changes from OPLUS
Change-Id: I6fb3700c8078737baf2a36035b258e4351a084db
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2023-07-25 10:14:07 +01:00
Chandu Dyavanapelli
6ba46935ab sm8550-common: audio: Remove spatial output
There's no proper support for spatial audio in AOSP.

Change-Id: I9c90fead822a5b9c846142717c98ce5aab8c63bf
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2023-07-25 10:14:07 +01:00
Bruno Martins
5e59d3f369 sm8550-common: Use EuiccGoogle package from stock images
After all there's no need to steal it from elsewhere because
it exists in the my_bigball partition, so copy it along with
the priv-app permissions grant file.

Change-Id: I0a5c3ef585174185ac969a8f6ca9bf0d0e6f2d85
2023-07-22 23:23:33 +01:00
Chandu Dyavanapelli
29c08e8f31 sm8550-common: Drop duplicate proprietary files entries
Change-Id: I65ae7637500ddd3b104e90d43df4ac22cbd2b394
2023-07-22 20:22:46 +01:00
chandu078
9c29d074ad sm8550-common: init: Remove old SSR restart level setup
This is no longer a thing in kalama platform.

Change-Id: I82849a0ac960dceade072a28750b432d57f4a4c6
2023-07-22 20:18:21 +01:00
Neel Chauhan
7bb08c0836 sm8550-common: Remove old Sprint APNs
Sprint's LTE network is now dead: https://www.t-mobile.com/support/coverage/t-mobile-network-evolution

Change-Id: If7b934bec5b2bfc19d4e4e0409666420deadbeef
2023-07-21 23:03:34 +01:00
Neel Chauhan
dd5e0c0b1f sm8550-common: Disable compressed snapshots/VABc
Virtual AB compression prevents GApps from being installed.

This reverts commits 8d6a934 and f125c68.

Change-Id: I119b8e042e4cdeec27a19ab5dd4f0666cc115ae1
2023-07-21 15:55:34 +01:00
Bruno Martins
919c042c0d sm8550-common: Ship prebuilt EuiccGoogle and build its companion app
Change-Id: I389d597093977d2d5883de8bb421edcecf6731fa
2023-07-18 11:26:20 +01:00
razorloves
737833ce7d sm8550-common: overlay: Set slotId# of non-removable esim
This is needed for esim to function properly.
Without it the EID value could not be read.

Change-Id: I414a7c98362523c5880cfa90b6ce9c0ce92e9c32
2023-07-18 11:26:15 +01:00