Commit graph

470 commits

Author SHA1 Message Date
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
Alexander Koskovich e15d8c22a7 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
Shirayuki39 411f8b3cf0 LG8n: media: Kang media configs from X6837
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-18 19:51:10 +08:00
Connor O'Brien 47781bffd2 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 18:23:50 +08:00
Vaisakh Murali 9fd8bb7e48 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 e0dea60fb8 LG8n: rootdir: cleanup
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-18 18:16:24 +08:00
Shirayuki39 63a17d4548 LG8n: sepolicy: Fix fingerprint sepolicy x2
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-18 18:04:20 +08:00
Vaisakh Murali 9124c73a82 LG8n: rootdir: Elevate read permissions for mtk_cmdq and mdp_sync
Apparently on AOSP builds, these nodes when read by the hals
with O_RDONLY attribute, need an elevated read permission, which
is apparently unneeded on mtk builds/stock rom.

This fixes video playback/OMX

Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com>
Change-Id: I7f358d0037de569a4eb038e5ac2a17b7651d307d
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-18 18:00:40 +08:00