aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRGIB <gibellini.roberto@gmail.com>2016-12-22 00:53:23 +0100
committerRoberto Gibellini <gibellini.roberto@gmail.com>2016-12-21 16:09:44 -0800
commit154be4fde25351d145094023c26828986d8bc9b9 (patch)
tree261b7289c71073776283dc9713873b6e9acb0b0b
parentb3d1538da61a5a674214a94690f9c9eefcf2e9f9 (diff)
downloaddevice_samsung_kona-common-154be4fde25351d145094023c26828986d8bc9b9.zip
device_samsung_kona-common-154be4fde25351d145094023c26828986d8bc9b9.tar.gz
device_samsung_kona-common-154be4fde25351d145094023c26828986d8bc9b9.tar.bz2
kona-common : complete commonization for kona devices
Change-Id: I52e15dbf4d371080bcfcc33eae3d2f2d988f1b05
-rw-r--r--kona-common.mk15
-rw-r--r--rootdir/init.target.rc376
-rw-r--r--rootdir/ueventd.smdk4x12.rc164
3 files changed, 471 insertions, 84 deletions
diff --git a/kona-common.mk b/kona-common.mk
index d945c71..99a1d13 100644
--- a/kona-common.mk
+++ b/kona-common.mk
@@ -30,7 +30,13 @@ TARGET_HAS_CAM_FLASH := false
# Init files
PRODUCT_COPY_FILES += \
- $(LOCAL_PATH)/rootdir/fstab.smdk4x12:root/fstab.smdk4x12
+ $(LOCAL_PATH)/rootdir/fstab.smdk4x12:root/fstab.smdk4x12 \
+ $(LOCAL_PATH)/rootdir/init.target.rc:root/init.target.rc
+
+# Stock MM blobs
+PRODUCT_PACKAGES += \
+ libxml2 \
+ libprotobuf-cpp-full
# Packages
PRODUCT_PACKAGES += \
@@ -40,6 +46,7 @@ PRODUCT_PACKAGES += \
SamsungServiceMode \
Stk
+# Codecs
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/media_codecs.xml:system/etc/media_codecs.xml
@@ -61,6 +68,12 @@ PRODUCT_PACKAGES += \
libsecril-client \
libsecril-client-sap
+# Stock parameters
+PRODUCT_PROPERTY_OVERRIDES += \
+ ro.sf.hwrotation=270 \
+ ro.sf.lcd_density=213 \
+ ro.hdcp2.rx=tz
+
# Sensors
PRODUCT_PACKAGES += \
sensors.smdk4x12
diff --git a/rootdir/init.target.rc b/rootdir/init.target.rc
new file mode 100644
index 0000000..8fad3c1
--- /dev/null
+++ b/rootdir/init.target.rc
@@ -0,0 +1,376 @@
+############################
+on init
+############################
+
+# Missing symbols
+ export LD_SHIM_LIBS /system/lib/libsec-ril.so|libsamsung_symbols.so
+
+# Vibetonz
+ export VIBE_PIPE_PATH /dev/pipes
+ mkdir /dev/pipes 0771 system system
+
+# MACloader
+ rm /data/.cid.info
+ chown system system /efs/wifi/.mac.cob
+ chown system system /efs/wifi/.mac.info
+ chown system system /data/.cid.info
+ chmod 0666 /efs/wifi/.mac.cob
+ chmod 0666 /efs/wifi/.mac.info
+ chmod 0666 /data/.cid.info
+ copy /efs/wifi/.mac.cob /efs/wifi/.mac.info
+ write /data/.cid.info murata
+
+############################
+on post-fs-data
+############################
+
+# Qualcomm Modem requirement
+ mkdir /data/cp_log
+ chmod 0775 /data/cp_log
+ chown system radio /data/cp_log
+ mkdir /dev/block/modem
+ symlink /dev/block/platform/dw_mmc/by-name/m9kefs1 /dev/block/modem/m9kefs1
+ symlink /dev/block/platform/dw_mmc/by-name/m9kefs2 /dev/block/modem/m9kefs2
+ symlink /dev/block/platform/dw_mmc/by-name/m9kefs3 /dev/block/modem/m9kefs3
+ symlink /dev/block/platform/dw_mmc/by-name/ /dev/block/modem/dump_path
+ chown system radio /dev/block/modem/m9kefs1
+ chmod 0775 /dev/block/modem/m9kefs1
+ chown system radio /dev/block/modem/m9kefs2
+ chmod 0775 /dev/block/modem/m9kefs2
+ chown system radio /dev/block/modem/m9kefs3
+ chmod 0775 /dev/block/modem/m9kefs3
+ chown system radio /dev/block/modem/dump_path
+ chmod 0775 /dev/block/modem/dump_path
+ mkdir /firmware 0771 system system
+ chown system system /tombstones
+ chmod 0775 /tombstones
+ mkdir /tombstones/modem 0775 system system
+ mkdir /tombstones/lpass 0775 system system
+ mkdir /tombstones/wcnss 0775 system system
+ mkdir /tombstones/dsps 0775 system system
+ rmdir /tombstones/qcks
+ mkdir /tombstones/qcks 771 system system
+ rmdir /tombstones/efs
+ mkdir /tombstones/efs 771 system system
+ chown system radio /dev/block/platform/dw_mmc/by-name
+ chmod 0775 /dev/block/platform/dw_mmc/by-name
+
+# Qualcomm RIL
+# Create QMUX deamon socket area
+ mkdir /dev/socket/qmux_radio 0777 radio radio
+ chmod 2777 /dev/socket/qmux_radio
+ mkdir /dev/socket/qmux_audio 0777 media audio
+ chmod 2777 /dev/socket/qmux_audio
+ mkdir /dev/socket/qmux_gps 0777 gps gps
+ chmod 2777 /dev/socket/qmux_gps
+ chmod 660 /dev/socket/qmux_gps/qmux_client_socket
+ chmod 660 /dev/socket/qmux_gps/qmux_connect_socket
+
+# Allow QMUX daemon to assign port open wait time
+ chown radio radio /sys/devices/virtual/hsicctl/hsicctl0/modem_wait
+ chmod 666 /sys/devices/virtual/hsicctl/hsicctl0/modem_wait
+
+# Waketime fot fast dormancy
+ chown system radio /sys/devices/platform/mdm_hsic_pm0/waketime
+ chmod 0666 /sys/devices/platform/mdm_hsic_pm0/waketime
+ chown radio radio /sys/class/sec/switch/uart_sel
+ chown radio radio /sys/power/wake_lock
+ chown radio radio /sys/power/wake_unlock
+ chown radio radio /sys/devices/virtual/smdpkt/smdcntl0/open_timeout
+ chown radio radio /sys/module/f_rmnet/parameters/rmnet_ctl_ch
+ chown radio radio /sys/module/rmnet/parameters/rmnet_ctl_ch
+ chown radio radio /sys/class/sec/slot_switch/slot_sel
+ chown radio radio /sys/block/mmcblk0/device/name
+ chown radio radio /sys/block/mmcblk0/device/cid
+ chown radio radio /sys/module/rmnet_usb/parameters/dump_ctrl_msg
+ chown radio radio /sys/class/sec/sec_key/hall_irq_ctrl
+ chown radio radio /sys/devices/virtual/misc/multipdp/waketime
+ chmod 666 /sys/power/wake_unlock
+ chmod 666 /sys/class/sec/switch/uart_sel
+ chmod 666 /sys/block/mmcblk0/device/name
+ chmod 666 /sys/block/mmcblk0/device/cid
+ chmod 666 /sys/power/wake_lock
+ chmod 666 /sys/devices/virtual/smdpkt/smdcntl0/open_timeout
+ chmod 666 /sys/module/f_rmnet/parameters/rmnet_ctl_ch
+ chmod 666 /sys/module/rmnet/parameters/rmnet_ctl_ch
+ chmod 666 /sys/class/sec/slot_switch/slot_sel
+ chmod 666 /sys/module/rmnet_usb/parameters/dump_ctrl_msg
+ chmod 666 /sys/class/sec/sec_key/hall_irq_ctrl
+ chmod 666 /sys/devices/virtual/misc/multipdp/waketime
+
+# MTP device permission
+ chmod 0666 /dev/usb_mtp_gadget
+ chown system mtp /dev/usb_mtp_gadget
+
+# Permissions for Gscaler log level
+ chmod 0666 /sys/module/gsc/parameters/gsc_dbg
+
+# OTG_TEST
+ chown system radio /sys/class/host_notify/usb_otg/booster
+ chmod 0666 /sys/class/host_notify/usb_otg/booster
+
+# Input Events
+ chown system input /sys/class/input/input2/enable
+ chown system input /sys/class/input/input2/poll_delay
+ chown system input /sys/class/input/input2/delay
+ chown system input /sys/class/input/input3/enable
+ chown system input /sys/class/input/input3/poll_delay
+ chown system input /sys/class/input/input3/delay
+ chown system input /sys/class/input/input4/enable
+ chown system input /sys/class/input/input4/poll_delay
+ chown system input /sys/class/input/input4/delay
+ chown system input /sys/class/input/input5/enable
+ chown system input /sys/class/input/input5/poll_delay
+ chown system input /sys/class/input/input5/delay
+ chown system input /sys/class/input/input6/enable
+ chown system input /sys/class/input/input6/poll_delay
+ chown system input /sys/class/input/input6/delay
+ chown system input /sys/class/input/input7/enable
+ chown system input /sys/class/input/input7/poll_delay
+ chown system input /sys/class/input/input7/delay
+ chown system input /sys/class/input/input8/enable
+ chown system input /sys/class/input/input8/poll_delay
+ chown system input /sys/class/input/input8/delay
+ chown system input /sys/class/input/input9/enable
+ chown system input /sys/class/input/input9/poll_delay
+ chown system input /sys/class/input/input9/delay
+
+# Accelerometer_sensor
+ chown system radio /dev/accelerometer
+ chown system radio /sys/class/sensors/accelerometer_sensor
+ chown system radio /sys/class/sensors/accelerometer_sensor/raw_data
+ chown system radio /sys/class/sensors/accelerometer_sensor/calibration
+ chown system radio /sys/class/sensors/accelerometer_sensor/reactive_alert
+ chown system radio /sys/class/sensors/accelerometer_sensor/vendor
+ chown system radio /sys/class/sensors/accelerometer_sensor/name
+
+# Proximity_sensor
+ chown system radio /sys/class/sensors/proximity_sensor/state
+ chown system radio /sys/class/sensors/proximity_sensor/prox_avg
+ chown system radio /sys/class/sensors/proximity_sensor/prox_cal
+ chown system radio /sys/class/sensors/proximity_sensor/vendor
+ chown system radio /sys/class/sensors/proximity_sensor/name
+ chown system radio /sys/class/sensors/proximity_sensor/prox_thresh
+
+# Light_sensor
+ chown system radio /sys/class/sensors/light_sensor/lux
+ chown system radio /sys/class/sensors/light_sensor/raw_data
+ chown system radio /sys/class/sensors/light_sensor/vendor
+ chown system radio /sys/class/sensors/light_sensor/name
+
+# Grip_sensor
+ chown system radio /sys/class/sensors/grip_sensor/raw_data
+ chown system radio /sys/class/sensors/grip_sensor/threshold
+ chown system radio /sys/class/sensors/grip_sensor/calibration
+ chown system radio /sys/class/sensors/grip_sensor/onoff
+ chown system radio /sys/class/sensors/grip_sensor/vendor
+ chown system radio /sys/class/sensors/grip_sensor/name
+
+# Magnetic Sensor
+ chmod 0777 /dev/i2c-10
+ chown system radio /sys/class/sensors/magnetic_sensor/raw_data
+ chown system radio /sys/class/sensors/magnetic_sensor/selftest
+ chown system radio /sys/class/sensors/magnetic_sensor/vendor
+ chown system radio /sys/class/sensors/magnetic_sensor/name
+ chown system input /sys/class/input/input3/filter_enable
+ chown system input /sys/class/input/input3/filter_len
+ chown system input /sys/class/input/input3/data
+ chown system input /sys/class/input/input3/status
+ chown system input /sys/class/input/input3/wake
+ chown system input /sys/class/input/input3/position
+ chown system input /sys/class/input/input4/filter_enable
+ chown system input /sys/class/input/input4/filter_len
+ chown system input /sys/class/input/input4/data
+ chown system input /sys/class/input/input4/status
+ chown system input /sys/class/input/input4/wake
+ chown system input /sys/class/input/input4/position
+ chown compass input /sys/class/input/input4/offsets
+ chown compass input /sys/class/input/input4/dynamic_matrix
+ chown system input /sys/class/input/input4/threshold
+ chown system input /sys/class/input/input4/distortion
+ chown system input /sys/class/input/input4/shape
+ write /sys/class/input/input4/distortion "350 50 15"
+ write /sys/class/input/input4/static_matrix "10602 -980 25 -830 10470 -188 2753 1005 9019"
+ chown system input /sys/class/input/input5/filter_enable
+ chown system input /sys/class/input/input5/filter_len
+ chown system input /sys/class/input/input5/data
+ chown system input /sys/class/input/input5/status
+ chown system input /sys/class/input/input5/wake
+ chown system input /sys/class/input/input5/position
+ chown compass input /sys/class/input/input5/offsets
+ chown compass input /sys/class/input/input5/dynamic_matrix
+ chown system input /sys/class/input/input5/threshold
+ chown system input /sys/class/input/input5/distortion
+ chown system input /sys/class/input/input5/shape
+ write /sys/class/input/input5/distortion "350 50 15"
+ write /sys/class/input/input5/static_matrix "10602 -980 25 -830 10470 -188 2753 1005 9019"
+ chown system input /sys/class/input/input6/filter_enable
+ chown system input /sys/class/input/input6/filter_len
+ chown system input /sys/class/input/input6/data
+ chown system input /sys/class/input/input6/status
+ chown system input /sys/class/input/input6/wake
+ chown system input /sys/class/input/input6/position
+ chown compass input /sys/class/input/input6/offsets
+ chown compass input /sys/class/input/input6/dynamic_matrix
+ chown system input /sys/class/input/input6/threshold
+ chown system input /sys/class/input/input6/distortion
+ chown system input /sys/class/input/input6/shape
+ write /sys/class/input/input6/distortion "350 50 15"
+ write /sys/class/input/input6/static_matrix "10602 -980 25 -830 10470 -188 2753 1005 9019"
+ chown compass input /sys/class/input/input7/offsets
+ chown compass input /sys/class/input/input7/dynamic_matrix
+ chown system input /sys/class/input/input7/threshold
+ chown system input /sys/class/input/input7/distortion
+ chown system input /sys/class/input/input7/shape
+ write /sys/class/input/input7/distortion "350 50 15"
+ write /sys/class/input/input7/static_matrix "10602 -980 25 -830 10470 -188 2753 1005 9019"
+
+# GPIO DVS
+ chown radio system /sys/class/secgpio_check/secgpio_check_all/check_init_detail
+ chown radio system /sys/class/secgpio_check/secgpio_check_all/check_sleep_detail
+ chown radio system /sys/class/secgpio_check/secgpio_check_all/gpioinfo_check
+ chown radio system /sys/class/secgpio_check/secgpio_check_all/gpioinit_check
+ chown radio system /sys/class/secgpio_check/secgpio_check_all/gpiosleep_check
+
+# GPS
+ chown root system /dev/ttySAC1
+ chmod 0660 /dev/ttySAC1
+ chown root system /sys/class/sec/gps/GPS_PWR_EN/value
+ chmod 0664 /sys/class/sec/gps/GPS_PWR_EN/value
+ mkdir /data/system 0771 system system
+ chown system system /data/system
+ mkdir /data/system/gps 0771 system system
+ chown system system /data/system/gps
+ mkdir /vendor/etc 0771 system system
+ chown system system /vendor/etc
+ rm /data/system/gps/gps_started
+ rm /data/system/gps/glonass_started
+ rm /data/system/gps/beidou_started
+ rm /data/system/gps/smd_started
+ rm /data/system/gps/sv_cno.info
+# Create directories for gpsone_daemon services
+ mkdir /data/misc/gpsone_d 0770 system gps
+# Create directories for QuIPS
+ mkdir /data/misc/quipc 0770 system gps
+# Create directories for Location services
+ mkdir /data/misc/location 0770 gps gps
+ mkdir /data/misc/location/mq 0770 gps gps
+ mkdir /data/misc/location/xtwifi 0770 gps gps
+
+# Audio
+ mkdir /data/local/audio 0775 media audio
+ chown media audio /data/local/audio
+
+# Camera
+ 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
+
+# Permissions for Touchkey
+ chown system radio /sys/class/sec/sec_touchkey/touchkey_dummy_btn1
+ chown system radio /sys/class/sec/sec_touchkey/touchkey_dummy_btn3
+ chown system radio /sys/class/sec/sec_touchkey/touchkey_dummy_btn5
+ chown system radio /sys/class/sec/sec_touchkey/extra_button_event
+ chown system radio /sys/class/sec/sec_touchkey/touchkey_button_all
+ chown system radio /sys/class/sec/sec_touchkey/touchkey_threshold
+ chmod 0660 /sys/class/sec/sec_touchkey/extra_button_event
+
+# Permissions for Hall IC
+ chown system radio /sys/class/sec/sec_key/hall_detect
+
+# Battery node
+ chown system radio /sys/class/power_supply/battery/batt_error_test
+ chown system radio /sys/class/power_supply/battery/batt_slate_mode
+ chown system radio /sys/class/power_supply/battery/batt_temp_adc_cal
+ chown system radio /sys/class/power_supply/battery/batt_vf_adc
+ chown system radio /sys/class/power_supply/battery/batt_vol_adc
+ chown system radio /sys/class/power_supply/battery/batt_vol_adc_aver
+ chown system radio /sys/class/power_supply/battery/batt_vol_adc_cal
+ chown system radio /sys/class/power_supply/battery/batt_vol_aver
+ chown system radio /sys/class/power_supply/battery/factory_mode
+ chown system radio /sys/class/power_supply/battery/siop_activated
+ chown system radio /sys/class/power_supply/battery/siop_level
+ chown system radio /sys/class/power_supply/battery/update
+
+# IR_LED
+ chown system system /sys/class/sec/sec_ir/ir_send
+ chown system system /sys/class/sec/sec_ir/ir_send_result
+
+# SELinux
+ restorecon_recursive /data/system/gps
+ restorecon /data/system/yas*
+ restorecon /data/.cid.info
+ restorecon_recursive /efs
+ restorecon_recursive /tombstones/qcks
+
+############################
+on boot
+############################
+
+# Changing scheduler to noop during boot
+ write /sys/block/mmcblk0/queue/scheduler noop
+ write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor performance
+
+# Changing scheduler to cfq and reseting cpu min freq to -1 after boot complete
+on property:sys.boot_completed=1
+ write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor pegasusq
+ write /sys/block/mmcblk0/queue/scheduler cfq
+ write /sys/power/cpufreq_min_limit -1
+
+# epen
+ chown system system /sys/class/sec/sec_epen/epen_saving_mode
+ chmod 660 /sys/class/sec/sec_epen/epen_saving_mode
+
+# To prevent out of order acknowledgements from making
+# connection tracking to treat them as not belonging to
+# the connection they belong to.
+# Otherwise, a weird issue happens in which some long
+# connections on high-throughput links get dropped when
+# an ack packet comes out of order
+ write /proc/sys/net/netfilter/nf_conntrack_tcp_be_liberal 1
+
+############################
+# Services
+############################
+
+service cpboot-daemon /system/bin/cbd -d -t xmm6262 -p 7
+ class main
+ user root
+ group radio cache inet misc audio sdcard_rw log sdcard_r
+ seclabel u:r:cpboot-daemon:s0
+
+service geomagneticd /system/bin/geomagneticd
+ class main
+ user compass
+ group system input
+ seclabel u:r:geomagneticd:s0
+
+service gpsd /system/bin/gpsd -c /system/etc/gps.xml
+ class main
+ user gps
+ group system inet net_raw
+ ioprio be 0
+ seclabel u:r:gpsd:s0
+
+service orientationd /system/bin/orientationd
+ class main
+ user compass
+ group input
+ seclabel u:r:orientationd:s0
+
+service qc_kickstart /system/bin/qcks s
+ class core
+ user root
+ group radio cache inet misc audio sdcard_rw log
+ seclabel u:r:qc_kickstart:s0
+
+service qmiproxy /system/bin/qmiproxy
+ class main
+ user radio
+ group radio gps
+ seclabel u:r:qmiproxy:s0
+
+service qmuxd /system/bin/qmuxd
+ class main
+ user root
+ group radio log audio bluetooth gps log
+ seclabel u:r:qmuxd:s0
diff --git a/rootdir/ueventd.smdk4x12.rc b/rootdir/ueventd.smdk4x12.rc
index f073117..85d6e68 100644
--- a/rootdir/ueventd.smdk4x12.rc
+++ b/rootdir/ueventd.smdk4x12.rc
@@ -1,83 +1,81 @@
-/dev/mali 0666 system system
-/dev/ump 0666 system graphics
-/dev/ion 0666 system system
-/dev/exynos-mem 0666 system graphics
-
-/dev/media0 0660 system system
-/dev/media1 0660 system camera
-/dev/media2 0660 system camera
-/dev/v4l-subdev0 0660 system system
-/dev/v4l-subdev1 0660 system system
-/dev/v4l-subdev3 0660 system system
-/dev/v4l-subdev4 0660 system system
-/dev/v4l-subdev5 0660 system system
-/dev/v4l-subdev6 0660 system system
-/dev/v4l-subdev7 0660 system system
-/dev/v4l-subdev8 0660 system system
-/dev/v4l-subdev9 0660 system system
-/dev/v4l-subdev10 0660 system system
-/dev/v4l-subdev11 0660 system system
-/dev/v4l-subdev12 0660 system system
-/dev/v4l-subdev13 0660 system system
-/dev/v4l-subdev14 0660 system system
-/dev/v4l-subdev15 0660 system system
-/dev/v4l-subdev16 0660 system system
-/dev/v4l-subdev17 0660 system system
-
-/dev/video0 0660 system camera
-/dev/video1 0660 system camera
-/dev/video2 0660 system camera
-/dev/video3 0660 system camera
-/dev/video4 0666 system graphics
-/dev/video11 0666 system system
-/dev/video12 0666 system system
-/dev/video20 0660 system system
-/dev/video6 0660 media graphics
-/dev/video7 0660 media graphics
-
-/dev/video11 0666 system graphics
-/dev/video12 0660 system camera
-
-/dev/video16 0660 system system
-/dev/video17 0660 system system
-/dev/video18 0660 system system
-/dev/video19 0660 system system
-
-# Rotator
-/dev/video21 0660 system system
-
-/dev/video23 0660 system system
-/dev/video24 0660 system system
-/dev/video25 0660 system camera
-/dev/video26 0666 media graphics
-/dev/video29 0666 media graphics
-/dev/video32 0660 media graphics
-
-/dev/video33 0660 system system
-/dev/video34 0660 system system
-
-/dev/video40 0660 system camera
-/dev/video41 0660 system camera
-/dev/video42 0660 system camera
-/dev/video43 0660 system camera
-
-/dev/i2c-2 0660 system system
-/dev/i2c-5 0660 system system
-/dev/CEC 0660 system system
-/dev/HPD 0660 system system
-/dev/fimg2d 0666 system graphics
-/dev/fmradio 0660 system audio
-
-#ALP Audio
-/dev/srp 0660 system audio
-
-/dev/s3c-mfc 0666 system graphics
-/dev/s5p-mfc 0666 system graphics
-
-/dev/umts* 0660 system radio
-/dev/ttyUSB0 0666 system system
-/dev/ttyUSB1 0666 system system
-/dev/ttyUSB2 0666 system system
-/dev/usb/lp* 0660 system usb
-/dev/block/mmcblk0p4 0660 system system
-/dev/block/mmcblk0p7 0660 system radio
+/dev/mali 0666 system system
+/dev/ump 0666 system graphics
+/dev/ion 0666 system system
+/dev/exynos-mem 0660 system camera
+/dev/media0 0660 system system
+/dev/media1 0660 system camera
+/dev/media2 0660 system camera
+/dev/v4l-subdev0 0660 system system
+/dev/v4l-subdev1 0660 system system
+/dev/v4l-subdev3 0660 system system
+/dev/v4l-subdev4 0660 system system
+/dev/v4l-subdev5 0660 system system
+/dev/v4l-subdev6 0660 system system
+/dev/v4l-subdev7 0660 system system
+/dev/v4l-subdev8 0660 system system
+/dev/v4l-subdev9 0660 system system
+/dev/v4l-subdev10 0660 system system
+/dev/v4l-subdev11 0660 system system
+/dev/v4l-subdev12 0660 system system
+/dev/v4l-subdev13 0660 system system
+/dev/v4l-subdev14 0660 system system
+/dev/v4l-subdev15 0660 system system
+/dev/v4l-subdev16 0660 system system
+/dev/v4l-subdev17 0660 system system
+/dev/video0 0666 system system
+/dev/video1 0666 system camera
+/dev/video2 0666 system system
+/dev/video3 0666 system system
+/dev/video4 0666 system system
+/dev/video6 0660 media graphics
+/dev/video7 0660 media graphics
+/dev/video11 0666 system graphics
+/dev/video12 0660 system camera
+/dev/video16 0660 system system
+/dev/video17 0660 system system
+/dev/video18 0660 system system
+/dev/video19 0660 system system
+/dev/video20 0666 system system
+/dev/video21 0660 system system
+/dev/video23 0660 system system
+/dev/video24 0660 system system
+/dev/video25 0660 system camera
+/dev/video26 0666 media m2m
+/dev/video29 0666 media m2m
+/dev/video32 0660 media m2m
+/dev/video33 0660 system system
+/dev/video34 0660 system system
+/dev/video40 0660 system camera
+/dev/video41 0660 system camera
+/dev/video42 0660 system camera
+/dev/video43 0660 system camera
+/dev/i2c* 0660 system system
+/dev/CEC 0660 system system
+/dev/HPD 0660 system system
+/dev/fimg2d 0666 system graphics
+/dev/fmradio 0660 system audio
+/dev/srp* 0660 system audio
+/dev/s3c-mfc 0666 system graphics
+/dev/s5p-mfc 0666 system graphics
+/dev/ttyUSB0 0666 system system
+/dev/ttyUSB1 0666 system system
+/dev/ttyUSB2 0666 system system
+/dev/hsic* 0660 system radio
+/dev/usb/lp* 0660 system usb
+/dev/ttySAC* 0660 root system
+/dev/umts* 0660 system radio
+/dev/lte* 0660 system radio
+/dev/cdma* 0660 system radio
+/dev/link_pm 0660 system radio
+/dev/umts* 0660 system radio
+/dev/block/mmcblk0p4 0666 system radio
+/dev/block/mmcblk0p5 0666 system radio
+/dev/block/mmcblk0p6 0666 system radio
+/dev/block/mmcblk0p7 0660 system radio
+/dev/block/mmcblk0p8 0666 system system
+/dev/block/mmcblk0p10 0660 system radio
+/dev/block/mmcblk0p13 0666 system radio
+/dev/block/mmcblk0p14 0666 system radio
+/dev/mdm 0666 system radio
+/dev/diag 0666 system radio
+/dev/ttyGS* 0666 system system \ No newline at end of file