Page 1 of 1

Android Debug Bridge (adb) on raspberry Pi Zero not working

Posted: Fri Oct 04, 2019 12:48 pm
by muimota
Hello
I'm doing a project similar to this one https://metabubble.net/android/how-to-a ... spberry_PI, in which I install the adb in raspberry pi to be able to read info from a phone. For the development I have used my raspi3 and everything works fine there. But when I put the card with all the code to the raspi zero 1.0 doesn't work.

To connect the telephone to raspi zero I have used an adapter usb OTG and connected to this the cable that works raspi3

Can you run adb on a raspi zero to control a phone?
Could the error be caused by the OTG cable?
Should I use any other cable?
Can raspi zero usb function as a host, like raspi3?
Could you suggest a solution?

thanks!

Re: Android Debug Bridge (adb) on raspberry Pi Zero not working

Posted: Fri Oct 04, 2019 6:38 pm
by fruitoftheloom
muimota wrote:
Fri Oct 04, 2019 12:48 pm
Hello
I'm doing a project similar to this one https://metabubble.net/android/how-to-a ... spberry_PI, in which I install the adb in raspberry pi to be able to read info from a phone. For the development I have used my raspi3 and everything works fine there. But when I put the card with all the code to the raspi zero 1.0 doesn't work.

To connect the telephone to raspi zero I have used an adapter usb OTG and connected to this the cable that works raspi3

Can you run adb on a raspi zero to control a phone?
Could the error be caused by the OTG cable?
Should I use any other cable?
Can raspi zero usb function as a host, like raspi3?
Could you suggest a solution?

thanks!

The Raspbery Pi Zero is ARMv6, Android requires ARMv7, hence why it works on your 3B :shock:

Re: Android Debug Bridge (adb) on raspberry Pi Zero not working

Posted: Fri Oct 04, 2019 6:46 pm
by rpdom
fruitoftheloom wrote:
Fri Oct 04, 2019 6:38 pm
The Raspbery Pi Zero is ARMv6, Android requires ARMv7, hence why it works on your 3B :shock:
ADB is not an Android program. It allows other systems to connect to an Android system and perform various tasks (including invoking a shell on the Android system).

I think it should work on a Pi Zero running Raspbian. I haven't checked it recently, but I am certain that I have used it with a Pi 1B in the past.

Re: Android Debug Bridge (adb) on raspberry Pi Zero not working

Posted: Fri Oct 18, 2019 8:42 pm
by lmore3
Is there an error when you try to run adb manually?