Commit Graph

1225 Commits

Author SHA1 Message Date
Arian
caaa6afed4 sm8350-common: Revert Xiaomi cpuset changes
* Drop foreground and top-app cpus
* Set 0-3 as background cpus
* Drop xiaomi iolimit and custom types for shima

Change-Id: I3733e196a8ed090c15d6867b0722425435f31474
2022-08-29 01:24:29 +02:00
Arian
b0fed8b209 sm8350-common: rootdir: Configure input boost for shima
Change-Id: I813e6893475caf8196f7c81f6ae237bd1d4b73d1
2022-08-29 01:24:29 +02:00
Arian
611c35bd95 sm8350-common: rootdir: Drop powerkey input boost
Change-Id: I685a215927b445bb2fac9229a1f41de5f88741ef
2022-08-29 01:24:29 +02:00
Giovanni Ricca
eb8b12dea6 sm8350-common: rootdir: Prefer s2idle over deep for lahaina
Change-Id: I6831d37d02012e3ce2d58a9c45818e594a658883
2022-08-29 01:24:29 +02:00
Giovanni Ricca
83662ab93f sm8350-common: rootdir: Add shima and yupik kernel post_boot scripts
While at it, update lahaina one from odin V12.5.12.0.RKMCNXM

Apply the following commits to all scripts:
commit a7efe9f3af
Author: Cosmin Tanislav <demonsingur@gmail.com>
Date:   Tue Sep 28 09:15:41 2021 +0300

    sm8350-common: rootdir: remove cpu 7 from foreground tasks

commit 52fde070d6
Author: Cosmin Tanislav <demonsingur@gmail.com>
Date:   Fri Sep 24 02:44:34 2021 +0300

    sm8350-common: rootdir: do not touch sleep disabled

commit 30ddf5a818
Author: Cosmin Tanislav <demonsingur@gmail.com>
Date:   Sat Sep 18 02:57:51 2021 +0300

    sm8350-common: rootdir: cleanup

Change-Id: Ibd4e8717b52c35faa4d43ade170dbde58c04ed37
2022-08-29 01:24:29 +02:00
Randall Huang
e5413336ca sm8350-common: rootdir: Remove IO read_ahead_kb tune
If we set 2048KB ra value in the beginning of the
boot process, services initialized at this time would
keep 2048KB ra value even though we adjust the ra value
to 128KB after boot completion.

This may cause memory pressure.

Bug: 174700194
Signed-off-by: Randall Huang <huangrandall@google.com>
Change-Id: I97ee0ee9511eaada011f2634afd68d68cdca4570
2022-08-29 01:24:00 +02:00
Arian
163cec32a7 Revert "sm8350-common: let init do read ahead configuration"
Init doesn't handle all dm devices

This reverts commit 17d09b70a0.

Change-Id: I2b42c286307e8fd41140bca8f893ccdf13ebfc06
2022-08-29 01:23:13 +02:00
Giovanni Ricca
8a5471e402 sm8350-common: Commonize Display calibration configs
Change-Id: Id363bf8e7082e66ce3b1a215d66c42257cd5117b
2022-08-29 00:57:55 +02:00
Giovanni Ricca
ba1fac34d5 fixup! sm8350-common: sepolicy: Label more wakeup nodes
Change-Id: If3d5e081d5e7e082578b111aeb83cf1662444126
2022-08-28 16:14:19 +02:00
Arian
834d121186 sm8350-common: Don't explicitly build fs_config_files
The fs_config_files for each partition is already added to
PRODUCT_PACKAGES by base_{product,system,system_ext,vendor}.mk.

Change-Id: Ifbadacd5cb20beca70ed8b3accb3baf86a989c92
2022-08-28 15:49:53 +02:00
Arian
7e777df325 sm8350-common: Don't copy audio policy to qssi dirs
This depends on commit [1] which intends to pick a different audio
policy config on value-added system images and use to the regular
audio policy on gsi builds. However we do not provide the regular
config which leads to no usable audio policy config on GSI builds.
Our config does not rely on system value-added features, hence just
copy it to the regular path directly so that the same one will be
loaded on value-added and gsi builds.

[1]: ce8ec8bff5

Change-Id: I2ab532a4e8a120ed0c5495926dcce0a4b56d1f64
2022-04-12 18:11:16 +02:00
Arian
222cbc7e39 Revert "sm8350-common: Set linker to LLD"
This reverts commit 1275ef272b.
2022-04-12 18:04:57 +02:00
Arian
3d0471a8e2 sm8350-common: Pass TARGET_PRODUCT variable to kernel flags
This is used by audio techpack

Change-Id: I508442db6b8172510eb72ae9733c7903350df940
2022-04-12 18:04:50 +02:00
Arian
ad4dd5526b sm8350-common: Decommonize batterysecret
Change-Id: I58770bd108837088cf61dcf2833c46cdf6071b78
2022-04-12 11:33:07 +02:00
Michael Bestas
19ff681784 sm8350-common: gps: Lower debug level
* Kill logcat spam

Change-Id: I20d1f698d3c2d1b56e79f6eb6c5c17069e43c60f
2022-04-02 00:06:07 +02:00
TheStrix
fd3b078743 sm8350-common: gps: Disable xtwifi location services
Squashed with:
Author: Michael Bestas <mkbestas@lineageos.org>
Date:   Fri Jan 15 22:14:25 2021 +0200

    sm8350-common: Remove unused gps certificates

    * They are used by xtwifi-inet-agent which we disabled.

    Change-Id: I4fbf6e02276b508a27f320e630ddad3c9aada5a8

Author: Arian <arian.kulmer@web.de>
Date:   Thu Apr 1 01:09:38 2021 +0200

    sm8350-common: Remove xtwfi-client and xtwifi-inet-agent

    Change-Id: I232fd3b351f0e47b86f7d5d7b2a2bd0f28712d64

Change-Id: I70f39d8d611167f65bb3912590b05f8a8d121c80
2022-04-02 00:06:02 +02:00
dianlujitao
eae8e1d90f sm8350-common: Fix non-ASCII character in gps.conf
:caf:

Change-Id: Iea9c44c0fbad574cbc077feea3d9f1de83d7d99a
2022-04-02 00:05:42 +02:00
Arian
8cf9c727e7 sm8350-common: Build GPS HAL from source and import proprietary configs
Configs from odin V12.5.12.0.RKMCNXM
slim_daemon is disabled in izat.conf, hence drop it.

Change-Id: Ia1ed33f6250b898d149970389befe8033cc8eaf3
2022-04-02 00:05:33 +02:00
Arian
75da4c0eee sm8350-common: Import gps hal from LA.UM.9.14.r1-16700-LAHAINA.0
Change-Id: I134d6418f1357a4d7ce37358481d6b765d93e1a5
2022-04-02 00:03:09 +02:00
Arian
364f235b7d sm8350-common: Move libminksocket to DRM section
Change-Id: Ia40d5acd13fb2d38466f2b3d7e7bd5d4cc2d1529
2022-04-02 00:02:58 +02:00
Arian
ab2ce96501 sm8350-common: Fix section sorting in BoardConfig
Change-Id: I03a1e49268e33a58e5724eb8a737dea903c20022
2022-04-02 00:02:52 +02:00
Arian
6ffc1812de Revert "sm6250-common: allow duplicate targets"
This reverts commit 1bfd9147f0.

Change-Id: I26a0c3f2047a460b842845117b1bff051c1405f8
2022-04-02 00:02:45 +02:00
Arian
4caec4378e sm8350-common: Provide unique vintf manifest and init rc names
Change-Id: Id323d05eb5c8702659bbf48f02aad2637411e005
2022-04-02 00:02:40 +02:00
Arian
92a56c09a7 sm8350-common: fingerprint: Setup file permissions for fpc and goodix
Change-Id: Ib0d0b34ee84f349fe40cde3c06f1d1658523d483
2022-04-02 00:02:31 +02:00
Pig
57738613fb sm8350-common: fingerprint: Add xiaomi fingerprintextension support
Co-authored-by: C457 <android.c357@gmail.com>
Signed-off-by: Arian <arian.kulmer@web.de>
Change-Id: Ie9deb0dfcc689034cd3c4b9095e319130ba8d8cd
2022-04-02 00:02:26 +02:00
Arian
19d012f5e5 sm8350-common: Rename and build fingerprint service
Change-Id: I09992ec66ba4b65bb60a23faa74929d385f199fa
2022-04-02 00:02:15 +02:00
Arian
75d8b752ca sm8350-common: Import fingerprint service
* from 744b028807

Change-Id: I88a049224c485343e5d0fad372dc79291d298537
2022-04-02 00:01:04 +02:00
Arian
5990c8c51f sm8350-common: Add libqrtrclient
This is dlopened by vendor.qti.hardware.display.composer-service

Change-Id: Ibe787ff2f4e07b697bf6acf67a0530817a04957d
2022-04-02 00:00:58 +02:00
Arian
cfe2ce333c sm8350-common: Decommonize NFC configs
Change-Id: I49d0bb5fc61d40eec3d218f5cebabea0217fc621
2022-04-02 00:00:58 +02:00
Arian
d90172a404 sm8350-common: Add power HAL extension and use xiaomi-touch to handle dt2w
Change-Id: I5c65e0df255853eb2b3018a27ceb807c111bc4df
2022-04-02 00:00:58 +02:00
Giovanni Ricca
a0ec4101e4 sm8350-common: sepolicy: Label more wakeup nodes
* Required for lisa

Change-Id: Iec55564b8a8d22dd80b81431edf7e606c68d7ea1
2022-04-02 00:00:58 +02:00
Arian
5600780c4b sm8350-common: sepolicy: Label more wakeup nodes
Change-Id: Ifcdfebf840b125666b634c504d52a727278e9193
2022-04-02 00:00:58 +02:00
Arian
ffe4f5367d sm8350-common: sepolicy: Allow bluetooth hal to read bt.mac
nv_mac stores the mac address in /data/vendor/mac_addr/bt.mac
and the xiaomi bluetooth HAL reads it from there.

Change-Id: I4469befffdcefa76a989020d617089dfb3e26673
2022-04-02 00:00:58 +02:00
Arian
0b7ee41b13 sm8350-common: sepolicy: Label xiaomi MAC address tool and data dirs
Change-Id: Ibb5a71bd753e5de2d3a8de0490a344a907dbd923
2022-04-02 00:00:58 +02:00
Erfan Abdi
577f097951 sm8350-common: sepolicy: Allow perf hal to read hal_camera_default dir
Change-Id: Ibd32be56e24325a6f349a7418835472f828f74ba
2022-04-02 00:00:51 +02:00
Erfan Abdi
7055015a16 sm8350-common: sepolicy: Add mlipay rules
Change-Id: I1023e481d49ed5ec0ae15a513c65133987d6f556
2022-04-02 00:00:44 +02:00
Erfan Abdi
5d25df15c4 sm8350-common: sepolicy: Add mius rules
Change-Id: I4ebc9561ae7e0700c7937e615688b5b71b1a0a82
2022-04-02 00:00:35 +02:00
Erfan Abdi
124e1c3210 sm8350-common: sepolicy: Replace mfp rules with hal_fingerprint_default
Change-Id: Ifa560592bcab7bc76155a1addde81c5ff0af147e
2022-04-02 00:00:23 +02:00
ItsVixano
9f4b8dbac2 sm8350-common: vibrator: Add support to aw8624_haptic node
Change-Id: Iff112c8ffa4462cfc30d06252b9cb5912f06f99a
2022-04-01 23:43:34 +02:00
Arian
5ae87ffe5c sm8350-common: vibratoreffect: Read vibration effects fifo data from vendor
Change-Id: I58c74f01d75e8616fdb03c27e3dc4c4df6838faa
2022-04-01 23:43:34 +02:00
Arian
b9612a44d0 sm8350-common: Rename qti vibrator effect
Change-Id: I15286cbcd12b22467c07672924724c3278f3cf52
2022-04-01 23:43:34 +02:00
Arian
7349e1a167 sm8350-common: Import qti vibrator effect
Change-Id: Icf81eaa4419240007e63727c1fd5717920e2d677
2022-04-01 23:43:34 +02:00
Arian
cab4afd2f1 sm8350-common: vibrator: Make the usage of effect stream optional
Change-Id: I45f15112b16b04a9a012bf26e366aaebaa3a3bef
2022-04-01 23:43:34 +02:00
Arian
8463e24d5c Revert "sm8350-common: vibrator: remove unused effect stream handling"
This reverts commit 1e781f9173.
2022-04-01 23:43:34 +02:00
Arian
ca6948ba5b sm8350-common: Move vibrator HAL to aidl subdir
Change-Id: I398d0e597f979b294d3208643d94d05094b84e74
2022-04-01 23:43:34 +02:00
Erfan Abdi
269452e009 sm8350-common: Add lineage.dependencies 2022-04-01 23:43:34 +02:00
Erfan Abdi
8d47162ae2 sm8350-common: Add manfest entry for IR hal service
Change-Id: I1641bec53087986fa4135ac7be29c97a2db31eaf
2022-04-01 23:43:34 +02:00
Arian
1a7b42f716 sm8350-common: Drop remaining pieces of qcom system daemon
Change-Id: I4353249682aaa0c08b5af462656974bcb6fdf14a
2022-04-01 23:43:34 +02:00
Arian
bc6dd3758c sm8350-common: Cleanup qti_whitelist
Remove all packages that we don't ship.

Change-Id: Ifdfdd7fcff30711c686e4e50073b734863dc729e
2022-04-01 23:43:34 +02:00
Arian
29e5b0c186 sm8350-common: Import qti_whitelist
Change-Id: Ic7dc5fecf3d2fc041acdb3c3472f519f3ad573da
2022-04-01 23:43:34 +02:00