mirror of
https://github.com/team-infusion-developers/android_device_samsung_msm8976-common.git
synced 2024-10-31 19:37:46 +00:00
msm8976-common: rootdir: Add some permissions
This commit is contained in:
parent
86369a359e
commit
f3b8d66175
1 changed files with 91 additions and 0 deletions
|
@ -193,6 +193,97 @@ on boot
|
|||
chown system system /sys/class/leds/green/led_time
|
||||
chown system system /sys/class/leds/blue/led_time
|
||||
|
||||
# Permissions for Camera
|
||||
chown system system /sys/class/camera/rear/isp_core
|
||||
chown system system /sys/class/camera/rear/rear_camfw_full
|
||||
chown system system /sys/class/camera/rear/rear_camfw
|
||||
chown system system /sys/class/camera/rear/rear_camfw_load
|
||||
chown system system /sys/class/camera/rear/rear_camtype
|
||||
chown system system /sys/class/camera/rear/rear_checkfw_user
|
||||
chown system system /sys/class/camera/rear/rear_checkfw_factory
|
||||
chown system system /sys/class/camera/rear/rear_caminfo
|
||||
chown system radio /sys/class/camera/flash/rear_flash
|
||||
chown system system /sys/class/camera/rear/rear_fwcheck
|
||||
chown system radio /sys/class/camera/flash/rear_vendorid
|
||||
chown system system /sys/class/camera/front/front_camfw
|
||||
chown system system /sys/class/camera/front/front_camtype
|
||||
chown system system /sys/class/camera/front/front_camfw_full
|
||||
chown system system /sys/class/camera/front/front_camfw_load
|
||||
chown system system /sys/class/camera/front/front_checkfw_user
|
||||
chown system system /sys/class/camera/front/front_checkfw_factory
|
||||
chown system system /sys/class/camera/front/front_caminfo
|
||||
chown system system /sys/class/camera/rear/rear_calcheck
|
||||
chown system system /sys/class/camera/rear/rear_fwcheck
|
||||
chown system system /sys/class/camera/rear/rear_afcal
|
||||
chown system system /sys/class/camera/ois/ois_diff
|
||||
chown system system /sys/class/camera/ois/ois_exif
|
||||
chown system system /sys/class/camera/ois/ois_rawdata
|
||||
chown system system /sys/class/camera/ois/oisfw
|
||||
chown system system /sys/class/camera/ois/selftest
|
||||
chown system system /sys/class/camera/ois/load_fw
|
||||
chown system system /sys/class/camera/ois/ois_power
|
||||
|
||||
# Permissions for Vibrator
|
||||
chown system system /sys/class/timed_output/vibrator/enable
|
||||
chown system system /sys/class/timed_output/vibrator/intensity
|
||||
|
||||
# Permissions for Leds
|
||||
chown system system /sys/class/leds/keyboard-backlight/brightness
|
||||
chown system system /sys/class/leds/lcd-backlight/brightness
|
||||
chown system system /sys/class/leds/button-backlight/brightness
|
||||
chown system system /sys/class/leds/jogball-backlight/brightness
|
||||
chown system system /sys/class/leds/red/brightness
|
||||
chown system system /sys/class/leds/red/blink
|
||||
chown system system /sys/class/leds/green/brightness
|
||||
chown system system /sys/class/leds/green/blink
|
||||
chown system system /sys/class/leds/blue/brightness
|
||||
chown system system /sys/class/leds/blue/blink
|
||||
chown system system /sys/class/leds/red/device/grpfreq
|
||||
chown system system /sys/class/leds/red/device/grppwm
|
||||
chown system system /sys/class/leds/red/device/blink
|
||||
|
||||
# Permissions for LCD
|
||||
chown system system /sys/class/lcd/panel/adaptive_control
|
||||
chmod 0660 /sys/class/lcd/panel/adaptive_control
|
||||
|
||||
chown system system /sys/class/mdnie/mdnie/lcdtype
|
||||
chown system system /sys/class/mdnie/mdnie/lcd_power
|
||||
chown system media_rw /sys/class/mdnie/mdnie/scenario
|
||||
chmod 0660 /sys/class/mdnie/mdnie/scenario
|
||||
chown system system /sys/class/mdnie/mdnie/sensorRGB
|
||||
chmod 0660 /sys/class/mdnie/mdnie/sensorRGB
|
||||
chown system system /sys/class/mdnie/mdnie/mdnie_ldu
|
||||
chmod 0660 /sys/class/mdnie/mdnie/mdnie_ldu
|
||||
|
||||
chown system system /sys/class/mdnie/mdnie/tuning
|
||||
chown system media_rw /sys/class/mdnie/mdnie/outdoor
|
||||
chown system system /sys/class/mdnie/mdnie/mdnie_temp
|
||||
chown system media_rw /sys/class/mdnie/mdnie/mode
|
||||
chown system system /sys/class/mdnie/mdnie/negative
|
||||
chown system media_rw /sys/class/mdnie/mdnie/playspeed
|
||||
chown system media_rw /sys/class/mdnie/mdnie/accessibility
|
||||
chown system system /sys/class/mdnie/mdnie/cabc
|
||||
chown system system /sys/class/mdnie/mdnie/bypass
|
||||
|
||||
chown system system /sys/class/lcd/panel/panel/auto_brightness
|
||||
chown system system /sys/class/lcd/panel/window_type
|
||||
chown system system /sys/class/lcd/panel/cell_id
|
||||
chown radio system /sys/class/lcd/panel/power_reduce
|
||||
chown radio system /sys/class/lcd/panel/siop_enable
|
||||
chown radio system /sys/class/lcd/panel/temperature
|
||||
chown radio system /sys/class/lcd/panel/tuning
|
||||
chown radio system /sys/class/lcd/panel/lux
|
||||
chown system media_rw /sys/class/backlight/panel/weakness_hbm_comp
|
||||
|
||||
chown radio system /sys/class/lcd/panel/partial_disp
|
||||
chmod 0660 /sys/class/lcd/panel/partial_disp
|
||||
|
||||
chown system system /sys/class/backlight/panel/auto_brightness_level
|
||||
chmod 0660 /sys/class/backlight/panel/auto_brightness_level
|
||||
|
||||
chown system media_rw /sys/class/graphics/fb0/csc_cfg
|
||||
chmod 0660 /sys/class/graphics/fb0/csc_cfg
|
||||
|
||||
# msm specific files that need to be created on /data
|
||||
on post-fs-data
|
||||
# Create directory for TZ Apps
|
||||
|
|
Loading…
Reference in a new issue