Commit graph

327 commits

Author SHA1 Message Date
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
Shirayuki39 3a98bd9193 LG8n: overlay: Try to align the fingerprint hint arrow to the sensor
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-21 12:35:03 +08:00
Shirayuki39 2295811b01 LG8n: sepolicy: Address bip denials
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-21 10:17:23 +08:00
Shirayuki39 0cc0d97d3c LG8n: sepolicy: Address more hal_fingerpint denials
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-21 10:17:12 +08:00
Shirayuki39 95f35a9783 LG8n: overlay: Try to align the fingerprint hint arrow to the sensor
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-20 22:24:46 +08:00
Shirayuki39 d81885e963 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 97fe491810 LG8n: sepolicy: Address various hal_sensors_denials
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-20 20:05:16 +08:00
Shirayuki39 54d570f032 LG8n: sepolicy: Address various hal_fingerprint_denials
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>

#Attempt 3
2024-07-20 20:00:01 +08:00
Shirayuki39 9361f419fa LG8n: sepolicy: Address various mtk_hal_audio denials
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-20 19:53:47 +08:00
Shirayuki39 ab0a41cee7 LG8n: overlay: Try to make the arrow actually line up to the sensor
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-20 19:51:04 +08:00
Shirayuki39 ac0bc5d7c9 LG8n: overlay: Test config_sfps_sensor_props
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-20 13:12:41 +08:00
Shirayuki39 0a729a345c LG8n: sepolicy: Address various camera denials
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-20 13:08:01 +08:00
Shirayuki39 51ae0b6279 LG8n: props: Update props
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-20 11:53:17 +08:00
Shirayuki39 93e85ad564 LG8n: sepolicy: address some health hal denials
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-20 11:52:58 +08:00
Shirayuki39 97c03b13ed LG8n: overlay: Fixup SystemUI Overlays
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-20 00:47:47 +08:00
Shirayuki39 36666c0364 LG8n: overlay: Remove Values that does not exist in LG8n Stock
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-20 00:47:27 +08:00
Shirayuki39 efbaf2dfed LG8n: overlay: Reduce Landscape mode status bar height
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-19 22:09:53 +08:00
Shirayuki39 dafdfba29b Revert "LG8n: sepolicy: More fingerprint sepolicy fixes"
This reverts commit cff2119c81.
2024-07-19 21:47:53 +08:00
Shirayuki39 38b46b75eb LG8n: overlay: Fix dplicate conflicting values
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-19 21:43:50 +08:00
Shirayuki39 e39c4b7205 LG8n: overlay: Partial Overlay Rework
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-19 21:31:45 +08:00
Shirayuki39 cff2119c81 LG8n: sepolicy: More fingerprint sepolicy fixes
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-19 21:17:27 +08:00
Shirayuki39 64867ce514 LG8n: Actually build SystemUIOverlay
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-19 19:12:05 +08:00
Woomymy aa70fe8ee4 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 e4e0346934 LG8n: sepolicy: Remove error for hal_fingerprint
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-18 23:33:19 +08:00
Shirayuki39 67fd96acee LG8n: sepolicy: configure fingerprint sepolicy
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-18 22:49:18 +08:00
Shirayuki39 6494ca911b LG8n: Import missing libmtkperf_client_vendor blobs
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-18 22:48:44 +08:00