Connecting to the Built-in ADB¶
This chapter teaches you how to connect to FIRERPA's built-in ADB service. It operates independently 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 a public key; otherwise, you will not have permission to connect. Below, we will introduce how to do this using a utility script. You should have already learned how to install it via the API interface in the previous chapters.
Install ADB Public Key¶
The following command will install your current local machine's ADB public key into the FIRERPA service.
python3 -u adb_pubkey.py install 192.168.1.2
Uninstall ADB Public Key¶
The following command will uninstall your current local machine's ADB public key from the FIRERPA service.
python3 -u adb_pubkey.py uninstall 192.168.1.2
Connect to the Built-in ADB¶
After completing the public key installation above, you can execute the following command to connect to the built-in ADB service.
adb connect 192.168.1.2:65000