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>
This commit is contained in:
Vaisakh Murali 2022-11-07 15:21:03 +03:00 committed by Shirayuki39
parent 21f9644fad
commit 4a4d563117

View file

@ -369,7 +369,7 @@ on post-fs-data
chown system system /dev/mtk_mdp chown system system /dev/mtk_mdp
# MDP SYNC # MDP SYNC
chmod 0640 /dev/mdp_sync chmod 0644 /dev/mdp_sync
chown system system /dev/mdp_sync chown system system /dev/mdp_sync
# MML PQ # MML PQ