Commit graph

80 commits

Author SHA1 Message Date
fjrXTR e1561661ff LG8n: Build Power@1.3 libs
Change-Id: Ic242a0b918756ef04a13df968a40765f237b50ea
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:58:52 +08:00
LuK1337 45d53c66c1 LG8n: overlay-lineage: Configure aux camera for Aperture
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:54:34 +08:00
Albert I 680d853c77 LG8n: Inherit several Android Go configurations
Beneficial for everyone, even on non-Go devices.

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:52:26 +08:00
Shirayuki39 fd37a4aa71 LG8n: build some libs
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:50:37 +08:00
Matsvei Niaverau 7037643e96 LG8n: Build PowerOffAlarm
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:48:32 +08:00
AndroidHQ254 99e654cf0d LG8n: Import stock public.libraries.txt
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:41:07 +08:00
xyzuniverse d5c08685a6 LG8n: Build neuralnetworks
Change-Id: I73b2362019b0b3a7b5273736e1a48e610e89d41f
Signed-off-by: xyzuniverse <dev.xyzuniverse@gmail.com>
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:40:33 +08:00
bengris32 54d00be851 LG8n: Introduce Mediatek In-Call Service
* My attempt at fixing in call gain control on MediaTek devices.

* It attempts to replicate what the stock MediaTek framework does
  when controlling the volume of the earpiece speaker, since MTK's
  audio HAL is not able to set the gain of the speaker from the
  values sent by AOSP framework.

[LinkBoi00] Rebrand to Mediatek In-Call Service

Change-Id: I43f727f6fb73a0d38457a41a8361653d1d00e220
Signed-off-by: LinkBoi00 <linkdevel@protonmail.com>
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: xyzuniverse <dev.xyzuniverse@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:39:11 +08:00
bengris32 d21360b5a8 LG8n: Ship MediaTek cgroup/task_profiles configuration
* MediaTek ship their own modified task_profiles and use the V30 cgroups configuration.

Change-Id: I15245ea87b00925597db65f1564e808a094c937a
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:32:28 +08:00
Jiyong Park 7d59c4396b LG8n: power: Remove ndk_platform backend. Use ndk backend instead
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

Signed-off-by: xyzuniverse <dev.xyzuniverse@gmail.com>
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:26:43 +08:00
Shirayuki39 f9d86b2b82 LG8n: Import and build required blobs/libs
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:23:39 +08:00
Shirayuki39 f0f7db7bad LG8n: Switch to Prebuilt Lights Stack
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:16:56 +08:00
Shirayuki39 69fe8e6c1b LG8n: Switch to Prebuilt Vibrator Stack
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:15:14 +08:00
Shirayuki39 fefb71b596 LG8n: Build *-v31
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:13:34 +08:00
Shirayuki39 0afdaf3538 LG8n: Import Camera Stack
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:11:32 +08:00
fjrXTR 7ccbb1e4ba LG8n: Import missing permissions
Change-Id: I641df2c8e45f915ffdf9ec363393a9993a43ce6b
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:06:44 +08:00
Shirayuki39 11d49c89d3 LG8n: Import LG8n Audio and Bluetooth Blobs
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:06:14 +08:00
Shirayuki39 e4a5094e42 LG8n: Adapt for LG8n 2024-05-22 20:55:23 +08:00
Woomymy 650362d320 X6833B: Fix OTA post-install file system types
* On non-gms builds, /system is ext4, just use the variable set in
  BoardConfig.mk to configure postinstall

Signed-off-by: Woomymy <woomy@woomy.be>
Change-Id: I20407e3e6b34b143f88c5c8054e575ce2fa55684
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
bengris32 fedc3e881a X6833B: Configure vendor logtags
Change-Id: I83b1e3d5691c7c22a5fef5f03ce3172ac47298d3
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
bengris32 399d533b90 X6833B: Import stock CarrierConfig overlay
* Main carrier config from MtkCarrierConfig asset default_v2.9.3.xml,
  with vendor specific settings appended to the end.

[dodyirawan85 edits]: Originaly from xiaomi ruby adapted for our device, since i can't found anything on stock

Change-Id: I7bcb5f9714720e3b42b5b1e5dc13cfe4233ac874
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
dodyirawan85 a7646789d6 X6833B: Build system variant of libhidltransport
* Needed by IMS blobs

Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
bengris32 dcbc47dc22 X6833B: Configure MediaTek IMS stack
* Import required system IMS blobs from XOS X6833B-H894DEFGHI-T-GL-231102V2897.
* Set the default IMS implementation to com.mediatek.ims via overlay.
* Force enable IMS features via overlay and sysprops.
* Add MediaTek framework jars to bootjars.
* Copy priv-app permissions for MediaTek IMS.

Change-Id: Ie258bff336586919a1127c3f7241e3ef9d689dd5
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:28 +07:00
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 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 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
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
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
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 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
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 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
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
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 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