Commit graph

4930 commits

Author SHA1 Message Date
Jimmy Shiu
9636d797ca sdm660-common: libperfmgr: ADPF: refine StaleTimeHandler
Bug: 256515601
Test: build
Change-Id: Ia7f80c838961b837733c457b189f16c6433cf3c3
2024-08-03 09:13:23 +03:00
pix106
4ce650ebc9 sdm660-common: Sensors - from Zebra/helios/helios:13/13-29-10.00-TG-U00-STD-HEL-04/120:user/release-keys 2024-08-03 09:13:14 +03:00
pix106
1d93af667a sdm660-common: Radio - from Zebra/helios/helios:13/13-29-10.00-TG-U00-STD-HEL-04/120:user/release-keys 2024-08-03 09:13:05 +03:00
pix106
cfe322f9d8 sdm660-common: Radio - IMS - from LA.QSSI.14.0.r1-15100-qssi.0 2024-08-03 09:12:54 +03:00
pix106
4f3db5c2aa sdm660-common: Media - from LA.QSSI.14.0.r1-15100-qssi.0 2024-08-03 09:12:44 +03:00
Michael Bestas
79debef800 sdm660-common: Use LLVM binutils by default in source
* GCC has been completely removed in AOSP but we keep it
      for compatibility reasons with older kernels until they
      are adapted to remove all the dependencies to GCC.
* Most updated 4.19+ kernels should be able to use LLVM
      binutils out of the box. 4.14 is possible with a few patches
      and 4.9 with even more patches.
* Make this the default and allow devices opting out by using
      TARGET_KERNEL_LLVM_BINUTILS := false

Change-Id: I569cf290b41aaf2dc16ff9cc4cc6dc461f0d504e
2024-08-03 09:12:37 +03:00
pix106
952c7d9cf1 sdm660-common: build kernel with clang 14.0.7
Signed-off-by: pix106 <sbordenave@gmail.com>
2024-08-03 09:12:26 +03:00
pix106
a3c3933a94 Revert "sdm660-common: media: Drop OMX.qcom.video.decoder.vp9"
This reverts commit 0828b5ee1f38cfa5b05ac9ad33a9aaead4c5d8ae.
2024-08-03 09:12:17 +03:00
pix106
b40d70141b sdm660-common: properties: enable perfd for camera 2024-08-03 09:12:09 +03:00
pix106
02169d16ef sdm660-common: Radio - IMS - from LA.QSSI.14.0.r1-14100-qssi.0 2024-08-03 09:11:53 +03:00
pix106
135f9fdb9f sdm660-common: Radio - from LA.QSSI.14.0.r1-14100-qssi.0 2024-08-03 09:11:43 +03:00
pix106
8505b50a32 sdm660-common: Graphics (Postprocessing) - from LA.QSSI.14.0.r1-14100-qssi.0 2024-08-03 09:11:34 +03:00
pix106
99a55346a9 sdm660-common: Audio - from LA.QSSI.14.0.r1-14100-qssi.0 2024-08-03 09:11:25 +03:00
pix106
992e9e164d sdm660-common: overlay: Increase minimum brightness 2024-08-03 09:11:17 +03:00
pix106
756b61bcff sdm660-common: DeviceSettings: Export FPSTileService 2024-08-03 09:11:09 +03:00
pix106
9bb01728d1 sdm660-common: DeviceSettings: Export PerformanceTileService 2024-08-03 09:10:59 +03:00
pix106
aeb281c4b0 sdm660-common: DeviceDoze: Export DozeTileService 2024-08-03 09:10:50 +03:00
pix106
e5d0ba85da sdm660-common: DeviceDoze: Export DozeSettingsActivity 2024-08-03 09:10:41 +03:00
pix106
d15303aaf0 sdm660-common: DeviceDoze: Export BootCompletedReceiver 2024-08-03 09:10:30 +03:00
Anay Wadhera
5a32a68e3c sdm660-common: DeviceDoze: Drop minSdkVersion
Change-Id: Idbbe6713999ca8b942b2bf91cc899118e22a062b
2024-08-03 09:10:22 +03:00
Anay Wadhera
72ba21c4f0 sdm660-common: DeviceSettings: Drop minSdkVersion
Co-Authored-By: pix106 <sbordenave@gmail.com>
2024-08-03 09:10:09 +03:00
iusmac
bea99cd8c3 sdm660-common: DeviceSettings: Migrate to AndroidX's useSimpleSummaryProvider
* W ListPreference: Setting a summary with a String formatting marker is no longer supported. You should use a SummaryProvider instead.

Signed-off-by: iusmac <iusico.maxim@libero.it>
2024-08-03 09:09:55 +03:00
Adithya R
4c33049a26 sdm660-common: power-libperfmgr: Properly handle sustained performance mode
* when tested with [1], even after exiting the app, spm was
   still active in powerhal thereby keeping max freqs limited
   and blocking boosts

 * enable/disable it properly and end all other hints before
   enabling, to fix this issue

 * while we're at it, don't handle max freq for anything other
   than spm in powerhint

[1] https://android.googlesource.com/platform/cts/+/refs/heads/master/hostsidetests/sustainedperf

Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2024-08-03 09:08:22 +03:00
Adithya R
e8f300c3f5 sdm660-common: Silence some spammy logging
HWC and cit sensor logspam is so intense it bumps up logd's idle CPU
usage up to over 3%. With this change, logs are much cleaner and logd
idle CPU usage is reduced to under 1%, while still allowing error logs
to pass through.
- Do this only in user/debug builds (except eng).
- Add wifi and cnss too while we're at it, they can get noisy at times.
2024-08-03 09:08:13 +03:00
pix106
89f1efc0ca FIX sdm660-common: properties: Kang sf duration from RMX3193_11_A.01 2024-08-03 09:08:05 +03:00
pix106
872f8d0ca7 sdm660-common: add libops and libspl from Miatoll 2024-08-03 09:07:57 +03:00
Danny Lin
d72544b92f sdm660-common: Don't pin launcher app in memory
Similar to what we did for the camera app, unpin the launcher app from
memory as well. While the default launcher (Launcher3) isn't
particularly big, it doesn't make much sense to pin because the launcher
does not typically load new resources much. Most of its resources should
already be loaded in memory after it starts, so pinning the APK is
redundant.

Change-Id: Ia03de9c546a042637647f45d7b2b4072c1555fb5
2024-08-03 09:07:48 +03:00
CrisBal
bf30e60a32 sdm660-common: media: Drop OMX.qcom.video.decoder.vp9
We droping old deprecated vp9 media codec. This update fixing the following
errors/bugs that causing problems/flickering while playing video on Instagram
and some audio issues on other apps.

Tested with: Instagram, Facebook, WhatsApp, Viber, Duo and YouTube.

01-04 19:50:55.803  1403  6251 E OMXNodeInstance: setParameter(0xd9cc0014:qcom.decoder.vp9, OMX.google.android.index.allocateNativeHandle(0x7f00005d): Output:1 en=0) ERROR: UnsupportedSetting(0x80001019)
01-04 19:50:55.803  1403  6251 E OMX-VDEC-1080P: Extension: OMX.google.android.index.storeANWBufferInMetadata not implemented
01-04 19:50:55.804  1403  6251 E OMX-VDEC-1080P: get_parameter: unknown param 6f600011
01-04 19:50:55.804  1403  6251 E OMXNodeInstance: getParameter(0xd9cc0014:qcom.decoder.vp9, ??(0x6f600011)) ERROR: UnsupportedIndex(0x8000101a)
01-04 19:50:55.805  1403  6251 E OMX-VDEC-1080P: Extension: OMX.google.android.index.storeANWBufferInMetadata not implemented
01-04 19:50:55.805  1403  6251 E OMX-VDEC-1080P: Extension: OMX.google.android.index.configureVideoTunnelMode not implemented
01-04 19:50:55.805  1403  6251 E OMX-VDEC-1080P: Extension: OMX.google.android.index.useAndroidNativeBuffer is supported
01-04 19:50:55.805  1403  6251 E OMX-VDEC-1080P: Extension: OMX.google.android.index.describeHDR10PlusInfo not implemented
01-04 19:50:55.806  1403  1403 E OMX-VDEC-1080P: get_parameter: unknown param 6f600007
01-04 19:50:55.806  1403  1403 E OMXNodeInstance: getParameter(0xd9cc0014:qcom.decoder.vp9, ParamVideoAndroidVp8Encoder(0x6f600007)) ERROR: UnsupportedIndex(0x8000101a)
01-04 19:50:55.807  1403  6251 E OMX-VDEC-1080P: Does not handle dataspace request
01-04 19:50:55.807  1403  6251 E OMXNodeInstance: getConfig(0xd9cc0014:qcom.decoder.vp9, ??(0x7f000062)) ERROR: UnsupportedSetting(0x80001019)
01-04 19:50:55.835  1403  6251 E OMX-VDEC-1080P: Extension: OMX.google.android.index.AndroidNativeBufferConsumerUsage not implemented

Change-Id: If9ee79886b8d2a1dcc68d84102f69b96b578f68e
2024-08-03 09:07:35 +03:00
Nick Kralevich
5bdce0a4c3 sdm660-common: rootdir: Remove useless attempt to chmod /system/bin/ip
/system is mounted read-only. It's impossible for init to modify
the permissions on /system/bin/ip.

Change-Id: Ie5cb20bc45f9769969b71ffd747b1ed34fc27187
2024-08-03 09:07:26 +03:00
Bruno Martins
47bc940428 sdm660-common: Use the common device compatibility matrix from QCOM
Change-Id: I0c0f3ecddbe6d7b232cc0d13c78ca58094e4e720
2024-08-03 09:07:16 +03:00
pix106
233fce88d3 sdm660-common: Sensors from Zebra/helios/helios:13/13-26-09.00-TG-U03-STD-HEL-04/107:user/release-keys 2024-08-03 09:07:05 +03:00
pix106
f22f9327f8 sdm660-common: Radio from Zebra/helios/helios:13/13-26-09.00-TG-U03-STD-HEL-04/107:user/release-keys 2024-08-03 09:06:52 +03:00
pix106
148e775d41
sdm660-common: Radio - IMS - from LA.QSSI.14.0.r1-13500-qssi.0 2024-05-10 14:03:24 +03:00
pix106
5e847bf55e
sdm660-common: Audio - from LA.QSSI.14.0.r1-13500-qssi.0 2024-05-10 14:03:23 +03:00
pix106
451fe0f76c
sdm660-common: manifest: uprev radio 2024-05-10 14:03:23 +03:00
LuK1337
ed69b6ae82
sdm660-common: device: Build android.hardware.bluetooth@1.0
Required by libantradio.

Change-Id: I5e26a4154cf54e64f424cb6cf20db87b7023f1cd
2024-05-10 14:03:22 +03:00
pix106
83a3b1106d
sdm660-common: reorder sdm660.mk 2024-05-10 14:03:22 +03:00
Park Ju Hyung
9e43a500cb
sdm660-common: wifi: Disable firmware log
Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>
2024-05-10 14:03:22 +03:00
Vevek Venkatesan
cf14f55043
sdm660-common: wifi: Set IPA bandwidth mbps threshold to higher number
Set IPA low/med/high bandwidth mbps threshold to higher number
in ini cfg for sdm845 target to achieve higher throughput.

Change-Id: I44386e1ef67d014a4bc79345b455422c75c4b03f
CRs-Fixed: 2516770
2024-05-10 14:03:21 +03:00
Alok Kumar
157d0c346b
sdm660-common: wifi: Enable/Disable Force Bandwidth Voting for IPA suspend
The INI "gIPAForceVotingEnable" is to Enable/Disable Force Bandwidth Voting during
IPA suspend.

Change-Id: I613e1fa2f26da2da4235040e6094c64d89a5b402
CRs-Fixed: 2535818
2024-05-10 14:03:21 +03:00
1582130940
dfa304fe24
sdm660-common: wifi: Update from LA.UM.11.2.1.r1-04500-sdm660.0
* Revert wifi: Remove all short descriptions
* Revert wifi: Remove ini params with default value

* wifi: Add secondary interface using gEnableConcurrentSTA=wlan1
* wifi: Increase max bss count
2024-05-10 14:03:20 +03:00
pix106
3c9ffc00bf
sdm660-common: drop camera shim remains 2024-05-10 14:03:20 +03:00
pix106
3acd30d5f0
Revert "sdm660-common: Load vndk 29 libprotobuf for libril-qc-hal-qmi and libwhvdil"
This reverts commit eb93de8d19.
2024-05-10 14:03:19 +03:00
Tomasz Wasilczyk
a65e563976
sdm660-common: gps: Don't include cutils/threads.h
Bug: 289414897
Test: buildserver
Change-Id: I14b99f42feaae7af00cbd17cfe482eb2e5da71e8
2024-05-10 14:03:19 +03:00
Albert I
76199d8248
sdm660-common: gps: Address logical-op-parentheses warning
Change-Id: I45d621a2b995afeb7757df3f89614a0d95552f33
2024-05-10 14:03:18 +03:00
Jiyong Park
44c4e9bf4a
sdm660-common: gps: Don't rely on transitively included headers
One must explicitly include what it need.
time.h for struct tm.
sys/time.h for gettimeofday, etc.

Bug: 37629934
Test: build

Merged-In: Iacd5317d958f61df062fca40fbf2e8992c7fbb44
Change-Id: I19e1043f23dbe85836b73714a4f1440159ebe419
2024-05-10 14:03:18 +03:00
Madhanraj Chelladurai
d88a67c4c7
sdm660-common: gps: Add NULL check before object access
Correct the NULL check code block and add NULL check before
object access.

Change-Id: Ic41b781b41fb4e21bbff8801d500a41a6d7219d0
CRs-fixed: 3084543
2024-05-10 14:03:18 +03:00
Nauval Rizky
eaab2ad176
sdm660-common: rootdir: Optimize sched_lib_name
* Register more game libraries to sched_lib_name
* Remove UnityMain from sched_lib_name
2024-05-10 14:03:17 +03:00
Brock5555
7256610eb8
sdm660-common: rootdir: Register and enable qcrild & data services on boot
* Fixes delay on getting network service after boot

Change-Id: Ibed5c5addb307d89f26cbf51420e37f1b04c42e5
2024-05-10 14:03:17 +03:00
LuK1337
17c7be59b6
sdm660-common: rootdir: Drop SSR services and set SSR restart_level in init.qcom.rc
Change-Id: I32fc08c9ad36b9c8ebfc019fc87a19eece18f0b4
2024-05-10 14:03:16 +03:00