mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-22 21:56:26 -08:00
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:
parent
33f5215929
commit
21f9644fad
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue