Commit graph

3566 commits

Author SHA1 Message Date
OdSazib
9fd4659d67
sdm660-common: Add back zRam block in fstab 2021-02-16 17:08:16 +06:00
Mohammad Asaad Akram
48a8e97d3e
sdm660-common: ueventd: Allow system permission for RPS sysfs node
Allow system permission for RPS sysfs nodes, so that cnss-daemon,
user space daemon can enable RPS(Receive packet steering) feature.

Change-Id: Iccebc347d959fc8ca35f28cb64e7bcf6b05f341a
CRs-Fixed: 2768237
2021-02-10 09:05:29 +06:00
Isaac J. Manjarres
07798a5cc5
sdm660-common: ueventd.qcom.rc: Add permissions to /dev/membuf
The Trusted UI HAL will need to access /dev/membuf, so allow
system access to /dev/membuf.

Change-Id: I906b856e153f44b11a8b8aa8456080e803495fec
2021-02-10 09:05:29 +06:00
Chris Lew
e34fffe157
sdm660-common: ueventd.qcom.rc: Add mhi diag pipe device rules
Add rule to set permissions for the mhi_*_pipe_4 pipe that sends and
receives diag traffic to external chipsets. These nodes should have rw
access for the system group so the diag-router appplication can access
it.

Change-Id: Ia83ea035d248482790f70cbce7d42b86238ebd11
2021-02-10 09:05:29 +06:00
Jesse Chan
e22ae338d5
sdm660-common: overlay: configure SQLite to operate in MEMORY mode
This change yields considerable SQLite performance gains. It
should be generally safe as this device has irremovable battery.

Some OEMs have been doing this for years.

Signed-off-by: Jesse Chan <jc@lineageos.org>
Signed-off-by: DennySPb <dennyspb@gmail.com>
Change-Id: I50d9b3d9f019772fedc7066675249116d5e441e4
2021-02-10 09:05:29 +06:00
Akash
faa87a2764
sdm660-common: Enable fluence voice recording
This fixes google voice recorder
2021-02-10 09:05:29 +06:00
Dyneteve
c0ae317e6f
sdm660-common: Add 2 instance support for record_24
Change-Id: I365ccae65cdf74aaa176b19de23ecd4400efa16e
2021-02-10 09:05:28 +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
sohamxda7
53a8793b1d
sdm660-common: drop sched_enable_hmp/power_aware boot argument
* As we are using EAS, this is useless
2021-02-10 09:05:14 +06:00
Chenyang Zhong
851d88070e
sdm660-common: create and symlink a dummy /metadata/apex
Google moved apex sessions directory from /data/apex/sessions to
/metadata/apex/sessions after commit:

"Move apex sessions directory to /metadata"
36cf4bbac6

Devices with a mounted metadata partition will have the needed
directories set up by system/core/rootdir/init.rc. Xiaomi devices
on sm6125 do not have a metadata partition out of the box, so things
like "Google Play system update" will fail to install the update.

Therefore, create a dummy directory under /data/vendor/metadata_apex
and symlink it to /metadata/apex.

The reason why the old /data/apex/sessions directory is not used
for the symlink is that apexd will call migrateSessionsDirIfNeeded()
to recursively copy things from the old directory to the new one.
Creating the symlink from /data/apex/sessions may result in
unintended behaviors.

Signed-off-by: OdSazib <odsazib@gmail.com>
2021-02-09 20:53:35 +06:00
Michael Lenskiy
00956a4e88
sdm660-common: audio: Add fast input profile for the record concurrency
If two recording apps both select the primary input with
fast flag, second app will fail to start because the hal
doesn't support two inputs with the same use case if input
can't be reused since of the limit of primary input's max
open count.

Add the dedicated profile for “low-latency-record” to make
the first input can be reused if possible.

CRs-Fixed: 2550228
Change-Id: I233bd3eaf614b195df0a41402747f496d3a56b44
2021-02-09 20:53:35 +06:00
Michael Lenskiy
673245c359
sdm660-common: audio:Add hotword input for hotword mic concurrency 2021-02-09 20:53:35 +06:00
Chenyang Zhong
f77adb24dd
sdm660-common: import Hotword Enrollment blobs
Co-authored-by: IMMANUEL44 <immanuelr44@gmail.com>
2021-02-09 20:53:35 +06:00
SakilMondal
e5222049af
sdm660-common: Drop non-functional soundtrigger
* Fixes google assistant voice match in android 11
2021-02-09 20:53:21 +06:00
Michael Bestas
72424be3b9
sdm660-common: Cleanup dead targets
Change-Id: Ib1e2965a5e9f16929f1dc11c719d917cd85604d1
2021-02-08 14:06:47 +06:00
Michael Bestas
49080c44df
sdm660-common: Remove unused libextmedia_jni
Change-Id: Id57661f4f1c4143cbd7b69472e6ab4b428ffab4f
2021-02-08 14:06:47 +06:00
Ethan Chen
4c4a6e4e80
sdm660-common: Remove unnecessary netutils packages
* These are already packaged by AOSP.

Change-Id: I77f91fbbb33a6d891d14fe852b094ab914ca3111
2021-02-08 14:06:47 +06:00
Ethan Chen
8228caf1de
sdm660-common: Remove unnecessary media extension packages
* The mediametrics packages are part of the AOSP media stack already.
* libavserviceextensions is not available in Lineage.

Change-Id: Ia05789b6d59ad04e236b20155ac8b9575b0bdab1
2021-02-08 14:06:47 +06:00
OdSazib
bdd0d21f13
sdm660-common: Checkout rootdir and init stuffs from caf
* adapt with eas and cleanup unnecessary stuffs
* Fixed offline charging and usb functions

Signed-off-by: OdSazib <odsazib@gmail.com>
2021-02-08 14:06:33 +06:00
OdSazib
a72ff0a685
sdm660-common: configs: Retune media_codecs_performance
* From from LA.UM.9.2.r1-02000-SDMxx0.0
2021-02-05 23:18:27 +06:00
OdSazib
bc9db110a2
sdm660-common: overlay: Enable smart charging 2021-02-05 22:12:12 +06:00
OdSazib
3a742e8c0b
sdm660-common: DeviceSettings: Fix null object reference of thermal
* also optimize code with references
2021-02-04 14:50:09 +06:00
OdSazib
313ca103eb
sdm660-common: Use QCOM_WLAN HAL instead of AOSP 2021-02-04 13:21:01 +06:00
OdSazib
ee10c7c2a6
sdm660-common: overlay: Adjust overlay with source 2021-02-04 13:21:01 +06:00
OdSazib
2135c18643
sdm660-common: DeviceSettings: Drop userspace hall switcher
* The sensor works as it is, hence not needed anymore
2021-02-03 23:05:50 +06:00
OdSazib
0103df44b3
sdm660-common: Update telephony from LA.QSSI.11.0.r1-09400-qssi.0
* Fix volte and RIL crash for sdm660 devices
 * You need top 3 commits in telephony from this repo
   https://github.com/OdSazib/android_vendor_codeaurora_telephony

Signed-off-by: OdSazib <odsazib@gmail.com>
2021-02-03 05:13:18 +06:00
Palakurthi Sreekanth
2dc34833f9
sdm660-common: Add 3.0 and 4.0 IMapper instance to manifest
Cannot find entry android.hardware.graphics.mapper@3.0::IMapper/default in either framework or device manifest.

Cannot find entry android.hardware.graphics.mapper@4.0::IMapper/default in either framework or device manifest.
2021-01-30 23:55:27 +06:00
OdSazib
d08d2d3b8e
sdm660-common: Format fstab with FBE encryption 2021-01-27 21:11:22 +06:00
OdSazib
dd30ca9b1e
sdm660-common: sepolicy: Allow ota updater to access package file 2021-01-27 20:41:45 +06:00
OdSazib
07ca95cac2
sdm660-common: Enable WiFi display, once again
This reverts commit 323f42f80a.
2021-01-27 20:41:45 +06:00
OdSazib
60c11416c1
sdm660-common: Update WFD and Time services blobs
* from LA.UM.9.6.2.r1-02500-89xx.0
2021-01-27 20:41:45 +06:00
Andrew Chant
ea89963af3
sdm660-common: Change USB autosuspend delay to 7s by commandline.
b/71936484 has audio accessories failing to connect
when there's a transition to suspend when they're attempting
to enumerate.

Avoid this problem by increasing autosuspend delay
from the default 2s to 7s.

The longest I've seen a device take to enumerate after
vbus is ~3 seconds, this gives a 2x margin.

Test: booted on Walleye, saw no more messages:
[  472.412555] c0   5675 msm-dwc3 a800000.ssusb: DWC3 in low power mode
between device connection and enumeration.

Bug: 71936484
Change-Id: Ie585f2ce5dec429510cc6c00452dc4d49f1372a0
2021-01-27 13:13:52 +06:00
Michael Bestas
c16a25e536
sdm660-common: Remove unused entries from config.fs
Change-Id: Id4bc301454f9ac675a296a1c74581211789711fc
2021-01-27 13:13:51 +06:00
Michael Bestas
0cabf5d129
sdm660-common: Remove unused gps certificates
* They are used by xtwifi-inet-agent which disabled.

Change-Id: I4fbf6e02276b508a27f320e630ddad3c9aada5a8
2021-01-27 13:13:51 +06:00
Michael Bestas
e3ca620d4c
sdm660-common: gps: Ignore some build warnings
Change-Id: If1dfd39ab820cdf5e7ac5caf05dc8fea1cd95235
2021-01-27 13:13:51 +06:00
Michael Bestas
d3c0533d4b
sdm660-common: gps: Resolve unused parameter warnings
Change-Id: I0acef3da2c3567a28edd0a71dac89a5828f7725d
2021-01-27 13:13:51 +06:00
Michael Bestas
b4f14f3185
sdm660-common: gps: Lower debug level
* Kill logcat spam

Change-Id: I20d1f698d3c2d1b56e79f6eb6c5c17069e43c60f
2021-01-27 13:13:51 +06:00
Ethan Chen
f7f9039840
sdm660-common: gps: Increase batch size to max
* Hardware supports 40

Change-Id: I075fff615814fa105ec1493c5bdde60b8abccf0e
2021-01-27 13:13:51 +06:00
TheStrix
041645bba5
sdm660-common: gps: disable unused location services
* Disable XTWIFI

Change-Id: I70f39d8d611167f65bb3912590b05f8a8d121c80
2021-01-27 13:13:51 +06:00
OdSazib
36e5c637a7
sdm660-common: gps: Checkout gps hal from LA.UM.8.2.r1-07400-sdm660.0
* Removed depricated dependencies
 * Restored needed config for gps

Signed-off-by: OdSazib <odsazib@gmail.com>
2021-01-27 13:13:51 +06:00
OdSazib
a4303640df
sdm660-common: Regenerate and add missing blob with proper permission 2021-01-27 13:13:46 +06:00
OdSazib
18c3503642
sdm660-common: Move telephony and fm packages to /system_ext
Co-authored-by: Michael Bestas <mkbestas@lineageos.org>
2021-01-22 07:24:22 +06:00
OdSazib
2ea09b04e2
sdm660-common: Update thermal/widevine blobs from jasmine V11.0.19.0 QDIMIXM
* jasmine-user-10-QKQ1.190910.002-V11.0.19.0.QDIMIXM-release-keys
 * Switched to vintf manifest for widevine drm

Signed-off-by: OdSazib <odsazib@gmail.com>
2021-01-22 07:23:27 +06:00
OdSazib
feaaca76c5
dm660-common: Update blobs from LA.UM.8.2.r1-07400-sdm660.0
Signed-off-by: OdSazib <odsazib@gmail.com>
2021-01-22 07:21:34 +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
Michael Bestas
cbaf1ae5ec
sdm660-common: manifest: Remove Trust interface entry
This has been turned into a VINTF fragment.

Change-Id: Iaf53a2e1fbac75d53ec11d4c56c51230f4758daf
2021-01-21 03:26:34 +06:00
Bruno Martins
12c3057098
sdm660-common: Use CodeAurora ImsService implementation for RCS
There is no evidence that Qualcomm devices running a rather recent IMS
stack need to include AOSP RCS packages. RCS already worked before this
change and continues to do so, but the main goal was to get rid of some
of the RCS related log spam, which was accomplished here.

Change-Id: I219546e29d288373877e9bcd194a60ef5e09f224
2021-01-21 03:26:34 +06:00
Luca Stefani
6b180768c0
sdm660-common: Don't build vndk_package
* It's built by default if vndk is set to current

Change-Id: I2a00446046bafe265e5ac894656abc72514319d8
2021-01-21 03:26:34 +06:00
Erfan Abdi
6492dcfc37
sdm660-common: Fix typo in console kernel parameter
Change-Id: Ia38914588a0b0e3bc30c51df9a7b8681f5bf9d76
2021-01-21 03:26:34 +06:00