Commit graph

377 commits

Author SHA1 Message Date
Shirayuki39 6fb14f6697 LG8n: Link to the correct shims for libcamera_metadata and libsource
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-31 01:34:22 +08:00
neroices e3c051f79e LG8n: sepolicy: Fix definition for storage_dbg_data_file 2024-07-30 21:49:57 +07: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
Giovanni Ricca 262dfe35ac LG8n: libshims: Add android::GraphicBufferMapper::unlock shim
* Commit Ib4590b7a3b839a993f6c747c5f09a6312f7ab329 modified
  GraphicBufferMapper::unlock overload. Create a shim to provide the old
  symbol for blobs that need it

Change-Id: I0e90ac0b383b05904df83076d990ad9335a40664
2024-07-28 19:50:28 +08:00
R0rt1z2 d5230ff22d LG8n:libshims: Add android::GraphicBufferMapper::lock shim
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-28 19:47:58 +08:00
Shirayuki39 773cecf070 LG8n: Add SEPolicy for vibrator-service.transsion
Co-authored-by: dodyirawan85 <dev.irawans@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-28 19:23:51 +08: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 a842cfee08 LG8n: configs: Nuke references to DTS Audio
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-28 16:01:20 +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 0d9acc1c18 LG8n: Nuke InCallService
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 04:52:38 +08:00
Shirayuki39 3d546047c1 LG8n: Build libshim_ui
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 04:21:42 +08:00
Shirayuki39 f4c66c2b9c LG8n: sepolicy: Change mtk_hal_audio to hal_audio_default
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 02:52:36 +08:00
Shirayuki39 a8a043661e LG8n: sepolicy: remove duplicate declaration of NVRAM props
* android_vendor_mediatek_sepolicy_vndr already has this covered for lineage-21 branch

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 02:22:28 +08:00
Shirayuki39 91837d2269 LG8n: BoardConfig: Remove TARGET_POWERHAL_MODE_EXT
* Bleh

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 02:15:31 +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
Georg Veichtlbauer 96d2a24a81 LG8n: powerhint: Add DT2W
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 01:30:24 +08:00
DennySPB 8db8995f19 LG8n: powerhint: Decrease launch boost to 3sec
* 5s is just too long

Change-Id: I7e037c45cd2296a8bbd67d6bd63c212c0ef2a805
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
2024-07-26 01:25:48 +08:00
Subhajeet Muhuri 067c3723d4 LG8n: powerhint: Drop PM QoS latency boosting
Change-Id: I683033dcbb12e27ccfbf21eff0b5c9bba0269089
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
2024-07-26 01:25:26 +08:00
Woomymy a39971faa7 LG8n: powerhint: Drop task_turbo and fix max bhr_opp value
Change-Id: Ic19a75aa731f0b5be9f36ca273ac573f7f0eb94a
Signed-off-by: Woomymy <woomy@woomy.be>
2024-07-26 01:25:06 +08:00
Woomymy 20c544a63e LG8n: powerhint: Lower interaction min frequencies
Change-Id: Iac66afb6e5570c72ce435ccf86eedac2fb922f0d
Signed-off-by: Woomymy <woomy@woomy.be>
2024-07-26 01:24:45 +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
Jesse Chan 9cc9e029ff LG8n: Initialize powerHAL when boot is completed
Change-Id: Iff72fa27b3b1df4d4c63cbc30876248e53188645
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 01:01:22 +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
ChrisCatto 07c8117b82 LG8n: Link mediatek camera provider against v32 libutils
* Abort message: 'incStrongRequireStrong() called on 0xb40000770d0587a0
  which isn't already owned'
* Required after U QPR3

Change-Id: Ie6ea7f331207f604cb87804c67f4de9fd9a60d76
Signed-off-by: ChrisCatto <chriscatto08@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 00:45:10 +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
Marc Bourgoin 406d69f353 LG8n: Fix audio on QPR3 with alsa audio
As of Android 14 QPR3, our device requires the use of
alsa audio,# otherwise audio HAL keeps crashing with
error unable to route audio and listAudioPorts failed

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 00:38:22 +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
fjrXTR e84bfecbd4 LG8n: Patchelf mnld to load libshim_sensors
Change-Id: I3f63ca6635976e5102a743c36b4156b7123deaa3
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 00:32:18 +08:00
bengris32 400b385c19 LG8n: Add developer GSI keys to fstab
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: I1cefad71b1b5fe18f92a4b931fcabfe2c9dcfa95
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 00:25:37 +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 3d085297a7 LG8n: Fix spacing in extract-files.sh and some other stuff
* The unaligned spacing is driving me nuts

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-25 23:57:16 +08:00
SGCMarkus 51a4e09c32 LG8n: Add security.rkp-V3 dependency to keymint service
The symbol _ZN4aidl7android8hardware8security7keymint29IRemotelyProvisionedComponent10descriptorE
was moved from android.hardware.security.keymint-V2-ndk to android.hardware.security.rkp-V3-ndk.

Change-Id: I7f3c40e3e8a2a848cdcb73e5232952f63681aa58
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-25 23:54:29 +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
LuK1337 0aba8c78c5 LG8n: Build libprotobuf-cpp-full-3.9.1-vendorcompat
Change-Id: I0aac742db9c2b4b3e48ee20158f19405863893c2
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-25 23:27:45 +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
Shirayuki39 6c9f0b3dea LG8n: vintf: remove android.hardware.boot from manifest
ERROR: files are incompatible:
 android.hardware.boot@1.0::IBootControl/default is deprecated; requires at least 1.2
    because it matches android.hardware.boot@1.0::IBootControl/default from /system/etc/vintf/compat
ibility_matrix.4.xml

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-25 23:19:37 +08:00
bengris32 81e8e111ac LG8n: Wrap Wi-Fi flags with quotation marks
Change-Id: I04d26ee28f72d4bea727f91df395c8bdb7db3237
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-25 23:18:46 +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