xSylla
2daeb3ea42
sm7250-common: Update public libraries from monet V12.5.1.0.RJIMIXM
...
Signed-off-by: xSylla <syllamodder@gmail.com>
2021-12-01 13:02:03 +01:00
Sebastiano Barezzi
568d3785e7
sm7250-common: lights: Import changes from sm8150-common
...
Change-Id: Ie33f4a9eeecf4632b8eb941d96870db2ae4860ac
2021-12-01 13:02:03 +01:00
doc HD
9b1964a51e
sm7250-common: sepolicy: Allow system server to read Fast Charging status
...
Change-Id: I379dd8f0f49b7f9eee06067bd41e773e8f5e933d
Signed-off-by: xSylla <syllamodder@gmail.com>
2021-12-01 13:02:03 +01:00
xSylla
9041b534f9
sm7250-common: Add back audio.feature props into vendor.prop
2021-12-01 13:02:03 +01:00
mikairyuu
dc8a8fbbbb
sm7250-common: fod: Remove "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
2021-12-01 13:02:03 +01:00
Sebastiano Barezzi
257c3ebaf4
sm7250-common: Add a minimal framework compatibility matrix
...
* Made with https://gist.github.com/SebaUbuntu/ec053a00a9988eaea091fb1cc1f19324
Change-Id: I180d19e7939ee0c3e9f1aeb04a854f8aaf444235
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
Albert I
b457289c98
sm7250-common: Move Goodix fingerprint extension to FOD VINTF fragment
...
Signed-off-by: Albert I <kras@raphielgang.org>
Change-Id: I41f5b7a927f6fa41a40baf27b458a162ef81a231
2021-12-01 13:02:03 +01:00
Sebastiano Barezzi
00fc4934cf
sm7250-common: Readd 32bit SCVE and VPP blobs
...
* Needed for some hardware accelerated codecs
Change-Id: Id0f9ec8541f24b3aad2f80a9bcb2c0d4e3343cf5
2021-12-01 13:02:03 +01:00
Sebastiano Barezzi
88b57a99f0
sm7250-common: libqti-perfd-client: Move to C
...
* Why bothering with C++ mangling when we can just build it as a standard C library?
Change-Id: I45ea977edf7ea7fab6fece76f3049654a8d24c5d
2021-12-01 13:02:03 +01:00
Chenyang Zhong
25e8b87a42
sm7250-common: libqti-perfd-client: return a dummy value
...
Return a positive integer for perf lock acquire and release so
that Goodix/FPC fingerprint sensor blobs will not complain.
Goodix:
E [goodixHAL][gf_hal_milan_f_series]: goodix_perf_lock_acquire: Failed to acquire perf lock, err: 0
E [goodixHAL][gf_hal_milan_f_series]: goodix_perf_lock_release: Perf lock release error 0
FPC:
E fpc_tac : fpc_perf_lock_acquire: Incorrect params, Failed to acquire perf lock, err
E fpc_tac : fpc_perf_lock_release: Perf lock release error 0
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Change-Id: I861672e9a738c2204755d802670f4b28b662f286
2021-12-01 13:02:03 +01:00
Bruno Martins
53fe0183cd
sm7250-common: libqti-perfd-client: Remove namespace declaration
...
It's pointless when using extern "C".
Change-Id: Ibdf9f06a70aa3a75687b33781c78cf2172bb334d
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
xSylla
16c47a1821
sm7250-common: Adapt powerhint for Xiaomi SM7250
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
eb9b493f49
sm7250-common: Drop I/O prefetcher
...
This depends on the already removed QTI perf stack.
Change-Id: I06b9a57f868e77bbcbb77c3970aec723404689f4
2021-12-01 13:02:03 +01:00
Wei Wang
8654b374e5
sm7250-common: Remove QTI perfd
...
Bug: 69270928
Test: Build and boot device and test camera
Change-Id: I87b283206f462fb5c8ec9cdd303ae2934fe9bfc4
2021-12-01 13:02:03 +01:00
Sebastiano Barezzi
01ff578960
sm7250-common: Declare BOARD_VENDOR
...
* Needed for xiaomi-perfmgr power AIDL guards
Change-Id: Idbb48e0f9b01090a456ad5d3f2d51f4dfab55672
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
44ef4a8cdd
sm7250-common: Kill custom liblights
...
Change-Id: If4118d490de290780c9f3a46c65f178c6206fa88
2021-12-01 13:02:03 +01:00
Sebastiano Barezzi
b1b0b7af2b
sm7250-common: lights: Wire it up
...
* Heavily inspired by CAF liblights
* Also properly implemented white LED support
* Added chowns where needed (AOSP init.rc already sets some)
Change-Id: Ib9ff8accb163563e19d754f581805bde586d30a9
2021-12-01 13:02:03 +01:00
SebaUbuntu
5372c713af
sm7250-common: lights: Rebrand for Xiaomi SM7250
...
Signed-off-by: xSylla <syllamodder@gmail.com>
2021-12-01 13:02:03 +01:00
Sebastiano Barezzi
7a4119089d
sm7250-common: Pull in AOSP lights AIDL
...
* From ee34a8ce6e
Change-Id: Id83b242a850119c83f1b7b2d9b7a74928a7d5e67
2021-12-01 13:02:03 +01:00
Ramisky
8537acbf6c
sm7250-common: Add offline charging LED indicator
...
* Write to node to turn on LED in offline charging mode
Signed-off-by: xSylla <syllamodder@gmail.com>
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
831d645c5a
sm7250-common: vibrator: Add aw8624_haptic to FF haptic devices check
...
Signed-off-by: xSylla <syllamodder@gmail.com>
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
Ramii Ahmed
0a32aa3c26
sm7250-common: Import QTI vibrator AIDL
...
Change-Id: I03254bee9089713ea29ab258cac152120272b2ea
2021-12-01 13:02:03 +01:00
Alexander Koskovich
761c97ed15
sm7250-common: Remove virtual framebuffer.
...
* It's largely for testing purposes and it consumes
a large amount of memory. If your hardware doesn't
have graphics then it can be useful, which isn't the
case for shipped devices.
Change-Id: I2348718ad3afba846498572161fa7e83dd8b7ce9
Co-Authored-By: Sebastiano Barezzi <barezzisebastiano@gmail.com>
2021-12-01 13:02:03 +01:00
Ramii Ahmed
cb0635442e
sm7250-common: remove stereo channel mask from voip rx
...
seem to cause audio distortion and echo with apps like telegram and it's clients
Change-Id: I3468972fd530f59f74126a13d1b2c8a48fdf8c88
2021-12-01 13:02:03 +01:00
Albert I
d9163ec85c
sm7250-common: audio: Remove effects that won't load
...
E EffectsFactoryConfigLoader: Error querying effect 7d1580bd-297f-4683-9239-e475b6d1d69f on lib offload_bundle
Signed-off-by: Albert I <kras@raphielgang.org>
Change-Id: Idb472d70c26baacc90f493280c3c00f15ad6946c
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
xSylla
510f17aa71
sm7250-common: Update WiFi configs from monet V12.5.1.0.RJIMIXM
...
Signed-off-by: xSylla <syllamodder@gmail.com>
2021-12-01 13:02:03 +01:00
xSylla
6d8d5d7b6b
sm7250-common: Update rootdir from CAF - LA.UM.9.12.r1-11500-SMxx50.0
...
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
Bruno Martins
0fcb09814b
sm7250-common: Create RFS symlinks
...
Change-Id: Ica1d4a9893f526ab98c5ef07e18d51dbf74c8e93
Signed-off-by: DarkDampSquib <andrin.geiger1998@gmail.com>
2021-12-01 13:02:03 +01:00
aleasto
de4276b158
sm7250-common: Create CneApp symlinks
...
Signed-off-by: geopd <geoemmanuelpd2001@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
Akash
8a429c2618
sm8250-common: audio: Fix mic issues in apps like WhatsApp
...
* Also clean up FM Tuner from original commit as it breaks wired headphones
Change-Id: I311b484e07e41bf69ab43b78e4a9abe883730435
2021-06-09 11:57:03 +02:00
Sebastiano Barezzi
92eeaaf26a
sm8250-common: Decommonize vibrator firmware
...
Change-Id: I993880c66b55177e19289c09576f4cb4644a568f
2021-06-09 11:57:03 +02:00
Ramii Ahmed
43f7583775
sm8250-common: Decommonize AOD overlays
...
* Not all devices have an AMOLED display
Change-Id: I7ef064c1e1456bb72e37ae7d90a412912b5fdc07
2021-06-09 11:57:03 +02:00
Richard Tung
4a5a5924d2
sm8250-common: liblight: Add white LED support
...
Change-Id: I0a11c097267e7ab0f3a728b93b2d52368b9a3339
2021-06-09 11:57:03 +02:00
Sebastiano Barezzi
2bbd79be64
sm8250-common: liblight: Move to Android.bp
...
Change-Id: I32c3289cb9ffa26ac5a2fb96aed56456276cc2e7
2021-06-09 11:57:03 +02:00
Sebastiano Barezzi
165f146398
sm8250-common: liblight: Cleanup compiler flags
...
Change-Id: I98c6865e98ce12f34c7e9cc7c144d294d2970ae9
2021-06-09 11:57:03 +02:00
Sebastiano Barezzi
509e870e5c
sm8250-common: liblight: Hardcode platform name
...
Change-Id: Ib03085daac3bd1e3c379db93e75febe6c5c783c7
2021-06-09 11:57:03 +02:00