Commit Graph

183 Commits

Author SHA1 Message Date
Luka Panio
5e8e362687 sm8550-common: Build SamsungDoze
Change-Id: I9a758f5617a71c9ab0f2680370e3e40710a6e0ae
2024-09-14 00:00:36 +08:00
Luka Panio
abcf1810fc sm8550-common: Move to samsung sensor service
This fixes proximity sensor

Change-Id: Idcfba31d8762cb443fe998aefe48cafe9226d92e
2024-09-14 00:00:36 +08:00
chandu078
2f897728a0 sm8550-common: Add libshim_ui dependency to unihal_android.so
The symbol _ZN7android19GraphicBufferMapper4lockEPK13native_handlejRKNS_4RectEPPvPiS9_
and _ZN7android19GraphicBufferMapper6unlockEPK13native_handle was removed after 14QPR2 / 24Q1

Change-Id: I702a4b4977987cbe16ad4a2dec2ab9fdf2b0e586
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2024-09-14 00:00:36 +08:00
Cosmin Tanislav
078b3af731 sm8550-common: overlay: Allow switching between 60Hz and 120Hz
* At the same time, move the device-specific refreshrate overlays to FrameworksResSamsung.

Change-Id: I4f328dbdce50e709f30b1f098e71248d72819268
2024-09-14 00:00:36 +08:00
Michael Bestas
fbf53aae70 sm8550-common: overlay: Enable multiple vibration strength levels support
Change-Id: If17503f2dd4bd4d6e333891f9649a7db8d809852
2024-09-14 00:00:36 +08:00
P.Adarsh Reddy
8d022b74b3 sm8550-common: Enforce android-S new launch debugfs restrictions
Change-Id: I78878e1c4177c07d66b13e5659d4360252c5f87b
2024-09-14 00:00:36 +08:00
Sungtak Lee
529c103ba6 sm8550-common: Disable OMX
Bug: 222649162
Test: make
Change-Id: Iaf1046c610804c5bdb3b0f591e9907539534ea06
2024-09-01 11:45:24 +08:00
Pawin Vongmasa
c3de41fee9 sm8550-common: Move input surface to CCodec
Test: atest CtsMediaTestCases -- \
--module-arg CtsMediaTestCases:size:small
Bug: 131800183
Change-Id: I8783a7de4a4fdf7ff2eac6697c71f6592c9a9e06
2024-09-01 11:42:26 +08:00
chaptsand
0e4a5a1483 sm8550-common: Remove fingerprint AIDL entry in FCM
Change-Id: I94b309bd7416245ceaf2cac54cf0146eb5956c9c
2024-09-01 02:33:48 +08:00
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