Skip to content

Commit fb51112

Browse files
committed
Merge branch 'release/0.2.2'
2 parents b7eccb0 + 2d209bc commit fb51112

9 files changed

Lines changed: 203 additions & 45 deletions

File tree

examples/hidden-activity/init.d/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
#!/usr/bin/env bash
33

4-
wget https://github.com/SECFORCE/droidground-samples/releases/download/v0.1.0/hidden-activity-flag.apk
4+
wget https://github.com/SECFORCE/droidground-samples/releases/download/v0.1.2/hidden-activity-flag.apk
55
adb shell pm uninstall com.droidground.hiddenactivity
66
echo "Sleep for 2 seconds before installing app"
77
sleep 2
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# The ./init.d folder should contain the "setup.sh" and "reset.sh" scripts
2+
3+
services:
4+
docker-android:
5+
image: halimqarroum/docker-android:api-33
6+
devices:
7+
- /dev/kvm
8+
ports:
9+
- 5555:5555 # No need to expose this, but it's useful for debugging purposes
10+
container_name: docker-android
11+
droidground:
12+
build: ../..
13+
container_name: droidground
14+
restart: on-failure
15+
ports:
16+
- 4242:4242
17+
volumes:
18+
- ./init.d:/init.d
19+
environment:
20+
- DROIDGROUND_APP_PACKAGE_NAME=com.droidground.multistep
21+
- DROIDGROUND_ADB_HOST=localhost
22+
- DROIDGROUND_ADB_PORT=5037
23+
- DROIDGROUND_DEVICE_TYPE=network
24+
- DROIDGROUND_DEVICE_HOST=docker-android
25+
- DROIDGROUND_DEVICE_PORT=5555
26+
- DROIDGROUND_INIT_SCRIPTS_FOLDER=/init.d
27+
- DROIDGROUND_HOST=0.0.0.0
28+
- DROIDGROUND_PORT=4242
29+
- DROIDGROUND_SHUTDOWN_DISABLED=true
30+
- DROIDGROUND_APP_MANAGER_DISABLED=true
31+
- DROIDGROUND_FRIDA_DISABLED=true
32+
- DROIDGROUND_START_RECEIVER_DISABLED=true
33+
- DROIDGROUND_START_SERVICE_DISABLED=true
34+
- DROIDGROUND_TERMINAL_DISABLED=true
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# This example is specific for Debian, run the following commands before starting the compose:
2+
# modprobe binder_linux devices=binder1,binder2,binder3,binder4,binder5,binder6
3+
# chmod 666 /dev/binder*
4+
#
5+
# You may find the Redroid deploy instructions for other distros here: https://github.com/remote-android/redroid-doc/tree/master/deploy
6+
#
7+
# The ./init.d folder should contain the "setup.sh" and "reset.sh" scripts
8+
9+
services:
10+
redroid:
11+
privileged: true
12+
volumes:
13+
- /dev/binder1:/dev/binder
14+
- /dev/binder2:/dev/hwbinder
15+
- /dev/binder3:/dev/vndbinder
16+
ports:
17+
- 5555:5555 # No need to expose this, but it's useful for debugging purposes
18+
container_name: redroid14
19+
image: redroid/redroid:14.0.0-latest
20+
droidground:
21+
build: ../..
22+
container_name: droidground
23+
restart: on-failure
24+
ports:
25+
- 4242:4242
26+
volumes:
27+
- ./init.d:/init.d
28+
environment:
29+
- DROIDGROUND_APP_PACKAGE_NAME=com.droidground.multistep
30+
- DROIDGROUND_ADB_HOST=localhost
31+
- DROIDGROUND_ADB_PORT=5037
32+
- DROIDGROUND_DEVICE_TYPE=network
33+
- DROIDGROUND_DEVICE_HOST=redroid
34+
- DROIDGROUND_DEVICE_PORT=5555
35+
- DROIDGROUND_INIT_SCRIPTS_FOLDER=/init.d
36+
- DROIDGROUND_HOST=0.0.0.0
37+
- DROIDGROUND_PORT=4242
38+
- DROIDGROUND_SHUTDOWN_DISABLED=true
39+
- DROIDGROUND_APP_MANAGER_DISABLED=true
40+
- DROIDGROUND_FRIDA_DISABLED=true
41+
- DROIDGROUND_START_RECEIVER_DISABLED=true
42+
- DROIDGROUND_START_SERVICE_DISABLED=true
43+
- DROIDGROUND_TERMINAL_DISABLED=true
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# This example is specific for Ubuntu, run the following commands before starting the compose:
2+
# # install required kernel modules
3+
# apt install linux-modules-extra-`uname -r`
4+
# modprobe binder_linux devices="binder,hwbinder,vndbinder"
5+
# # optional module (removed since 5.18)
6+
# modprobe ashmem_linux
7+
#
8+
# You may find the Redroid deploy instructions for other distros here: https://github.com/remote-android/redroid-doc/tree/master/deploy
9+
#
10+
# The ./init.d folder should contain the "setup.sh" and "reset.sh" scripts
11+
12+
services:
13+
redroid:
14+
privileged: true
15+
ports:
16+
- 5555:5555 # No need to expose this, but it's useful for debugging purposes
17+
container_name: redroid14
18+
image: redroid/redroid:14.0.0-latest
19+
droidground:
20+
build: ../..
21+
container_name: droidground
22+
restart: on-failure
23+
ports:
24+
- 4242:4242
25+
volumes:
26+
- ./init.d:/init.d
27+
environment:
28+
- DROIDGROUND_APP_PACKAGE_NAME=com.droidground.multistep
29+
- DROIDGROUND_ADB_HOST=localhost
30+
- DROIDGROUND_ADB_PORT=5037
31+
- DROIDGROUND_DEVICE_TYPE=network
32+
- DROIDGROUND_DEVICE_HOST=redroid
33+
- DROIDGROUND_DEVICE_PORT=5555
34+
- DROIDGROUND_INIT_SCRIPTS_FOLDER=/init.d
35+
- DROIDGROUND_HOST=0.0.0.0
36+
- DROIDGROUND_PORT=4242
37+
- DROIDGROUND_SHUTDOWN_DISABLED=true
38+
- DROIDGROUND_APP_MANAGER_DISABLED=true
39+
- DROIDGROUND_FRIDA_DISABLED=true
40+
- DROIDGROUND_START_RECEIVER_DISABLED=true
41+
- DROIDGROUND_START_SERVICE_DISABLED=true
42+
- DROIDGROUND_TERMINAL_DISABLED=true
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
#!/usr/bin/env bash
3+
4+
adb shell pm uninstall com.droidground.multistep
5+
echo "Sleep for 2 seconds before installing app"
6+
sleep 2
7+
echo "Installing app..."
8+
# No need to download again the apk
9+
adb install ./multi-step-flag.apk
10+
echo "Install command executed"
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
#!/usr/bin/env bash
3+
4+
wget https://github.com/SECFORCE/droidground-samples/releases/download/v0.1.2/multi-step-flag.apk
5+
adb shell pm uninstall com.droidground.multistep
6+
echo "Sleep for 2 seconds before installing app"
7+
sleep 2
8+
echo "Installing app..."
9+
adb install ./multi-step-flag.apk
10+
echo "Install command executed"

package-lock.json

Lines changed: 61 additions & 42 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)