mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_rosemary
synced 2026-01-27 13:35:09 +00:00
rosemary: 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
This commit is contained in:
committed by
Matsvei Niaverau
parent
e8ea3644fa
commit
0bed5f53a4
@@ -457,11 +457,11 @@ on post-fs-data
|
|||||||
setrlimit 8 -1 -1
|
setrlimit 8 -1 -1
|
||||||
|
|
||||||
# CMDQ
|
# CMDQ
|
||||||
chmod 0640 /dev/mtk_cmdq
|
chmod 0644 /dev/mtk_cmdq
|
||||||
chown system system /dev/mtk_cmdq
|
chown system system /dev/mtk_cmdq
|
||||||
|
|
||||||
# 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
|
||||||
|
|
||||||
#OFFLOAD SERVICE
|
#OFFLOAD SERVICE
|
||||||
|
|||||||
Reference in New Issue
Block a user