Commit Graph

647 Commits

Author SHA1 Message Date
Swetha Chikkaboraiah
6c7410e835
sm6150-common: TARGET_KERNEL_APPEND_DTB handling
Set TARGET_KERNEL_APPEND_DTB flag true or false depend on
Dyanmic partition support.

Change-Id: I02a113263315e90114575cbeda076a1154f60c14
Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
2021-06-18 18:21:34 +02:00
Swetha Chikkaboraiah
07f53dd2f3
sm6150-common: BoardConfig: Add support for header version 2 of boot image
Adding support to make a bootimage with header version as 2.
This bootimage no longer has the dtbs appended to the kernel.
All the dtbs are made into a new image called dtb.img and
this image is present in the bootimage.

Change-Id: I44fe055caafc3306313e1012fb2e14d335a13337
Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
2021-06-18 18:21:34 +02:00
Arian
69b52a2a9a
Revert "Revert "davinci: rootdir: Import coral fs tuning""
This reverts commit bbe34cefca.

Change-Id: If98a6d1d2db3457555ac0908fe1d048ab84c830e
2021-06-18 18:21:34 +02:00
Arian
506cf92d7a
sm6150-common: rootdir: Support more soc-id's
Change-Id: I80e2ccf5a3e5b15d9a527f9a7c4e3ee06b997ab6
2021-06-18 18:21:34 +02:00
Arian
a54ae83f4c
sm6150-common: rootdir: Prepare for different soc_id's
Change-Id: I08bd87247ae937fe465b8cfd1d7d8e24950d9c4b
2021-06-18 18:21:34 +02:00
Arian
0af4075687
Revert "davinci: rootdir: Remove sleep_disabled switch during boot"
This reverts commit 5129977612.

Change-Id: Ib2c6b666191cec45992996465b2d355df5ba1c10
2021-06-18 18:21:34 +02:00
Arian
70a7144540
sm6150-common: rootdir: Update init.qcom.post_boot.sh from V12.1.4.0.RFNMIXM
Change-Id: Ibe75929017a2c19a2bdbde24477fb9f35b88f45d
2021-06-18 18:21:34 +02:00
raghavt20
8f7a271791
Revert "davinci: rootdir: Move simple writes from post_boot script to init.target.rc"
This reverts commit fc27e74506.
2021-06-18 18:21:34 +02:00
Arian
6b60b20609
sm6150-common: Move cne property to system
Change-Id: I2d8b3697fca8db2cb4dbf3eb7105c9445df4eaaf
2021-06-18 18:21:30 +02:00
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