123 Commits

Author SHA1 Message Date
ZVNexus
e72d23f5e0 sapphire: Enable Qualcomm TrueWireless Stereo
Signed-off-by: 01soni247 <01soni247@gmail.com>
2024-09-09 19:44:52 +06:00
NotZeetaa
fc1d8f17ad sapphire: vintf: Drop ISecureElement/eSE1
* Fixes Unable to set property "ctl.interface_start" to "android.hardware.secure_element@1.2::ISecureElement/eSE1": error code: 0x20
2024-09-09 01:43:04 +06:00
RJ RAIJIN
46557a2887 sapphire: Fix qti_power_hal
* This fixes the following logspam:

E/ QTI PowerHAL: Failed to acquire lock for hint_id: 1040
E/ QTI PowerHAL: Failed to acquire lock for hint_id: 1041
E/ QTI PowerHAL: Failed to acquire lock for hint_id: 10A5

Change-Id: I03746ea83251d8b731afb8d307526d15320c3cf9
Signed-off-by: artemscine <artempemine@gmail.com>
2024-09-09 01:34:21 +06:00
kibria5
3b7298c596 sapphire: Cleanup some props 2024-09-09 01:27:55 +06:00
AdarshGrewal
721a5136ab sapphire: Enable hwc vds
* fuck you qcom

Change-Id: I749551ac2b841c97483dfaafdd325cd68221a00f
2024-09-09 01:13:55 +06:00
Ken Huang
facc51f928 sapphire: Set 120Hz frame rate multiple threshold for sapphire
Bug: 215043570
Test: play 24fps video and check refresh rate
Change-Id: Ie638f9dcf11e25bdd903d6cde2d0eeb794668e52
2024-09-09 01:06:47 +06:00
Adithya R
e8bffe503a sapphire: props: Switch to SF phase offsets from gs201.
https://android.googlesource.com/device/google/gs201/+/refs/heads/main/device.mk#678
2024-09-09 01:04:25 +06:00
kibria5
0ebbe4b34e sapphire: Enable Incremental on the device 2024-09-09 00:55:31 +06:00
Adithya R
3c842c685e sapphire: perf: Enable performance mode on khaje
Change-Id: I3c81d1721272528f7a57f4dffe434f68b830131a
2024-09-05 17:02:25 +06:00
Vishalcj17
1d4f90ef9c sapphire: perf: Boost GPU on specific events
* Properly tackle blur event lags with GPU boosting.
2024-09-05 17:02:25 +06:00
chrisl7
45d35f2a48 sapphire: perf: Tune khaje boosts values 2024-09-05 17:02:25 +06:00
Jake Weinstein
e0ff20d4ac sapphire: perf: Do not balance msm_drm and kgsl_3d0 IRQs
These are critical for display performance and should not be balanced
in order to improve latency and responsiveness.

After unbalancing, move these IRQs to separate cores
to improve latency.
2024-09-05 02:03:48 +06:00
Adithya R
38d6cabaed sapphire: Kill IMS logspam
Change-Id: Ieec9b995c0316bbdb4fce3e5fceca2defb24159f
2024-09-03 15:54:56 +06:00
Danny Lin
2809578531 sapphire: props: Disable RescueParty
RescueParty's aggressive approach to error recovery almost never helps
with the problems we're likely to face, and its risk of data loss is far
too high. Force-disable it entirely and remove all other conditions,
especially those that depend on data integrity in the first place, to
reduce the risk of RescueParty triggering falsely and causing data loss.

Note that it is still possible to force-enable RescueParty for testing
purposes using the persist.sys.enable_rescue property.
2024-09-03 15:54:56 +06:00
LuK1337
52b78707e3 sapphire: wifi: Enable DFS channel scanning in P2P search
* Fixes P2P when connected to 5GHz access point.

Change-Id: I31890645510931c7e7a65759c915a09fec77a1cf
2024-09-03 15:54:56 +06:00
Luk1337
7446da0e0b sapphire: wifi: Disable RX wakelock feature 2024-09-03 15:54:56 +06:00
Alan Chen
3e6682439b sapphire: wifi: Enable Optimized Power Management
- This config was renamed as of CLO commit [1] and [2].

[1]: 10989ba376
[2]: 9ef1447db3

Change-Id: Ie6ffbeebb45e5dd97b98592b7dfc195a4fb7045d
2024-09-03 15:54:56 +06:00
Alex Naidis
d0089d7f92 sapphire: wifi: Smarter decisions on whether to use a 2 or 5Ghz AP
Implement a smarter system on whether to connect
to the provided 2Ghz or 5Ghz network.

Change-Id: Idd41e3d9a5e2bde3ea9b4873dffc4274d1530324
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
2024-09-03 15:54:56 +06:00
Sunil Ravi
f42007a553 sapphire: wifi: Disable TDLS offchannel
TDLS off-channel feature is needed only for
certification. Disable the feature in production
builds.

Bug: 161320896
Test: Basic wifi sanity test.
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2024-09-03 15:54:56 +06:00
Yaroslav Furman
e1420746d9 sapphire: wifi: Disable all logging 2024-09-03 15:54:56 +06:00
Jabiyeff
198a820573 sapphire: props: Force disable iorapd
* Its eating more RAM and slowdown device
* Thanks for CAFEBABE find this
2024-09-03 15:54:55 +06:00
romgharti
82e3d6a662 sapphire: Remove ro.vendor.perf.scroll_opt
- Fixes some scroll lags and system ui

Signed-off-by: romgharti <romgharti@gmail.com>
Signed-off-by: kssrao13882 <kssrao13882@gmail.com>
2024-09-03 10:54:50 +06:00
Jyotiraditya
e13d27c68d sapphire: 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: Pascoato <viniciuspascoato@gmail.com>
2024-09-03 10:54:50 +06:00
PainKiller3
bdf1b76187 sapphire: props: Disable vsync for CPU rendered Apps
* Choreographer VSync has some performance impact for CPU rendered apps
as the app has to wait for VSync to start a new frame draw. When the
frame draw time exceeds one VSync, this has a direct impact on the FPS.
debug.cpurend.vsync property controls the VSync for CPU rendered apps.

Disable VSync for CPU rendered app, by setting this property to false.
2024-09-03 10:54:50 +06:00
Midas Chien
149f01b71c sapphire: Don't latch unsignal buffers
Set debug.sf.latch_unsignaled=1 is used to allow surfaceflinger to
latch unsignal buffers that can give more time for buffer to render.
But if the buffer takes longer time to finish, it will block whole
display pipeline result to jank.

Bug: 157964883
Test: scrolling, launch
Change-Id: I56c3e05921de5fc9569bf3f93fde03022a64b6a4
Signed-off-by: kibria5 <mdkibria687@gmail.com>
2024-09-02 21:01:49 +06:00
minaripenguin
85bfb334cb sapphire: properties: Add touch improvements props
[1]: https://github.com/RisingTechOSS/android_frameworks_native/blob/thirteen/services/inputflinger/reader/InputReader.cpp
[2]: https://github.com/RisingTechOSS/android_frameworks_native/blob/thirteen/services/inputflinger/reader/mapper/TouchInputMapper.cpp
[3]: https://forum.xda-developers.com/t/possible-fix-for-touchscreen-issues-misses-updated-08-29.3172100/
2024-09-02 21:00:03 +06:00
KARTHIK LAL
e9de88af95 sapphire: Add props to improve battery backup 2024-09-02 18:31:03 +06:00
Matthew Bouyack
10f5e380e3 sapphire: props: Disable SF backpressure
* Dropping debug.sf.enable_gl_backpressure

Signed-off-by: Charsi-Tejas <tejas@m.ms.evolution-x.org>
2024-09-02 18:31:03 +06:00
Vishalcj17
2e364e81f2 sapphire: Do not use phase offsets as duration.
- SurfaceFlinger Durations work fine in some scenarios like during
fling, browsing on chrome and etc. But it breaks HWUI graph during
activities like scrolling or JankBench tests, even when the the
governor is set to performance.

Test- Open UIBench.apk and look for jitter
Fixes- Total duration in UIBench. Major reduction from 11ms to 6ms on sm6150
Signed-off-by: Panchajanya1999 <panchajanya@azure-dev.live>

Change-Id: Ic1bf9d6ffbf57a2132a2dc6bedd0bcc136768502
2024-09-02 18:31:03 +06:00
kibria5
7dca0307c6 sapphire: 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 d6233e0e7c 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: helliscloser <mrumais@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Coptan99 <omarcoptan9@gmail.com>
2024-09-01 14:13:40 +06:00
Alex Sarraf
b0a9c296d6 sapphire: display: 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.

Change-Id: I3856caaf0a68e7e720819f25338d1eb9196f56b0
2024-09-01 14:13:40 +06:00
Jake Weinstein
d937d65ae7 sapphire: props: Rename property to disable MTE in system_server
Matches Android 14 D1

commit 6d9f5fc6ee46136163be16ec53cc70b4cba02c83
Author: Evgenii Stepanov <eugenis@google.com>
Date:   Fri Jun 16 16:47:21 2023 -0700

    Rename sysprop for MTE mode in system_server.

    Move the system property that controls MTE mode in system_server out of
    arm64.memtag.process namespace. Process sysprops affect the MTE mode of
    any process with the given name; using such property in a product means
    that any process or test unfortunately named "system_server" would be
    affected.

    Bug: 280343521
    Test: debuggerd `pidof system_server` | head -30 | grep tagged_addr
          affected by the new property
          not affected by the old property

Signed-off-by: angelomds42 <angelomds42@gmail.com>
Signed-off-by: adi8900 <adrianszymanski242@gmail.com>
2024-08-31 16:41:11 +06:00
Rheygine Medel
3412be9506 sapphire: Disable blur on app launch
This change adds the system property that disables blur during app
launch.
2024-08-31 16:41:11 +06:00
Mohammad Kibria
6dbf556de4 sapphire: sm6225-common -> sapphire 2024-08-31 16:41:11 +06:00
SamarV-121
92aba79263 sm6225-common: Disable continuous transaction tracing on all build types
Change-Id: I95657a00e38f1229675682e784b20cca12c119b0
2024-08-31 16:41:10 +06:00
itsnouralawad
f41565c3a1 sm6225-common : Remove blur 2024-08-31 16:41:10 +06:00
minaripenguin
ac7e8dd2c6 sm6225-common: props: Set Brightness slider curve Implementation 2024-08-31 16:41:10 +06:00
Ivan Martynov
654edae89a sm6225-common: props: Disable QCRIL power saving
* Currently mobile network signal and speed was not giving wanted results for daily drive
* Disable QCRIL battery saving mode to have maximum network Performance

Change-Id: I893dc82491996a3ce203f26d9df32919b74c728c
2024-08-31 16:41:10 +06:00
TheCrazyLex
4843e0f2b0 sm6225-common: wifi: Enable QPower and Deep sleep at the same time
* This enables Deep Sleep mode, additionally to QPower
* With this configuration, QPower manages the new Deep sleep mode
 -> Leads to amazing power savings

Change-Id: I3916ecd6ff93aa5c7248e542df2cc0e8f781441a
2024-08-31 16:41:10 +06:00
Vinay Verma
29d03078dd sm6225-common: properties: Disable Async MTE on System Server
Async mode MTE is enabled by default on System Server process.
Add property arm64.memtag.process.system_server=off
This property is read during system server forking process and
accordingly Heap Tagging level is set.

Change-Id: I84983ac78ca316e5b109b3a1f110f6c487a2f5e0
2024-08-31 16:41:10 +06:00
Vaisakh Murali
0f6ffb5a77 sm6225-common: Prefer hwcodecs for thumbnails
Change-Id: Ie226ec92b985bc2cc90d119b3a42962f2fea7d2e
2024-08-31 16:41:10 +06:00
dlwlrma123
cf172d707b sm6225-common: Switch to SkiaGL as HWUI renderer
* It seems like Google is improving Skia based from RenderEngineThreaded's history [1], lets switch to SkiaGL and test stability and perf.
[1]: https://github.com/LineageOS/android_frameworks_native/commits/lineage-19.1/libs/renderengine/threaded/RenderEngineThreaded.h
2024-08-31 16:41:10 +06:00
sakhiofsakshi
92aba239d7 sm6225-common: Remove persist.vendor.service.bdroid.sibs=false
- Fix deep sleep issue when bluetooth headset is connected

Change-Id: I6db0da098ced911071c9392d42251b47c59e1066
2024-08-31 16:41:10 +06:00
Praveen Chavan
283cb1a8b4 sm6225-common: Add a property to enable prefetching video
persist.mm.enable.prefetch, if set to true, will enable
prefetching of video input from upstream source to help
improve playback performance for high frame-rate and
high bitrate content

Change-Id: I814785befd9844364afb50eb7d48439406ae0750
2024-08-31 16:41:10 +06:00
Sebastiano Barezzi
243eba4a09 sm6225-common: Switch to AOSP WFD
Change-Id: I220026b33d4f4984efe6652cbbd83de529595df2
2024-08-31 16:41:10 +06:00
minaripenguin
a47fc5761e sm6225-common: props: 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: Sageofd6path <mail2anirban95@gmail.com>
Signed-off-by: Devang Chaudhary <devangsingh369@gmail.com>
2024-08-31 16:41:10 +06:00
Edwin Moquete
e209aaa42e sm6225-common: Disable frame rate override feature
This is enabled by default on U, and it causes apps like
Chrome and YouTube to render the frame rate at 30FPS when
playing some videos.

Change-Id: I649bf03d550c2b9726c7957d15ed09e455d874ec
Signed-off-by: basamaryan <basam.aryan@gmail.com>
2024-08-31 16:40:57 +06:00
Alex Sarraf
b5cc564d85 sm6225-common: Disable SF client composition cache
Disable SF client composition cache. Helps with framework
client target fence management.

Change-Id: I73e03e76f51d00fafad38479be00f4005be50665
2024-08-21 13:37:08 +03:00
justinweng
4047cf9b50 sm6225-common: props: 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.

Test: MP3 playback
Signed-off-by: John Reybel Pilon <jreybelp@gmail.com>
2024-08-21 13:37:08 +03:00
itsnouralawad
923b8a1ed5 sm6225-common : Set native color mode to boosted 2024-08-21 13:37:08 +03:00