muimota
Posts: 1
Joined: Fri Oct 04, 2019 12:23 pm

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

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!

fruitoftheloom
Posts: 23132
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

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

Fri Oct 04, 2019 6:38 pm

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:
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

User avatar
rpdom
Posts: 17029
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

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

Fri Oct 04, 2019 6:46 pm

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.
Unreadable squiggle

lmore3
Posts: 13
Joined: Tue Dec 22, 2015 6:38 am

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

Fri Oct 18, 2019 8:42 pm

Is there an error when you try to run adb manually?

Return to “Android”