Commit Graph

174 Commits

Author SHA1 Message Date
chandu078
ad71570f97 sm8550-common: Switch to 64 bit only builds
Change-Id: I0e730663a0e1ad8b18cfa1163b94edf0acd64fff
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2024-08-31 19:51:29 +08:00
Bruno Martins
ded58571de sm8550-common: Drop 32-bit audio HAL and its dependencies
Change-Id: I8edf07b896f286c9e55eb1cbf963d02bd8be6ab0
2024-08-31 19:37:56 +08:00
chaptsand
79d420767e sm8550-common: Move to Samsung qcom common symlink targets
Change-Id: Ie278b4b05e869e2314aa8843aa3d14022426b007
2024-08-31 19:37:28 +08:00
someone5678
4b12a3f56b sm8550-common: Use QCOM USB gadget HAL
* Newer SoC's like kalama use gadget HAL
* Import usb_compositions.conf for later customization

Change-Id: Ib3383bc1173db22c539b2073d72419c42fcf92cc
2024-08-31 15:23:36 +08:00
Michael Bestas
3bbef601ae sm8550-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-31 15:23:36 +08:00
Michael Bestas
5e813acb73 sm8550-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-31 15:23:36 +08:00
Aaron Kling
c8526b7547 sm8550-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-31 15:23:36 +08:00
Michael Bestas
ac30873bc0 sm8550-common: Remove unused media_codecs
Change-Id: Id2d56fa5dc597d6ef9447be0347c93b810d6cf0c
2024-08-31 15:23:36 +08:00
chaptsand
fad8433280 sm8550-common: Update props from S916BXXS6CXGA
Change-Id: I6ca567a3897eaf0d3ed396b6a8162ce27b9810dd
2024-08-31 15:23:36 +08:00
chaptsand
02d1c4a146 sm8550-common: Update blobs form S916BXXS6CXGA
Change-Id: If4a66192697789315a6121e808edd23736a22064
2024-08-31 15:23:36 +08:00
chaptsand
592c4b0164 sm8550-common: audio: Copy kalama audio policy configuration to qssi location
Change-Id: Ibd2e68789872069df85e41fd3923e8ffdda4a15f
2024-08-31 15:23:04 +08:00
Arian
88bf687445 sm8550-common: Use soong_config_set to enable 64bit audio HAL
Change-Id: Id8cca7234ae62fba402ae4eaafa5cd5cc33ce564
2024-08-31 15:22:21 +08:00
chaptsand
8fe393b41a sm8550-common: Pin SDM blobs from rtwo
Change-Id: I1813de41d65162666dd50bce208b3de9b3db6ff0
2024-08-31 15:20:35 +08:00
Adithya R
709327f557 sm8550-common: overlay: Increase refresh rate brightness thresholds
Make some headroom for panels with worse gamma calibration.

Change-Id: Ic599727e98881933c2e101765130d085d1543743
2024-07-29 17:17:30 +08:00
Gil
3323e80b54 sm8550-common: overlay: display: add blocking zone
zone1 condition(10 nits) in 120Hz
zone2 condition(15 nits, 5 Lux) in 120Hz

Bug: 243757430
Bug: 246905529
Test: Check the refresh rata at zone
Change-Id: Iee9bd842571165785c03ae761780371798fbb758
Signed-off-by: Arian <arian.kulmer@web.de>
2024-07-29 17:17:30 +08:00
Akhil Jaiswal
c799bb8a55 sm8550-common: config: Update sf duration to 15.6 ms
Change-Id: I5e62a45577035b8329026c426ab5b804b498527b
2024-07-29 17:17:30 +08:00
Alex Sarraf
d234048eb2 sm8550-common: config: Move from phase offsets to work durations
Use work durations instead of phase offsets.

Change-Id: Ic9dc9eb0e297b58ddd436b084d8a2dcb6e834e26
2024-07-29 17:17:30 +08:00
Edwin Moquete
58d12d61ca sm8550-common: Remove unused persist.bluetooth.a2dp_offload.cap property
This prop has no effect as of T QPR1.

See: LineageOS/android_packages_modules_Bluetooth@cf25e33

Change-Id: Ic762812dd59429d344ccc55c01bf96b0ffd6dbab
2024-07-29 17:17:30 +08:00
Mezaque
f7b02c8399 sm8550-common: Nuke vm-persist and qmcs from fstab
* E init    : [libfs_mgr] Skipping '/dev/block/bootdevice/by-name/qmcs' during mount_all
* E init    : [libfs_mgr] Skipping '/dev/block/bootdevice/by-name/vm-persist' during mount_all

This fixes the slow boot problem

Change-Id: Ic35ae826d940f9521df443b6616122a1793711cf
2024-07-29 17:17:30 +08:00
Tim Zimmermann
abcf70abdb sm8550-common: Inherit non_ab_device.mk
* This is required to build applypatch for updating recovery

Change-Id: I38053691f7724b5d6c30159c410d5d04ac136180
2024-07-29 17:17:30 +08:00
Marc Bourgoin
f8263cb11f sm8550-common: Build vendor.qti.hardware.capabilityconfigstore from s…
…ource

Change-Id: I9bd58ddae3c1b3868db23dc44dfb80ad337e0e1b
2024-07-29 17:17:30 +08:00
Luofan Chen
886fbb531c sm8550-common: Kang SDM blobs from Motorola rtwo 14 RETAIL
Depends-On: Ibe803492625943260135ac8b42defe9089fdd779
Change-Id: Ibaa710ddddae4e10765674ac7fcadb1cd8b56572
2024-07-29 17:17:30 +08:00
Luka Panio
c976a615ff sm8550-common: Enable qti.media.c2audio if disabled
Change-Id: I1612c101978d3f1b4ef0afda6868a7723b355f13
2024-07-29 17:17:30 +08:00
Luka Panio
d5a9167bf3 sm8550-common: Set BOARD_ROOT_EXTRA_FOLDERS
Change-Id: I6d3ef85bef4476b1ad57196d4c965d7dc52e309e
2024-07-29 17:17:30 +08:00
Bruno Martins
6d3fc1d26a sm8550-common: Unset BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
Qualcomm targets can now build hermetic partitions.

Change-Id: I241105e01d85fea983b34846ca675666ac07541b
2024-07-25 00:00:18 +08:00
Bruno Martins
7627b68b2a sm8550-common: Declare EGL libs as symlinks during extraction
Change-Id: I4b2f3e79b5e518889d9771bf8990e27babca8b61
2024-07-25 00:00:18 +08:00
Bruno Martins
b91ffb69f0 sm8550-common: Move to new RFS install_symlink targets
Change-Id: I9560fd0da00958d9349a0881b5a5f64a2c02e495
2024-07-25 00:00:18 +08:00
Paul Crowley
0cc67f6fe0 sm8550-common: Remove wait_for_keymaster and all references
No longer needed now init listens for property changes on a
separate thread.

Bug: 186580823
Test: Cuttlefish boots successfully
Change-Id: Ief3a546d2154231d18957c2f703bd128966d7288
2024-07-25 00:00:18 +08:00
danielml
632bcf702d sm8550-common: seccomp: Allow qwesd the pipe2 syscall
Change-Id: I77d0947b5befaa2139c17e169a85cfe72d1ad311
Signed-off-by: danielml <daniel@danielml.dev>
2024-07-25 00:00:18 +08:00
Michael Bestas
6524ab8f47 sm8550-common: Build missing libraries for 14 QPR3
Change-Id: I6a84526ca1e9f4e5140c8068646433cab3fe85b2
2024-07-24 00:00:48 +08:00
Chirayu Desai
50ecd21c29 sm8550-common: Don't set BOARD_API_LEVEL
build/make/core/board_config.mk:1001: error: BOARD_API_LEVEL must not
set manully. The build system automatically sets this value..

Change-Id: If59ae9dea6cb13701d7217a1c0a355d4e07113eb
2024-07-24 00:00:48 +08:00
chaptsand
651fcc5e12 sm8550-common: Update blobs to S9160ZHS4CXG2
Change-Id: Iff219893dd4d51781b77c2782ccfd38bd2fe6c1a
2024-07-24 00:00:48 +08:00
chaptsand
eb3e1e5343 sm8550-common: Build AIDL fingerprint HAL
Change-Id: Icafb53447a132517b916b83429753ab6d5810dab
2024-07-24 00:00:48 +08:00
chaptsand
5bc3efdd11 sm8550-common: Ship SEC HyPer AIDL HAL
Without this, the camera will be stuck for 10 seconds before the preview is displayed.

* W ServiceManagerCppClient: Service vendor.samsung.hardware.hyper.ISehHyPer/default didn't start. Returning NULL
* E HYPER_NATIVE_VINTF: Couldn't access HyPer Hal
* E HYPER_NATIVE_VINTF: Acquire on JNI, HyPerHalVersion is NULL
* E CHI     : [SS_ERR ]: [CHI         ]: chxextensionmodule.cpp: ExecuteMemBoost: 25099: MemBoost open fail by 0
* I CHI     : [SS_LOW ]: [CHI         ]: chxsecperf.cpp: AcquirePerfLock: 1157:  0] OPEN_CAMERA (1000)
* I CHI     : [SS_LOW ]: [CHI         ]: chxsecperf.cpp: AcquirePerfLock: 1014: OverheatLevel [0~6](0xFFFFFFFF)
* I CHI     : [SS_LOW ]: [CHI         ]: chxsecperf.cpp: AcquireHyperVInt: 1355: AcquireHyperVInt : maxlimit[3360000], minlimit[2092800], duration[3000]
* I ServiceManagerCppClient: Waiting for service 'vendor.samsung.hardware.hyper.ISehHyPer/default' on '/dev/binder'...

Thanks luk1337 for pointing it out.

Change-Id: I1505ec2ecd7185a47f9bf9bb39a77f475adbe27c
2024-04-10 15:57:00 +08:00
Avinash Nalluri
7b7180c13e sm8550-common: Set default network preference to NR
Change-Id: Ic4aa31000ae59f1657fee0345ca66e8b37504d6f
2024-04-10 15:57:00 +08:00
Santiago Seifert
201f8d6149 sm8550-common: Unpin updatable-media from memory
Bug: 214499288
Change-Id: I83757ae6a053ec6b10b08322c4e76d988f1a4a48
Test: Presubmit
2024-04-07 14:09:55 +08:00
Alexander Koskovich
4765fe4830 sm8550-common: overlay: Use CarrierConfig DTMF & CSP booleans.
* Overlays were deprecated awhile ago for these.

Change-Id: I51b70aa15f128186063ce52446cb67715a957185
2024-04-07 14:05:52 +08:00
Etan Cohen
c148057a0f sm8550-common:: overlay: Depend on carrier provisioning for WFC.
Change-Id: I2cdeb1e39a68922dc8489998f65dcc6c891da31c
2024-04-07 14:05:04 +08:00
Srinath Sridharan
46063e0a08 sm8550-common: overlay: Set config_sustainedPerformanceModeSupported
This config will support the Sustained Performance Mode.

Change-Id: Ic992ea6fd910cf679a940b273c95968f4c60adbb
2024-04-07 14:05:04 +08:00
Cassie
4a50635375 sm8550-common: overlay: Use the new auto network selection UI
Change-Id: I76698911103601d5f3ad67e1099790af8c2fdc18
2024-04-07 14:05:04 +08:00
Jake Weinstein
bcfaa1dce2 sm8550-common: CarrierConfig: Disable global mode and CDMA choices
* Cleans up mobile network settings.

Change-Id: I0c6b4d1fc3ccd79739ee9b1cc6aecc42e5a83516
2024-04-07 14:04:52 +08:00
xboxfanj
e5e433f2f3 sm8550-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-04-06 17:11:36 +08:00
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