Flakie’s ADB GUI App
Version 2 released 21-Jan-2021
I manage lots of 4K devices for friends (and friends of friends) and family who are less techically minded.
Mostly setting up the alternative launcher and installing apps that are not available from the Amazon Appstore.
Although occasionally a visit is necessary I mostly do this remotely with ADB.
Getting fed up with manually typing the ADB commands and numerous typos I decided to write a simple ADB app to do this.
I used C# to do this using Microsoft Visual Studio 2019.
I included code in the my app to use the scrcpy remote control app.
After a few weeks of learning to code in C# (and with a lot of help on the stackoverflow site), Flakie’s ADB GUI, was born.
The app has been a great success for me and what used to take me hours is now achieved in a few minutes.
There is even an option to save a config file for each device you connect to (IP address, port, settings etc).
Version 2 has been released with a new look and an experimental ADB Shell feature (for manually entering ADB and ADB Shell commands). I say experimental but it works well for most simple commands.
It also has an integration with ngrok (an app that I have configured to access remote ADB devices, through the Internet, without using any port forwarding on a router).
This integration is optional and you can still use port forwarding (or any other remote method) if preferred, or just use on your LAN.
I am working on version 3 and there is a small writeup of the new features and a screenshot of my test version below (so you can get a feel of what it will look like). I aim to have it released before the end of March but this date is not written in stone.
To really take advantage of my app you should also download the scrcpy app.
Scrcpy ADB Remote Control App
No install is needed for Flakie ADB GUI or scrcpy. Unzip all the files in the scrcpy zip and place in a folder on your PC (I use c:\scrcpy but any folder is ok). For Flakie ADB GUI, Just unzip the exe into the same folder you unzipped scrcpy to (if using scrcpy, else put it in any folder you like).
Version 2: Flakie’s ADB GUI App v2
Old version 1 archived: Flakie’s ADB GUI App v1
ADB Shell Function Limitations
The adb shell feature is experimental (not all functions will currently work):
The following command/switches are not supported and will be stripped out if typed:
logcat (e.g. adb logcat) to view device log will not work.
Use ‘adb bugreport path\file’ instead (e.g. ‘adb bugreport c:\scrcpy\bugreport’) in the new ADB Shell option to save to a zip file.
-R (e.g. adb shell ls -R) to list subdirectories recursively will not work.
Others commands may cause the UI to hang if they pull lots of viewable text data.
New – Version 188.8.131.52 (Released February 21 2021)
Changes in Version 184.108.40.206
- Colour scheme changed from grey to blue and white.
- Window size increased slightly (to make room for new and future functions).
- Some items have been repositioned (to make room for new and future functions).
- Ability to maximise and change window size has been removed.
- Option to connect to ADB with an ngrok URL (free account only/no custom/subdomains) has been added.
- Ability to run custom ADB Shell commands (experimental and with some limitations) has been added.
- Video recording with scrcpy has been added. Videos will be saved in a video subfolder of the scrcpy folder (e.g. c:\scrcpy\video).
Video recorded with scrcpy can set file name and type (mp4 or mkv).
Date and time is also appended to file name.
- The scrcpy window will show IP address and port, or ngrok URL.
- Version info has been added to menu option.
- Connect to ADB on start has been removed as it caused some performace issues.
- Clicking on either of the Load Defaults on Start, Don’t Prompt to Exit or Enable Tooltips will automatically save that setting, as well as any other settings and configration (IP address, port, scrcpy screen resolution etc).
Bug Fixes in Version 220.127.116.11
All discovered and reported bug fixes have been fixed.
New functions may have added new bugs, especially in the ADB Shell feature, (I have fixed all I found). Please report any discovered.
Flakie ADB GUI Version 3 – Proposed Release Date: February/March 2021
Version 2 of Flakie ADB GUI app has just been released and I am already working on version 3.
Version 3 also has a few new features.
1. Make ngrok work with paid accounts and custom domains.
2. Extract an apk from you device (and have the option to save it with any file name).
2. Disable an apk on your device (including system apps with some limitations).
3. Enable an apk on your device.
4. List any disabled apk’s on your device.
5. Checkboxes to specify the location of ADB (and scrcpy).
a) Clicking the Env checkbox will attempt to use the environment variable for ADB and automatically save it for future use.
b) Clicking the scrcpy checkbox will attempt to find ADB and scrcpy in the folder you launched the app from and automatically save it for future use. This will be the recommended and most compatible method. If you use the Env option, there is always going to be a possibilty it will not be compatible with scrcpy (not an issue if you do not want to use scrcpy). Of course you can always save the scrcpy version of ADB in the Env variable.
This list is not set in stone and all the featues may not make it to the release and additonal features may be added.
Here is a preview image of how it will most likely look (this is from my test version):