Commit graph

4610 commits

Author SHA1 Message Date
Bruno Martins
3e1a603bf0 sdm660-common: biometrics: fingerprint: Use pragma once
Change-Id: Ie6aaae9347284533f7e50436d0abda04eda70d3f
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-12-19 07:17:51 +01:00
Sebastiano Barezzi
2ba127e866 sdm660-common: biometrics: fingerprint: Drop LOG_VERBOSE
* It's useless since it's the same as LOG_TAG

Change-Id: I867d564a46318ef3353404728b7cfbfa63868209
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-12-19 07:17:51 +01:00
Jake Weinstein
4f7d9d0188 sdm660-common: biometrics: fingerprint: Revert "fpc: keep fpc in system-background"
While Google found that fingerprint HAL is insensitive to
increased CPU throughput, we have not found that to be the
case. Allowing more CPUs makes fingerprint unlock up to
2x faster in some tests.

SM8250 device with fingerprint on display:
- Before: 3128ms
- After: 944ms

SDM845 device with fingerprint on the power button:
- Before: 1146ms
- After: 688ms

This reverts commit d0fdb4431d26e4f257b8867f67ffd9b4a9818d9e.

Change-Id: Ia51ceb43ac940dfdae733919fbd685156d082568
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-12-19 07:17:50 +01:00
Sahil Somani
3d6b4409bf sdm660-common: Rename Light HAL default implementation variable.
The Light HAL implements a function getLights that returns a vector
of HwLight objects. This vector is called "lights" in Lights.cpp,
but it is called "types" in Lights.h. Lights.h has been changed to
call the vector "lights".

Test: VtsHalLightTargetTest
Change-Id: I1e567d1454d42e3efc0186cde8340c32e7f3456e
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-12-19 07:17:50 +01:00
npjohnson
ed16c44a31 sdm660-common: overlay: Drop WFD protected buffers support
- AOSP WFD doesn't support protected Wi-Fi Display buffers

Change-Id: I971373b5c57b8591b1bf676849cc511f8a425023
(cherry picked from commit d52231052828d4390d630681d651874ffb50388b)
Signed-off-by: GhostMaster69-dev <rathore6375@gmail.com>
Signed-off-by: anandhan07 <anandhasayanan007jb@gmail.com>
Signed-off-by: Vitorgl2003 <vitorgl.2003@gmail.com>
Signed-off-by: ImPrashantt <prashant33968@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-12-19 07:17:50 +01:00
pix106
ed9aec1201 FIX sdm660-common: Update blobs from LA.UM.10.2.1.r1-03400-sdm660.0
drop duplicated line

Signed-off-by: pix106 <sbordenave@gmail.com>
2022-12-19 07:17:50 +01:00
pix106
0a0ce12e6c sdm660-common: Decommonize task_profiles
This reverts commit 0450345165.
2022-11-07 12:51:58 +01:00
Aditya Pratap Singh
25a33facca sdm660-common: sepolicy: allow untrusted_app_zygote to access unix stream socket
avc: denied { getopt } for path="/dev/socket/usap_pool_primary" scontext=u:r:untrusted_app:s0:c26,c257,c512,c768 tcontext=u:r:zygote:s0 tclass=unix_stream_socket permissive=0 app=com.topjohnwu.magisk
Signed-off-by: afterallafk<shivamatiet2001@gmail.com>
Signed-off-by: Abhishek001konni <Abhishek001konni@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-11-07 08:34:27 +01:00
pix106
d58068cc9f sdm660-common: sepolicy: adress untrusted_app_27 unix_stream_socket denials 2022-11-07 08:34:27 +01:00
sabarop
16db6a4456 sdm660-common: sepolicy: address multiple denials
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-11-07 08:34:26 +01:00
boedhack99
4de8dd15b3 sdm660-common: sepolicy: More fix Iorap denials
* W FinalizerDaemon: type=1400 audit(0.0:10): avc: denied { getopt } for path=/dev/socket/usap_pool_primary scontext=u:r:permissioncontroller_app:s0:c122,c256,c512,c768 tcontext=u:r:zygote:s0 tclass=unix_stream_socket permissive=0 app=com.android.permissioncontroller

Change-Id: Idc9cf242578412846e3f770a118fefc6fb5eda29
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-11-07 08:34:26 +01:00
Mohan C M
55c4433e3a sdm660-common: sepolicy: address hal_bluetooth_qti
- avc: denied { read } for comm="bluetooth@1.0-s" name="ssrdump" dev="mmcblk0p49" ino=2162694 scontext=u:r:hal_bluetooth_qti:s0 tcontext=u:object_r:ramdump_vendor_data_file:s0 tclass=dir permissive=0

Signed-off-by: pix106 <sbordenave@gmail.com>
2022-11-07 08:34:26 +01:00
pix106
25b04c31af sdm660-common: sepolicy: address surfaceflinger hal_graphics_composer_default denial 2022-11-07 08:34:26 +01:00
pix106
fa6dfc8c13 sdm660-common: sepolicy: address qti_init_shell proc_watermark_scale_factor denials 2022-11-07 08:34:26 +01:00
clarencelol
01540edacf sdm660-common: power-libperfmgr: Update to Android 13
* from android-13.0.0_r3
* Remove audio hints while at it

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-11-07 08:34:26 +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
Chungjui Fan
4d92dd9f85 sdm660-common: Add CAMERA in light type for android.hardware.light
Bug: 199718333
Test: VTS pass
Change-Id: I3c5c30ae557b3e35b2a995bfd9a75a86192651ba

Signed-off-by: pix106 <sbordenave@gmail.com>
2022-11-07 08:34:26 +01:00
halibw
d77d1fc7a1 sdm660-common: lights: CHECK -> CHECK_EQ copy pasta
Changes from upstream: ffb03995e6%5E%21/#F7

Change-Id: I093066e8deffdb6d97e3b0d46ab5d8ad099cd682
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-11-07 08:34:26 +01:00
Arne Coucheron
4b2c2e70ac sdm660-common: overlay: Remove config_ui_enableFadingMarquee
This is false by default in frameworks.

Change-Id: Ic16506ec81e3d02a3a85ee06678b7349085f0d94
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-11-07 08:34:26 +01:00
Davide Garberi
9627444053 sdm660-common: Remove msadp symlinking
* This isn't needed and generates selinux denials:

avc: denied { read } for pid=780 comm="ueventd" name="mmcblk0p12" dev="tmpfs" ino=13382 scontext=u:r:ueventd:s0 tcontext=u:object_r:mba_debug_dev:s0 tclass=blk_file
avc: denied { open } for pid=780 comm="ueventd" path="/dev/block/mmcblk0p12" dev="tmpfs" ino=13382 scontext=u:r:ueventd:s0 tcontext=u:object_r:mba_debug_dev:s0 tclass=blk_file

Change-Id: I6a08c7588c8f6e3b2def41d8c1ec16519c952662
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-11-07 08:22:43 +01:00
Jarl-Penguin
3711c7bf30 sdm660-common: Set kernel target level to 4
Signed-off-by: Jarl-Penguin <jarlpenguin@outlook.com>
Change-Id: If88854204d9de60a7390562fa0bb0506a8496d8d
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-11-07 08:22:43 +01:00
pix106
d60b8e6a14 sdm660-common: use clang 12.0.5
* fixes (audio) modules when building kernel inline
 * 60d47ffd4c
2022-11-07 08:21:12 +01:00
pix106
d08f2d8e01 sdm660-common: fstab_A: add f2fs entry for /data 2022-11-07 08:15:11 +01:00
Roberto Sartori
daf11032ed sdm660-common: fstab: Drop 'quota' Flag
Not supported on Android 13.
Upgrade from previous releases is working.

Signed-off-by: Roberto Sartori <roberto.sartori.android@gmail.com>
Change-Id: I6654673964d4a9ede9f503242a8097fcc1678c3b
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-11-07 08:15:11 +01:00
Alexander Winkowski
9b172f48c8 sdm660-common: Mark only strings as untranslatable
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-11-07 08:15:11 +01:00
Alexander Winkowski
1be0581d35 sdm660-common: wifi: Clean up WCNSS_qcom_cfg.ini
Remove parameters that no longer exist.

Change-Id: Ib6800987c57d050ea6fa621191e2d6df3fc80c97
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-11-07 08:15:11 +01:00
Nate Jiang
a57e25f5b3 sdm660-common: wifi: Enable set channel on NDP setup
Bug: 190354626
Test: build, CtsVerifier
Change-Id: Ieff18b96ec0f24c1c20c40add4e47a532ece8922
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-11-07 08:15:11 +01:00
Les Lee
3506869429 sdm660-common: wifi: Configure correct overlay configuration.
ag/16564596 will change default value to false.
Configure correct overlay configuration.

Bug: 212488775
Test: manual test & build
Change-Id: Iaf1a0a23dae69fde5995e591a757a8ef5374d5b5
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-11-07 08:15:11 +01:00
pix106
2f38bc6da8 FIX sdm660-common: sepolicy: label init.goodix.sh and fingerprint datafile 2022-11-07 08:15:11 +01:00
pix106
a8f5d06799 FIX sdm660-common: Cleanup BT A2DP HAL entries from manifest
* as we moved to AIDL
2022-10-27 07:48:20 +02: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
FirePower36v
8b8f7b73e8 sdm660-common: DeviceSettings: Italian translation
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-10-12 21:31:48 +02:00
pix106
9572ebacd7 sdm660-common: sepolicy: allow hal_power_default sys_admin capability 2022-10-11 09:24:15 +02:00
Rick Yiu
e279964f3c sdm660-common: sepolicy: Add permission to access proc_energy_aware file node
This reverts commit 2c07bbc96e.

Signed-off-by: pix106 <sbordenave@gmail.com>
2022-10-11 08:47:30 +02:00
Elektroschmock
c4050270fd sdm660-common: sepolicy: Label /dev/stune(/.*) as cgroup
* avc: denied { write } for comm="adb_root" name="tasks" dev="tmpfs" ino=5693
  scontext=u:r:adbroot:s0 tcontext=u:object_r:device:s0 tclass=file
  permissive=0
* avc: denied { open } for comm="adb_root" name="tasks" dev="tmpfs" ino=5693
  scontext=u:r:adbroot:s0 tcontext=u:object_r:device:s0 tclass=file
  permissive=0
* avc: denied { write } for comm="installd" name="tasks" dev="tmpfs" ino=5693
  scontext=u:r:installd:s0 tcontext=u:object_r:device:s0 tclass=file
  permissive=0
* avc: denied { open } for comm="installd" name="tasks" dev="tmpfs" ino=5693
  scontext=u:r:installd:s0 tcontext=u:object_r:device:s0 tclass=file
  permissive=0
* avc: denied { write } for comm="netd" name="tasks" dev="tmpfs" ino=5693
  scontext=u:r:netd:s0 tcontext=u:object_r:device:s0 tclass=file
  permissive=0
* avc: denied { open } for comm="netd" name="tasks" dev="tmpfs" ino=5693
  scontext=u:r:netd:s0 tcontext=u:object_r:device:s0 tclass=file
  permissive=0
* avc: denied { write } for comm="storaged" name="tasks" dev="tmpfs" ino=5693
  scontext=u:r:storaged:s0 tcontext=u:object_r:device:s0 tclass=file
  permissive=0
* avc: denied { open } for comm="storaged" name="tasks" dev="tmpfs" ino=5693
  scontext=u:r:storaged:s0 tcontext=u:object_r:device:s0 tclass=file
  permissive=0
* avc: denied { write } for comm="apexd" name="tasks" dev="tmpfs" ino=5693
  scontext=u:r:apexd:s0 tcontext=u:object_r:device:s0 tclass=file
  permissive=0

Change-Id: Idc69978328640ff40ad5efe2f0abd79304e75893
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-10-11 08:47:30 +02:00
pix106
717057c76c sdm660-common: sepolicy: relabel miui prop 2022-10-11 08:47:30 +02:00
sabarop
57833f93a2 sdm660-common: power-libperfmgr: libperfmgr.rc: correct audio HAL property name
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-10-11 08:47:30 +02:00
pix106
6242667b1f sdm660-common: power-libperfmgr: drop CDSchedtuneBoost 2022-10-11 08:47:30 +02:00
Georg Veichtlbauer
6fcda33eda sdm660-common: Defer triggering WiFi load to HAL
Remove triggering WLAN load through boot_wlan
Let WiFi HAL write to /dev/wifi instead

Change-Id: I788bf933c56fb85cb26219d6bb657f4226a0d54b
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-10-11 08:47:30 +02:00
Sebastiano Barezzi
c8c4bd01a8 sdm660-common: Set WIFI_DRIVER_DEFAULT to qca_cld3
Change-Id: I4f0e325e69af45a4d65464631ef6059a1432cb9b
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-10-11 08:47:30 +02:00
Georg Veichtlbauer
8b643901b2 sdm660-common: Drop WIFI_DRIVER_FW_PATH_*
These will default to NULL, resulting in the HAL disabling FW reloads
on mode changes, which are unneeded. With our non-existent paths they
would fail anyways.

Change-Id: Idc4be5f82efce77716a5239abfa03f5de91628f7
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-10-11 08:47:30 +02:00
Alexander Koskovich
e321a025b5 sdm660-common: Undefine BOARD_HAS_QCOM_WLAN.
* Not used anywhere relevant anymore, considering
   we're not using CAF's fork of WPA supplicant.

Change-Id: I409e5897f1eec08209a747b0f7f2adbf9960b163
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-10-11 08:47:30 +02:00
Himanshu Agrawal
78c5f0f7c0 sdm660-common: WifiOverlay: Disable ACS and 11AC for legacy chipsets
Legacy chipsets does not support ACS ( from framework ) and 11AC
configuration from framework. Hence disable them through overlay.

CRs-Fixed: 2878969
Change-Id: Ie5c5fa74f788cb3c7179c36f871d85181bfd2863
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-10-11 08:47:30 +02:00
Kyle Harrison
23aa5c0ac2 sdm660-common: Enable TARGET_HAS_BROKEN_WLAN_SET_INTERFACE
Change-Id: I803ffa0ac7ece8101c58279e1d846d0218018519
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-10-11 08:47:30 +02:00
Kunmun
02f8cef620 sdm660-common: wifi: Update wifi configs from LA.UM.10.2.1.r1-03400-sdm660.0
* Basically clean all deprecated stuffs

Signed-off-by: Clarence K <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-10-11 08:47:30 +02:00
clarencelol
fe0aeb3704 sdm660-common: Nuke msm_irqbalance
* Not necessary needed, 32bit stuffs

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-10-11 08:47:30 +02:00
Alin Jerpelea
3ebb2cfa75 sdm660-common: Enable legacy _platform compatibility
our vendor libs are still dependent on _platform

The *-ndk_platform.so libraries no longer exist and are removed from the VNDK set. However, they
can exist if NEED_AIDL_NDK_PLATFORM_BACKEND is set to true for legacy devices. Don't be bothered
with the extraneous libraries.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-10-11 08:47:30 +02:00
Jabiyeff
f24da91623 sdm660-common: properties: Force disable iorapd
* Its eating more RAM and slow down device
* Thanks for CAFEBABE find this

Signed-off-by: Jabiyeff <cebiyevanar@gmail.com>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-10-11 08:47:30 +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
sarthakroy2002
06789bc2a1 sdm660-common: properties: Kang sf duration from RMX3193_11_A.01
* Fixes lag while playing 1080p/2k video on youtube

Change-Id: Ia717f5c0075b6adaedaf20dd6be689737edc1415
Signed-off-by: wHo-EM-i <ehteshammalik18998@gmail.com>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-10-11 08:47:30 +02:00