Commit graph

125 commits

Author SHA1 Message Date
romgharti 4d2d2788ca LG8n: Build android.hardware.audio.sounddose-vendor-impl
E audiohalservice: Failed to dlopen android.hardware.audio.sounddose-vendor-impl.so: dlopen failed: library android.hardware.audio.sounddose-vendor-impl.so not found
W audiohalservice: createISoundDoseFactory() from android.hardware.audio.sounddose-vendor-impl failed
Signed-off-by: romgharti <romgharti@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-21 19:59:47 +08:00
Shirayuki39 1b7d96921a LG8n: Rename Overlays
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-17 18:48:46 +08:00
Shirayuki39 c881be6cb5 Revert "LG8n: Build and rename audio service HAL"
This reverts commit 09782b6996.
2024-08-14 15:10:41 +08:00
Shirayuki39 b0628dc486 LG8n: Import WifiResOverlay configs from Stock
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-05 20:03:18 +08:00
LuK1337 d30bee22d1 LG8n: Set default Settings.Global.DEVICE_NAME according to HiOS
HiOS uses ro.product.product.tran.device.name.default for default device name.

Change-Id: I310c1ffc581b72653783d1093d9e7ebde544bb16
Signed-off-by: dodyirawan85 <dev.irawans@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-02 01:26:30 +08:00
Shirayuki39 e70b0fe002 LG8n: Build additional libs
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-01 23:34:40 +08:00
Shirayuki39 8d2a640c64 LG8n: Build libperfctl_vendor
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-01 14:12:52 +08:00
Shirayuki39 7a59c97886 LG8n: Rearrange Soong Namespaces
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-31 21:44:47 +08:00
mikeNG 2bf82df18d LG8n: Build missing libraries for 14 QPR3
Fixes several issues:

No sim detected
Camera not opening
Storage not detecting (Neither accessible by any app)
No sound

Change-Id: I6a84526ca1e9f4e5140c8068646433cab3fe85b2
2024-07-30 21:41:34 +07:00
luk1337 92e30c2243 LG8n: Add libcamera_metadata shim for stripping out system camera cap
Change-Id: I8f7772fc9ec15a00c4b630866aa7fc162a52c1aa
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2024-07-30 21:34:24 +07:00
Shirayuki39 0cdaa64a10 LG8n: Switch to vibrator-service from hardware-transsion
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-28 18:30:41 +08:00
Shirayuki39 9ae5231ebf LG8n: Switch to AIDL health HAL
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-28 12:18:38 +08:00
xyzuniverse c7db86b356 LG8n: Switch to AIDL vibrator
Change-Id: I9b1ad902c6a34cd9916c06f586e8bf664a08aae1
Signed-off-by: xyzuniverse <dev.xyzuniverse@gmail.com>
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 12:37:35 +08:00
Shirayuki39 3d546047c1 LG8n: Build libshim_ui
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 04:21:42 +08:00
fjrXTR 9b6b86f0c7 LG8n: Switch to lineage-libperfmgr for Power service
* QPR3 KONTOL

Change-Id: I8282e47e543d4bc466a4bc464e1c5f61741d3a64
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 01:32:07 +08:00
Woomymy 524370028b LG8n: Kang powerhint from mt6768-common
* Imported from mt6768-common powerhint and initialy adapted for yunluo

Co-Authored-By: Matsvei Niaverau <matvej2002@gmail.com>
Co-Authored-By: Vaisakh Murali <mvaisakh@statixos.com>
Co-Authored-By: Woomymy <woomy@woomy.be>
Signed-off-by: Woomymy <woomy@woomy.be>
Change-Id: I45d501e7d9e7ff124db773cad3178a6698085053
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
2024-07-26 01:05:52 +08:00
Shirayuki39 be0b11cbce LG8n: Add hardware/mediatek/libmtkperf_client to Soong namespaces
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 00:54:23 +08:00
bengris32 e43518a854 LG8n: Build MediaTek libperfmgr
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 00:53:43 +08:00
fjrXTR 92d94be230 LG8n: Build stub mtkpower service
Change-Id: I6284e6f8a1d6ce7660502a0b553d0fa9824d6703
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 00:52:03 +08:00
bengris32 fd7ba12379 LG8n: Build dummy libmtkperf_client library
* Required for some vendor blobs that refuse to
  work without mtkpower

Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 00:51:11 +08:00
Shirayuki39 787658e184 LG8n: Drop MTK PowerHAL and cleanup
* ref - xiaomi-mt6789-devs/android_device_xiaomi_yunluo@8361661

Co-authored-by: Woomymy <woomy@woomy.be>
Co-authored-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 00:50:55 +08:00
fjrXTR c1bde76782 LG8n: Build Required libs for QPR3
* And Patch libcamera_metadata for Camera provider
* ref - Evilmove/android_device_spartan@55eb0b6 ObsidianMaximus/android_device_realme_sm8250-common@a0ed2f1

Change-Id: I4696adea73edc5a8cfe530df6d89c5b244009722
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 00:46:22 +08:00
fjrXTR 953bdcdccc LG8n: Build missing libraries on camera
* Required on A14 QPR3
* ref - StatiXOS/android_device_xiaomi_yunluo@fbd7104

Change-Id: Iedf6b29e9b814fbd8d24a1620af586eafd3aee46
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 00:42:14 +08:00
Shirayuki39 ae41a104d4 LG8n: Switch to prebuilt power-service-mediatek
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 00:36:05 +08:00
Bruno Martins 37f0c87ab5 LG8n: Patch libs for missing GraphicBufferMapper symbols
Change-Id: I1e79f01710433ceafb2a4b296a591cf910ee649f
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 00:24:12 +08:00
bengris32 f3432295ab LG8n: Build libwifi-hal-wrapper
Change-Id: I86e31ef7fe472941ba41181a66e6ee6e54d24570
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 00:17:55 +08:00
SamarV-121 e7ae2e2260 LG8n: Compile required vndk blobs to vendor
Change-Id: I39c214c263ed14dd61b8e9d4df79e9f6d0ad7032
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 00:17:11 +08:00
Shirayuki39 bbfa41d08e LG8n: device.mk: Build android.hardware.security.rkp-V*-ndk since we're A14 now
* Bomb

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-25 23:54:18 +08:00
basamaryan 2d1d1bdc2d LG8n: Don't explicitly include updatable_apex.mk
It is inherited by base_system.mk as of QPR2

Change-Id: I020a05b233f61ea28d03199cbc76051e6e97e1dc
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-25 23:45:22 +08:00
Woomymy 3121540319 LG8n: Link media.c2 service against v33 libstagefright_foundation
* Fixes crashes and high CPU usage

Change-Id: I60c07d10c2db9335d20c6dbaaaeacc9313aebf06
Signed-off-by: Woomymy <woomy@woomy.be>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-25 23:44:31 +08:00
Jooyung Han 10edf0f20e LG8n: Install bootcontrol HAL APEX
Bug: 297467553
Test: VtsHalBootAidlTargetTest
Change-Id: Id206966e9f181283082b85dadbf409e3bf4017db
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-25 23:25:33 +08:00
Woomymy cb60895bb0 LG8n: Add a shim to link sensor blobs against `android.hardware.sens…
…ors@1.0-convert`

* `libndksensorbridge` was converted to AIDL and is no longer linked to
  this static library that contains symbols required by our sensor
  blobs. Add a shim linked to `android.hardware.sensors@1.0-convert` to
  fix our sensors

Change-Id: I969f97bb15d0abcc71f87352722995db3826e122
Signed-off-by: Woomymy <woomy@woomy.be>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 00:31:19 +08:00
Gabriel Biren 4cec259394 LG8n: Update makefile to use the AIDL Wifi Vendor HAL.
Bug: 274964641
    Test: Pre-submit tests
    Change-Id: I4d9114377fe75b593bbfe6a59f03d8f5d607d6a1

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-25 23:17:15 +08:00
Shirayuki39 b03fd12f64 LG8n: overlay: Rework Overlays
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-20 00:47:47 +08:00
Woomymy d9a92609ae LG8n: Install charger res images to vendor
Signed-off-by: Woomymy <woomy@woomy.be>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-19 19:10:46 +08:00
Shirayuki39 84b9e7484c LG8n: device.mk: Don't build android.hardware.security.rkp-V*-ndk since we're in A13
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 20:37:27 +08:00
fjrXTR 79c4f8eda0 LG8n: build more media required libs
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 14:43:25 +08:00
Shirayuki39 a01fb4472b LG8n: Import and build some libs
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 14:42:17 +08:00
Shirayuki39 49c6737257 LG8n: Nuke AEE Init Scripts
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 14:28:58 +08:00
Shirayuki39 720dca65dc LG8n: Build some libs
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 14:13:09 +08:00
Shirayuki39 315f51d08c LG8n: Switch back to Stock USB HAL
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 14:10:04 +08:00
bengris32 677091e3f0 LG8n: Add shim for proprietary AudioTrack constructor
Change-Id: Icc7a1f9c748578f5b58499e7a76213673c4bcf54
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 08:27:20 +08:00
SamarV-121 f6ca203252 LG8n: Build and rename audio service HAL
[Woomymy]: Make it 64 bits for yunluo
Change-Id: Ia55929f56d2aef62dcea28487584c3c0afb7dab1
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 08:22:22 +08:00
Jaroslav Zviezda 606ad34fb7 LG8n: Enable DM file pre-opting to reduce first boot time
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 08:21:00 +08:00
Shirayuki39 f8a1575675 LG8n: update device.mk
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 08:08:42 +08:00
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