From d1f367982d0076f4b6890437c8fac32fa34f907a Mon Sep 17 00:00:00 2001 From: Vaisakh Murali Date: Mon, 7 Nov 2022 15:21:03 +0300 Subject: [PATCH] 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 Change-Id: I7f358d0037de569a4eb038e5ac2a17b7651d307d Signed-off-by: fjrXTR Signed-off-by: Shirayuki39 --- rootdir/etc/init/hw/init.mt6789.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootdir/etc/init/hw/init.mt6789.rc b/rootdir/etc/init/hw/init.mt6789.rc index b40cf44..2d8d7b0 100644 --- a/rootdir/etc/init/hw/init.mt6789.rc +++ b/rootdir/etc/init/hw/init.mt6789.rc @@ -352,7 +352,7 @@ on post-fs-data chown system system /dev/mtk_mdp # MDP SYNC - chmod 0640 /dev/mdp_sync + chmod 0644 /dev/mdp_sync chown system system /dev/mdp_sync # MML PQ