Connecting to Built-in ADB¶
This chapter teaches you how to connect to FIRERPA’s built-in ADB service, which is independent of the system’s ADB service and does not require you to enable developer mode on your device. Therefore, connecting to the built-in ADB requires you to first install the key, otherwise you will not have permission to connect. Below we introduce how to use the tool script. You should already know how to install through the API interface from the previous chapters.
Installing ADB Public Key¶
The following command will install your current local adb public key into the FIRERPA service.
python3 -u adb_pubkey.py install 192.168.1.2
Uninstalling ADB Public Key¶
The following command will uninstall your current local adb public key from the FIRERPA service.
python3 -u adb_pubkey.py uninstall 192.168.1.2
Connecting to ADB¶
After completing the above public key installation operation, you can execute the following command to connect to the built-in ADB service.
adb connect 192.168.1.2:65000