Commit graph

3774 commits

Author SHA1 Message Date
Felix
b6b1280f80 sdm660-common: biometrics: Add interface info to .rc file
Signed-off-by: Felix <google@ix5.org>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: OdSazib <odsazib@gmail.com>
Change-Id: Iff089dcf6c17a673441d85c70bb7472fbbe85f0c
2021-11-13 11:31:51 +01:00
Bruno Martins
e0bee0605f sdm660-common: biometrics: Include VINTF fragment
Change-Id: Id57a4aa9b6e8c3f44bdf0c7a2dd97cf81b252180
2021-11-13 11:31:51 +01:00
Sebastiano Barezzi
3605a9c720 sdm660-common: Move to SPDX license identifier
Change-Id: If335a7b83289edf4759d0195a8b065c8dac6631b
2021-11-13 11:31:51 +01:00
Sebastiano Barezzi
79b7a9bb81 sdm660-common: Drop MMS user agent overlays
* Current profile URL points to a 404 page

Change-Id: I2e06cfbb4611e6dc7892141b5bde186e73014db8
2021-11-13 11:31:51 +01:00
Sebastiano Barezzi
1607c907dd sdm660-common: libhidl: Move to Android.bp
Change-Id: Ia046de0c051aa7533d602714c7d882a079973808
2021-11-13 11:31:51 +01:00
Sebastiano Barezzi
2ba4aa0b65 sdm660-common: Stop building android.hardware.broadcastradio HIDL impl
* Nothing uses it and it isn't even in manifest

Change-Id: I989f68d98f9dbddff0cb151599a4b60e819105d1
2021-11-13 11:31:51 +01:00
Sebastiano Barezzi
caaa0bef4e sdm660-common: Kill console parameters
Change-Id: I7e959d2bdfd6a29961a6fab739a4b112fd2daf9b
2021-11-13 11:31:51 +01:00
ghostrider-reborn
79c64bc007 sdm660-common: Introduce kernelspace battery saver
* Needs Kernel side support
 * This activates kernelspace battery saver via powerhal whenever
   battery saver is enabled in userspace, thereby lowering power
   consumption at kernel-level by disabling boosts and such

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Change-Id: I2623503db27d7518de519bcaa3f5af6ab83879d0
2021-11-13 11:31:49 +01:00
clarencelol
efd182dee0
sdm660-common: Switch back to exfat
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Change-Id: I926a2300e8aee2b2dc09da9774b2c62c87432f0f
2021-08-12 02:25:42 +06:00
Jorim Jaggi
2945e8b98d
sdm660-common: Disable sdm rotator downscaler
Rotator down scaler is causing additional delays that are better
handled by GL composition.

Test: Open app, no jank
Bug: 73640835

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Change-Id: I48ab330b9de0f0567c66544050158dea338c5904
2021-08-12 02:25:37 +06:00
OdSazib
a81f0b99a0
sdm660-common: DeviceSettings: Update notification LED path for K4.19
Signed-off-by: OdSazib <odsazib@gmail.com>
Change-Id: I063a776c16dffadf73d7f12f97995f6fad85d57c
2021-07-22 13:21:25 +06:00
OdSazib
b8c814713d
sdm660-common: DeviceSettings: Add earpiece gain
- Requires kernel support

Signed-off-by: OdSazib <odsazib@gmail.com>
Change-Id: If28b4dff421cbba5f17cd2ccfab02f2aa616a9f8
2021-07-22 13:21:03 +06:00
fakeyatogod
a36ecc3c98
sdm660-common: Update some radio and telephony blobs from LA.UM.9.6.2.r1-04100-89xx.0
- These blobs fixed career video calling and Vilte

Signed-off-by: OdSazib <odsazib@gmail.com>
2021-07-16 16:36:12 +06:00
OdSazib
5351cc35f9
sdm66-common: sepolicy: Fix labeling sysfs nodes for K4.19
- Address more denials and label some new nodes

Signed-off-by: OdSazib <odsazib@gmail.com>
2021-07-16 15:56:07 +06:00
StyloGey
4ec9f92ace
sdm660-common: Update RIL from AOSPA
- update radio from LA.UM.9.12.r1-10800-SMxx50.0
- update telephony from qcom-common-AOSPA

Signed-off-by: OdSazib <odsazib@gmail.com>
2021-07-15 17:00:40 +06:00
StyloGey
3bd82f967b
sdm660-common: update-sha1sums: Add sort option
* Extend this script with an option to remove whole
  sections at all

Change-Id: Ia0ee74dcfe1bbbf74a7146ae9cd92dce13480327
2021-07-13 23:05:47 +06:00
OdSazib
0a263a5716
sdm660-common: sepolicy: Update sepolicy for 4.19 2021-07-13 11:56:43 +06:00
OdSazib
3a1dcd4857
Revert "sdm660-common: Enable AOSP surfaceflinger"
This reverts commit dabf68b62a
2021-07-12 08:26:54 +06:00
OdSazib
92b5929b8b
sdm660-common: Remove obsolete directory flag
All system directory are handled by build/core/board_config.mk
Unless we have an explicit different directory from OEM like vendor path
which is symlinked to the system as well, we can leave it.

Reference: https://android.googlesource.com/platform/build/+/refs/heads/master/core/board_config.mk#521
2021-06-30 05:50:02 +06:00
Yifan Hong
3a70a4375f
sdm660-common: Add netutils-wrapper to device compatibility matrix
netutils-wrapper only list a single version x.0 in its
requirement. System manifest might provide a list of
netutils-wrapper versions it supports {x, y, z}.0.

Bug: 64447338
Test: m compatibility_matrix.xml system_manifest.xml -j
      (checks compatibility at build time)

Signed-off-by: Anush02198 <Anush.4376@gmail.com>
2021-06-30 05:50:02 +06:00
dianlujitao
560a9583f6
sdm660-common: data-ipa-cfg-mgr: Address ipacm start failure
* ipacm pid file is stored at /data/vendor/ipa/ipacm.pid, and the
   service fails to start if the directory is not accessible.
 * QCOM uses ipacm-diag.rc to create the directory. Replicate the
   behavior since we don't necessarily ship that one.
 * Move to late_start since post-fs is earlier than post-fs-data.

Change-Id: I5663e32d202cd8b52de8e8257332be1029c0fe3d
Signed-off-by: OdSazib <odsazib@gmail.com>
2021-06-30 05:50:02 +06:00
Luca Stefani
ad3bae9199
sdm660-common: data-ipa-cfg-mgr: Remove verbose cflag
Change-Id: I7d028b4b606f209bd6c27f9f74f4fc04ff69d8c7
Signed-off-by: OdSazib <odsazib@gmail.com>
2021-06-30 05:50:01 +06:00
Steve Kondik
78c6d09cc5
sdm660-common: data-ipa-cfg-mgr: Don't build ipacm tests on debug builds
Change-Id: I1fd4a4bafc917586ee391fbf6df0da1d12212d36
Signed-off-by: OdSazib <odsazib@gmail.com>
2021-06-30 05:50:01 +06:00
Bruno Martins
d288e5fd05
sdm660-common: data-ipa-cfg-mgr: Use generated kernel headers
Change-Id: Ie33f0b8b7996536a73f660cba5b4700964d8b03f
Signed-off-by: OdSazib <odsazib@gmail.com>
2021-06-30 05:50:01 +06:00
Michael Bestas
b5332d2443
sdm660-common: data-ipa-cfg-mgr: Use log/log.h instead of cutils/log.h
Change-Id: Ie995f5010393652193ecceba1b62142cb1e0bcdb
Signed-off-by: OdSazib <odsazib@gmail.com>
2021-06-30 05:50:01 +06:00
OdSazib
439eba9d44
Merge tag 'LA.UM.9.2.1.r1-07200-sdm660.0' of https://source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/data-ipa-cfg-mgr into 11
"LA.UM.9.2.1.r1-07200-sdm660.0"

Signed-off-by: OdSazib <odsazib@gmail.com>
2021-06-30 05:50:01 +06:00
raiyanbinmohsin
e222125fc6
sdm660-common: props: Add few more props for WiFi Display
This fixes the greenish cast
* Before: https://i.imgur.com/d07C93K.jpg

Signed-off-by: raiyanbinmohsin <raiyanbinmohsinshishir@gmail.com>
2021-06-27 22:21:00 +06:00
LuK1337
57aed4aadb
sdm660-common: Enable TARGET_QTI_USB_SUPPORTS_AUDIO_ACCESSORY
We can handle analog audio just fine, no need to
inform the user that their device is not supported.
2021-06-27 22:21:00 +06:00
Andrew Hexen
215c9a506a
sdm660-common: Disable debug.sf.latch_unsignaled
* Disabling this helps reduces notification flicker, UI performance is not impacted.
(per:  change https://android.googlesource.com/platform/frameworks/native/+/c5da271)

For sdm660: Fix mad lags on live wallpapers

Change-Id: I8b7aed9bc5ff03bd8d1cd05f70c8568c1faf971c
Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Signed-off-by: fakeyatogod <fakeyatokami@gmail.com>
2021-06-27 22:21:00 +06:00
Alex Naidis
564ddb664d
sdm660-common: Override readahead to 128KiB after post-boot
* Qualcomm decided to increase the read-ahead value to 512KiB [1].

 * This value resulted in frequent cases where read-ahead
   would be waiting for new I/O requests and thus ending
   up being synchronous rather than asynchronous.

 * As result, the main goal of Qualcomm's patch [1] which
   is to increase throughput ends up in a regression where
   read throughput is significantly lower than it ever
   would be with the recommended [2] read-ahead value.

 * This patch uses our existing loop in ramdisk to set
   the read-ahead value to 128KiB.

[1] https://source.codeaurora.org/quic/la/kernel/msm-4.19/commit/include/linux/mm.h?h=LA.UM.9.12.r1-09000-SMxx50.0&id=25d04e4ceb7c067907901842c223d62973d73a75
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/include/linux/mm.h?h=v4.19.160#n2397

Change-Id: I1980d904568fe4f1ce7b676452bcc44e4689f02f
Co-authored-by: clarencelol <clarencekuiek@icloud.com>
2021-06-27 22:21:00 +06:00
vasishath
4eb8bd1b7c
sdm660-common: overlay: Use vibration pattern from pixel 2
Change-Id: I561d7dbc05de46046212e8d2071b7d3496bb63b1
Signed-off-by: Akhil Narang <akhilnarang.1999@gmail.com>
Signed-off-by: Anunay Maheshwari <anunaym14@gmail.com>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
2021-06-27 22:21:00 +06:00
Ratoriku
c6c3996974
sdm660-common: Stop creating IOP deamon dirs
* Since we don't use IOP hals anymore

Signed-off-by: Ratoriku <a1063021545@gmail.com>
Signed-off-by: Anush02198 <Anush.4376@gmail.com>
2021-06-27 22:21:00 +06:00
Timi Rautamäki
9390968535
sdm660-common: Use TARGET_COPY_OUT_SYSTEM instead of system/
Change-Id: I0c173371db1d6709e37c4c03bdaeb64ca902999b
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-06-27 17:24:10 +06:00
OdSazib
0ecad1348f
sdm660-common: Build libqdMetaData.vendor
- Not required for system anymore as it's already
  system_ext specific on display hal
2021-06-19 02:47:58 +06:00
OdSazib
a62f5adba0
sdm660-common: Patch some wfd blobs 2021-06-18 19:25:53 +06:00
clarencelol
20efaf472b
sdm660-common: Switch to Thermal 2.0 mock
* QTI Thermal couldn't read the temperature for some reason
2021-06-15 21:48:17 +06:00
sairam1411
77c4792ac9
sdm660-common: sepolicy: Adjust sepolicy for qti thermal
Change-Id: Ib8493f164f12614e6d0a7ea5bd060d05991822b8
2021-06-15 17:32:47 +06:00
pix106
c2603d6ca4
sdm660-common: Force FDE encryption for A-target/lavender
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-06-15 17:32:47 +06:00
pix106
e93c49f7eb
Revert "sdm660-common: Set linker to LLD"
This reverts commit 7c910f5de2.
2021-06-15 17:32:47 +06:00
OdSazib
c707948bcc
sdm660-common: Downgrade android.hardware.secure_element
- Also remove manifest entry
2021-06-15 17:32:47 +06:00
OdSazib
491969fae8
sdm660-common: Uprev camera.provider to 2.6
- Also camera.device to 3.5
2021-06-15 17:32:47 +06:00
OdSazib
6ef994bba9
sdm660-common: rootdir: Set permission to powerhint nodes for k4.19
- Needed for power-libperfmgr to work properly
- Adjust TA boost value from powerhint
2021-06-15 17:32:47 +06:00
OdSazib
bf4b6408b0
sdm660-common: power-libperfmgr: Update powerhint with available values
- Reduce launch duration to 4s
- Add missing nodes for available hints
2021-06-15 17:32:47 +06:00
Wilson Chan
2880603f27
sdm660-common: power-libperfmgr: Add Flipendo powerhint
- Add sepolicy for dex2oat powerhal props to vendor_power_prop

Test: boot and check powerhint parse logs
Test: enabled extreme battery saver and check scaling_max_freq

[clarencelol]: Adapt to sdm660 freq
2021-06-15 17:32:47 +06:00
Kyle Lin
46c13a45ee
sdm660-common: power-libperfmgr: Limit dex2oat thread and cpuset under thermal stress
NORMAL:			6 threads, cpu-set 0~7
LIGHT:			4 threads, cpu-set 0~5
MODERATE:		2 threads, cpu-set 0~3
SEVERE and above:	1 thread,  cpu-set 2~3

Test: boot, run CPU Throttling Test, and check logcat
Test: `getprop dalvik.vm.dex2oat-cpu-set` and
      `getprop dalvik.vm.dex2oat-threads` when "ThrottlingStatus: MODERATE"

ref:
334667e9a8

[clarencelol: SDM845 and SDM660 have the same cpusets]

Co-authored-by: Chenyang Zhong <zhongcy95@gmail.com>
Signed-off-by: clarencekuiek <clarencelol@icloud.com>
2021-06-15 17:32:47 +06:00
Kyle Lin
b5e77ddd6c
sdm660-common: power-libperfmgr: let perfmgr change dex2oat priorities
Because perfmgr is a vendor process, it cannot adjust system priority
directly.

Bug: 162791243

Test: build and using emul temp/running burn8 to verify it
Change-Id: I55e49cb7d0b2d4c0e42dff8398b5d42c6546cafa
(cherry picked from commit 1d87413881c5ef74c234d4a7cf4a8707ff0dccfe)
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2021-06-15 17:32:47 +06:00
clarencelol
5ae45246d0
sdm660-common: power-libperfmgr: Add back audio hints
* It works as intended

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
2021-06-15 17:32:47 +06:00
Subhajeet Muhuri
8b7fde5fdb
sdm660-common: rootdir: Enable EAS after boot
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@aosip.dev>
2021-06-15 17:32:46 +06:00
Subhajeet Muhuri
c3cba4b899
sdm660-common: rootdir: Disable EAS on early-init
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@aosip.dev>
2021-06-15 17:32:46 +06:00
OdSazib
8dc1cfec3e
sdm660-common: Set target FCM level to 4 for 4.19 2021-06-15 17:32:46 +06:00