Commit Graph

661 Commits

Author SHA1 Message Date
Michael Bestas
bd18886586
sm6150-common: gps: Lower debug level
* Kill logcat spam

Change-Id: I20d1f698d3c2d1b56e79f6eb6c5c17069e43c60f
2021-06-18 18:32:31 +02:00
Michael Bestas
f3e8480dc8
sm6150-common: Remove unused gps certificates
* They are used by xtwifi-inet-agent which we disabled.

Change-Id: I4fbf6e02276b508a27f320e630ddad3c9aada5a8
2021-06-18 18:32:31 +02:00
Arian
59684442f2
sm6150-common: Remove xtwfi-client and xtwifi-inet-agent
Change-Id: I232fd3b351f0e47b86f7d5d7b2a2bd0f28712d64
2021-06-18 18:32:31 +02:00
TheStrix
2ce94a5f9f
sm6150-common: gps: Disable xtwifi location services
* Disable XTWIFI

Change-Id: I70f39d8d611167f65bb3912590b05f8a8d121c80
2021-06-18 18:32:31 +02:00
Adithya R
97937bd5d5
sm6150-common: Sync earlycon kernel cmdline with CAF
Change-Id: I85067603b8fd233a35eca2195b12cc9763096ba2
2021-06-18 18:32:31 +02:00
Volodymyr Zhdanov
bea69bcb8e
sm6150-common: Add new surfaceflinger flags
* since [1] caf sets these for all platforms

[1] https://source.codeaurora.org/quic/la/platform/hardware/qcom/display/commit/?id=1b056c2223143ea401a47f8726a32b7e58656ab2

Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2021-06-18 18:32:31 +02:00
Volodymyr Zhdanov
97896a108d
sm6150-common: Disable SF configstore
* it's finally deprecated in R
* ship disable_configstore because we have API level 29

Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2021-06-18 18:32:31 +02:00
raghavt20
4efee45bf3
sm6150-common: fingerprint: Setup permissions for violet's goodix node
Change-Id: I7349fa80f6576e2892283a21b6f2acd1f42e3e8b
2021-06-18 18:32:31 +02:00
merothh
a4bc80a800
sm6150-common: fingerprint: Setup permissions for violet FPC nodes
Signed-off-by: merothh <merothh@gmail.com>
Change-Id: Id68148dd222dc4a72b9b1e5db761a01177350769
2021-06-18 18:32:31 +02:00
raghavt20
32e23fe941
sm6150-common: fingerprint: Label fpc and fpdump data dirs
Change-Id: Ib522a7e573465ce0cd9bc982d1264947e731da22
2021-06-18 18:32:30 +02:00
raghavt20
876d672a65
sm6150-common: Add FRP permissions for violet
Change-Id: I1a6813962c5b08a39843d669333040beae57ec69
2021-06-18 18:32:30 +02:00
Arian
b227173d9e
sm6150-common: Update from Mi Note 10 Lite V12.1.4.0.RFNMIXM
Change-Id: I80f4200b46268a3c4bc638529c916122eb20ddba
2021-06-18 18:32:23 +02:00
Arian
48936b4c54
sm6150-common: Drop unused 3.0 and 4.1 keymaster service
Change-Id: Ica391eb12fb9558657090652c6616e04111242a2
2021-06-18 18:21:34 +02:00
Arian
f60089a8b8
sm6150-common: Don't build Image.gz-dtb for dynamic devices
Change-Id: I44727c1ec68e0c590a91aa1f853612aa3576d4fd
2021-06-18 18:21:34 +02:00
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