Commit graph

16 commits

Author SHA1 Message Date
Woomymy 7b306cad53 LG8n: Fixup SONAMES of moved libraries
* Required to pass check_elf_files
Signed-off-by: Woomymy <woomy@woomy.be>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 14:15:55 +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
bengris32 8d85348690 LG8n: Use enable instead of start for Neural Networks service
* The MTK Neural Networks service is started via a property trigger.
  This HAL starts a lot earlier than other HALs since it is started
  with start instead of enable, the difference between them being
  that start will immediately cause the service to try and start, while
  enable effectively removes the disabled attribute from the service
  (so in the case of a HAL, it will be started with all the other services
  in class hal instead of immediately).

* This initially didn't have any side effects until I noticed the Neural Networks
  service constantly crashing in offline charger mode. To fix this, simply
  convert the start command to an enable to ensure that this service is not
  only started at the right time (in class hal), but also only started when
  needed (and not in offline charger mode).

Change-Id: Iacf310fb2211117aaf028ad6bf0814a7d447cf53
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 08:07:12 +08:00
bengris32 f6be5fba9d LG8n: Patchelf C2 service to link against libavservices_minijail
* The libavservices_minijail_vendor library was substituted for
  the vendor variant of libavservices_minijail in Android 13.

* Patchelf the C2 service to link against libavservices_minijail
  instead of libavservices_minijail_vendor.

Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 08:06:27 +08:00
Woomymy b1ac6fcd17 LG8n: Use 64-bits c2 service
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 08:00:21 +08:00
AndroidHQ254 b7177b1ae1 LG8n: Link older libhidlbase & libbinder for PQ service
F linker  : CANNOT LINK EXECUTABLE /vendor/bin/hw/vendor.mediatek.hardware.pq@2.2-service: cannot locate symbol _ZN7android8String16aSEOS0_ referenced by /apex/com.android.vndk.v34/lib64/libhidlbase.so...
2024-07-17 07:46:45 +08:00
fjrXTR 05a580c10e LG8n: link older libutils for audio.primary.mt6789
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:28:11 +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
AndroidHQ254 d5053cc537 LG8n: Link older libhidlbase & libbinder for camerahalserver
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:26:05 +08:00
AndroidHQ254 257beb70cd LG8n: Link older libutils for camerahalserver 2024-07-17 07:25:30 +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 e4a5094e42 LG8n: Adapt for LG8n 2024-05-22 20:55:23 +08: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
SamarV-121 c1d70a0738 X6833B: Link older libutils for PQ HAL
* Abort message: 'incStrongRequireStrong() called on 0xb400007c5afa7250 which isn't already owned'

Change-Id: I7ea86d3d7c68ba183b4838cb1f35a9fc58cfbf67
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:03:31 +07:00
dodyirawan85 80a9d11b09 X6833B: Initial skeleton tree
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-13 01:10:17 +07:00