Commit graph

401 commits

Author SHA1 Message Date
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
Shirayuki39 892d0b7f55 LG8n: sepolicy: Fix fingerprint sepolicy
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-18 17:58:02 +08:00
Shirayuki39 7df2e9229d LG8n: sepolicy: remove get_prop from fingerprint
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-18 16:16:11 +08:00
Vaisakh Murali ee7ab520cf LG8n: Include c2 media codecs
Enables c2 codec detection

Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com>
Reviewed-on: https://review.statixos.com/c/android_device_xiaomi_cannon/+/6412
Reviewed-by: Vaisakh Murali <vaisakhmurali@gmail.com>
Tested-by: Vaisakh Murali <vaisakhmurali@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-18 15:57:30 +08:00
Shirayuki39 5abd04f064 LG8n: Reconfigure Media Stack
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-18 15:57:08 +08:00
Shirayuki39 d5d0aea1f6 LG8n: sepolicy: Address some hal_fingerprint_default denials
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-18 15:34:27 +08:00
Shirayuki39 5e0c4d318f LG8n: rootdir: fix permissions for mdp_sync
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-18 14:50:20 +08:00
Shirayuki39 64376196c8 LG8n: FrameworkResOverlay: Removed Color Modes Option
* Does not really work(Atleast on transsion amoled devices)

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-18 08:14:39 +08:00
Shirayuki39 5a1a290db4 LG8n: BoardConfig: fixups and change paths for modules
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-18 01:38:07 +08:00
Shirayuki39 8474c238c6 LG8n: Remove vpud_native
* Bruh I literally adapted this from stock

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 22:42:41 +08:00
Shirayuki39 31ad86123c LG8n: rootdir: fix mismerge and enable OTG on boot
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 22:29:31 +08:00
Shirayuki39 dc56dc78d0 Revert "LG8n: sepolicy: Address bip denials"
This reverts commit cb650b4462.
2024-07-17 21:56:40 +08:00
Shirayuki39 4efa4dd8e1 LG8n: BoardConfig: Fix SEPolicy path
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 21:23:08 +08:00
Shirayuki39 b828977ac8 LG8n: device.mk: Don't buld android.hardware.security.rkp-V*-ndk since we're not A14
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 20:37:27 +08:00
Shirayuki39 37cbecec07 LG8n: sepolicy: Address hal_health_default denials
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 20:16:03 +08:00
Shirayuki39 920ff040c9 LG8n: sepolicy: Address vpud_native denials
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 20:13:08 +08:00
Shirayuki39 df0b1236ae LG8n: sepolicy: Address system_server sysfs vibrator denials
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 20:11:08 +08:00
Shirayuki39 63d5dc5612 LG8n: sepolicy: Address Sensor Denials
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 20:08:43 +08:00
Shirayuki39 cb650b4462 LG8n: sepolicy: Address bip denials
06-28 19:04:00.929  1151  1151 I auditd  : type=1400 audit(0.0:59): avc: denied { read } for comm=bip name=u:object_r:net_dns_prop:s0 dev=tmpfs ino=234 scontext=u:r:bip:s0 tcontext=u:object_r:net_dns_prop:s0 tclass=file permissive=0
06-28 19:04:00.913     1     1 I auditd  : type=1400 audit(0.0:57): avc: denied { create } for comm=init name=bip_socket scontext=u:r:init:s0 tcontext=u:object_r:socket_device:s0 tclass=sock_file permissive=0

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 20:04:10 +08:00
Shirayuki39 78f4aad150 LG8n: Fix usb config
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 17:20:25 +08:00