Commit graph

496 commits

Author SHA1 Message Date
Cosmin Tanislav
667467ac57 sm8450-common: Skip dependencies which aren't defined in .bp
Change-Id: I01a653661856495788c05b720c0577dac44998a4
2024-08-29 17:48:07 +02:00
Cosmin Tanislav
57362ce255 sm8450-common: Do not manually build dependencies
Change-Id: I4046d8eeabfc70842898b7034f75cdd6bcfc441b
2024-08-29 17:48:07 +02:00
Cosmin Tanislav
90c39fc849 sm8450-common: Document some DISABLE_CHECKELF
Change-Id: I3a7be53c04627ca81f6c9bc5f5215438fab89022
2024-08-29 17:48:07 +02:00
Arian
758a017bef sm8450-common: Fix vendor.qti.hardware.dpmservice ELF checks
Change-Id: I3a8051435f47bedb566fb411ac376b866c2718a9
2024-08-29 17:48:07 +02:00
Cosmin Tanislav
ba65851eed sm8450-common: Fix com.qualcomm.qti.dpm.api@1.0 ELF checks
Change-Id: I759752ccc133d7047d415eb83c5d3c55820437a4
2024-08-29 17:48:07 +02:00
Cosmin Tanislav
8e8b869393 sm8450-common: Fix vendor.qti.diaghal@1.0 ELF checks
Change-Id: Idf2919284e9843e4f7d2c1b903bbffd04ded0863
2024-08-29 17:48:07 +02:00
Cosmin Tanislav
d01751aee6 sm8450-common: Fix vendor.qti.imsrtpservice@3.0 ELF checks
Change-Id: Ia1995d0a3360317843685082e3226ab30f124d09
2024-08-29 17:48:07 +02:00
Cosmin Tanislav
a26afddd75 sm8450-common: Rename prebuilt libgrpc++_unsecure.so for QCC
Change-Id: Ie0e28f1d620f5304b442698c7fc7e1d859934b67
2024-08-29 17:47:57 +02:00
Cosmin Tanislav
350bc54e1c sm8450-common: Fix QCC ELF checks
Change-Id: I0c3ba4608feb0ceb971fba1d0e436f0bfd5b4314
2024-08-29 17:38:58 +02:00
Aaron Kling
6fba02519c sm8450-common: Disable elf checks on some prebuilts
TODO: Explain these
Change-Id: Id57153118829cc9401f60a7576a74785fd561829
2024-08-29 17:38:56 +02:00
Aaron Kling
766bc943bb sm8450-common: Remove elf files in copy files check
New extract files uses packages instead of copy files

Change-Id: I337c07d13bd350958d4808e1693cc6e03753a96c
2024-08-29 17:36:08 +02:00
Aaron Kling
610d81b031 sm8450-common: Enable elf checks
Change-Id: Ia6c9a381abb3384c77532d75e02fd84c841a4d1e
2024-08-29 17:36:08 +02:00
Aaron Kling
0969c4b7a1 sm8450-common: Add vendor soong imports to extract
Change-Id: Ib19e69dc35af6b04519eeb695228af65f3d01d2a
2024-08-29 17:36:08 +02:00
Michael Bestas
050bff1e80 sm8450-common: Automatically add apk/jar/vintf fragments to PRODUCT_PACKAGES
Change-Id: Iaa9d66b0bbdc55f046ee1347cbf83c7eecebb35e
2024-08-29 17:36:08 +02:00
Arian
25b65436b5 sm8450-common: Unify how lines are deleted in blob_fixup
Change-Id: I4d943a4bad184bbca9029ac4ce3c423755e1a267
2024-08-29 17:36:08 +02:00
Arian
24f9eb44e4 sm8450-common: Patch keymint to use ndk backend
Change-Id: I45d2e0adebdc3c1f63220698e283f0a6471bc350
2024-08-29 17:33:51 +02:00
Aaron Kling
5fdb2548be sm8450-common: Use v1 rkp interface for keymint
Change-Id: I281efe89458fefc37a25aa7c2555b9bf92bbdc14
2024-08-29 17:33:29 +02:00
Aaron Kling
3a27bac890 sm8450-common: Drop qvr/qxr
Does not seem that useful, and conflicts with the
libgrpc++_unsecure package if elf checks are turned
on in extract files.
The libgrpc++_unsecure package builds into the
libgrpc++_unsecure-1.61.1.so binary, but the QVR blob
needs libgrpc++_unsecure.so.
Rather than mess with extract files to fix it
some more, just get rid of it.

Change-Id: I53556a5b3452138341de6e1c1556aabb7cd8d711
2024-08-29 17:33:15 +02:00
Arian
9ac6d8641d sm8450-common: overlay: Add reboot to fastbootd
Change-Id: I733b4d29129f85b92222e292af46602310b9f29f
2024-08-29 17:33:15 +02:00
Jesse Chan
6959046284 sm8450-common: overlay: Enable option for full screen aspect ratio
Change-Id: I2a1b2acc5ed97ccb6795dc371c2b3ac9cb4f9d03
2024-08-29 17:33:15 +02:00
Arian
56d6c0dfa3 sm8450-common: Decommonize building powershare hal
Change-Id: I5afc93410f95bbfcd8b14f80c40d408ba31240da
2024-08-29 17:33:15 +02:00
Cosmin Tanislav
c9597dc87d sm8450-common: Move to lineage powershare implementation
Change-Id: I9c2ef85b7ef79ca4db127baf8d4095442f5d2f5a
2024-08-29 17:33:15 +02:00
Arian
e63544314d sm8450-common: audio: Disable hfp
No device ships libhfp_pal on stock, so silence the following error:
08-26 09:13:26.159  1242  1242 E AHAL: AudioExtn: hfp_feature_init: 499: dlopen failed with: dlopen failed: library "/vendor/lib64/libhfp_pal.so" not found

Change-Id: Idf6b6f72f15b792dc5dfc95f24511bfbe54bdc69
2024-08-26 15:32:39 +02:00
Arian
a8d56acc6f sm8450-common: Add hals.conf to load sensors.xiaomi to odm and move notifier to subdir
Change-Id: I9e16531e60fa6a0122330ee352cddd0840feb39c
2024-08-24 15:47:23 +02:00
Peng Xu
e1dff23693 sm8450-common: Enable support for IEEE80211AX
* This is to allow supporting WiFi 6 mobile hotspots,
   to be noted this is only supported on SDM855+ platforms.

Change-Id: Iab61bd12499968e8823b3078acd1c7b8bce46136
2024-08-23 10:56:54 +02:00
Bruno Martins
2b8ed3c75c sm8450-common: audio: Nuke misoundfx effect
Change-Id: I5672e554a2b2b21fbadfe915b9a89cd2365f3864
Signed-off-by: Arian <arian.kulmer@web.de>
2024-08-21 18:21:14 +02:00
Michael Bestas
bdc79e517d sm8450-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-21 18:13:20 +02:00
Michael Bestas
be3170a5f5 sm8450-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-21 18:13:20 +02:00
Aaron Kling
0066b39a2b sm8450-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-21 18:11:50 +02:00
Arian
a8bc588f8e sm8450-common: Don't include media_codecs_dolby_audio
Change-Id: Ia0dc1e6c1ddd91f06a20cec8312663ba77546bda
2024-08-21 18:09:23 +02:00
Arian
89215ceebd sm8450-common: Commonize audio media configs
Change-Id: I9ed5dfc64d59c8d12555645ca420ad642c5dd070
2024-08-21 18:09:23 +02:00
Arian
83d582ba62 sm8450-common: Get rid of vendor.qti.hardware.display.config-V2-ndk_platform
Change-Id: I4c2bdfc993097ab0d6a5d6d1435a6c911a13089e
2024-08-21 18:09:23 +02:00
Arian
e8c91c6d4e sm8450-common: Drop unused battery property
Change-Id: If92210f6f162403f79373d81a232373272c114b8
2024-08-21 13:13:57 +02:00
Arian
eb4e4cf381 sm8450-common: Move more radio properties to vendor
Change-Id: I30f9b369c56a6727e4394034accfec03edd705c8
2024-08-21 13:11:19 +02:00
Demon000
d94ca3c413 sm8450-common: Remove DEVICE_PROVISIONED
Change-Id: I9fb48bf8e5b991b0a3fdbf2546e561375303c703
2024-08-21 13:02:27 +02:00
Adithya R
ca5744198e sm8450-common: overlay: Provide MIUI color mode options
Change-Id: I7faa409bf7069108f5bed64488b2a7c5566cd921
2024-08-21 11:46:30 +02:00
xboxfanj
06fb001376 sm8450-common: overlay: Move rro packages to vendor partition
In Android 14, prioritization of partitions is emphasized, diverging
from previous versions where priorities were respected universally.
Overlay precedence now plays a critical role, with the following
partition order dictating overlay precedence:

 - system
 - vendor
 - odm
 - oem
 - product
 - system_ext

When multiple overlays contend for the same resources, the order of
overlays becomes crucial. An overlay takes precedence over others if it
has configurations following its own. This prioritization, while
impactful for GSI compatibility, is essential for maintaining order and
functionality.

Change-Id: I8b7568dcc418dbbd1ccb39e2d0dc66504f19fcdd
2024-08-21 11:01:42 +02:00
Arian
bc0505c4f5 sm8450-common: overlay: Remove _Sys and _Vendor suffix from names
Change-Id: Ib119a9103d9b490b10e93f6b8ac0430266f6e102
2024-08-21 10:56:41 +02:00
Sebastiano Barezzi
a1e2240d59 sm8450-common: Move to Xiaomi IR AIDL
Change-Id: I46094bcbfaba252b5d98ea8211b927fdaa079e2d
2024-08-21 10:56:41 +02:00
Arian
abd3e699c6 sm8450-common: Update blobs from diting V816.0.6.0.ULFMIXM
Change-Id: Ie9b7b5361f054aa705558aab126c2842b7b56dc2
2024-08-21 10:56:41 +02:00
Arian
c9bfea27de sm8450-common: Add clang-format configuration
Change-Id: I125056c23d0e4ed74b2b96f13842c39a39de7b45
2024-08-20 11:07:42 +02:00
Michael Bestas
2cc4e7a131 sm8450-common: Remove modules that depend on debugfs
These don't exist when we disable debugfs in kernel, which breaks
the build.

Change-Id: I17e17962152066cc0696a5c040b056d92219948d
2024-08-20 11:07:42 +02:00
LuK1337
258777e748 sm8450-common: Include vendor/debugfs.config
This disables the following kernel configs:
* CONFIG_DEBUG_FS
* CONFIG_PAGE_OWNER

Change-Id: Idbf74e3dee4dccff4708462271e79374e28449ae
2024-08-20 11:07:42 +02:00
Cosmin Tanislav
01dc5f47c3 sm8450-common: overlay: Allow switching between 60Hz and 120Hz
Change-Id: I4f328dbdce50e709f30b1f098e71248d72819268
2024-08-14 16:03:40 +02:00
Arian
defc946c27 sm8450-common: Commonize building sensors.xiaomi
Change-Id: Id45e19cec99f8342700b6e52495096463e455256
2024-08-14 14:00:53 +02:00
Yumi Yukimura
cc00e83945 sm8450-common: rootdir: Add more infos to ro.boot.hardware.revision prop
Change-Id: I8110a8a9ec653b4dbb73563336c3859571d0a58e
2024-08-14 13:13:45 +02:00
Arian
2099b087c5 sm8450-common: rootdir: Set hardware revision property
The bootloader sets androidboot.hwversion, use this and set the ro.boot.hardware.revision property in order to show it in settings.

Change-Id: I3c6c678bf055091ea9fcb2a1524d321e2c1be043
2024-08-14 13:11:58 +02:00
Bruno Martins
4a74a44b2e sm8450-common: Build opensource soundtrigger HAL
Change-Id: I956d53a67841a9e1e296de6b73f08ef2efac7470
2024-08-12 16:39:57 +02:00
Arian
3c8e111a67 sm8450-common: Disable proprietary listen sound model
Change-Id: I9a836a8c0a68a45b1c4ae5233adfd1f14789b8f6
2024-08-12 16:39:57 +02:00
Bruno Martins
8b0355c51c sm8450-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
2024-08-12 16:39:57 +02:00