Package: droid
DroidDroid is a remote communication application created to communicate with Android devices on the local network over the Android debug bridge (adb). Droid allows you to completely control the Android device using multiple options, including a CLI and a GUI.IMPORTANT NOTE: Script does require Android debug bridge (adb) to be installed on the system.InstallDroid can be installed viapip:pipinstalldroidSimple usagedroid-ip127.0.0.1-cOptions-h,   --help	    |	Help menu
-v,   --version	    |	Version information for Droid
-ip,  --ip_address  |   IP address of the Android device
-up,  --upload      |   Absolute path of the APK to upload (ex: ~/Downloads/ApkName.apk)
-rm,  --remove      |   Removes the old APK with the same package name (requires the -p flag)
-c,   --connect     |   Connects to the Android device (requires the -ip flag)
-d,   --disconnect  |   Disconnects from the Android device
-r,   --reboot      |   Remotely reboots the Android device
-p,   --package     |   The package name of the APK you would like to replace (ex: com.android.ui)
-dn,  --download    |   Download a file from the Android device
-f,   --file        |   Name of the file on your local machine (ex: ~/Downloads/ApkName.apk)
-fs,  --file_system |   Name & location of the file on the Android device
-loc, --location    |   Location on the Android device to push or remove the selected file (ex: /sdcard/Downloads)
-rmf, --rmfile      |   Remove a file from the Android device (set the absolute path using -loc)
-bl,  --bluetooth   |   Start or stop bluetooth service for the Android device
-w,  --wifi         |   Start or stop wifi service for the Android device
-s,  --screenshot   |   Take a screenshot of the current Android screen
-o,  --output       |   Name of the output file when taking a screenshot (omit the extension)
-l,  --log          |   Outputs Logcat logs in real time to a set file
-g,  --gui          |   A graphical user interface built to communicate with an Android device
-co   --content     |   Update a file on the Android device without downloading itI would recommend running this command before doing anything else to confirm you can successfully connect to the Android device on your networkdroid-ip127.0.0.1-cExample(s)This example connects to the Android device (127.0.0.1), removes the specified APK package (com.android.ui), and then uploads a new APK calledtest_apk_v1.apkdroid-ip127.0.0.1-c-rm-pcom.android.ui-up~/Downloads/test_apk_v1.apkThis example downloads a test images from the Android device onto your local machine (automatically saves it in the ~/Downloads folder on most platforms)droid-ip127.0.0.1--download/sdcard/cool_pic.pngOnce you're finished working within the environment, you can run this command to disconnect from the Android device:droid-ip127.0.0.1-dWe now have the option to control the bluetooth service on Android devices. You canstartthe service by running this command (stopping the service uses thestopargument):droid-ip127.0.0.1-bl=startYou canstopthe service by running this command (starting the service uses thestartargument):droid-ip127.0.0.1-w=stopNOTE: When turning the wifi off, if you are communicating with the Android device remotely, this will result in the device being disconnected and unusable until the network is re-established.This command will take a screenshot of the current Android screen while monitoring Logcat in real-time:droid-ip127.0.0.1-sl-oscreenshotGUIYou can now double-click the Droid icon to run it on most platformsIf you would like to run the GUI, you can run this command to boot it up. Almost all CLI options are available in the GUI:droid# ordroid-g