TYPE3
[iec.git] / src / type3_AndroidCloud / anbox-master / scripts / load-kmods.sh
diff --git a/src/type3_AndroidCloud/anbox-master/scripts/load-kmods.sh b/src/type3_AndroidCloud/anbox-master/scripts/load-kmods.sh
new file mode 100644 (file)
index 0000000..12a98a9
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/sh -ex
+sudo rmmod binder_linux || true
+sudo rmmod ashmem_linux || true
+(cd kernel/binder ; make clean && make -j4 ; sudo insmod binder_linux.ko; sudo chmod 666 /dev/binder)
+(cd kernel/ashmem ; make clean && make -j4 ; sudo insmod ashmem_linux.ko; sudo chmod 666 /dev/ashmem)