chaptsand
1773d825ec
sm8550-common: Sync keystore feature permissions with stock
...
Change-Id: I9f0b136ef222728724f6b36a873273323539a9bc
2024-04-06 17:11:32 +08:00
Tim Zimmermann
bd7878a051
sm8550-common: audio-impl: Set SEC specific BT SCO sample rate audio param
...
This lets us convert AOSP's bt_wbs to SEC's g_sco_samplerate.
Change-Id: I78d5d36044421daf99b8a13aa417060a3cf959a3
2024-04-06 16:07:27 +08:00
LuK1337
ff14ded886
sm8550-common: audio-impl: Pass call state to audio hal and patch RIL
...
* Fixes 2nd sim audio when in call.
Co-authored-by: Simon1511 <me@simon1511.de >
Change-Id: I25ced80d833a36ac1141d5894aed99a0931d3946
2024-04-06 16:07:27 +08:00
Aaron Kling
c99d9755e1
sm8550-common: audio-impl: Verify that hal implements get_audio_port before calling
...
Change-Id: I3652382433d365407bf006d71f36743aa89a76ee
2024-04-06 16:07:27 +08:00
chaptsand
3b377ac48d
sm8550-common: audio-impl: Rebrand to samsung sm8550
...
Change-Id: I60ddb98bc2cedc642ec9773be8cf1ee1891cf33b
2024-04-06 16:07:27 +08:00
chaptsand
6f19b76776
sm8550-common: Import audio@7.1 default impl from android-14.0.0_r29
...
Change-Id: I2c71b180a1632dbf1fa164f6c4f7e35a6d8dff27
2024-04-06 16:07:27 +08:00
Tim Zimmermann
6f1ff0ce47
sm8550-common: Introduce sehradiomanager
...
Change-Id: I3b63c01b2ac34c7571edfdffdad046acd6135c94
2024-04-06 16:07:27 +08:00
chaptsand
2f7ac75ac6
sm8550-common: Build some telephony packages
...
Change-Id: I9435f561cf8bc1cce79b2cb690e5f41073f6f2bb
2024-04-06 16:07:27 +08:00
Simon1511
68366ae241
sm8550-common: libsec-ril: Always return an empty value for GET_SMSC_ADDRESS
...
* Make parameter of type RilData (second last one) passed to SecRil::RequestComplete()
in OnGetSmscAddressDone() be NULL, so that the framework passes an empty value when sending SMS
* Before U this value was not being used, on U the value returned is "SMSC",format_specifier
which is considered invalid when passed back to RIL for sending SMS, however when an empty value
is passed RIL will select the default SMSC, like it did on T and sending SMS works again
* For the SMSC patch, SecRil::RequestComplete() in OnGetSmscAddressDone()
now looks like this instead: (code**)(), the parameters stayed the same
Change-Id: I608be406969d7fa58f15ef36340aff4ad1ce9fd0
Co-authored-by: Tim Zimmermann <tim@linux4.de >
Signed-off-by: chaptsand <chaptsand@gmail.com >
2024-04-06 16:07:27 +08:00
David Sehr
ad2c2e9469
sm8550-common: Enable usage of dex2oat64
...
Use 64-bit dex2oat for better dexopt time.
Bug: 153380900
Test: boot and install an application
Change-Id: I3e7a6e6e9385ff6564d1a2e6dda004ebb061f095
(cherry picked from commit 126f03be80f57a8a0411842011152d9381589b78)
Merged-In: I3e7a6e6e9385ff6564d1a2e6dda004ebb061f095
2024-04-06 16:07:27 +08:00
pjgowtham
c00acb8be8
sm8550-common: Disable logging sensors-hal events
...
This sets log_level to 0
10-14 14:17:17.674 14629 14629 I sensors-hal: get_system_config:67, log_level: 0
This is done especially to disable spammy logging of oplus ambient light sensor events
10-14 14:17:12.821 12603 14590 I sensors-hal: handle_oplus_ambient_light_event:157, oplus_ambient_light: ts=3858719100254, lux=11, data_c=0, delta_ms=0, data_cnt=0
Change-Id: Ib097c172bb01ae62dec542a76b289a9641764bc2
2024-04-06 16:07:27 +08:00
Woody Lin
3178e8ba23
sm8550-common: Enable zygote critical window
...
Bug: 141948707
Change-Id: I5dc57312118b0f6d95fc9fe164363ec7e15f1b51
2024-04-06 16:07:27 +08:00
Pranav Vashi
c80fc07a76
sm8550-common: Switch to armv9-a ARCH variant
...
Running below command:
$ cat /proc/cpuinfo | grep -m 1 Features
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp
asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512
asimdfhm dit uscat ilrcpc flagm ssbs sb paca pacg dcpodp flagm2 frint i8mm
bf16 bti
armv8-a-branchprot doesn't really do justice as armv8-2a or armv9-a
optimizations are not enabled. According to wikichip [1], it is
evident that we support armv8-2a.
[1] https://en.wikichip.org/wiki/arm/armv8#ARMv8_Extensions_and_Processor_Features
Change-Id: Ia986a60febb275e36ffe89518edf8c4ae3fc7225
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
2024-04-06 16:07:27 +08:00
LuK1337
85157b05e3
sm8550-common: Use libcrypto-v33 from hardware/lineage/compat
...
Because vndk prebuilt has SONAME set to libcrypto.so, it prevents linker
from loading libcrypto.so built from source.
Change-Id: Ic9e29f7b00b469163f48ea407fc9b5d5e90816c8
2024-04-06 16:07:27 +08:00
basamaryan
92002bb9ce
sm8550-common: Don't explicitly include updatable_apex.mk
...
It is inherited by base_system.mk as of QPR2
Change-Id: I020a05b233f61ea28d03199cbc76051e6e97e1dc
2024-04-06 16:07:27 +08:00
Krzysztof Kosiński
1aff62d644
sm8550-common: Add prebuilt protobuf 3.9.1 to vendor partition.
...
Needed to work around a Qualcomm HAL prebuilt.
Bug: 203713560
Bug: 258322017
Bug: 254854421
Test: Forrest
Change-Id: I4eebc60f10fbea6a66127ed3e08441db32536f78
2024-04-06 16:07:27 +08:00
Cole Faust
541beb98d0
sm8550-common: Add BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
...
Qcom has issues that prevent it from working with a hermetic
partition build.
Bug: 205632228
Test: Presubmits
Change-Id: I490a29da38a6f68e7dd3650d8140cb11adaa8c7a
2024-04-06 16:07:27 +08:00
Bruno Martins
faa9eaf4f8
sm8550-common: Remove non-existent module from PRODUCT_PACKAGES
...
Strangely, build system only complains since U QPR2.
Change-Id: Icb966372233841972fa9f695cc735797c43fb71e
2024-04-06 16:07:27 +08:00
llololo
2022194ad5
sm8550-common: Remove A2DP input module in audio policy configuration
...
No Pixel device support A2DP sink functionality.
Bug: 163050296
Test: A2DP related test.
Change-Id: I269220cf29451ea79362fc004fa073713f72fdb2
2024-04-06 16:07:27 +08:00
dianlujitao
b1726a6c2b
sm8550-common: audio: Enable AOSP bluetooth audio HAL v2
...
Change-Id: I4d12752ae5fb2829d6612647c8740c84967f5434
2024-04-06 16:07:27 +08:00
Kumar Anurag Singh
d7ce41d388
sm8550-common: audio: remove direct flag for VOIP RX
...
remove direct flag for VOIP RX.
Change-Id: I9ee6f300b7a891afd1ad06c063424509d16d271e
2024-04-06 16:07:27 +08:00
chaptsand
1031306d74
sm8550-common: Update blobs from S9160ZHU2CXCF
...
Change-Id: If12629e7b478f004914e4e2978f3b15c75ee7aed
2024-04-06 16:07:27 +08:00
Park Ju Hyung
761e927a83
sm8550-common: Relax timers for automatic refresh rate switching
...
Due to visible gamma shifts on our panels, we should make the switchings
to happen conservatively.
With idle timer >= touch timer, idle timer now always takes precedence,
but we're leaving touch timer property to immediately switch back to
120 Hz on touch input events.
Change-Id: If8b1e00a2d2213c4d2288ab28fad4ba0826a36e8
Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com >
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
2024-04-06 16:07:27 +08:00
Bruno Martins
c959531ebb
sm8550-common: Also patch gatekeeper HAL to load libcrypto-v33.so
...
Then again, due to asn1t.h structs changes.
Change-Id: Id3552124ddc07bf80446fd2b37b40f39c6be7a76
2024-04-06 16:07:27 +08:00
LuK1337
aacb95b6fc
sm8550-common: Shim Samsung keymint service with libcrypto-v33.so
...
Current asn1t.h structs aren't binary compatible with our keymaster.
Change-Id: Id78b71c1f08216f861a033097cd015ba3c109925
2024-04-06 16:07:27 +08:00
chaptsand
14f9a37725
sm8550-common: Configure RAM Plus
...
Change-Id: I19387c70498ca93f155329fdaf4c4f27a167f88f
2024-04-06 16:07:27 +08:00
chaptsand
6aeeebc7f2
sm8550-common: Switch to prebuilt vibrator AIDL
...
Change-Id: I374a156bc7262db5b2617ae3e7d82ac711d27a2e
2024-04-06 16:07:27 +08:00
chaptsand
8f2ff23c0f
sm8550-common: Setup prebuilt NXP NFC stack
...
Change-Id: Iec022b01aa57973b7f1c54f7384e4d2c6b85b506
2024-04-06 16:07:27 +08:00
chaptsand
edd289d7db
sm8550-common: init: Import changes from S9160ZHS2BXAF
...
Change-Id: If35c0ce7a4720ef5ebf3c405e33ae3209f529d96
2024-04-06 16:07:27 +08:00
chaptsand
4f23356c79
sm8550-common: init: Checkout to LA.VENDOR.13.2.0.r1-22400-KAILUA.QSSI14.0
...
Change-Id: I02932f3da7923dfc8b4fcdc04f98f89cbb610c69
2024-04-06 16:07:27 +08:00
rakegand
f01ee5ef27
sm8550-common: init: Move SPU NVM directories creation to earlier stage.
...
Change-Id: Ic6d1a83c7fc7a54d6f8d78f91e5f3167dd7017fe
2024-04-06 16:07:27 +08:00
chaptsand
3d8c0f4e8c
sm8550-common: init: Import mdm-helper launch script
...
Change-Id: I275c639f6dde12a29f0006c5fca8de46a0fda89a
2024-04-06 16:07:27 +08:00
quic_farenl
fa4495acb8
sm8550-common: init: Enable MDM Helper on kalama
...
Change-Id: I6531e7227d38e1c472fb646dce63bf00b545d009
2024-04-06 16:07:26 +08:00
Minghao Zhang
46195b2ddc
sm8550-common: init: Add Init-Service for fan service on Kalama HHG
...
Add service to control fan speed and could be enabled by setting
property.
Change-Id: I17037028c506095210ee89002413adc920c29147
2024-04-06 16:07:26 +08:00
PRANAY BHARGAV BHAVARAJU
c9ade9f4ba
sm8550-common: Add UID for configuring Thales eSE weaver
...
Add UID for Thales eSE weaver module in
order to bind OMAPI service to weaver HAL.
Change-Id: Icab8581c57ad443b1b6faa81097a1671fa16ec03
2024-04-06 16:07:26 +08:00
chaptsand
f1b741d4d4
sm8550-common: Remove Secure Element interface for SIM cards (UICC)
...
* W libc : Unable to set property "ctl.interface_start" to "android.hardware.secure_element@1.2::ISecureElement/SIM1": error code: 0x20
* E init : Control message: Could not find 'android.hardware.secure_element@1.2::ISecureElement/SIM1' for ctl.interface_start from pid: 759 (/system/bin/hwservicemanager)
* I hwservicemanager: Tried to start android.hardware.secure_element@1.2::ISecureElement/SIM1 as a lazy service, but was unable to. Usually this happens when a service is not installed, but if the service is intended to be used as a lazy service, then it may be configured incorrectly.
Change-Id: I95dcfce6fa822452b251dec02f8f15909d7480ee
2024-04-06 16:07:26 +08:00
chaptsand
b0ad41e948
sm8550-common: Add Codec2 software service to Codec2 HAL interface
...
Cmdline: media.hwcodec /vendor.qti.media.c2@1.0-service
3361 F DEBUG : pid: 3361, tid: 3361, name: vendor.qti.medi >>> media.hwcodec <<<
3361 F DEBUG : uid: 1046
3361 F DEBUG : tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
3361 F DEBUG : pac_enabled_keys: 000000000000000f (PR_PAC_APIAKEY, PR_PAC_APIBKEY, PR_PAC_APDAKEY, PR_PAC_APDBKEY)
3361 F DEBUG : signal 0 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr --------
3361 F DEBUG : x0 0000000000000000 x1 00000077dbb62f00 x2 00000077dbb6dc98 x3 4c4d410100000000
3361 F DEBUG : x4 00000077da9a7900 x5 0000000001414d4c x6 0000000001414d4c x7 00000077da8cf004
3361 F DEBUG : x8 0000000000000001 x9 0000000000000d21 x10 0000000000000d21 x11 0000000000000000
3361 F DEBUG : x12 2064616f6c6e750e x13 00f022e2114c8a7e x14 00000077da605840 x15 00000000000000c3
3361 F DEBUG : x16 0000000000000001 x17 00000077dbb2f040 x18 00000077db0aa000 x19 b4000077414267b8
3361 F DEBUG : x20 b40000760142bb70 x21 00000077da8a0000 x22 b4000077414267b8 x23 000000753ec3751c
3361 F DEBUG : x24 00000077d9b88000 x25 0000000000007f20 x26 000000000000060f x27 000000000000054c
3361 F DEBUG : x28 0000000000007000 x29 0000007fced48170
3361 F DEBUG : lr 000000753ec3ae34 sp 0000007fced48160 pc 000000753ec3ae34 pst 0000000080001000
3361 F DEBUG : 1 total frames
Change-Id: I6babac8f4ec0489f8bd5855b4e00bf64a20dd899
2024-04-06 16:07:26 +08:00
chaptsand
05cc5c130c
sm8550-common: Refactor proprietary files
...
* Add missing blobs
* Reorder proprietary-files.txt
* Build some libraries from source as seen in stock
Change-Id: I9f777283407dc6749592463bcdb082728b291ade
2024-04-06 16:04:16 +08:00
chaptsand
de6aab45d0
sm8550-common: Update props from S9160ZHS2BXAF
...
Change-Id: I47dd2283e261a2632242e85320c47a135a1a2035
2024-03-30 23:25:46 +08:00
chaptsand
445eb40afe
sm8550-common: Import Samsung changes over USB scripts
...
Change-Id: I57b0f0e3e795886132c3ea0d8fb0af5b0cfbe78d
2024-03-30 23:25:46 +08:00
chaptsand
34a3e80503
sm8550-common: Import USB scripts from vendor/qcom/opensource/usb/etc
...
Change-Id: Idaba4e9f46a6723a4bd5a4b7cdd47ee992ce392d
2024-03-30 23:25:46 +08:00
chaptsand
64e174b102
sm8550-common: Import samsung radio manifests
...
Change-Id: Iaf5447f63d3d231d754a22964576ee6ffc1c9d5f
2024-03-30 23:25:46 +08:00
chaptsand
06c51f1a9c
sm8550-common: Update blobs from S9160ZHS2BXAF
...
Change-Id: I3978168113b48f5c03be95ec8494093f46f0a042
2024-03-30 23:25:46 +08:00
chaptsand
67c2a084da
sm8550-common: Add reserved space for dynamic partitions
...
* For further modifications
Change-Id: Ia00c6c2305714697cedc604096feb96e16da63b2
2024-03-30 23:25:24 +08:00
Adithya R
56dccb45e6
sm8550-common: init: Remove cnss_diag service
...
Change-Id: I759ca58e3a59ac6b8a113deb0a4e149a43a89225
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
2024-03-11 00:00:16 +08:00
ZVNexus
058c94184d
sm8550-common: init: Remove QCOM system daemon service
...
* For factory use only and has real performance costs.
Change-Id: I2d25c28c2ba146fa4464cb49f02ead6a6d787b48
2024-03-11 00:00:15 +08:00
Bruno Martins
f37bd5bc83
sm8550-common: Use the common device compatibility matrix from QCOM
...
Change-Id: I0c0f3ecddbe6d7b232cc0d13c78ca58094e4e720
2024-03-11 00:00:15 +08:00
Bruno Martins
eba9528d53
sm8550-common: Build QTI memtrack AIDL service from source
...
Change-Id: Ie549c42700821017a172ec8dc15086f87cd579f9
2024-03-06 00:00:25 +08:00
LuK1337
4991f27689
sm8550-common: Prevent adding same dependency twice in blob_fixup
...
Change-Id: Idedeb51e027a09f64a29ac67a3a2f2a0594213f6
2024-03-06 00:00:25 +08:00
Andy Hung
829859870c
sm8550-common: audio HAL: Enable RT priority inheritance
...
Test: instrumented
Bug: 181148259
Bug: 260918856
Change-Id: If56e449a9c6f1a49e372591893d8714534574e3a
2024-03-06 00:00:24 +08:00