avicii: Add support for OnePlus Camera & Gallery

* Apps repo: https://gitlab.com/Sanju0910/vendor_oneplus_apps

Co-authored-by: cjh1249131356 <cjh1249131356@gmail.com>
This commit is contained in:
Sanju0910
2022-08-16 18:30:30 +08:00
committed by psavarmattas
parent bc2f1a5993
commit a93459d56b
8 changed files with 105 additions and 0 deletions

View File

@@ -82,6 +82,8 @@ on fs
# Charger
write /proc/fastchg_fw_update 1
setprop vendor.boot.project_name ${ro.boot.project_name}
on post-fs
chmod 0755 /sys/kernel/debug/tracing

View File

@@ -58,6 +58,11 @@ on fs
restorecon_recursive /mnt/vendor/persist
mkdir /mnt/vendor/persist/data 0700 system system
mkdir /mnt/vendor/dsp 0770 root root
copy /vendor/dsp/cdsp/fastrpc_shell_3 /mnt/vendor/dsp/fastrpc_shell_3
chmod 0644 /mnt/vendor/dsp/fastrpc_shell_3
mount none /mnt/vendor/dsp/fastrpc_shell_3 /vendor/dsp/cdsp/fastrpc_shell_3 bind
on post-fs
# set RLIMIT_MEMLOCK to 64MB
setrlimit 8 67108864 67108864