Commit Graph

575 Commits

Author SHA1 Message Date
Arian
57ed428fca
sm6150-common: overlay: Decrease minimal brightness level to 1
* It was previously bumped to 2 because 1 was causing a purple tint
  which didn't disappear after fod. This was fixed by properly handling
  the minimal brightness level in kernel.

Change-Id: Iec1f73260c061cf5616ee9322514b33d889adfe5
2021-04-25 15:23:52 +02:00
Bharat Pawar
f5c5ca7f13
sm6150-common: Enable LED based vibrator
Enable LED based vibrator for sm6150 targets.

Change-Id: I079eefaefff77fe19304acc8749773febf91a7fc
2021-04-25 15:23:51 +02:00
Bharat Pawar
a4bb51c698
sm6150-common: Disable vibrator HAL interface
Disable the existing HIDL based vibrator HAL, while
we move to vendor vibrator HAL.

Change-Id: I7529dc91c2ff994b83c7b9e7ddf4df913b9205f9
2021-04-25 15:23:51 +02:00
Anton Hansson
c7e7b9cf4e
sm6150-common: Remove PRODUCT_AAPT config
This config strips unused drawable resources from the device
to save space, but it is not particularly effective in practice
(roughly ~30 MB across all partitions).

Remove it to make the system image more generic.

Bug: 118676832
Test: make
Change-Id: I3ae120773e793af6e7b5759d383b7fa9c65aeb48
2021-04-25 15:23:51 +02:00
Michael Bestas
f0757bc8eb
sm6150-common: Don't build tinymix
* This tool can be built manually for debugging cases,
  there is no need to ship it in production

Change-Id: I9ab8b076b4bede70c368c198960ceabc68dad65b
2021-04-25 15:23:51 +02:00
Arian
6caee97828
Revert "davinci: Builds have overriding commands"
This reverts commit f74425846c.

Change-Id: I6a16e6b01c7d80b538964f0cc13af595929dcc26
2021-04-25 15:23:51 +02:00
Arian
6f4cbf9fa6
sm6150-common: Build open source bluetooth interfaces from source
Change-Id: If024ae91b3f882efb31815c630945054903ac933
2021-04-25 15:23:51 +02:00
Bruno Martins
e16c0d428d
sm6150-common: Drop prebuilt libwfdaac
Change-Id: Ia2b8b073b652c3969ac8b95c2ecce355754bd1b4
2021-04-25 15:23:51 +02:00
Indranil Chakraborty
a749c6b254
sm6150-common: Pack libwfdaac_vendor for WFD
Change-Id: I828918c42e1eb2963829d62a9dbeee83e2f0e600
2021-04-25 15:23:51 +02:00
Lubin Yin
f16768c232
sm6150-common: Deploy libwfdaac_proprietary for miracast
Change-Id: I7f00c9f0a0375d7007123614e7605e3915903b90
2021-04-25 15:23:51 +02:00
Arian
8d466d7b88
sm6150-common: rootdir: Override power HAL service and add input group
* This allows to access /dev/input/event* which is required for DT2W.

Change-Id: Idbab93138ba3221338413283552004d92e8ef333
2021-04-25 15:23:51 +02:00
Arian
8a8299ea1c
sm6150-common: fingerprint: Setup goodix file permissions
* from MIUI 21.1.20

Change-Id: Iabe5ea1125d44c1189e6227722f9f440c4dcf47a
2021-04-25 15:23:51 +02:00
Arian
a8c1391091
sm6150-common: fingerprint: Allow to build without fingerprintextension
Change-Id: Ib51286dafaf0633ba959332ecdb5ad277c6714bf
2021-04-25 15:23:51 +02:00
Pig
3f9ee454dc
sm6150-common: fingerprint: Add Xiaomi fingerprintextension support
* Import fingerprint.h from d88dfe8607
  and add the xiaomi fingerprint extension command.

Co-authored-by: C457 <android.c357@gmail.com>
Change-Id: Ie9deb0dfcc689034cd3c4b9095e319130ba8d8cd
2021-04-25 15:23:51 +02:00
Bruno Martins
d1dd0a2214
sm6150-common: fingerprint: Allow loading FOD modules
Change-Id: I2ccef59698a570dcb35c331dd7994fb7f7af68f0
2021-04-25 15:23:51 +02:00
Christopher R. Palmer
9f781f1bdf
sm6150-common: fingerprint: Load goodix HAL if loading the fpc HAL fails
Author: Demon Singur <demonsingur@gmail.com>
Date:   Sun Mar 4 17:25:12 2018 +0000

    msm8998-common: turn fingerprint wrapper intro a hidl service

    Change-Id: Ib72892417d401947aeb3935ef0f018c3b5daf94b

Author: Demon Singur <demonsingur@gmail.com>
Date:   Fri Feb 16 18:56:25 2018 +0000

    msm8998-common: Cleanup fingerprint wrapper logic

    Change-Id: I036f8d766378cbfc006cdefdd32ec48e65540dd2

Signed-off-by: Arian <arian.kulmer@web.de>
Change-Id: I5d45d1c655e69c34de16e6813eee80b07d30dda9
2021-04-25 15:23:51 +02:00
Arian
e76fb5010d
sm6150-common: Rename fingerprint service
Change-Id: I09992ec66ba4b65bb60a23faa74929d385f199fa
2021-04-25 15:23:51 +02:00
Jake Weinstein
902c0f7ddd
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 (d0fdb4431d).

Change-Id: I7a28d82caee2b8503b974a8226b29240eb072ceb
2021-04-25 15:23:51 +02:00
Arian
c8fd5fdeea
sm6150-common: Import fingerprint service
* from 744b028807

Change-Id: I88a049224c485343e5d0fad372dc79291d298537
2021-04-25 15:23:51 +02:00
raghavt20
b60968e459
sm6150-common: sepolicy: Label new white LED path 2021-04-25 15:23:51 +02:00
Arian
bb69958805
sm6150-common: rootdir: Setup all permissions for left, right and white LEDs
Change-Id: Id49a80bb2d55186ed908962d90e0be3d90e1acdf
2021-04-25 15:23:51 +02:00
Arian
264c3a5ca8
Revert "davinci: rootdir: Drop led permissions from ueventd"
This reverts commit 688407d50e.

Change-Id: I30ee38523f5ab05e8ca6101522062fdd99e91280
2021-04-25 15:23:51 +02:00
Arian
4d4f9e343b
sm6150-common: lights: Dynamically pick the left or white LED path
Change-Id: I1bc0514c29f9d63554240e1fb95e9aa9625bda6d
2021-04-25 15:23:51 +02:00
LuK1337
645f7d8c90
sm6150-common: Disable qti-telephony-common injection for time being
TODO: revisit once usable qti-telephony-common jar is available.

Change-Id: I2b80a3beb931d11db4b8367cded738e935797002
2021-04-25 15:23:51 +02:00
Jake Weinstein
b88cdb9def
sm6150-common: Enable UXE and IOP in perfconfigstore
Matches stock Qualcomm configuration and improves performance.

Change-Id: I2b6e8c9ed59415bc7841bf244bd3dd9b5633088c
2021-04-25 15:23:51 +02:00
Arian
bc47dee6eb
sm6150-common: perf: Revert Xiaomi's perfboostconfig changes
Change-Id: Ibdf26e215d9dbbd8962c9b5b9386a0dba3853d4c
2021-04-25 15:23:51 +02:00
Srinivas Ramana
b7fbe15419
sm6150-common: steppe: irqbalance: correct the arch_mem_timer interrupt
correct the arch_mem_timer interrupt to 38.

Change-Id: Ie5fe976eef084231beb5e32abf88a35a5c4bc70d
2021-04-25 15:23:51 +02:00
raghavt20
84e0156c30
sm6150-common: Move perf configs to device tree
Change-Id: Ia251c28784d24f2d7b1fdcb7a3676be1c5a63d1b
2021-04-25 15:23:51 +02:00
Arian
302ce901c0
sm6150-common: Strip popupcamera from parts
Change-Id: I379111b22be9062ee797979960feb3087299cffa
2021-04-25 15:23:51 +02:00
Bruno Martins
01ac282586
sm6150-common: parts: Use all shared resources from devicesettings
Change-Id: Icd7f381c574ea36eb4d797cefd60ba9f1a0941bd
2021-04-25 15:18:41 +02:00
raghavt20
5eabce64b9
sm6150-common: Decommonize sensors service
Change-Id: I518f3bd48a585bf0f0ae0b07570e6c9d96a4f949
2021-04-25 15:18:30 +02:00
raghavt20
0aa378102c
sm6150-common: Transform davinci into common tree
* The following things are left in devices, because they're device specific
  - voip compress properties
  - HVDCP properties
  - audio configs
  - power profile
  - rounded corner configuration
  - partition configuration
  - FOD
  - camera motor
  - NFC
  - board-info
  - fstab
  - ipa and graphics firmware
  - shipping and manifest target level

Co-authored-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Co-authored-by: Arian <arian.kulmer@web.de>
Change-Id: I8bef29041f8f239361b999fc8ab1a43cc2ebb86b
2021-04-25 15:18:14 +02:00
Jack Wu
b69b94ab30
davinci: Uprev health HAL to v2.1
Bug: 145943771
Test: lshal debug android.hardware.health@2.1::IHealth/default
Change-Id: I84f20459f5579e318d8e9f5f9ce68a733df27c53
Signed-off-by: Jack Wu <wjack@google.com>
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2021-04-25 15:17:58 +02:00
Michael Bestas
53571bde42
davinci: manifest: Remove Trust interface entry
This has been turned into a VINTF fragment.

Change-Id: Iaf53a2e1fbac75d53ec11d4c56c51230f4758daf
2021-04-25 15:17:52 +02:00
Arian
7a82c42b90
davinci: sepolicy: Correct nq-nci wakeup label
Change-Id: I763fd9bee30364c8effdfdf52aa992dc024426c6
2021-04-25 15:17:23 +02:00
Arian
b072100106
davinci: sepolicy: Label ds28e16 and bq2597x-standalone wakeup nodes
Change-Id: I2a45e5c2e43f0f75e7baf48c4ef69a8b30177642
2021-04-25 15:17:23 +02:00
Arian
cc1a74162f
davinci: sepolicy: Label fts wakeup nodes
Change-Id: I2b450eca304ccaa53a3eda17e9fe6a885e516bda
2021-04-25 15:17:23 +02:00
Arian
83d1b8ef21
davinci: sepolicy: Label goodix wakeup nodes
Change-Id: Iaf4b8331f48bd73fb418eccd1a4687c8bdd36401
2021-04-25 15:17:09 +02:00
Arian
a02dd0dd72
davinci: sepolicy: Remove qcom PMIC devices wakeup nodes
* They are already labelled from qcom sepolicy

Change-Id: I97d2e0148460b7123f9738f74867e7d35f9e1d50
2021-04-25 15:14:02 +02:00
Arian
7fd5f40474
davinci: sepolicy: Remove not existing spi_master wakeup label
Change-Id: I1a080a051091393b8e36b679597de2b72e162e9b
2021-04-25 15:08:23 +02:00
Arian
c4e7c12ddb
davinci: sepolicy: Remove not existing smb5 power_supply wakeup label
Change-Id: I360fbc5e42a42904b5df51644e29e629b80471f0
2021-04-25 15:07:54 +02:00
Arian
f2c79ad3c3
davinci: sepolicy: Remove usb-pdphy wakup labels
Change-Id: I4bff74c4c680042e3b37b796840716dfc9cd6e7f
2021-04-25 15:04:12 +02:00
Arian
4de93cd175
davinci: sepolicy: Remove google power supply wakeup labels
Change-Id: Id8495351a4ef366fb38cd3a5e8def9111f7ad51c
2021-04-25 14:53:41 +02:00
Adam Shih
3d03327784
davinci: sepolicy: Use prefix to label wakeup nodes
Bug: 161136421
Test: Boot with no system_suspend logs
Change-Id: I92706be9cd806397f62f887b20f589be1dcdd777
2021-04-25 14:52:26 +02:00
Cyan_Hsieh
e5fb6c7b71
davinci: sepolicy: Label symlinks from /sys/class/wakeup
Bug: 145905081
Bug: 155590308
Bug: 160131365
Change-Id: Iece91f90915fc783edd185d6162f319b95fb1c06
2021-04-25 14:52:07 +02:00
Adam Shih
89ea5715e8
davinci: sepolicy: Give system_suspend access to wakeup nodes
Bug: 145905081
Bug: 155590308
Test: reboot and see no error
Change-Id: Id13526831495c397ed39da84a662c9d845b3543f
2021-04-25 14:51:18 +02:00
Michael Bestas
3397396046
davinci: Switch to standalone extract utils
Align with templates while we are at it

Change-Id: I3cd279191c7bd3582f1c1f80c588eb26cf9da933
2021-04-25 14:49:59 +02:00
Michael Bestas
48d2008e82
davinci: Switch to patchelf from tools-lineage
Change-Id: If1a7328804fb9bc39ccec70690f1090f2d0509b3
2021-04-25 14:49:59 +02:00
Arian
dcc5649777
davinci: audio: Increase headphones echo reference channels
Change-Id: Ic5d0ef1e4a5319763a195420919a81c9c39630ce
2021-04-25 14:49:59 +02:00
Arian
67d1c4ce69
davinci: gps: Update from 20.12.28
Change-Id: Id1f630e1f6d4c02a854610eee1b665e8f8b1def0
2021-04-25 14:49:59 +02:00