0

I am currently working with lineage os 18.1 running on a raspberry pi 4(8GB RAM model) board. I need to look into the logs of the lineage os running on the Rpi board. For that, I need to work with ADB(Android Debug Bridge ) to view the logs on the RPi board. But, that requires USB debugging to be enabled. As Rpi4 doesn't have extra micro USB/USB-C to work with USB debugging. I tried getting the logs over wifi to my laptop. I tried all the ways in which I can get the logs over wifi too like wireless debugging, pairing.

adb connect ip-address of raspberry pi:port -- To connect over wifi

./adb pair ip-adress of raspberry pi:port -- using wireless pairing

With wifi, I was able to connect to my raspberry pi but the device status is shown as offline. I have seen that for configuring the ADB with the device over wifi, we need to connect the device to a laptop/PC over USB to make it work but unfortunately, Rpi doesn't have MicroUSB/USB-C to connect to my laptop. Is there any other way I can access the logs of raspberry pi 4 without USB? Any app suggestions for local ADB shell access(without root) are most welcome.

Thanks in advance.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.