summaryrefslogtreecommitdiff
path: root/patch
diff options
context:
space:
mode:
Diffstat (limited to 'patch')
-rw-r--r--patch/fstab2
-rw-r--r--patch/init4
-rw-r--r--patch/init.superuser5
-rw-r--r--patch/init.superuser.rc20
-rw-r--r--patch/init.tuna5
5 files changed, 36 insertions, 0 deletions
diff --git a/patch/fstab b/patch/fstab
new file mode 100644
index 0000000..d6c9449
--- /dev/null
+++ b/patch/fstab
@@ -0,0 +1,2 @@
+# USB storage device
+/devices/platform/omap/musb-omap2430/musb-hdrc auto auto defaults voldmanaged=usbdisk:auto
diff --git a/patch/init b/patch/init
new file mode 100644
index 0000000..c375fef
--- /dev/null
+++ b/patch/init
@@ -0,0 +1,4 @@
+# Execute files in /system/etc/init.d before booting
+service run-parts /sbin/bb/busybox run-parts /system/etc/init.d
+ class main
+ oneshot
diff --git a/patch/init.superuser b/patch/init.superuser
new file mode 100644
index 0000000..1f9da98
--- /dev/null
+++ b/patch/init.superuser
@@ -0,0 +1,5 @@
+# SuperSU daemonsu
+service daemonsu /system/xbin/daemonsu --auto-daemon
+ user root
+ group root
+
diff --git a/patch/init.superuser.rc b/patch/init.superuser.rc
new file mode 100644
index 0000000..fc6b6a2
--- /dev/null
+++ b/patch/init.superuser.rc
@@ -0,0 +1,20 @@
+# SuperSU daemonsu
+service daemonsu /system/xbin/daemonsu --auto-daemon
+ user root
+ group root
+
+# Superuser su_daemon
+service su_daemon /system/xbin/su --daemon
+ oneshot
+
+on property:persist.sys.root_access=0
+ stop su_daemon
+
+on property:persist.sys.root_access=2
+ stop su_daemon
+
+on property:persist.sys.root_access=1
+ start su_daemon
+
+on property:persist.sys.root_access=3
+ start su_daemon
diff --git a/patch/init.tuna b/patch/init.tuna
new file mode 100644
index 0000000..e3853c5
--- /dev/null
+++ b/patch/init.tuna
@@ -0,0 +1,5 @@
+service dvbootscript /sbin/dvbootscript.sh
+ class main
+ user root
+ group root
+ oneshot