Preparing Additional Tools

These tools normally only work on Linux/Mac systems and are encapsulations of commonly used personal functions. They are not specifically designed to be compatible with Windows, but this does not mean FIRERPA is not supported. If you are using Windows, scripts ending with .sh may not work properly. Before starting, please ensure that the FIRERPA server is running on your device. Some command documents may be time-sensitive and updated at any time. To avoid version issues, please make sure to install the latest version of FIRERPA, its Python library, and dependency libraries on your phone before continuing. Some functions require using adb; please make sure the installed adb is the latest version.

Clone Tool Code

First, you need to execute the following command to download scripts and code for the relevant tools. We assume you have already installed the git tool.

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

Environment Setup

Before using the tools, you need to modify environment variables according to the server startup parameters, otherwise, the related tools cannot automatically match information you’ve modified such as ports, certificates, etc. If you have enabled encryption certificates on the server, you need to set your certificate path before use.

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

Or 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 / Mac
export PORT=8123
# For Windows (path cannot contain spaces)
set PORT=8123