Commit graph

150 commits

Author SHA1 Message Date
pix106
89f1efc0ca FIX sdm660-common: properties: Kang sf duration from RMX3193_11_A.01 2024-08-03 09:08:05 +03:00
firebird11
96cf0f2314
sdm660-common: move Enable FUSE Passthrough
- The prop is supposed to be set in product instead of system as per [1].

[1]: https://source.android.com/docs/core/storage/fuse-passthrough
2024-05-10 14:03:13 +03:00
Edwin Moquete
5120925325
sdm660-common: properties: 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: clarencelol <clarencekuiek@proton.me>
Signed-off-by: pix106 <sbordenave@gmail.com>
2024-05-10 13:55:54 +03:00
Martin Liu
a662638993
sdm660-common: adjust zram write back policy
The first default zram write back time is 3 hours which
is for go device to quickly save more ram. For Pixel
devices, we have more working set and could bring launch
time impact if we write back too fast. Thus, adjust the
first time write back time to 24 hours which is aligned
with periodic write back time.

Bug: 166739872
Test: boot
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: If1398bc44db0619cf2e2be87d4813972c0454dba
Signed-off-by: pix106 <sbordenave@gmail.com>
2024-02-09 09:54:06 +02:00
Minchan Kim
ee99b60a37
sdm660-common: Enable zram writeback job scheduler
Bug: 140882488
Change-Id: I5489a7ce7a8d73306a6ecf69f57d338b2b0eaad2
Signed-off-by: Minchan Kim <minchan@google.com>
2024-02-09 09:53:51 +02:00
Alcatraz323
c7ebb79d32 sdm660-common: properties: set ro.boot.wificountrycode to enable the 5g hotspot toggle
* In settings, it called "extends capatibility"
* packages/apps/Settings/src/com/android/settings/wifi/tether/WifiTetherMaximizeCompatibilityPreferenceController.java#L76 private boolean is5GhzBandSupported();

Signed-off-by: pix106 <sbordenave@gmail.com>
2024-01-14 17:19:23 +01:00
pix106
32c332215a sdm660-common: props: Set persist.vendor.qcom.bluetooth.scram.enabled=true
This reverts commit eb07a27752af9daf0b80d7b04ce4cb38d9af832c.
2024-01-14 17:19:23 +01:00
me-cafebabe
44409754f3 sdm660-common: props: Disable Bluetooth APCF Extended features
* Yet another disablement we need, to have bluetooth working properly on A13 (QPR2)

Change-Id: Id3889d6310bac6d417ff2871d5e4a8c513e77354
Signed-off-by: pix106 <sbordenave@gmail.com>
2024-01-14 17:19:23 +01:00
Adithya R
f907d9c71f sdm660-common: Switch to full IWLAN mode
[basamaryan: This is needed for Android U to fix RIL]

Signed-off-by: basamaryan <basam.aryan@gmail.com>
Change-Id: Ie3fa610f71077b4ee2af1b4d57bd0c30b34f30fa
Signed-off-by: pix106 <sbordenave@gmail.com>
2024-01-14 17:18:54 +01:00
Edwin Moquete
5c094cad89 sdm660-common: Switch to FBEv2 emmc optimised encryption
Signed-off-by: pix106 <sbordenave@gmail.com>
2024-01-14 17:18:17 +01:00
Alcatraz323
f6eb32a92c sdm660-common: clear properties, clear BoardConfig, update surface api properties
* kill not exist debug.media.codec2
* replace NUM_FRAMEBUFFER_SURFACE_BUFFERS with properties

Signed-off-by: pix106 <sbordenave@gmail.com>
2024-01-14 17:18:17 +01:00
Alcatraz323
b19b07ba07 sdm660-common: enable level 1(core) Multi-Gen LRU
* we don't support 0x0004(nonleaf_young) feature as it's a x86 only function
* we don't support 0x0002(mm_walk) feature as it requires Armv8.1 hardware
* ref:
[1] https://android.googlesource.com/platform/system/core/+/master/rootdir/init.rc#1328
[2] https://docs.kernel.org/admin-guide/mm/multigen_lru.html

Signed-off-by: pix106 <sbordenave@gmail.com>
2023-08-25 15:15:49 +02:00
Jasmine Cha
51e45212b5 sdm660-common: audio: enable speaker spatializer
* 0605 build lib is same file as 0805 felix/cheetah
Bug: 260779305
Test: manual test

Change-Id: Ifbcee9faebb7607ec08db947e69d1d2d31d9eaab
Signed-off-by: Jasmine Cha <chajasmine@google.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-08-22 08:45:13 +02:00
Eric Laurent
0bcf3c794d sdm660-common: configuration for spatial audio
Update audio configuration to enable spatial audio:
- build with spatial audio feature enabled and rondo library
- list spatializer effect in audio effect configuration file
- update audio policy configuration files to declare spatializer output
- declare immersive end point in audio platform configuration

* Alcatraz: not enable on bt-a2dp, usb out, tested it will create "bzzzzzzzz" like noise, not in good effect, only works well for wired headphone.
* update lib to July

Bug: 237677573
Test: spatial audio playback
Change-Id: Ic9c32d813a19ba2789425e12ee9016d53ab30678
Co-authored-by: Alcatraz323 <alcatraz32323@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-08-22 08:45:13 +02:00
pix106
2caec153a3 sdm660-common: decommonize some camera props 2023-08-22 08:44:53 +02:00
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