Commit graph

69 commits

Author SHA1 Message Date
Dyneteve
dabf68b62a
sdm660-common: Enable AOSP surfaceflinger
* AOSP SurfaceFlinger is smoother than CAF

Signed-off-by: Dyneteve <sound0020@gmail.com>
2021-03-18 07:33:30 +06:00
Pig
55c8f248a1
sdm660-common: Shorten wait time for services exit to optimize shutdown time 2021-03-07 01:51:46 +06:00
ghostrider-reborn
25eb668abc
sdm660-common: Enable QCRIL radio power saving
Signed-off-by: K A R T H I K <karthik.lal558@gmail.com>
Signed-off-by: chrisw444 <wandersonrodriguesf1@gmail.com>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
2021-03-02 23:47:30 +06:00
OdSazib
dc3bc748b0
sdm660-common: Set vendor.audio.adm.buffering.ms to 3
Whatever we set, the default maximum value is 3 by the lib itself
2021-03-02 23:47:30 +06:00
Martin
a03bdea1fe
sdm660-common: init: Handle fingerprint overrides through init 2021-03-02 23:42:37 +06:00
etahamad
37f9426479
sdm660-common: Remove Duplicated props 2021-02-22 18:17:59 +06:00
OdSazib
2ed5f806a1
Revert "sdm660-common: props: enable vsync and disable backpressure"
This reverts commit adfe7cf0e4.
2021-02-20 11:55:48 +06:00
etahamad
09b642feff
sdm660-common: Handle vendor.audio.adm.buffering.ms for lavender 2021-02-16 17:08:16 +06:00
etahamad
54b3390822
sdm660-common: Move some props to system/build.prop
* +Adding some props also

When device is in Enforce mode, this happens:
---------------------------------------------
E init: Do not have permissions to set 'persist.radio.VT_CAM_INTERFACE' to '2' in property file '/vendor/build.prop': SELinux permission check failed
As example, so, moving those props to system/build.prop (from vendor/build.prop) fixes the issue.

Test: adb logcat -b all -d *:E > logcat-err.log and check for any init props related errors
Fix: Enforcing the Device Tree
2021-02-16 17:08:16 +06:00
Akash
faa87a2764
sdm660-common: Enable fluence voice recording
This fixes google voice recorder
2021-02-10 09:05:29 +06:00
etahamad
15f8321151
sdm660-common: Add required GPU props
These tell the ROM to use the correct Adreno drivers which fixes graphical artifacts.

Credit to Sultan for the triple buffers prop.

Credit to kdrag0n for noticing vulkan prop was missing.

Change-Id: I3481092f3aea2be2091c8c64ca04c426a244a696

Co-authored-by: Lunarixus <Nathan@lunarixus.party>
2021-02-10 09:05:28 +06:00
etahamad
a96e454c5c
sdm660-common: Drop blur for lavender only
* Adding to lavender device make it working
* when we enforce, it won't include from makefile
2021-02-10 09:05:28 +06:00
OdSazib
07ca95cac2
sdm660-common: Enable WiFi display, once again
This reverts commit 323f42f80a.
2021-01-27 20:41:45 +06:00
Michael Bestas
323f42f80a
sdm660-common: Disable WiFi display for now
* Don't show the broken setting until we have a working
  QCOM wfd stack

Change-Id: Ie0637914b853609e27e8c5cb5699364b1717f712
2021-01-21 03:26:34 +06:00
pix106
fe848f7eae
sdm660-common: Remove duplicate properties
SQUASHED into HEAD:
5de946d remove duplicated persist.timed.enable property
b9e41e3 remove duplicated persist.debug.wfd.enable property
2021-01-21 03:26:34 +06:00
Manish4586
adfe7cf0e4
sdm660-common: props: enable vsync and disable backpressure
* As seen with December patch some system apps including user apps started to lag (like screen tearing).
* Enabling Vsync and disabling backpressure resolves the issue

Signed-off-by: Manish4586 <manish.n.manish45@gmail.com>
Change-Id: Ieea19e65020643353494336079104f3f53bd1e4c
2020-12-30 22:06:56 +06:00
OdSazib
e44cb6d696
sdm660-common: Refactor apex
Signed-off-by: OdSazib <odsazib@gmail.com>
Change-Id: I8373415681ebf71732657cf86067be5cc4c14625
2020-12-30 22:06:56 +06:00
OdSazib
256c2fbfed
Revert "sdm660-common: Switch to QTI bt stack and enable a2dp offload"
This reverts commit a85c69a8b5.
2020-12-30 22:04:27 +06:00
Wang Han
01e20206e2
sdm660-common: Remove custom vsync offsets
* The values are kanged from hammerhead and may introduce
   latency as it is not selected for any of our panels
   and stock does not set these values in the first place.

Change-Id: Iee854ea77d1e8216c8f01aee2f71a178ffcfaf5c
2020-12-21 09:19:25 +06:00
Han Wang
a32adb1d10
Revert "sdm660: Enable GL comp backpressure"
* This is no-op when debug.sf.disable_backpressure=1
   is set. Plus, it lags when it's set alone.
   Just follow CAF here and remove this ricing.

This reverts commit ede4f5c879.

Change-Id: I74c5e4ba830ef23448e4f16822687d7a22746a3b
2020-12-21 09:19:25 +06:00
Danny Lin
c8bce5944f
sdm660-common: Use EXPENSIVE_RENDERING power hint for blurs
We need to boost the GPU for smooth high-radius blurs as blurring is an
expensive rendering job.

Change-Id: Ia3968313601d2b04ce50c01ee61dc9944ee26187
2020-12-21 09:19:25 +06:00
Danny Lin
e36c0630a8
sdm660-common: Enable compositor background blurring
This allows us to create a "glass blur" look throughout the system for
improved visuals.

Change-Id: I77bb13a5711b05b43acf25e12abd9a2f5cd2502d
2020-12-21 09:19:25 +06:00
Han Wang
bb3cb75d39
Revert "Force enable mobile network settings v2"
* This prop is not honored anymore on 11.

This reverts commit c4d7f31a89.
2020-12-21 09:19:25 +06:00
Bruno Martins
31de151a0d
sdm660-common: Replace BOARD_CHARGER_DISABLE_INIT_BLANK with equivalent prop
Change-Id: I00125a429cde213e8dd22f742c5875e39b80bb5e
2020-12-13 18:38:07 +06:00
Redick Lin
4f7ff6df99
sdm660-common: BOARD_CHARGER_ENABLE_SUSPEND becomes ro.charger.enable_suspend
Define ro.charger.enable_suspend to true as charger no
longer uses BOARD_CHARGER_ENABLE_SUSPEND.

Bug: 153937817
Change-Id: Ic76bf3a66c5e21c74e49607f54d6c0358c31bbac
Signed-off-by: Redick Lin <redicklin@google.com>
2020-12-13 18:37:52 +06:00
PradyX
0a02b30038
sdm660-common: Camera package list for aux lens
* Fixes google camera aux lense too

Signed-off-by: odsazib <odsazib@gmail.com>
2020-12-09 09:52:25 +06:00
lightvortex
6fdb4938ed
sdm660-common: Remove whatsapp from hal1 packagelist
* Fixes  QR code scanning for WhatsApp web login
* Whatsapp video calls now support hal3, so hal1 is no longer required

Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-09 09:52:25 +06:00
OdSazib
471da74c21
sdm660-common: XiaomiParts: Remove dirac completely
* Fix XiaomiPart crash while using audio mod like v4a/dolby

Signed-off-by: odsazib <odsazib@gmail.com>
2020-10-19 11:36:06 +06:00
Max Weffers
f19d201ccc
sdm660-common: prop: Disable a2dp offload by default
Change-Id: Ife2be50467bb2834c318265864b94963ac4a1d22
2020-10-19 11:36:06 +06:00
Max Weffers
f80d6e2c0a
sdm660-common: prop: Set Perf related Props from sdm660
*Improves battery life alot

This reverts commit 00fb44d6ef51591407bfd46960ea424245c5646f.

Change-Id: I6837d8c3441955fa7dcb9537d595ad27b6f628d7
2020-10-19 11:36:06 +06:00
dianlujitao
a85c69a8b5
sdm660-common: Switch to QTI bt stack and enable a2dp offload
Change-Id: I8b3e7701a81ac92696d59c145e91351839048e39
2020-10-19 11:36:06 +06:00
Suren Baghdasaryan
296434f9f5
sdm660-common: Switch lmkd to use minfree levels for kill decisions
Enable ro.lmk.use_minfree_levels flag to use minfree levels to decide
when lmkd should kill. This makes lmkd work the same way lowmemorykiller
kernel driver used to work.

Bug: 77299493
Bug: 75322373
Test: lmkd_unit_test
Change-Id: Ic29d7fd21af1cb6af3a7d2a175d210775a09987e
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2020-10-19 11:36:06 +06:00
Suren Baghdasaryan
dc9f4bceb5
sdm660-common: Increase ro.lmk.medium to prevent kills at medium vmpressure
Setting ro.lmk.medium to 800 to prevent important processes from being
killed at medium vmpressure levels.

Bug: 77299493
Test: lmkd_unit_test
Merged-In: I37e1651a0a2b148a852e5bde86501024d4f87bbf
Change-Id: I37e1651a0a2b148a852e5bde86501024d4f87bbf
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
(cherry picked from commit c954ec2eb318518cfa5c6f64a688fd8c809e91c5)
2020-10-19 11:36:06 +06:00
Suren Baghdasaryan
0ae4662a4c
sdm660-common: Update lmkd configuration properties
Bug: 63631020

Change-Id: I16a183e8e4625e8b98cefdc9c8a7b650556a2b55
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2020-10-19 11:36:05 +06:00
Nick C
613d4ac141
sdm660: props: enable zygote preforking
faster app launching, as referenced in https://forum.xda-developers.com/asus-zenfone-max-pro-m1/how-to/android-10-faster-app-launch-enabling-t4108817

Change-Id: Ica2a929f0480620a5c08ed1bae0d1f940b1f4136
2020-10-19 11:36:05 +06:00
dianlujitao
a43b71b11d
sdm660-common: Make FM radio opt-in
Change-Id: I2394de5df43aacb69051f8232bfc8f653cf77119
2020-10-19 11:36:05 +06:00
Kim Le
30e51a2dda
sdm660-common: Increase audio HAL buffer size to 240
Change-Id: I7dbba15539feb61bb34192c1b86cf224c4c8c2b2
2020-08-12 02:11:34 +06:00
Max Weffers
22e0014387
sdm660-common: prop: Set Perf related Props
*based on sdm845 perf stack with iop

Change-Id: I43a5c721aa53568470e19caadcfed61bf3cbc00e
2020-08-12 02:11:34 +06:00
sbwml
8725acb71a
sdm660-common: prop: Add persist.vendor.dpm.nsrm.bkg.evt prop
Change-Id: I76c1432d85212d0dd9a81355b7daa081e1f0a8e7
2020-08-12 02:11:34 +06:00
Anush02198
ad5bada05f
sdm660: Re-enable:vendor.audio.safx.pbe.enabled
Change-Id: Id7e1c7a44779be940bf442fb3188fa6e9e863dff
2020-08-12 02:11:32 +06:00
Saurabh
3501d248b5
sdm660: rootdir: Enable sys.use_fifo_ui prop if EAS is present
* When sys.use_fifo_ui is enabled, ActivityManager tracks the UI thread and RenderThread (the two most UI-critical threads) of the top application and makes those threads SCHED_FIFO instead of SCHED_OTHER. This effectively eliminates jitter from UI and RenderThreads; the traces that've gathered with this option enabled show runnable times on the order of microseconds instead of milliseconds.
* However, it should be enabled only when we have EAS i.e a capacity-aware RT scheduler because if RT load balancer is not capacity-aware, then there would be a 30% reduction in application startup performance.

Reference: https://source.android.com/devices/tech/debug/jank_jitter

Signed-off-by: Saurabh Charde <saurabhchardereal@gmail.com>
Signed-off-by: Aston-Martinn <advaithbhat9@gmail.com>
Change-Id: I8b55ad1899be985fc7357abaf06d68d6a130fb75
2020-08-12 02:11:32 +06:00
Keerten
e7656c2f04
sdm660-common: fix manual network selection
* Fixes couldn't connect to manual networks

Change-Id: Ifda9e49e34bfe68bf5157316086312aed45115d6
2020-08-12 02:11:32 +06:00
Stylogey
0bb6dd3fb4
sdm660-common: use perfconfigstore instead of properties
Change-Id: I71461329a7ddfc56a124c342e7ac8697e86d69bf
2020-08-12 02:02:40 +06:00
Manish4586
d527ebc93a
sdm660-common: prop: cleanup radio props
Change-Id: I814a172dc79ede8fa1ab0662b91397e9f69bd84e
2020-08-12 02:02:39 +06:00
Manish4586
acffe9fa0c
sdm660-common: change default network
Signed-off-by: Manish4586 <manish.n.manish45@gmail.com>
Change-Id: I9c61637df661ae2927145218a7cdf5a7171ac0b9
2020-08-12 02:02:39 +06:00
John Zhao
05fa0da861
sdm660-common: config NTP with the secondary server
config NTP with the secondary server

CRs-Fixed: 2062333
Change-Id: I465e492a5d8b4473cf4058e1a4630cc10c7e7a6e
2020-08-12 02:02:39 +06:00
Dušan Uverić
2a94d5cafe
sdm660-common: adjust audio props
Signed-off-by: Dušan Uverić <dusan.uveric9@gmail.com>
Change-Id: I8199b51c2ed68c5b3697418f94866056217e4c56
2020-08-12 02:02:39 +06:00
Dušan Uverić
567fdbff1f
sdm660-common: enable speaker protection only for jason
Signed-off-by: Dušan Uverić <dusan.uveric9@gmail.com>
Change-Id: I6c2d70221bd714ab746c00d99e298494e41022ee
2020-08-12 02:02:39 +06:00
Max Weffers
0119d3da01
sdm660-common: prop: fix property override for lmkd
Change-Id: If4edb9d9f62be046fd1cf9c4cfbd09608dac6363
2020-08-12 02:02:38 +06:00
Keertesh
6a5184d51b
sdm660-common: Move some ril props to SYSTEM_DEFAULT_PROPERTIES
Change-Id: I100fea7a2749aac80b349274ada49442f3480529
2020-08-12 02:02:38 +06:00