For android, why not just add a command line in the settings page or something where you can just enter in the commands instead of having to open a separate window