Skip to content

Commit

Permalink
Camera permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
imilka committed Nov 1, 2012
1 parent cfbd754 commit c217150
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions init.smdk4x12.rc
Original file line number Diff line number Diff line change
Expand Up @@ -88,22 +88,19 @@ on post-fs-data
chmod 0644 /efs/redata.bin
chmod 0644 /efs/h2k.dat

# Camera firmware
mkdir /data/cfw 0775 system system
chown system media /data/cfw/SlimISP_GD.bin
chmod 0775 /data/cfw/SlimISP_GD.bin
chown system media /data/cfw/SlimISP_ZD.bin
chmod 0775 /data/cfw/SlimISP_ZD.bin

# Camera
mkdir /data/cfw 0775 system system

# Permissions for Camera
chown system radio /sys/class/camera/rear/rear_camfw
chown system radio /sys/class/camera/rear/rear_camtype
chown system radio /sys/class/camera/rear/rear_flash
chmod 0666 /sys/class/camera/rear/rear_flash
chown system radio /sys/class/camera/rear/isp_core
chown system radio /sys/class/camera/front/front_camfw
chown system radio /sys/class/camera/front/front_camtype
write /data/ISP_CV 1
chown system radio /sys/class/camera/flash/rear_flash
chown radio system /sys/devices/platform/samsung-pd.5/s3c-fimc.2/range_mode
chmod 0660 /sys/devices/platform/samsung-pd.5/s3c-fimc.2/range_mode

symlink /dev/block/mmcblk0p7 /dev/block/param

Expand Down

0 comments on commit c217150

Please sign in to comment.