aboutsummaryrefslogtreecommitdiff
path: root/com.github.remote-android.reandroid/run.sh
diff options
context:
space:
mode:
authoraxtloss <axtlos@tar.black>2022-10-15 15:24:47 +0200
committeraxtloss <axtlos@tar.black>2022-10-15 15:24:47 +0200
commitd507cad4751b625ab9089919271377315998d72b (patch)
tree764e15aa08af5d7a5d37219f39aa8248350bb98d /com.github.remote-android.reandroid/run.sh
parent15db8f29b673a7f1c3dd2592474421b29dd8795c (diff)
downloadflatpaks-d507cad4751b625ab9089919271377315998d72b.tar.gz
flatpaks-d507cad4751b625ab9089919271377315998d72b.tar.bz2
add com.github.remoteandroid.redroid
Diffstat (limited to 'com.github.remote-android.reandroid/run.sh')
-rw-r--r--com.github.remote-android.reandroid/run.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/com.github.remote-android.reandroid/run.sh b/com.github.remote-android.reandroid/run.sh
new file mode 100644
index 0000000..86310ba
--- /dev/null
+++ b/com.github.remote-android.reandroid/run.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/bash
+if [[ ! -d /dev/binderfs ]]; then
+ /app/bin/setup-binder
+fi
+sudo podman run -itd --rm --privileged -v ~/data:/data -p 5555:5555 docker.io/redroid/redroid:13.0.0-amd64 androidboot.use_memfd=true
+adb connect localhost:5555 2>&1 && adb connect localhost:5555
+scrcpy -s localhost:5555 2>&1 && scrcpy -s localhost:5555
+