Commit Graph

204 Commits

Author SHA1 Message Date
Bruno Martins
e586c74b8a sm8550-common: Setup ELF checks
Co-authored-by: Aaron Kling <webgeek1234@gmail.com>
Co-authored-by: Cosmin Tanislav <demonsingur@gmail.com>
Co-authored-by: Michael Bestas <mkbestas@lineageos.org>
Change-Id: I17b9c9021155c30c1ec1aa1754c995dae30cb2a7
2024-10-15 03:35:28 +08:00
chaptsand
968aea3233 sm8550-common: Sync feature permissions with stock
Change-Id: I4c0fbd45f4fedeba2eecc3e90bbf1efd7f4de43c
2024-10-14 13:39:47 +08:00
Iascker
1aaca69254 sm8550-common: Update blobs from S916BXXS6CXHA
Change-Id: Ib077f0c90fd62d849398a3e1b9b410d9b330eb63
2024-09-25 18:04:26 +08:00
Iascker
1185e3adfe sm8550-common: Decommonize third party ZOOM translator
* This breaks the camera on the S911X

Change-Id: Ic6b1ee05ac2893c37b011b101f2281f7efdec33f
2024-09-25 18:04:26 +08:00
chaptsand
883bc959e8 sm8550-common: sepolicy: Fix touchscreen sysfs selinux denied
Change-Id: Ia2524751d88341b9627d7d9698d1be017232defa
2024-09-19 16:02:54 +08:00
Michael Bestas
9d0dc390c7 sm8550-common: Sync extract scripts with templates
Change-Id: I98a36854c5a0c0390592911bb2558b34eff77efc
2024-09-18 23:56:32 +08:00
Bruno Martins
af42246aec sm8550-common: Build QTI health service
Change-Id: I929a51b8516e5b3265f08160d0055f7dae6ab2bf
2024-09-18 23:56:32 +08:00
chaptsand
34b23b3a8c sm8550-common: Initial enforcing sepolicy
Change-Id: If928cb2d9e24a6639df4e555492209722162ed05
2024-09-18 23:56:12 +08:00
chaptsand
2cf9d45a3c sm8550-common: Drop unused blobs and props
Change-Id: I865c945c243622b8286b421e9a204573feaa9fe3
2024-09-18 23:54:41 +08:00
chaptsand
f32a033a43 sm8550-common: init: Add bind mounts for vendor firmwares
Change-Id: Ief17362b1a1e942fad64ddbb31d8861dce1852ad
2024-09-18 23:54:41 +08:00
chaptsand
a839de2757 sm8550-common: Decommonize some vendor firmwares
Change-Id: I239fdec29b77c993e29501c23d7217460e504657
2024-09-18 23:54:41 +08:00
chaptsand
ec6a193540 sm8550-common: Adapt powerhint for kalama
* Octa-core (1x3.36 GHz Cortex-X3 & 2x2.8 GHz Cortex-A715 & 2x2.8 GHz Cortex-A710 & 3x2.0 GHz Cortex-A510)

Change-Id: I609f73726343f457c7d1054fa333b9e681690d9e
2024-09-15 13:34:42 +08:00
chaptsand
c7c160757b sm8550-common: Enable double tap to wake
Change-Id: Ia18f6cca9dd29d7c702a4df11cdd67cb580ba56a
2024-09-15 13:34:42 +08:00
Simon1511
cb9a563a79 sm8550-common: Add DT2W fields to powerhint
Change-Id: I49ef5dfb4287bfb774c51b4a1b44c5a150f5e1d6
2024-09-15 13:34:42 +08:00
Adithya R
1894a075be sm8550-common: Lower down schedutil down rate limit for prime CPU
Since the big and prime clusters consume more power,
they should not be prevented from lowering frequencies
for longer periods. Instead it should be for the little
cluster, that consumes lesser power and has higher load.

Change-Id: If8325d2b3c6be0b593716cb8f6bef4316d232e87
2024-09-15 13:34:29 +08:00
someone5678
6e241ad7e3 sm8550-common: Update powerhint.json nodes to kalama
Change-Id: If239a876f78350c47925c1424ea4d9fde210b426
2024-09-15 13:34:28 +08:00
bheatleyyy
e339c4c926 sm8550-common: Import powerhint.json from taro
* from https://github.com/PixelOS-Devices/device_xiaomi_sm8450-common/blob/fourteen/configs/powerhint.json

Change-Id: I73d822b9e317e970a9ea0255403b89fd9b3f691b
2024-09-15 13:34:28 +08:00
Bruno Martins
2a39ee573e sm8550-common: init: Enable powerhint parsing after boot completion
Change-Id: Ie065f234bfd949264b962bae80e400a446f65b80
Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com>
2024-09-15 13:34:28 +08:00
Bruno Martins
c8f8181faf sm8550-common: Migrate to common libqti-perfd-client and power-libperfmgr
Change-Id: I22dd0baaf1594db1650bccf37b4d167b50135174
2024-09-15 13:34:28 +08:00
Wei Wang
31fa8d1612 sm8550-common: Remove QTI perfd
Bug: 69270928
Test: Build and boot device and test camera
Change-Id: I87b283206f462fb5c8ec9cdd303ae2934fe9bfc4
2024-09-15 13:34:28 +08:00
Pranav Vashi
15f8f74fac sm8550-common: Do not build atrace HAL
Change-Id: I71b9f8055408f6ff60e40842d488b9850358720f
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2024-09-14 00:00:36 +08:00
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