Commit graph

161 commits

Author SHA1 Message Date
dodyirawan85 70e7c64bbf X6833B: overlay: Show min refresh rate toggle
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
dodyirawan85 cb3e6c0ec2 X6833B: overlay: Define statusbar paddings and cutout
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
dodyirawan85 69fc1fe174 X6833B: overlay: Add brightness and power profile configs from stock
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
dodyirawan85 5f632b55a9 X6833B: Add keylayout file to map double tap event to wake
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
dodyirawan85 3aa2b1f112 X6833B: power: Adapt to our device usage
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
dodyirawan85 ba2741e9eb X6833B: Define tap to wake node
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
Arian 440e178dcb X6833B: Add power HAL extension and use xiaomi-touch to handle dt2w
Change-Id: I5c65e0df255853eb2b3018a27ceb807c111bc4df
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
dodyirawan85 b68902cc11 X6833B: Configure Apuware stack
Refs: 7a24215e7a/proprietary-files.txt (L14)

Co-authored-by: Woomymy <woomy@woomy.be>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
Jiyong Park 4502d0692b X6833B: gnss: Remove ndk_platform backend. Use the ndk backend.
The ndk_platform backend will soon be deprecated because the ndk backend
can serve the same purpose. This is to eliminate the confusion about
having two variants (ndk and ndk_platform) for the same ndk backend.

Bug: 161456198
Test: m
Merged-In: Id16039722fd70d4e2e934a0988f13a768ce833ec
Change-Id: Id16039722fd70d4e2e934a0988f13a768ce833ec
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
dodyirawan85 dca4eaa102 X6833B: Configure GNSS stack
* Reference: 32c01723d3

Co-authored-by: electimon <electimon@gmail.com>
Co-authored-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
dodyirawan85 89adb47547 X6833B: Configure Neural Networks stack
Refs:
* 20a5cd3523
* 7a24215e7a/proprietary-files.txt (L7521)

Co-authored-by: bengris32 <bengris32@protonmail.ch>
Co-authored-by: Woomymy <woomy@woomy.be>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
bengris32 3a7d1a3ade X6833B: Import Widevine DRM blobs
Change-Id: Ia8706a1435c5386331c3fce0f600f03f7aefe96e
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
bengris32 d9a12303d7 X6833B: Fallback to HIDL Clearkey HAL
Change-Id: Ide5cd400b8261ecbddaf55ef6ef6b0a33e59c2d2
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
Bruno Martins 6a76c095f3 X6833B: Build AIDL ClearKey DRM HAL
Change-Id: Iad5cc1176978137c647069197b33f49fb4d98ab2
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
bengris32 6aee8c69cc X6833B: Clean up USB init rc and remove uneeded special vendor functions
Change-Id: I282135678f4931f81469272109b7286efb92026b
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
bengris32 481e664097 X6833B: rootdir: Remove bypass USB mode
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: Ib885e119cdcd67f0ab15588095a94eed2c95e5cf
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
dodyirawan85 7cf250e318 X6833B: Configure thermal stack
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
dodyirawan85 40867b6a97 X6833B: Build transsion usb hal
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
dodyirawan85 1a1754044a X6833B: Configure Media stack
* References: 1cba75df74

Co-authored-by: electimon <electimon@gmail.com>
Co-authored-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
Sebastiano Barezzi 8739c09edc X6833B: Enable vendor RIL service
* We use Mediatek's RIL implementation

Change-Id: I8ca9fcf2afd335ca8f9c7901efa74cddae34708f
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
kunal 9a9df7231f X6833B: Append time on output zip
* helps to differentiate different builds done in the same date

Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
dodyirawan85 4ec1fdbcc1 X6833B: Configure Fingerprint stack
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
dodyirawan85 423659adc2 X6833B: Configure Secure Element stack
Refs: 62511f5114

Co-authored-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
dodyirawan85 9b5848a12c X6833B: Configure offline charging
Refs:
436747685d
0951b5b378

Co-authored-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:13:59 +07:00
dodyirawan85 9469383b0d X6833B: Configure Radio/IMS stack
Refs: 98ebd44a6a

Co-authored-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:13:50 +07:00
Woomymy f5223e0f35 X6833B: Install all modules to vendor
Signed-off-by: Woomymy <woomy@woomy.be>
Change-Id: Ife7242c9e3e733436739aa94ed2fb359a316177c
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:13:09 +07:00
dodyirawan85 0de96303d2 X6833B: Configure NFC stack
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:13:08 +07:00
dodyirawan85 c2cd472aab X6833B: Build AIDL vibrator hal
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:12:57 +07:00
dodyirawan85 4151f02f80 X6833B: Build AIDL light hal
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:12:57 +07:00
dodyirawan85 b608c8138c X6833B: Include hardware/transsion soong namespace
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:12:57 +07:00
dodyirawan85 5dc023f260 X6833B: Pull connectivity blobs
Refs: e05e05f7cd

Co-authored-by: Sushrut1101 <guptasushrut@gmail.com>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:12:57 +07:00
bengris32 24bfc6be8c X6833B: Drop deprecated MediaTek Bluetooth Audio 2.1 implementation
Change-Id: I20aafe8fd4f5af38033dcc789d00d9d9a6c09aa0
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:12:57 +07:00
bengris32 eca6680bf3 X6833B: Configure Fuelgauge stack
* Reference: https://github.com/moto-common/android_device_mediatek_common/blob/master/vendor/fuelgauge/4.19/proprietary-files.txt

Change-Id: Ic2ce5edf52e69b798c0b16010c4d59fc613ff128
Co-authored-by: electimon <electimon@gmail.com>
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:12:57 +07:00
TheMalachite 4abe19d90e X6833B: rootdir: Fixup /data/vendor/audiohal directories creation
- Set correct perm for /data/vendor/audiohal
- Create /data/vendor/audiohal/audio_param for shut logspam about it

Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:12:57 +07:00
dodyirawan85 8121103783 X6833B: Copy required feature permissions
Refs: e0423bf75f

Co-authored-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:12:57 +07:00
bengris32 b67eacd0c8 X6833B: Import AEE blobs
* Quite a few HALs such as Audio, Camera and RIL depend on these
  blobs. Fortunately we can get away with just importing just these
  blobs instead of the entire AEE stack.

Change-Id: I83a82e04156aa5efe692892ade7e868931c18d44
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:12:57 +07:00
dodyirawan85 f221093e08 X6833B: Configure NVRAM stack
Refs: c94ea4a3cc

Co-authored-by: electimon <electimon@gmail.com>
Co-authored-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:12:55 +07:00
Josh Wu 3bd5cb997b X6833B: Switch BtAudio to AIDL
Test: m
Bug: 203490261

Change-Id: I80eced28790a15ad5485c9780ccf5812ab75dc1d
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:12:42 +07:00
bengris32 94e76e82af X6833B: Import Bluetooth A2DP blobs
* Dependency of Audio stack.

Change-Id: I99c0a380f2ef37df8a6186eab67897e5ddea3019
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:12:42 +07:00
dodyirawan85 2bd6390627 X6833B: Configure Bluetooth stack
Refs: 8162996196

Co-authored-by: electimon <electimon@gmail.com>
Co-authored-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:12:28 +07:00
dodyirawan85 f401f30c14 X6833B: Configure Sensors stack
Refs: 3bf7b31611

Co-authored-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:11:38 +07:00
bengris32 8551890ccc X6833B: Switch to prebuilt libwifi-hal
* Reference: https://github.com/moto-common/android_device_mediatek_common/tree/master/vendor/wlan

* Perhaps it will help with the Wi-Fi scanning issues,
  and intermittent disconnections we're having. Besides,
  we can't legally use the OSS one anyway.

Change-Id: I9bbf289ad88a12bbdc68ab0abdee410678bf1420
Co-authored-by: electimon <electimon@gmail.com>
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:11:18 +07:00
dodyirawan85 5a3219062d X6833B: Configure Wi-Fi stack
Refs: c0fb62cdc9

Co-authored-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:11:17 +07:00
dodyirawan85 c2abe75e9d X6833B: Configure TEE stack
Refs: fc96a49e41/proprietary-files.txt (L2218)

Co-authored-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:10:59 +07:00
dodyirawan85 3bdc1968d8 X6833B: Configure keymint stack
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:10:39 +07:00
dodyirawan85 59562c7f2d X6833B: Configure keymaster stack
Refs:
  https://github.com/nashc-dev/android_device_realme_nashc/tree/lineage-20
  8488358d93

Co-authored-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:10:38 +07:00
dodyirawan85 626802d56e X6833B: Configure Gatekeeper stack
Reference: 92e9728591

Co-authored-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:10:19 +07:00
bengris32 36ca054d30 X6833B: Build android.hidl.allocator@1.0 vendor variant
* Dependency of PQ HAL.

Change-Id: I6050c49755c93ac24f62ca7ea0f0a1ea96e477cd
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:10:19 +07:00
Davide Garberi 06bf29b379 X6833B: Add libhwbinder and libhidltransport vendor lib
Change-Id: I7044b92fe012ace6005e1a3ae8534e9167da15ce
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:10:19 +07:00
dodyirawan85 1d3a267c6b X6833B: Configure audio stack
* References
  8e94cbd6b0
  https://github.com/xiaomi-mt6789-devs/android_device_xiaomi_yunluo/blob/lineage-20/Android.mk

Co-authored-by: electimon <electimon@gmail.com>
Co-authored-by: bengris32 <bengris32@protonmail.ch>
Co-authored-by: Woomymy <woomy@woomy.be>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:08:53 +07:00