mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_rosemary
synced 2026-01-27 13:35:09 +00:00
rosemary: 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
This commit is contained in:
committed by
Matsvei Niaverau
parent
f1976cb3e3
commit
25e13e931a
@@ -490,9 +490,9 @@ on post-fs-data
|
|||||||
#VideoCodec
|
#VideoCodec
|
||||||
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 mediacodec system /dev/video0
|
chown mediacodec system /dev/video0
|
||||||
chmod 0660 /dev/video1
|
chmod 0666 /dev/video1
|
||||||
chown mediacodec system /dev/video1
|
chown mediacodec system /dev/video1
|
||||||
mkdir /data/vendor/vcodec 0770 media system
|
mkdir /data/vendor/vcodec 0770 media system
|
||||||
mkdir /data/vendor/vcodec/log 0770 media system
|
mkdir /data/vendor/vcodec/log 0770 media system
|
||||||
|
|||||||
Reference in New Issue
Block a user