mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-10-01 01:35:54 -04:00
oneplus2 fix camera
This commit is contained in:
parent
1c9a66f896
commit
3052a52964
@ -258,6 +258,8 @@ enableVerity; #Resurrect dm-verity
|
|||||||
enterAndClear "device/oneplus/oneplus2";
|
enterAndClear "device/oneplus/oneplus2";
|
||||||
sed -i 's|etc/permissions/qti_libpermissions.xml|vendor/etc/permissions/qti_libpermissions.xml|' proprietary-files.txt;
|
sed -i 's|etc/permissions/qti_libpermissions.xml|vendor/etc/permissions/qti_libpermissions.xml|' proprietary-files.txt;
|
||||||
sed -i -e '/mm-pp-d/,+5d' rootdir/etc/init.qcom.rc;
|
sed -i -e '/mm-pp-d/,+5d' rootdir/etc/init.qcom.rc;
|
||||||
|
echo "allow mm-qcamerad camera_prop:file read;" >> sepolicy/mm-qcamerad.te;
|
||||||
|
echo "set_prop(mm-qcamerad, camera_prop)" >> sepolicy/mm-qcamerad.te;
|
||||||
|
|
||||||
enterAndClear "device/oneplus/sm8150-common";
|
enterAndClear "device/oneplus/sm8150-common";
|
||||||
enableVerity; #Resurrect dm-verity
|
enableVerity; #Resurrect dm-verity
|
||||||
|
Loading…
Reference in New Issue
Block a user