Commit Graph

64 Commits

Author SHA1 Message Date
kamikaonashi
5058b2b9b1 stone: properties: silence more battery logspam
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-03 02:43:43 +00:00
kamikaonashi
1b9178dd71 stone: fix qcom bluetooth soc
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-03 02:41:34 +00:00
Arijit78
eb0941240b Revert "stone: Steal SurfaceFlinger offsets from taro"
This reverts commit 8a0e5d3e0f.
2024-08-03 02:39:46 +00:00
Arijit78
1cba9c54ad Revert "stone: Convert packages disallowed to use aux cameras to prop"
This reverts commit 3a6d93676f.
2024-07-16 17:59:25 +00:00
Adithya R
e4e86ef966 stone: properties: Set SF idle timeout to 1100ms
When a clock with seconds tick is on the display, it switches back and
forth between high and low refresh rate if the timer is <=1000ms (1s).
Set it to 1.1s which is just slightly higher to avoid this issue.
This also matches stock value.

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-16 10:55:27 +00:00
Vishalcj17
8a0e5d3e0f stone: Steal SurfaceFlinger offsets from taro
* Before:
   Jitter: 0.6ms
   Total duration: 7.1ms

 * After:
   Jitter: 0.3ms
   Total duration: 6.4ms

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-16 10:55:17 +00:00
Alex Sarraf
c5563ee4a2 stone: properties: Set debug.sf.auto_latch_unsignaled to 0
Need to explicitly set auto_latch_unsignaled property to
disabled state to keep latch-unsignaled as the default
behavior.

* Also set debug.sf.latch_unsignaled to 1

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-16 10:54:55 +00:00
helliscloser
75cfaf5a58 stone: properties: Explicitly disable "Enable GL comp backpressure"
When blur is enabled,
There is severe lag in; Launcher3 while scrolling apps in App drawer, Scrolling through recents and occasionally on QS pull down.

Enabling or completely removing the prop here sm6150-davinci/device_xiaomi_sm6150-common@d6233e0 doesn't seem to make an effect.
Explicitly disabling the "Enable GL comp backpressure" prop seems to slove the issue.

Lag & janks are gone now, even with blur.

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-16 10:54:42 +00:00
kamikaonashi
973111e140 stone: libinit: set memory tweaks only for 4GB Users
6 and 8 GB Users are fine. atleast for now

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-16 10:52:18 +00:00
basamaryan
890f65768a stone: Convert packages allowed to use aux cameras to prop
Change-Id: Ie8c5cc86d3dc4937059432cd42be6dcaa6ac089c
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-06 06:50:36 +00:00
Bruno Martins
3a6d93676f stone: Convert packages disallowed to use aux cameras to prop
Change-Id: I02a4711bfb5f4cebf87d6f2d8a02f47f00c2d62f
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-06 06:48:59 +00:00
ghostride-reborn
0414cbb1cd stone: properties: Relax refresh rate timers 2024-05-26 12:42:21 +00:00
minaripenguin
46b1c2d34d stone: properties: Set frame rate multiple threshold to 60
If the device only have 60 and 120 Hz in the config group, 60 Hz won't be
used when watching a 24 fps video and instead 120 Hz will be used because
it is perfectly divisible by 24.

This is a publicly documented AOSP behavior [1], but it simply does not
make any practical sense and trades off significant amount of power for a
very-hard-to-notice jitter-free experience.

Set debug.sf.frame_rate_multiple_threshold to 60 by default to limit this
behavior to 60 or lower fps.
2024-05-26 12:42:21 +00:00
kamikaonashi
77dfeff42a stone: properties: silence battery logspam
-we cant fix for now, so silence them has no impact in user experience, just cleaner logs.
2024-05-26 12:41:39 +00:00
Edwin Moquete
5fc3e29f1a stone: properties: Disable display refresh rate override
This got enabled by default on U, and it causes apps like
Chrome and Youtube to set the refresh rate to 30FPS when
playing some videos.
2024-05-26 12:38:31 +00:00
zmafnan
f381484181 stone: properties: Better RAM Management
useful for 4GB users
2024-05-26 12:38:09 +00:00
ROMSG
753c3ae1a0 stone: rootdir: switch to LMKD 2024-05-26 12:34:35 +00:00
justinweng
6d09aa327f stone: Extend audio offload buffer size to 256kb
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: justinweng <justinweng@google.com>
Signed-off-by: xNombre <kartapolska@gmail.com>
Signed-off-by: Pascoato <viniciuspascoato@gmail.com>
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-05-26 07:55:42 +00:00
kamikaonashi
480e88c7b3 stone: properties: drop soc model
not needed after detection

d661cca81a8e2898a08f1add97f65cdd52218c2e

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-05-13 15:54:06 +00:00
kamikaonashi
422c71f91d stone: properties: enable fastcharging logs
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-05-12 17:44:48 +00:00
xNombre
c3320df59e stone: props: Enable HWUI render ahead
Render ahead takes a little more memory but makes UI much smoother.

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-05-12 17:35:07 +00:00
kamikaonashi
9326fe03c2 stone: properties: remove duplicate fm prop
defined in odm prop
2024-05-09 22:20:14 +02:00
kamikaonashi
7a3db79ddc stone: properties: fix bluetooth.soc name 2024-05-09 22:19:52 +02:00
kamikaonashi
71b5206a9e stone: properties: drop disable_backpressure
causes more harm than good
2024-05-09 14:40:46 +02:00
kamikaonashi
cb9bdce6e3 stone: properties: disable hwc_vds 2024-05-09 14:40:20 +02:00
Vedraj Gawas
4fc70bca1b stone: properties: Silence LSPosed log tags 2024-05-09 11:43:19 +02:00
kamikaonashi
bede765fbe stone: properties: set 20% margin 2024-05-09 11:43:19 +02:00
kamikaonashi
c6b297982d stone: properties: drop force triple frame buffers 2024-05-09 11:43:19 +02:00
Tommaso Fonda
71b5458996 stone: Silence spammy log tags 2024-05-09 11:43:19 +02:00
kamikaonashi
c304ebd519 stone: Fix FM Radio 2024-05-08 15:54:39 +02:00
kamikaonashi
1afa95c892 stone: properties: Disable Async MTE on System Server
Co-Authored-By: exer <98556122+ekkusa@users.noreply.github.com>
2024-05-07 23:11:31 +02:00
ghostrider-reborn
70b4e7ebf7 stone: properties: disable IMS debugging in props
silence some useless log
2024-05-07 23:11:24 +02:00
ghostride-reborn
5aebd21566 stone: properties: Set debug.sf.defer_refrash_rate_when_off=1
This is required on some devices with video mode panel, since the
scheduler sets refresh rate to 120 Hz _after_ turning screen off at
60 Hz (VRR idle) but the HWC ignores this and when the display is
turned back on SF thinks we are back at 120 Hz while HWC is still
rendering at 60 Hz. Defer setting refresh rate until the screen is
turned back on, to avoid this confusion.
2024-05-07 23:09:51 +02:00
Lucchetto
7bac08421a stone: properties: Disable phantom process monitoring 2024-05-07 23:07:46 +02:00
kamikaonashi
60db844c45 stone: properties: disable cpu vsync 2024-05-07 22:59:23 +02:00
minaripenguin
9a4c7064d6 stone: update fling velocity for modern devices 2024-05-07 22:58:27 +02:00
Bruno Martins
f18c331af6 stone: Move to QTI health AIDL service
The health AIDL HAL service provides functionalities of charger,
therefore system charger at /system/bin/charger is deprecated.
On top of that, QTI health AIDL HAL service enables suspend by
default, the equivalent of setting ro.charger.enable_suspend
for legacy charger.
2024-05-07 22:57:51 +02:00
redgroul
6aafdc6ba6 sm6375-common: Use threaded GLES render engine 2024-05-07 22:51:41 +02:00
redgroul
268e1fc7d9 sm6375-common: Force triple frame buffers This yields significantly
reduced jitter and doesn't have any measurable impact on latency.
2024-05-07 22:51:27 +02:00
Ghosuto
5e277cff29 sm6375-common: introduce spatialaudio from cheetah 2024-05-07 22:40:01 +02:00
Nippon
21bd0fda01 sm6375-common: Silence some log spam
Signed-off-by: Nippon <adamayyad1999@hotmail.com>
Signed-off-by: JaswalAshish <ashish@m.ms.evolution-x.org>
2024-05-07 22:00:13 +02:00
johnmart19
e9fb53daed sm6375-common: configs/properties: Enable VoNR Calls support
Reference: bc1818a363
2024-05-07 21:26:54 +02:00
Nippon
d9cf03682b sm6375-common: properties: set display power timer to 3s 2024-05-07 21:25:36 +02:00
Adithya R
3461b4827e sm6375-common: properties: Enable display smooth motion (SmoMo)
Change-Id: Ibc9e5c9bc686239dcd4d35fa882081307be0a245
2024-05-07 21:25:17 +02:00
Andrzej Perczak
d3b9dfb895 sm6375-common: properties: Disable redir_party_num
Caused incoming caller number not being parsed correctly by Phone app on
VoLTE and VoWiFi. No idea why Lenovo enabled this ancient prop.
2024-05-07 21:24:47 +02:00
Jun Wang
c7a90812f7 sm6375-common: properties: Enable the pre-rendering feature
* Pre-rendering feature can improve FPS and reduce the janks
   in scrolling cases.

Change-Id: I2152d0a1a8f9e337cb0355c8874e72f0f3c2cb46
2024-05-07 21:24:26 +02:00
Adithya R
be93694478 sm6375-common: properties: Enable QCRIL radio power saving 2024-05-07 21:24:12 +02:00
Andy | アンディ
76a6cd4e5e sm6375-common: props: ro.config.media_vol_steps is set by default 2024-05-07 21:24:00 +02:00
Andy | アンディ
35957acc82 sm6375-common: props: Make surface flinger separately also tuned some prop 2024-05-07 21:23:52 +02:00
Andy | アンディ
69dfe5f174 sm6375-common: props: Disable audio fluence for voice recorder 2024-05-07 21:23:17 +02:00