Merged differences from init scripts in fortunave3g tree
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc
index 5a207e8..9e0b7f0 100644
--- a/rootdir/etc/init.qcom.rc
+++ b/rootdir/etc/init.qcom.rc
@@ -29,6 +29,10 @@
 import init.target.rc
 
 on early-init
+	mkdir /firmware 0771 system system
+    mkdir /firmware-modem 0771 system system
+    #mkdir /system 0777 root root
+    symlink /data/tombstones /tombstones
     mount debugfs debugfs /sys/kernel/debug
     write /sys/block/mmcblk0/queue/scheduler noop
 # additionaly for init.trace.rc
@@ -36,6 +40,9 @@
     chown root shell /sys/kernel/debug/tracing/options/print-tgid
     chmod 0664 /sys/kernel/debug/tracing/options/print-tgid
 
+    chown system system /sys/kernel/debug/kgsl/proc
+    chmod 644 /proc/cmdline
+
 on init
     # Set permissions for persist partition
     mkdir /persist 0771 system system
@@ -75,6 +82,18 @@
     write /sys/kernel/boot_adsp/boot 1
 
 on boot
+	start rmt_storage
+    insmod /system/lib/modules/adsprpc.ko
+    # access permission for secure touch
+    chmod 0660 /sys/devices/soc.0/78b9000.i2c/i2c-5/5-0020/secure_touch_enable
+    chmod 0440 /sys/devices/soc.0/78b9000.i2c/i2c-5/5-0020/secure_touch
+    chmod 0660 /sys/devices/soc.0/78b9000.i2c/i2c-5/5-0070/secure_touch_enable
+    chmod 0440 /sys/devices/soc.0/78b9000.i2c/i2c-5/5-0070/secure_touch
+    chown system drmrpc /sys/devices/soc.0/78b9000.i2c/i2c-5/5-0020/secure_touch_enable
+    chown system drmrpc /sys/devices/soc.0/78b9000.i2c/i2c-5/5-0020/secure_touch
+    chown system drmrpc /sys/devices/soc.0/78b9000.i2c/i2c-5/5-0070/secure_touch_enable
+    chown system drmrpc /sys/devices/soc.0/78b9000.i2c/i2c-5/5-0070/secure_touch
+
     chown bluetooth bluetooth /sys/module/bluetooth_power/parameters/power
     chown bluetooth bluetooth /sys/class/rfkill/rfkill0/type
     chown bluetooth bluetooth /sys/class/rfkill/rfkill0/state
@@ -202,6 +221,7 @@
 
     # Allow access for CCID command/response timeout configuration
     chown system system /sys/module/ccid_bridge/parameters/bulk_msg_timeout
+    
 #
 # start qmuxd and qmiproxy for appropriate targets
 #
@@ -214,6 +234,18 @@
 on property:ro.baseband=unknown
     start qmuxd
 
+on fs
+#	mount_all fstab.qcom
+
+    chown system radio /efs
+    chmod 0771 /efs
+    rm -rf /efs/dmverity
+    restorecon -R /efs
+
+# fm_radio
+    chmod 0777 /dev/radio0
+    chown system system /dev/radio0	
+
 # msm specific files that need to be created on /data
 on post-fs-data
     # Create directory for TZ Apps