Tool Preparation

These tools are designed to work on Linux/macOS systems under normal circumstances. They encapsulate commonly used personal functions and have not been specifically tested for Windows compatibility, but this does not mean FIRERPA does not support Windows. If you are using Windows, scripts ending with .sh may not work correctly. Before starting, please ensure that the FIRERPA server on your device is already running. Some command documentation may be updated at any time; to avoid version issues, please make sure you have installed the latest version of FIRERPA, its Python library, and dependency libraries on your phone before proceeding. Some functions require ADB, so please ensure that the installed ADB is the latest version.

Clone the Tool Code

First, execute the following command to download the scripts and code of the related tools. We assume you have Git installed.

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

Tip

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

Enter the tools directory in the tool source code and install the required Python dependencies.

pip3 install -r requirements.txt

Attention

Our dependency file may not be updated in a timely manner. If you are prompted that a dependency is not installed during use, please handle it yourself.

Environment Setup

Before using the tools, you need to set environment variables according to the server's startup parameters; otherwise, the related tools cannot automatically match the port, certificate, and other information you have modified. If you have enabled a service certificate on the server side, you need to set the certificate path before use.

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

Alternatively, if you have modified the default port (65000) of the FIRERPA service, you also need to set the port environment variable before use.

# For Linux/macOS
export PORT=8123
# For Windows (paths must not contain spaces)
set PORT=8123