All pastes #2074424 Raw Edit

Stuff

public text v1 · immutable
#2074424 ·published 2011-06-04 03:21 UTC
rendered paste body
:/mnt/target/atrix/sbf$ diff -uN 1.2.6/CG56.img-ramdisk/init.rc 1.5.7/CG56.img-ramdisk/init.rc
--- 1.2.6/CG56.img-ramdisk/init.rc	2011-05-08 13:12:36.576016000 +0200
+++ 1.5.7/CG56.img-ramdisk/init.rc	2011-05-08 13:13:00.976175000 +0200
@@ -533,7 +533,9 @@
     # nvmap permissions
     chmod 666 /dev/nvmap
 
-    # nvos permissions
+    # nvos/knvos permissions
+    chmod 660 /dev/knvos
+    chown root system /dev/knvos
     chmod 666 /dev/nvos
 
     # nvhost permissions
@@ -707,6 +709,16 @@
     socket local_tcmd stream 0660 mot_tcmd mot_tcmd
     socket batch_socket stream 0600 mot_tcmd mot_tcmd
 
+service tcmdhelp /system/bin/tcmdhelp
+    class post-zygote_services
+    socket tcmdhelp stream 0600 mot_tcmd mot_tcmd
+    oneshot
+    disabled
+
+#execute tcmdhelp
+on property:tcmd.start_tcmdhelp=1
+    start tcmdhelp
+
 service ftmipcd /system/bin/ftmipcd
     class post-zygote_services
     user diag
@@ -904,6 +916,13 @@
 # This is product specific init script which will be appended to init.rc
 # after init.nv_common.rc. 
 on boot
+	chown system /dev/aes1750
+	chgrp system /dev/aes1750
+	chmod 0600 /dev/aes1750
+	chown system /data/am2data.db
+	chown system /data/am2data.db.meta
+	chgrp system /data/am2data.db
+	chgrp system /data/am2data.db.meta
 
 # OSH properties
     setprop sys.SystemMode RM_SM_MOBILE
@@ -954,6 +973,7 @@
 service fbcp /etc/init.d/start_fbcp.sh
     class pre-zygote_services
     user mot_osh
+    group mot_osh
     oneshot
 
 on property:dev.bootcomplete=1
@@ -983,6 +1003,8 @@
 
 # Fingerprint sensor daemon
 service am2server /system/bin/am2server
+	user system
+	group system inet
     class pre-zygote_services
 
 service loadpreinstalls /system/bin/logwrapper /system/bin/load_pia.sh