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
Shirayuki39
e4089ddbb1
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
276b027fd2
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
7bcbb87deb
LG8n: sepolicy: Label wakeup nodes
...
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-25 21:05:22 +08:00
Shirayuki39
428b81a16c
LG8n: sepolicy: Address cameraserver denials
...
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-25 00:10:52 +08:00
Shirayuki39
f883f75d76
LG8n: sepolicy: Address system_suspend denials
...
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-25 00:06:21 +08:00
Shirayuki39
c86561c87c
LG8n: Update to LG8n-H891OPAeAf-S-GL-240531V2678
...
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-23 18:15:47 +08:00
Woomymy
a4f3c339d3
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
3b375ccce4
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
fc09780094
LG8n: sepolicy: Address bip denials
...
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-21 10:17:23 +08:00
Shirayuki39
baab82b9da
LG8n: sepolicy: Address various system_server denials relating to vibrator
...
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-20 20:09:22 +08:00
Shirayuki39
3ca43995d3
LG8n: sepolicy: Address various hal_sensors_denials
...
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-20 20:05:16 +08:00
Shirayuki39
08b1bd6f15
LG8n: sepolicy: Address various mtk_hal_audio denials
...
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-20 19:53:47 +08:00
Łukasz Patron
6b0098d172
LG8n: overlay: Configure side fingerprint sensor properties
...
Change-Id: I75ba312895d18eae8c89db4dbb24a6945bad9860
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-22 00:48:08 +08:00
Shirayuki39
5c82417099
LG8n: sepolicy: Address various camera denials
...
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-20 13:08:01 +08:00
Shirayuki39
c4d8e5488e
LG8n: props: Update props
...
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-20 11:53:17 +08:00
Shirayuki39
f1acdd089a
LG8n: sepolicy: address some health hal denials
...
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-20 11:52:58 +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
b0e7bdf546
LG8n: Import missing libmtkperf_client_vendor blobs
...
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-18 22:48:44 +08:00
Alexander Koskovich
2cf73cb3d2
LG8n:Don't override PRIVATE_BUILD_DESC.
...
* Doesn't appear to be used by anything relevant and
it's been marked forever as do not parse, so we don't
need the stock one at least.
Change-Id: I8fdfc1f738fede9675de739ef13cd8bfd9fefab2
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-18 21:01:27 +08:00
Connor O'Brien
7788694b2d
LG8n: power: Set up and down rate limits for schedutil & sugov_ext
...
Use the same rate limits as wahoo for now.
[Woomy]: Set the rate limits for sugov_ext when it's loaded
Bug: 73168288
Test: boot and check nodes
Change-Id: I311d33580e68dd6cfec2a49f2738b6d06509f419
Signed-off-by: Connor O'Brien <connoro@google.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-18 19:51:10 +08:00
Vaisakh Murali
b58642a2e8
LG8n: Enable stune boost for top-app
...
Reduce the top-app latencies by enabling top-app boosting.
Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com>
Change-Id: I14d740559f4e913855b897bcf9060069d32f9df7
Signed-off-by: HELLINFIX <mridulsharma57570@gmail.com>
Signed-off-by: xyzuniverse <dev.xyzuniverse@gmail.com>
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-18 18:19:38 +08:00
Shirayuki39
22aff0bab1
LG8n: rootdir: cleanup init.mt6789.rc
and remove unused aee init script
...
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-18 18:16:24 +08:00