Commit graph

44 commits

Author SHA1 Message Date
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
Bruno Rocha
f8c033af7f
sdm660-common: Disable AUDIO_FEATURE_ENABLED_KPI_OPTIMIZE
We're not using perfd so this is useless.
log error:
E/audio_hw_extn(704): audio_extn_perf_lock_acquire: Failed to acquire perf lock, err: -1
E/audio_hw_extn(704): audio_extn_perf_lock_release: Perf lock release error

Change-Id: I574bf2f8d83dfa34a13a77fa1cd241ae54d956cb
2020-08-12 02:02:37 +06:00
Max Weffers
11f242fb9d
sdm660: prop: We don't have dual isp camera
* fixes portait mode in miui cam

Change-Id: I2e0518312528116b977a069a273168dc916160e1
2020-03-06 11:21:00 +01:00
VijayaKumar T M
e3747252c9
sdm660_64: camera : Disable dual isp sync
sdm660 will not support dual isp sync.

Change-Id: I006eecf59437aa7cdbd378850ab5ce6e7f702a54
2020-02-27 17:01:39 +01:00
Max Weffers
8958ec4e22
sdm660: prop: Do not Move input surface to CCodec
* fixes system side screenrecorder

Change-Id: I141c3a72507d53a1fc00a26247da2256a7f71826
2020-02-27 17:01:38 +01:00
dianlujitao
c4d7f31a89
Force enable mobile network settings v2
* AOSP defaults to true but 10 QC telephony extension sets it to false.
 * Restore AOSP behavior by enabling it with a system property which has
   higher priority over global system settings which is used by QCOM w/o
   modifying the jar.

Change-Id: I45854b91bb8cfafabfe811777cda9f1e1840febf

 Author:    dianlujitao <dianlujitao@lineageos.org>
 Date:      Tue Oct 22 21:11:54 2019 +0800

Change-Id: I1862e9021ccbc8430c9a1dcda21016fdbf2f0bad
2020-02-27 17:01:38 +01:00
Dyneteve
458fbf7f0d
sdm660-common: Switch to userspace LMKD
Change-Id: I63a284f3b956284e798fe0ecfb6cc05b4190db73
2020-02-27 17:01:38 +01:00
Phil Burk
9342e80e43
sdm660: audio: add vendor property for mmap MMAP OUTPUT time offset
Try to fix glitches on AAudio MMAP output on bonito.
The DSP is returning a position/time pair that is too soon.

Bug: 122680738
Test: Should see glitch.count = 0 when you run this test.
Test: adb shell aaudio_loopback -tm -b999 -s20 -x -X
Change-Id: I3cf7698e4038b375a116c4d708eb0686cc72f40e
Merged-In: I3cf7698e4038b375a116c4d708eb0686cc72f40e
2020-02-27 17:01:37 +01:00
Pawin Vongmasa
4b0ead0844
sdm660: Move input surface to CCodec
Test: atest CtsMediaTestCases -- \
--module-arg CtsMediaTestCases:size:small

Bug: 131800183

Change-Id: I8783a7de4a4fdf7ff2eac6697c71f6592c9a9e06
2020-02-27 17:01:37 +01:00
Adhitya Mohan
413f53c6f7
sdm660-common : Ensure ro.surface_flinger.protected_contents=true is copied to build.prop
-Having it as DEFAULT_OVERRIDE did not copy the prop, causing chrome v77+ to crash

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Change-Id: I1fd53af2b9aecc53f7058eb76ef8e815d98968c5
2020-02-27 17:01:36 +01:00
Max Weffers
ec97fdde2d
sdm660-common: Update rild.libpath for Q Blobs
Change-Id: I0e448a4e67c28164e9e9a74f162d162a409662c5
2020-02-04 13:24:16 +01:00
dianlujitao
21afaa3bc7
sdm660-common: Enable QC framework value-adds
Change-Id: I1987d3509b3db7cd4204537a6f2dc2ff4c611278
2020-02-03 16:27:21 +01:00
LuK1337
272fab4943
sdm660-common: Enable ro.telephony.use_old_mnc_mcc_format
Change-Id: I46e510d35ad0cf2befebbf3e1530e30a2f2e4f71
2020-01-28 16:59:17 +01:00
Aryan Gupta
c0334a2ce2
sdm660: add missing iwlan vowifi prop
Change-Id: Ic6991caa1d1dbe6504d08989ece68a0311eed252
2020-01-28 16:59:16 +01:00
Hashbang173
44560ca1f7
sdm660-common: increase FRAMEBUFFER SURFACE BUFFERS to 3
Change-Id: I6ba7f4ee4f1eaea6eb2188235df4cc9d91a9c501
2020-01-28 16:59:16 +01:00
Davide Garberi
63a676e3b5
sdm660-common: Rename rild.libpath for treble compliance
* rild.libpath is anyway being set to the same value as vendor.rild.libpath by ramdisk

Change-Id: I03dec9badd190f5e9e060fc18f63bc3a519ab5cf
2020-01-06 21:06:22 +01:00
sooti
2e97d325e6
sdm660-common: Use blacklist for aux
On lavender there are too many apps to whitelist,
blacklisting gcam should fix all the issues on al the cams

Change-Id: Ie3279a61cffadcbd09c06e3a07e0b6e22a331f45
Signed-off-by: Sebita <kjjjnob.seba@gmail.com>
2020-01-06 10:50:11 +01:00
Arian
fd9cdbe6c5
sdm660-common: Inherit common dalvik heap configuration
Change-Id: I0820cffbd98d9a24ad178d45485918c57961c867
2020-01-02 13:15:08 +01:00
Aryan Gupta
c67012efe5
sdm660: Increase adm buffering time to 12ms
* Fixes wierd crackling sound
2020-01-02 11:50:20 +01:00
Max Weffers
ab308a6727
sdm660: Treewide: Cleanup and Reorder
* Remove Double Definition
* Reordeder Alphabetic
* Move Audio and Media Files to Configs
* Move Wifi Configuration to Configs
* Cleanup Overlay and Reorder
* Move Privapp Permission to new Folder
* Reorder Properties and rename mk
* Move Xiaomi Doze to new Folder
2019-12-30 23:00:29 +01:00
Renamed from properties.mk (Browse further)