Commit Graph

29 Commits

Author SHA1 Message Date
Sebastiano Barezzi
168202c8e6 sm7250-common: Build all extra VNDK versions
* Basically make system a GSI, but this should avoid us the headache made by VNDK libs not being built based on proprietary interfaces

Change-Id: I1ca876b5d2a82d41af76f4c327b89a181bb3d6bd
2022-06-05 14:23:25 +02:00
Sebastiano Barezzi
ede9a7fff1 sm7250-common: Move to common Xiaomi light AIDL
Change-Id: I1edcfafce4ea7a76327f8466f8535e63cfc8ed39
2022-06-05 14:22:33 +02:00
xSylla
17332c2465 sm7250-common: Move props to properties.mk 2021-12-01 16:43:29 +01:00
blankaf
9915f84c99 sm7250-common: rootdir: Adapt for libperfmgr
Co-authored-by: Ramii Ahmed <ramy@ahmedramy.com>
Co-authored-by: SebaUbuntu <barezzisebastiano@gmail.com>
Change-Id: Ia5f59d183056728dc2966b99ff74dbb4fcc83c7b
2021-12-01 16:43:28 +01:00
Albert I
b7cd634ffa sm7250-common: Cleanup rootdir scripts
* Some of these scripts are unused on lito, so remove them
* Also remove factory scripts, meant for eng

Signed-off-by: Albert I <kras@raphielgang.org>
Change-Id: I19cb6c84a4767cdc790f3ad42c256ca20ecde629
2021-12-01 16:43:28 +01:00
Sebastiano Barezzi
5c6a011963 sm7250-common: Default to 6GB Dalvik heap configuration
* Our libinit is missing on GSIs and DSUs

Change-Id: Ie5d7c5e297a47c9d5587b075bd0641914d368f78
2021-12-01 16:43:28 +01:00
xSylla
680846d96c sm7250-common: Changes for FM Radio
* Imported fm_helium and libfm-hci blobs
* Build libqcomfm_jni

Signed-off-by: xSylla <syllamodder@gmail.com>
2021-12-01 16:43:28 +01:00
Dobsgw
9e300d19d3 sm7250-common: fix media codecs copy out directory
Change-Id: I574f705518c7ead35381970ba76c3a34e97818df
2021-12-01 16:43:28 +01:00
Arian
11b649960c sm7250-common: Add KeyHandler to handle an goodix FOD key
* The goodix FOD HAL sends an key event (code 338) on touches
  at the FOD area. This event causes the recents to be stuck
  sometimes when swiping over it or closes the keyboard when
  using bubbles and tapping in the FOD area.

Change-Id: I2f2fa65ae4d6d3be12193c5d75fdf7daf33b175a
Signed-off-by: xSylla <syllamodder@gmail.com>
2021-12-01 13:02:03 +01:00
xSylla
f6043070f1 sm7250-common: Build FM2
Signed-off-by: xSylla <syllamodder@gmail.com>
2021-12-01 13:02:03 +01:00
dianlujitao
de973890b8 sm7250-common: Support Alipay and WeChat fingerprint payment
* IFAA manager is based on OnePlusOSS, but adapted for Xiaomi's mlipay
   interface.

Change-Id: Ied17d6456561bb399e4dd4a868d57a48d2d51db2
2021-12-01 13:02:03 +01:00
Albert I
779828ff23 sm7250-common: Set Bluetooth MAC address using persist property
The idea is to allow us to not depend on stock QTI Bluetooth HAL, as MAC
addresses fetched from NVRAM by nv_mac script will be saved as hex-encoded
files. We can decode back saved files to then the Bluetooth one be set using
persist property so it can be read by Bluetooth HAL.

This is loosely based on similar techniques used on Mi 9 and ZenFone Max Pro M2.

Signed-off-by: Albert I <kras@raphielgang.org>
Change-Id: I74d07c3c3125a04962c37fe8bfcc8385d1fd3398
2021-12-01 13:02:03 +01:00
Albert I
a0d1c94773 sm7250-common: Wire up hardware permissions
Don't advertise (aka copy here) permissions which physical sensors nor
features are either present or available, especially for barometer sensor
which doesn't exist on alioth and apollo. Copy missing permissions for
Wi-Fi, too.

Signed-off-by: Albert I <kras@raphielgang.org>
Change-Id: Iffc6c8bb696985099738c20140c68a0fe2188899
2021-12-01 13:02:03 +01:00
Sebastiano Barezzi
53f39f7889 sm7250-common: Kill touchfeature
Change-Id: Iea8dbe1a69906627ffdabca70ecea624435fc53e
2021-12-01 13:02:03 +01:00
TheScarastic
7eaae54a2b Revert "sm8250-common: Add FODService"
This reverts commit 06f816fd6b.

Change-Id: I75216f8439bdf2fa23b478889e6800014e08226a
2021-12-01 13:02:03 +01:00
Alexander Koskovich
0e69772f7b sm7250-common: Disable the usage of ConfigStore.
* As per commit 11a113a67e ("Add disable_configstore").

[SebaUbuntu] Remove manifest entry as well

Change-Id: I5482989a8a96227a3e2a5317eacf613c641bfa8e
2021-12-01 13:02:03 +01:00
Lucchetto
ddf88c391f sm7250-common: Create dummy libqti-perfd-client
* proprietary perfd blobs can finally be nuked without breaking goodix
* we could even map the functions to use libperfmgr powerhints in the future

Change-Id: I124652f3041761966a3e3bd97c757fecc39cc5fb
2021-12-01 13:02:03 +01:00
Sebastiano Barezzi
96a5110ad5 sm7250-common: Stop building vendor.qti.hardware.perf lib
* We dropped QTI perf stack

Change-Id: Ie71344aa05888adb7ad76ad66693547fc50a0025
2021-12-01 13:02:03 +01:00
KakatkarAkshay
70090e239a sm7250-common: Import powerhint.json from android-11.0.0_r32
Change-Id: I552870c130ceaac4d20322acf6d1da22ad5017ec
2021-12-01 13:02:03 +01:00
Bruno Martins
74161382a4 sm7250-common: Migrate to Xiaomi power AIDL HAL
Change-Id: I42170d51a517170b58d532addd9c38496e43457c
2021-12-01 13:02:03 +01:00
Sebastiano Barezzi
32753ad28c sm7250-common: Build custom lights AIDL
Change-Id: Id7d8c2c5c141dba8006eb6e800dcd8777e1441d6
2021-12-01 13:02:03 +01:00
Sebastiano Barezzi
d9255f9034 sm7250-common: Move excluded-input-devices.xml to vibrator folder
Change-Id: I6f384c556e124052b3695a87f225207dae7c8089
2021-12-01 13:02:03 +01:00
Sebaubuntu
104f3d6f68 sm7250-common: vibrator: Rebrand to Xiaomi SM7250
Signed-off-by: xSylla <syllamodder@gmail.com>
2021-12-01 13:02:03 +01:00
xSylla
fabc0767fc sm7250-common: Update audio configs from monet V12.5.1.0.RJIMIXM 2021-12-01 13:02:03 +01:00
xSylla
8f78d7822d sm7250-common: Update media configs from monet V12.5.1.0.RJIMIXM
Signed-off-by: xSylla <syllamodder@gmail.com>
2021-12-01 13:02:03 +01:00
DtHnAme
965443541f sm7250-common: Remove qca6390 folder
We not dual WIFI drivers
2021-12-01 13:02:03 +01:00
xSylla
9f6c9618c8 sm7250-common: Our lito devices are based on UFS|eMMC
Signed-off-by: xSylla <syllamodder@gmail.com>
2021-12-01 13:02:03 +01:00
LuK1337
2b01c09b89 sm7250-common: Build vndservicemanager
* Needed for FCM >= R.

Change-Id: I6d5eb8084127e295e4abec2c0192c0ad5b07b867
2021-12-01 13:02:03 +01:00
xSylla
35aa84537f sm8250 > sm7250 2021-12-01 13:02:03 +01:00