LG8n: rootdir: Correct mode for video0 and video1

- init services fail to setup encoders on boot and camera and
  screenrecord fails to open video1 when trying to encode a video.
- While we may wanna consider looking through services that make use of
  these devs and correct their groups for AOSP, this gets the job done
  for now.

Change-Id: I0278efe201a9cbaa20c650fdc32bed6f9ecfd017
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
Kshitij Gupta 2020-06-01 14:48:11 +05:30 committed by Shirayuki39
parent 33f5215929
commit 21f9644fad

View file

@ -404,9 +404,9 @@ on post-fs-data
#v4l2 codec #v4l2 codec
chmod 0660 /dev/vcu chmod 0660 /dev/vcu
chown media system /dev/vcu chown media system /dev/vcu
chmod 0660 /dev/video0 chmod 0666 /dev/video0
chown media system /dev/video0 chown media system /dev/video0
chmod 0660 /dev/video1 chmod 0666 /dev/video1
chown media system /dev/video1 chown media system /dev/video1
mkdir /data/vendor/vcodec 0777 media system mkdir /data/vendor/vcodec 0777 media system
mkdir /data/vendor/vcodec/log 0770 media system mkdir /data/vendor/vcodec/log 0770 media system