Shirayuki39
91db3fba0d
LG8n: sepolicy: Change mtk_hal_audio
...
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 02:52:36 +08:00
Shirayuki39
6012048c0b
LG8n: sepolicy: remove duplicate declaration of NVRAM prop
...
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 02:21:46 +08:00
Shirayuki39
159263e47c
LG8n: BoardConfig: Remove TARGET_POWERHAL_MODE_EXT
...
* Bleh
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 02:15:31 +08:00
fjrXTR
f59b8302af
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
d987c60bc8
LG8n: powerhint: Add DT2W
...
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 01:30:24 +08:00
DennySPB
c1a8129b34
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
2fd5542441
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
9fc02b86c1
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
e40c20ddce
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
156af5b10b
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
8c3ad5f633
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
92c8b70e95
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
911e71edaa
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
424f740c3b
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
41ee2f7d67
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
b18e5aea4d
LG8n: Nuke MTK PowerHAL and cleanup
...
* ref - xiaomi-mt6789-devs/android_device_xiaomi_yunluo@8361661
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 00:50:12 +08:00
fjrXTR
44ff68f84c
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
035c860c1a
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
2447ecc482
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
0db9def1aa
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
b2fd99ebbc
LG8n: Switch to prebuilt power-service-mediatek
...
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 00:36:05 +08:00
fjrXTR
216cd024cd
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
Shirayuki39
49cd637d8d
LG8n: Build libshim_sensors
...
* fck
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 00:31:19 +08:00
bengris32
5962efcd23
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
db5ad32b23
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
6ab546ca4a
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
d4aa606aea
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
070803da62
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
2dc1b3f96a
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
a732505aff
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
ed388ee2e3
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
7c44c6a656
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
cd5ff264b8
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
b85fcc002a
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
def306d7ac
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-25 23:23:11 +08:00
Shirayuki39
34d2097d01
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
f75af8a622
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
3bcbb93658
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
78b6cbc24b
LG8n: Set BUILD_BROKEN_VENDOR_PROPERTY_NAMESPACE
...
* Userspace blobs are still dependent on older props that do not pass the VTS test cases.
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-25 23:00:48 +08:00
fjrXTR
a777cf1e36
LG8n: Patch Keymint services
...
* This will be useful when updating to Android 14
Change-Id: I1892e9a15b2c10121581a7717a24eb6c64f849ef
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-25 22:59:32 +08:00
Shirayuki39
749d7d4521
LG8n: sepolicy: Label wakeup nodes
...
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-25 21:05:22 +08:00
Shirayuki39
8a2e1bb373
LG8n: sepolicy: Label wakeup26 node
...
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-25 02:02:35 +08:00
Shirayuki39
dcb586a583
LG8n: sepolicy: Address cameraserver denials
...
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-25 00:10:52 +08:00
Shirayuki39
dea38ce0eb
LG8n: sepolicy: Address system_suspend denials
...
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-25 00:06:21 +08:00
Shirayuki39
2c21867fef
LG8n: Update to LG8n-H891OPAeAf-S-GL-240531V2678
...
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-23 18:15:47 +08:00
Woomymy
fe8b176423
LG8n: sepolicy: Address init.insmod.sh denials
...
Change-Id: I2b858d17db6b8edf07f34f12f38342ae519056c8
Signed-off-by: Woomymy <woomy@woomy.be>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-22 00:59:03 +08:00
Shirayuki39
2ad6bd3256
LG8n: overlay: Move the fingerprint ripple a little lower
...
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-22 00:48:08 +08:00
Shirayuki39
e1066e77c3
LG8n: sepolicy: address hal_sensors denial relating to nvdata
...
07-21 14:22:10.256 966 966 I auditd : type=1400 audit(0.0:445): avc: denied { search } for comm=android.hardwar name=/ dev=sdc8 ino=2 scontext=u:r:hal_sensors_default:s0 tcontext=u:object_r:nvdata_file:s0 tclass=dir permissive=0
07-21 14:22:10.256 966 966 W android.hardwar: type=1400 audit(0.0:445): avc: denied { search } for name=/ dev=sdc8 ino=2 scontext=u:r:hal_sensors_default:s0 tcontext=u:object_r:nvdata_file:s0 tclass=dir permissive=0
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-21 19:31:50 +08:00
Shirayuki39
1c33b858dd
LG8n: sepolicy: remove vendor_transsion_fingerprint_prop
...
* This isn't needed at all
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-21 19:13:04 +08:00
Shirayuki39
0c7c7c38ab
LG8n: sepolicy: make hal_fingerprint shut the hell up already
...
* dontaudit because we'll get fcked by neverallow if we allow this
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-21 19:05:05 +08:00