rentgendroid/pre_android/preconf/docker-entrypoint.sh
Andrii Dokhniak 2a836ea6cb Manuall frida
2025-08-14 18:04:12 +02:00

28 lines
677 B
Bash

adb start-server
emulator -avd virtual_dev -writable-system -no-window -no-audio -memory 4096 &
adb wait-for-device
bash /preconf/install_frida.sh
bash /preconf/install_adidreader.sh
bash /preconf/install_culebra.sh
# Open google maps once, skip all the screens, and give it gps permissions
adb shell am start-activity com.google.android.apps.maps
sleep 8
adb shell input tap 268 49
sleep 4
adb shell input tap 290 323
sleep 6
adb shell input tap 147 413
sleep 10
adb shell am stop-app com.google.android.apps.maps
adb emu avd snapshot save configured
adb emu kill
#to let the host know it finished installing
install -m 777 /dev/null /preconf/finished
tail -f /dev/null