summaryrefslogtreecommitdiff
path: root/patch
diff options
context:
space:
mode:
authorosm0sis <osm0sis@outlook.com>2014-02-28 21:50:22 -0400
committerosm0sis <osm0sis@outlook.com>2014-02-28 21:50:22 -0400
commitad031d587e618a4f3a7febf3b15fcfea314cd3ff (patch)
treefc9a0b8624ea07a1d85324fecf146bab5a6a5c54 /patch
parent8ea8b14eb7206466992c436e02cc22a4f387de9a (diff)
AnyKernel 2.0: allow for ramdisk modifications
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