Commit graph

61 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
pix106
0b6d391c80 sdm660-common: properties: remove duplicate 2022-10-11 08:47:30 +02:00
pix106
a905676498 sdm660-common: properties: tweak bluetooth props 2022-09-26 06:52:19 +02:00
Tim Zimmermann
eb323c917c sdm660-common: Specify Encryption Format For Adoptable Storage
Signed-off-by: Vitorgl2003 <vitorgl.2003@gmail.com>
Signed-off-by: Aaradhay Vijay <inferno964.github@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-09-11 10:38:55 +02:00
rdxzv
73a489db3f sdm660-common: Disable client composition cache
* Disabling client composition cache improves system smoothness and fix issues like lags when media output is showed on qs panel

Signed-off-by: Vitorgl2003 <vitorgl.2003@gmail.com>
Signed-off-by: ImPrashantt <prashant33968@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-09-03 23:21:48 +02:00
clarencelol
765f74515a sdm660-common: Aosp-ify bluetooth
* Remove some props

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-08-19 09:56:01 +02:00
Andrzej Perczak
559ced23fd sdm660-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.

Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Signed-off-by: Clarence K <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-07-29 13:48:08 +02:00
pix106
e75bc48d25 sdm660-common: props: move some props to system.prop
[    8.598055] init: Do not have permissions to set 'ro.vendor.qti.am.reschedule_service' to 'true' in property file '/vendor/build.prop': SELinux permission check failed
[    8.598101] init: Do not have permissions to set 'ro.sys.fw.dex2oat_thread_count' to '8' in property file '/vendor/build.prop': SELinux permission check failed
[    8.598698] init: Do not have permissions to set 'bt.max.hfpclient.connections' to '1' in property file '/vendor/build.prop': SELinux permission check failed
[    8.598747] init: Do not have permissions to set 'vendor.hw.fm.init' to '0' in property file '/vendor/build.prop': SELinux permission check failed
[    8.598819] init: Do not have permissions to set 'camera.aux.packagelist' to 'com.google.android.GoogleCamera,com.android.camera,org.codeaurora.snapcam' in property file '/vendor/build.prop': SELinux permission check failed
[    8.598960] init: Do not have permissions to set 'persist.vendor.dpm.loglevel' to '0' in property file '/vendor/build.prop': SELinux permission check failed
[    8.599199] init: Do not have permissions to set 'persist.backup.ntpServer' to '"0.pool.ntp.org"' in property file '/vendor/build.prop': SELinux permission check failed
[    8.599244] init: Do not have permissions to set 'persist.vendor.overlay.izat.optin' to 'rro' in property file '/vendor/build.prop': SELinux permission check failed
[    8.599327] init: Do not have permissions to set 'camera.hal1.packagelist' to 'com.android.camera,com.android.camera2,com.instagram.android' in property file '/vendor/build.prop': SELinux permission check failed
[    8.599361] init: Do not have permissions to set 'ro.media.recorder-max-base-layer-fps' to '60' in property file '/vendor/build.prop': SELinux permission check failed
[    8.599492] init: Do not have permissions to set 'ro.vendor.qti.sys.fw.bservice_enable' to 'true' in property file '/vendor/build.prop': SELinux permission check failed
[    8.599580] init: Do not have permissions to set 'persist.vendor.qti.telephony.vt_cam_interface' to '2' in property file '/vendor/build.prop': SELinux permission check failed
[    8.599837] init: Do not have permissions to set 'ro.build.shutdown_timeout' to '2' in property file '/vendor/build.prop': SELinux permission check failed
2022-07-04 07:40:35 +02:00
Prashant
279e7445f3 sdm660-common: props: move some props to system
[    4.408490] init: Do not have permissions to set 'ro.audio.soundfx.dirac' to 'true' in property file '/vendor/build.prop': SELinux permission check failed
[    4.408557] init: Do not have permissions to set 'persist.audio.dirac.speaker' to 'true' in property file '/vendor/build.prop': SELinux permission check failed
[    4.408589] init: Do not have permissions to set 'persist.dirac.acs.controller' to 'qem' in property file '/vendor/build.prop': SELinux permission check failed
[    4.408619] init: Do not have permissions to set 'persist.dirac.acs.ignore_error' to '1' in property file '/vendor/build.prop': SELinux permission check failed
[    4.408648] init: Do not have permissions to set 'persist.dirac.acs.storeSettings' to '1' in property file '/vendor/build.prop': SELinux permission check failed

Signed-off-by: Prashant <prashant33968@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-07-04 07:40:35 +02:00
KenHV
4621e54709 sdm660-common: props: fix screen recorder lag
Signed-off-by: ImPrashantt <prashant33968@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-06-06 12:41:59 +02:00
Bruno Martins
3f0f85a33e sdm660-common: props: Remove obsolete eBPF property
Android 12 enforces support for eBPF in all kernels.

Change-Id: Iefa9071cb10eabbaeb2f3d2c7c60cb3d0cc2fa2e
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-06-06 12:41:59 +02:00
clarencelol
d816fad213 sdm660-common: Regen radio props
* Fully using ginkgo radio props as we are using their blobs as well

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-05-15 10:25:30 +02:00
Edwin Moquete
097c21d39f sdm660-common: Update radio blobs from ginkgo
* Cleanup and disable ATFWD

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-05-15 10:25:30 +02:00
pix106
eb95995113 sdm660-common: props: add vendor.video.disable.ubwc=1
* fixes video recording on lavender, after "sdm660-common: properties: Cleanup and regen display and media related props"

Signed-off-by: pix106 <sbordenave@gmail.com>
2022-05-08 08:47:36 +02:00
clarencelol
3156bbaf1a sdm660-common: Kang media props from S62Pro
* Move most of the props to system.prop

Signed-off-by: pix106 <sbordenave@gmail.com>
2022-05-06 23:52:59 +02:00
pix106
1c12790664 Revert "Revert "sdm660-common: properties: Disable SDM Scalar""
This reverts commit 401b9aeda6.
2022-05-06 23:52:59 +02:00
pix106
2f506fd2bf sdm660-common: props: add video.disable.ubwc=1
fixes video recording, after "sdm660-common: properties: Cleanup and regen display and media related props"

Signed-off-by: pix106 <sbordenave@gmail.com>
2022-05-06 23:52:59 +02:00
clarencelol
06838ae9d3 sdm660-common: properties: Cleanup and regen display and media related props
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-04-02 07:16:37 +02:00
pix106
e6dcebeeef sdm660-common: Decommonize crypto props
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-03-26 11:56:34 +01:00