Commit graph

3796 commits

Author SHA1 Message Date
pix106
9d53e14cc8 sdm660-common: sepolicy: Remove netmgrd set_prop vendor_data_ko_prop
* No need after sepolicy update from LA.UM.9.2.1.r1-07200-sdm660.0

Signed-off-by: pix106 <sbordenave@gmail.com>
2021-11-13 11:31:51 +01:00
Anush02198
6d46319a55 sdm660-common: sepolicy: Remove some wakeup nodes
* As we have merged LA.UM.9.2.1.r1-07000-sdm660.0 sepolicy tag to source this is handeld by source

Signed-off-by: Anush02198 <Anush.4376@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-11-13 11:31:51 +01:00
raiyanbinmohsin
d995aabb68 Revert "sdm660-common: Awaken-ify"
This reverts commit 635c08ae00.

* also drop awaken ota sepolicy
2021-11-13 11:31:51 +01:00
Martin Štrobl
256827eaf3 sdm660-common: Flatten APEXes if updatable APEX is not present
* Should fix bootloops on ROMs which require APEX to boot, such as EvoX

* If APEX is being flattened, disable it manually as well since some ROMs have it enabled by default, even if we flatten it.
2021-11-13 11:31:51 +01:00
Ratoriku
e9c9caeaa3 sdm660-common: Update fstab flags from CAF
* Fixed screen lock issue when using fbe

Co-authored-by: Edwin Moquete <edwinmmoquete@gmail.com>
Signed-off-by: Ratoriku <a1063021545@gmail.com>
Signed-off-by: raiyanbinmohsin <raiyanbinmohsinshishir@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-11-13 11:31:51 +01:00
pix106
0cd5504fe3 sdm660-common: props: remove duplicated drm property
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-11-13 11:31:51 +01:00
OdSazib
082d62dc00 sdm660-common: prop: Disable blur by default
- We can enable from settings if we need them
- Forcing blur is just waste of power as it uses EXPENSIVE_RENDERING

This reduces power consumtion and fixes heating issue on sdm660
2021-11-13 11:31:51 +01:00
Sebastiano Barezzi
35d819fd51 sdm660-common: Conditionally build IR HIDL
Change-Id: I7ebde1c32e2a64c867b7ae26c3aa254432386df2
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: OdSazib <odsazib@gmail.com>
2021-11-13 11:31:51 +01:00
Sebastiano Barezzi
bc7afa0f64 sdm660-common: Import IR HALs
Change-Id: Iffd8855f0971997792cb9b0d6db818772c339e24
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: OdSazib <odsazib@gmail.com>
2021-11-13 11:31:51 +01:00
Sebastiano Barezzi
47b8b542c7 sdm660-common: ir: Wire up lirc/spi logic
* Before loading the HAL, make sure the device exists

Change-Id: Ice2a1322ef8d7a3a7d7371a3bdd86547dec20bf1
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: OdSazib <odsazib@gmail.com>
2021-11-13 11:31:51 +01:00
Sebastiano Barezzi
fa7fa65ffb sdm660-common: ir: Rebrand to Xiaomi SDM660
Change-Id: I20146c0bc065a460f5a86455ed9a21abce5f9417
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: OdSazib <odsazib@gmail.com>
2021-11-13 11:31:51 +01:00
Sebastiano Barezzi
834610b11c sdm660-common: ir: Add VINTF fragment
Change-Id: I56bd82e77cbde3efc9b038ed2bc3857d119bf090
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: OdSazib <odsazib@gmail.com>
2021-11-13 11:31:51 +01:00
Sebastiano Barezzi
7111774653 sdm660-common: ir: Binderize
Change-Id: Ib704750a56eec2e26440bdfee92976776db58812
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: OdSazib <odsazib@gmail.com>
2021-11-13 11:31:51 +01:00
Sebastiano Barezzi
d6907ddb9f sdm660-common: ir: Move to LOG(*)
Change-Id: I7a278b5b9618d3235162a07516dff11ee94e378a
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: OdSazib <odsazib@gmail.com>
2021-11-13 11:31:51 +01:00
Sebastiano Barezzi
0a9a8cbd6a sdm660-common: ir: Cleanup Android.bp
Change-Id: I40e31540144053513e6ed82f51aa5f2655eb710a
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: OdSazib <odsazib@gmail.com>
2021-11-13 11:31:51 +01:00
Sebastiano Barezzi
4f46345273 sdm660-common: ir: Move to SPDX license identifier
Change-Id: I686c4356d0bc3d732a8266f6d3c610356e51512b
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: OdSazib <odsazib@gmail.com>
2021-11-13 11:31:51 +01:00
Sebastiano Barezzi
cae26732df sdm660-common: Import default IR HIDL
* From LineageOS/android_hardware_interfaces@1ee53cf

Change-Id: I7116f4becb57e684396ef1e6608f9c760ab82459
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: OdSazib <odsazib@gmail.com>
2021-11-13 11:31:51 +01:00
Sebastiano Barezzi
ddc790ae22 sdm660-common: Use only full qualified name for manifest entries
* As recommended by Google for multiple different versions of the same HAL in VINTF manifests
* https://android.googlesource.com/platform/hardware/interfaces/+/master/drm/1.1/README.md#devices-launching-with-android-pie

Signed-off-by: OdSazib <odsazib@gmail.com>
Change-Id: Ie94e1440f7de66502ad2532565ae8d3dd831d1a4
2021-11-13 11:31:51 +01:00
Sebastiano Barezzi
93220327e6 sdm660-common: Regen manifest
* make vendor_manifest.xml

Change-Id: Ida66af588dc2d66c6cc6f62b573f05e7dd8ba600
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: OdSazib <odsazib@gmail.com>
2021-11-13 11:31:51 +01:00
clarencelol
b0dede4ba6 sdm660-common: power-libperfmgr: Update powerhint
* Re-adjust scaling frequency
* Set both "Flipendo" freq to 1401600

Signed-off-by: OdSazib <odsazib@gmail.com>
Change-Id: I4e89982ca17fbceada830a55958d1db7806787f7
2021-11-13 11:31:51 +01:00
Edwin Moquete
d3e2fdbd1e sdm660-common: Enable vendor ril service
Change-Id: I0f0cf1ed92888ed96198ef15bf4d832e0ff561d4
2021-11-13 11:31:51 +01:00
OdSazib
21cbe5db93 sdm660-common: props: Rearrange ril properties
- disable iorap as it does nothing

Change-Id: I78b4cc1bda325f141b3fa33897e57c6bbd6ce34f
2021-11-13 11:31:51 +01:00
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