Commit graph

135 commits

Author SHA1 Message Date
pix106
e0ab377c10 sdm660-common: properties: move some props to system.prop
[    8.765717] init: Do not have permissions to set 'persist.vendor.bt.a2dp_offload_cap' to 'sbc-aptx-aptxhd-aac-ldac' in property file '/vendor/build.prop': SELinux permission check failed
[    8.766012] init: Do not have permissions to set 'ro.hwui.render_ahead' to '20' in property file '/vendor/build.prop': SELinux permission check failed
[    8.766364] init: Do not have permissions to set 'ro.config.avoid_gfx_accel' to 'true' in property file '/vendor/build.prop': SELinux permission check failed
2023-08-22 08:44:53 +02:00
Suren Baghdasaryan
03dac149f0 sdm660-common: Disable all lmkd properties
With new strategy default values for lmkd properties should work and no
property overrides are necessary.

Bug: 132642304
Test: lmkd_unit_test, ACT memory pressure tests
Change-Id: I9cb0eb2d49fdbf9a76ff790ed19b4b5beb4cccb7
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-08-22 08:44:53 +02:00
Sabar
9dd38e9f76 sdm660-common: silent log spam
E OpenGLRenderer: Unable to match the desired swap behavior.

Coauthored-by: pix106 <sbordenave@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>

move persist.log.tag.OpenGLRenderer=S
2023-06-25 09:45:54 +02:00
Pullakavi Srinivas
efce4ba8a1 sdm660-common: Disable SF composition prediction model
Only for kernel 5.4+

CRs-Fixed: 3243885
Change-Id: I64f82a25768b561bb343fdb7686b7d6c020d024a
Signed-off-by: Immanuel Raj <iamimmanuelraj@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-06-24 08:46:31 +02:00
Alcatraz323
c35e1d376e sdm660-common: properties: match up stock Radio configs
* imsrcsd is a key IMS HAL service bundle, please don't do the thing like "ginkgo did it, so we copy"
* uceservice(User Capability Exchange) HIDL would never be found with this, so that no capability exchange if you disable that and will get a "always retry" logspam
* com.qualcomm.qti.imscmservice HIDL interface would never be found
* vendor.qti.ims.factory HIDL interface would never be found
* when "rearranging prop" please do not add/remove unexpected props
* "NV" subscription type is missing
* as persist.vendor.dpm.feature=11,
In binary 1011, the "0" means NSRM not enabled, the NSRM prop should not be added even for rearrange
* set back dpm.feature to 1, we don't need 0x8 TCP Connection Manager, 0x4 Network Socket Request Manager(NSRM), 0x2 Connection Tracking on an Android tablet
* dpm.feature=0x1 Fast Dormancy is also matched up with miui config

Signed-off-by: pix106 <sbordenave@gmail.com>
2023-06-24 08:40:47 +02:00
Georg Veichtlbauer
54a8a22103 sdm660-common: props: Kill property for skia reduceOpsTaskSplitting
This is now obsolete, enabled by default in AOSP as of commit
108be5bcfad8fdd6474cc88b15f9a21419667189 in frameworks/base.

Change-Id: I96868c259318f597c583ee6e07cf98687d0ef285
Signed-off-by: Immanuel Raj <iamimmanuelraj@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-05-20 08:12:52 +02:00
johnmart19
e0eafa9e48 sdm660-common: Switch to SkiaGL Threaded
- SkiaVK works, in some cases HwUI works better, but mostly shuttery and microlags, so let's go for SkiaGL Threaded

Signed-off-by: Immanuel Raj <iamimmanuelraj@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-05-20 08:12:52 +02:00
pix106
88cd25799b Revert "sdm660-common: properties: Switch to SkiaGL Threaded"
This reverts commit 94b9dc6c67.
2023-05-20 08:12:52 +02:00
pix106
5f3d47e2a8 sdm660-common: enable ro.hwui.render_ahead and set it to 20 frames
This reverts commit 7726d82060.
2023-05-20 08:12:52 +02:00
pix106
5fe7e405e9 Revert "sdm660-common: prop: Set frame render ahead to 3"
This reverts commit 7f38c6c404.
2023-05-20 08:12:52 +02:00
pix106
c14cdbf657 sdm660-common: props: remove duplicates 2023-05-18 19:44:34 +02:00
clarencelol
02bf047003 sdm660-common: Switch back to AOSP BT
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-05-09 06:36:23 +02:00
Jabiyeff
2b60b99a6d sdm660-common: prop: Clean up useless log spams
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-05-09 06:36:23 +02:00
SamarV-121
3694727da7 sdm660-common: prop: Disable continuous transaction tracing on all build types
Change-Id: I5b2d3ba03208925f40fd65d6615d027f6c7b3320
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-05-09 06:36:23 +02:00
imjyotiraditya
5a72639a8c sdm660-common: prop: Enable config_avoidGfxAccel
- This flag turns off GPU/CPU intensive UI effects and
  reduces the RAM footprint.

- Using this is a better compromise than the 'low_ram' flag
  as this does not disable features in the rom but still
  reduces RAM usage and gives better smoothness in the UI.

Signed-off-by: drkphnx <dark.phnx12@gmail.com>
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
Change-Id: Ic0e7a55a7c6e760e8a5172c6de4ccffcbe28d2fa
Signed-off-by: DarkJoker360 <simoespo159@gmail.com>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-05-09 06:36:23 +02:00
Alec Mouri
e7181ae6da sdm660-common: properties: Force device to treat 170M as sRGB in SF
Bug: 229442032
Test: builds, boots
Change-Id: I2910f9d025ca6a6f3e73544e8f14346cfb0bc177
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-05-09 06:36:23 +02:00
John Galt
7f38c6c404 sdm660-common: prop: Set frame render ahead to 3
The extra 2-3 frames benefit jank without adding much input latency.

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-05-09 06:36:23 +02:00
pix106
7726d82060 Revert "sdm660-common: enable ro.hwui.render_ahead and set it to 20 frames"
This reverts commit 73a43969b7.
2023-05-09 06:36:23 +02:00
minaripenguin
38ffb4e605 sdm660-common: prop: Enable apk fs-verity
* for some reason, some apps automatically detects that we're rooted due to verityUtils failing to measure the apps apk fs-verity.

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-05-09 06:36:23 +02:00
pix106
94b9dc6c67 sdm660-common: properties: Switch to SkiaGL Threaded
This reverts commit 24472a9920.
2023-05-09 06:36:23 +02:00
pix106
302722fa7a sdm660-common: props: set 14 volume steps for calls 2023-04-09 09:11:56 +02:00
pix106
d8cf7ceb68 sdm660-common: props: set 25 volume steps for alarm 2023-04-09 09:11:39 +02:00
Alcatraz323
7791443f94 sdm660-common: use QTI USB 1.3 HAL
* follows vendor/qcom/opensource/usb/vendor_product.mk
* enable full usb function
* partially ported sepolicy_vndr

Signed-off-by: pix106 <sbordenave@gmail.com>
2023-04-02 13:44:41 +02:00
ExactExampl
73a43969b7 sdm660-common: enable ro.hwui.render_ahead and set it to 20 frames
* Rendering ahead makes some animations handling better (especially qs pulldown on a13 qpr2)

Change-Id: I3e732cfbd22d30df9843d3b7d2762ec59cf0f6a7
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-04-02 13:44:41 +02:00
Sal Savage
78e7ac49eb sdm660-common: Use the ?= operator so BT properties can be overridden
System properties set with the "=" operator cannot be overriden. This
device is used elsewhere in the system and some of the properties need
to be overridden. The "?=" operator will use the assigned value if no
other values are assigned elsewhere, allowing for overrides.

Bug: 230638462
Test: adb shell getprop | grep bluetooth
Change-Id: Id6cd7901555edafef141bbc1bbd5e06dc3a54d0c
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-03-23 19:32:12 +01:00
Alexander Koskovich
8ce5fecc9b sdm660-common: Move BT profiles props to vendor
* Makes it GSI compatible

Change-Id: I8f7caf241d508af59c16482e6185c42f23f8a460
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-03-23 19:32:12 +01:00
Alcatraz323
6727b8db61 sdm660-common: properties: remove duplicated persist.vendor.bt.a2dp_offload_cap & sync offload capabilities
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-03-23 19:32:12 +01:00
Edwin Moquete
77d62f3641 sdm660-common: Remove unused persist.bluetooth.a2dp_offload.cap property
This prop has no effect as of T QPR1.

See: cf25e33147

Change-Id: Ic762812dd59429d344ccc55c01bf96b0ffd6dbab
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-03-23 19:32:12 +01:00
pix106
0f80112120 sdm660-common: props: Enable debug.sf.disable_backpressure
Needs https://review.arrowos.net/c/ArrowOS/android_frameworks_native/+/18896

This reverts commit 84a49c1b79.
2023-01-12 07:32:48 +01:00
Jun Wang
80fc94ae03 sdm660-common: props: Disable Skia tracing by default
If the prop "debug.hwui.skia_atrace_enabled" is enabled, too many
skia tracing calls will be printed in every frame. This has obvious
overhead on performance/power, and can cause many janks. So disable
it by default, and user can set it manually if necessary.

Signed-off-by: OmarAlCoptan <omarcoptan9@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-01-12 07:32:12 +01:00
Kunmun
2cf5718249 sdm660-common: audio: Import configs from LA.UM.10.2.1.r1-03400-sdm660.0
• Override some properties
• Import minimal device specific changes for lavender

Change-Id: Iacfc1d97928935a57f76d276dbab8761138bf0e5
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-01-08 08:59:27 +01:00
Kunmun
df2c4bda6c sdm660-common: media: Import configs and props from LA.UM.10.2.1.r1-03400-sdm660.0
• Build required media packages

Change-Id: Id1828f9fad2c939b8d87f0cc2562a32b2aa0026e
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-01-08 08:59:26 +01:00
justinweng
0ec33a90f9 sdm660-common: Extend buffer size to 256kb for offload playback
Extend buffer size for offload playback to reduce the frequency of CPU
wake up.
It makes ADSP to process more data one time and reduce the number of
times to wake up CPU.

Bug: 137973303
Test: MP3 playback

Change-Id: Ib0b2a8827647ed780bb20bd9dfa2a383153eb282
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-01-04 06:53:43 +01:00
mvaisakh
5743c43e60 sdm660-common: props: Use HintManager for HWUI
This will send HWUI timings to HintManager for better CPU scheduling.
Setting a 30% margin for CPU should heavily reduce CPU loads for HWUI and
use GPU for the rest.

Signed-off-by: pix106 <sbordenave@gmail.com>
2023-01-04 06:53:43 +01:00
wHo-EM-i
c08cdd0098 sdm660-common: props: nuke gboard padding
Signed-off-by: wHo-EM-i <ehteshammalik18998@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-01-04 06:53:43 +01:00
xenxynon
cbb7fb8cde sdm660-common: props: drop debug.hwui.use_buffer_age
Fixes lags and freeze after QPR1 (December 2022 ASB) merge

Signed-off-by: pix106 <sbordenave@gmail.com>
2023-01-04 06:53:43 +01:00
johnmart19
6ed081153b sdm660-common: properties: Adapt unsignaled buffer latch property to Android 13
- According to https://source.android.com/docs/core/graphics/unsignaled-buffer-latch
- [Joker-V2: Move it to vendor]

Signed-off-by: Joker-V2 <nipinna0@gmail.com>
Signed-off-by: Immanuel Raj <iamimmanuelraj@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-12-27 07:34:56 +01:00
pix106
24472a9920 Revert "sdm660-common: properties: Switch to SkiaGL Threaded"
This reverts commit a04b725b76.
2022-12-19 07:40:12 +01:00
Woody Lin
008c33867b sdm660-common: properties: Enable zygote critical window
Bug: 141948707
Change-Id: I5dc57312118b0f6d95fc9fe164363ec7e15f1b51
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-11-07 08:34:26 +01:00
Sebastiano Barezzi
bf0b356134 sdm660-common: Get A2DP offload going
* Update Bluetooth stack from S62Pro
* Update aptX encoder libs from crosshatch
* Bring back A2DP blobs, they're needed for offload
* Build a2dpoffload lib
* Update props and enable A2DP offload support

Signed-off-by: pix106 <sbordenave@gmail.com>
2022-10-14 20:49:50 +02:00
Jabiyeff
f24da91623 sdm660-common: properties: Force disable iorapd
* Its eating more RAM and slow down device
* Thanks for CAFEBABE find this

Signed-off-by: Jabiyeff <cebiyevanar@gmail.com>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-10-11 08:47:30 +02:00
clarencelol
ce0c00870c sdm660-common: properties: Cleanup some display properties
* Try not to mess with these props

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-10-11 08:47:30 +02:00
sarthakroy2002
06789bc2a1 sdm660-common: properties: Kang sf duration from RMX3193_11_A.01
* Fixes lag while playing 1080p/2k video on youtube

Change-Id: Ia717f5c0075b6adaedaf20dd6be689737edc1415
Signed-off-by: wHo-EM-i <ehteshammalik18998@gmail.com>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-10-11 08:47:30 +02:00
Chris Craik
7c33121604 sdm660-common: properties: Disable use_buffer_age to workaround driver issue
picked from wahoo

Bug: 74534157
Test: none
Change-Id: Ie03a0b36e06b6596c2cbf2d7b0f3eaba93afbf33
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-10-11 08:47:30 +02:00
Jeferson
8efbc27071 sdm660-common: properties: Enable debug.sf.enable_egl_image_tracker
Change-Id: Ib91987e268fbb16c24d5e965a6b13d2dd8b48e1b
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-10-11 08:47:30 +02:00
pix106
0b6d391c80 sdm660-common: properties: remove duplicate 2022-10-11 08:47:30 +02:00
Alexander Koskovich
7b3f3a7685 sdm660-common: Move Bluetooth power overlays to sysprops
* These were moved to sysprops in Android 13.

   976d33062b%5E%21/#F0

Change-Id: I5bff67a15c537e8a47a19f30776fca6bf2c9fbe5
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-10-01 11:15:34 +02:00
pix106
a905676498 sdm660-common: properties: tweak bluetooth props 2022-09-26 06:52:19 +02:00
Kujou Yuko
1f817aa300 sdm660-common: Enable Audio Support for Hearing Aids central support
Signed-off-by: Kujou Yuko <i@779.moe>
Change-Id: I792a9715f17c1f17fb8b9a524cabed901d3e6f4a
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-09-13 06:56:45 +02:00
Alice Kuo
96ce85cb66 sdm660-common: Disable LE audio related profiles
Bug: 231671426
Test: build
Change-Id: I85b7f023c03a7a2e603af94e88196c10a16fe4ec
Merged-In: I85b7f023c03a7a2e603af94e88196c10a16fe4ec
(cherry picked from commit 9b57be4d7f57e1d117c65fac1e2dc60dbc59cb4b)
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-09-13 06:56:45 +02:00