Hi I’m just getting my head around using ADB on a Raspberry pi (Buster OS)
It has been many years since I used ADB on a Windows to Samsung.
The phone does not need to be rooted or OEM unlocked
It does require enabling Developer options > USB debugging
I downloaded the adb files to the Rasp-pi via terminal commands
sudo apt install android-tools-adb android-tools-adbd android-tools-fastboot android-tools-fsutils android-tools-mkbootimg
- Connect cable Rasp- pi USBA to FP3 USBC.
Using Rasp-pi terminal
- Get the device ID via terminal by typing
- To connect to phone type
adb –s <device_ID> tcpip 5555.
If there is only one device
adb tcpip 5555will do
The phone should ask to confirm the connection
- Get IP address from Settings >About phone > Ip address
You can now remove the cable.
- Back to terminal and type
adb connect <IP Address>:5555
adb connect 192.168.###.###:5555
You should now have wifi connection.
To do the above I followed [android-adb-over-wifi]