mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_stone
synced 2026-01-27 17:18:49 +00:00
stone: rootdir: give permissions to adjust vibration
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
This commit is contained in:
@@ -71,6 +71,10 @@ on post-fs
|
||||
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
|
||||
|
||||
# Allow system to adjust haptic level directly
|
||||
chown system system /sys/class/leds/vibrator/brightness
|
||||
chmod 0664 /sys/class/leds/vibrator/brightness
|
||||
|
||||
on early-boot
|
||||
# set RLIMIT_MEMLOCK to 64MB
|
||||
|
||||
@@ -63,6 +63,10 @@ on init
|
||||
|
||||
chown system system /sys/class/drm/card0/card0-DSI-1/hbm
|
||||
chmod 0664 /sys/class/drm/card0/card0-DSI-1/hbm
|
||||
|
||||
# Allow system to adjust haptic level directly
|
||||
chown system system /sys/class/leds/vibrator/brightness
|
||||
chmod 0664 /sys/class/leds/vibrator/brightness
|
||||
|
||||
on early-fs
|
||||
start vold
|
||||
|
||||
Reference in New Issue
Block a user