Last active
June 6, 2021 03:55
-
-
Save GluTbl/32a214c96dc12f3a7405e52380056551 to your computer and use it in GitHub Desktop.
[DroidVNC] #shell #linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Connecting to the adb of the droid" | |
adb connect 192.168.29.246 && | |
echo "Giving Accessibility Permision...." | |
adb shell "su -c 'settings put secure enabled_accessibility_services net.dinglisch.android.taskerm/net.dinglisch.android.taskerm.MyAccessibilityService:com.joaomgcd.autoinput/com.joaomgcd.autoinput.service.ServiceAccessibility:de.abr.android.avnc/de.abr.android.scclib.etc.AcService'" && | |
sleep 5 | |
echo "Launching app...." | |
adb shell am start -n de.abr.android.avnc/de.abr.android.avnc.activity.VncActivity && | |
echo | |
echo "Done" | |
echo | |
echo "The following command might be usefull:" | |
echo | |
echo "adb shell pidof de.abr.android.avnc" | |
echo | |
echo "adb shell netstat -lptn" | |
echo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment