Commit Graph

538 Commits

Author SHA1 Message Date
Arian
4438bf7184
sm6150-common: rootdir: Setup file permissions on IR spi node
Change-Id: Ie727041f464bcb11c7032cdc50a2b18b38367d93
2021-06-18 18:21:16 +02:00
Manoj Basapathi
38538e6899
sm6150-common: Add permissions for RCS service
Add permissions to Rcs service to
access QMI IMSS service

Change-Id: I263a0b6413c1ae26ab57a96936bc983c68ef709e
2021-06-18 18:19:35 +02:00
Arian
1b9073260d
sm6150-common: rootdir: Setup file permissions on mius iio devices
Change-Id: Id5301d3c001f2e656da3c462a6576d2d24737a18
2021-06-18 18:19:30 +02:00
Arian
1e2660e5f3
sm6150-common: power: Add fts support
Change-Id: I1d767578a9092176dbdb18026189ed4aad621a3e
2021-04-25 15:23:52 +02:00
dianlujitao
65dda5f875
sm6150-common-common: Switch to source built vendor.qti.hardware.perf@2.2.so
For some reason, any prebuilt ones from pre-R ROMs no longer work on R
and cause the following error:
  E ANDR-PERF: Unable to link to gPerfHal death notifications!

Change-Id: I1dc96e4a51c4c81dd847c59a58ec670d89054f64
2021-04-25 15:23:52 +02:00
Ethan Chen
25f48a91cd
sm6150-common: Disable verity and descriptor checking
* avbtool provides an option to disable hashtree checking

Change-Id: Ib57d8ebed69a0998005563a9268f9fc736cbeaf7
2021-04-25 15:23:52 +02:00
Adithya R
e7ad18c552
sm6150-common: Correct vbmeta flags argument
* its "--flags" not "--flag"
2021-04-25 15:23:52 +02:00
Arian
21d14ca7c8
sm6150-common: recovery: Convert to Android.bp
Change-Id: Icc954652cd393a401caada2c7b636a4f95ea8edb
2021-04-25 15:23:52 +02:00
Demon Singur
dfe3b1cdd1
sm6150-common: recovery: Include moved headers
Change-Id: Ia0e49562dac01bf3ecd674270f2011546cfd3498
2021-04-25 15:23:52 +02:00
XiNGRZ
c5b39fc554
sm6150-common: releasetools: Add images to the output zip only if present
Change-Id: Ic5d71c3e16c443a63814dd0f17398c2ae5c8469b
2021-04-25 15:23:52 +02:00
Akhil Narang
2f6d32221d
sm6150-common: releasetools: Add vbmeta_system to output zip
Change-Id: If2c2f7cacbed71ee5f5c7200139955e272f09f42
2021-04-25 15:23:52 +02:00
Akhil Narang
558ce67af1
sm6150-common: releasetools: Be more clear about firmware image patching
This looks very odd on most of the devices using this tree
because nothing is being patched. Just mention which image
is being flashed and only when it actually is.

Change-Id: Ib6c35e08aee0f1c102da28ca37434093a92f7045
2021-04-25 15:23:52 +02:00
derfelot
959ceb5f99
sm6150-common: Exclude CarrierConfig overlays from RRO
They don't seem to work properly as RRO

Change-Id: Ib80ed6e4bab0014682d3be0f7d0e0a4faec8fa5c
2021-04-25 15:23:52 +02:00
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