Prepare Additional Tools

These tools are normally only compatible with Linux/Mac systems. They encapsulate commonly used personal functions and are not specifically designed for Windows compatibility—however, this does not mean that FIRERPA lacks Windows support. If you are using Windows, scripts ending in .sh may not function properly. Before getting started, ensure that the FIRERPA server is running on your device. Some command documentation may be time-sensitive and subject to updates. To avoid version-related issues, please make sure to install the latest version of FIRERPA, along with its Python libraries and dependencies, on your mobile device before proceeding. Certain features require the use of adb; please ensure that your installed adb version is up to date.

Clone Tool Code

First, run the following command to download the scripts and source code for the related tools. We assume that you have already installed git.

git clone https://github.com/firerpa/lamda.git

Tip

If git is not installed, download this file and extract it: https://github.com/firerpa/lamda/archive/refs/heads/master.zip

Install Required Dependencies

Navigate into the tools directory within the tool’s source code and install the required Python dependencies.

pip3 install -r requirements.txt

Attention

Our dependency file might not always be updated promptly. If you encounter missing dependency errors during usage, please resolve them manually.

Environment Setup

Before using the tools, you must adjust environment variables according to the server startup parameters; otherwise, the tools will not automatically detect custom settings such as port or certificate configurations. For example, if you have enabled an SSL certificate on the server side, you need to set the path to your certificate before use.

# For Linux / Mac
export CERTIFICATE=/path/to/lamda.pem
# For Windows (the path must not contain spaces)
set CERTIFICATE=C:\Users\path\to\lamda.pem

Alternatively, if you have changed the default port (65000) of the FIRERPA service, you must also set the corresponding port environment variable beforehand:

# For Linux / Mac
export PORT=8123
# For Windows (the path must not contain spaces)
set PORT=8123