Using the Script Executor

The Script Executor enables you to execute shell scripts from within FX.

NOTE: Script execution should only be done by developers and knowledgeable enthusiasts.

Script execution can be useful if you are running a custom ROM or are making modifications to your phone as the root user. (Root is not required to run scripts.)

The Script Executor is also capable of creating launcher home-screen shortcuts to scripts.

Executing Scripts

To execute a script, simply open any file that ends with .sh. The Script Executor screen will appear, allowing you to review the script source. From this screen you may do the following:

Script Output

NOTE: the script executor is not an interactive terminal. It will run scripts and show their output, but you'll need to instead use a terminal emulator if you'd like to run interactive scripts.

Once you've tapped "Run", the script output screen will appear. The script output screen is divided into two panels, "Output" and "Error Output". You can long press on either panel to see it full-screen. You can tap the "Stop" button at any time to abort the script.

On the output screen, the menu contains various options for saving the output of the script, copying it to the clipboard, adding a homescreen launcher shortcut, and running the script another time. Tapping the "Scroll Lock" option in this menu will stop the output/error panels from automatically scrolling in new output.