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
Sebastiano Barezzi
e3463cc2d7
sm8250-common: Import liblight
...
* From c7c6e7e9f5
Change-Id: I49486fcb33414625753b71fed04c8b906e0bffc9
2021-06-09 11:57:03 +02:00
Sebastiano Barezzi
795d99ed80
sm8250-common: Decommonize ADSP modules and OMX libs
...
* They don't like apollo's audio HAL and elliptic sensor
Change-Id: I2ddabf623e779575e1c87e38576de4800309f82c
2021-06-09 11:57:03 +02:00
Sebastiano Barezzi
4f4a65e722
sm8250-common: Decommonize mixer paths related audio configs
...
Change-Id: Ia5e1ac0f8923551ce945b451621eec8f17e5353e
2021-06-09 10:20:40 +02:00
Sebastiano Barezzi
03f69f21a8
sm8250-common: Chown DT2W node
...
Change-Id: Idb121cba92d38dac5bd27575d349cf054bb7ef50
2021-06-08 16:31:55 +02:00
Sebastiano Barezzi
c4f2ea7e88
sm8250-common: fod: Add m at the start of class variables
...
Change-Id: I7e2a7c97512774b2b64d1edc2a4ca38fbad02ad4
2021-06-08 14:53:18 +02:00
Abhishek Aggarwal
4a2f70507b
sm8250-common: fod: Add surfaceflinger extension lib
...
* And specialize it for xiaomi kona devices
Co-authored-by: dataoutputstream <mb150996@gmail.com>
Change-Id: I440e6d246884fd22044756c6260b3583a1e58a7b
2021-06-08 14:53:18 +02:00
TheScarastic
b4c0800991
sm8250-common: fod: Prepare for displayfeature dim and hbm
...
Change-Id: I93790f33d8c694c47e030fec1bfdf2074c29f0e2
2021-06-08 14:53:18 +02:00
TheScarastic
06f816fd6b
sm8250-common: Add FODService
...
Change-Id: I34af976ce5c6cbaaa2a45c96374664119d6ac5c8
2021-06-08 14:53:18 +02:00
Sebastiano Barezzi
2a540b832e
sm8250-common: fod: Readd displayfeature hook
...
Change-Id: I34bbceae23f0d5b82de90f9606507dd507816d16
2021-06-08 14:53:18 +02:00
Sebastiano Barezzi
2fd2065970
sm8250-common: sepolicy: Bring back displayfeature policies
...
* FOD devices will use it, sigh
Change-Id: I2712a06f20a3b10c3b5666e1cd17b82f6374c783
2021-06-08 14:53:18 +02:00
Sebastiano Barezzi
7d367dd95a
sm8250-common: Don't override DEVICE_{MATRIX|MANIFEST}_FILE
...
* Allow device-specific manifests to be safely added
Change-Id: Iccafe8c8491219336389015af8caa2c7a700ff61
2021-06-08 14:53:18 +02:00
Sebastiano Barezzi
cee90aceae
sm8250-common: Use only full qualified name for manifest entries
...
* As recommended by Google for multiple different versions of the same HAL in VINTF manifests
* https://android.googlesource.com/platform/hardware/interfaces/+/master/drm/1.1/README.md#devices-launching-with-android-pie
Change-Id: I4922d72ab60ca1aae78c010aeb610f9bca9012cb
2021-06-08 14:53:02 +02:00