adb for Android


7 posts
by ottaky » Sat May 19, 2012 6:45 am
Hi all ..

.. just wondering if anybody has compiled a adb binary for ARM that they would be willing to share.

I have zero experience in cross-compiling, so maybe somebody can save me hours of heartache? ;-)

Cheers!
Posts: 2
Joined: Sat May 19, 2012 6:36 am
by fodi » Tue May 22, 2012 6:41 pm
just found this, you might want to give it a shot
User avatar
Posts: 112
Joined: Wed Mar 14, 2012 9:03 pm
Location: Hungary
by ottaky » Sun May 27, 2012 7:40 am
fodi wrote:just found this, you might want to give it a shot


Excellent - thanks very much!

I downloaded this adb binary ..

http://fieldeffect.info/w/Beagleboard_Notes?action=AttachFile&do=view&target=adb

.. dropped it into /usr/local/bin, added ..

Code: Select all
/etc/udev/rules.d/99-android.rules


.. containing ..

Code: Select all
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"


.. restarted udev and I'm in ..

Code: Select all
pi@raspberrypi:~$ adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
SH24RW114116    device


And USB tethering looks like it might almost be working too.
Posts: 2
Joined: Sat May 19, 2012 6:36 am
by wollac11 » Sun Jul 15, 2012 9:30 pm
ottaky wrote:And USB tethering looks like it might almost be working too.

This already works with a bit of tweaking, I've used it myself. See here: viewtopic.php?f=28&t=6543

I've also found a fastboot binary for Arm if anyone is interested? You can get it here: http://forum.xda-developers.com/showthr ... p=28817744 and I've tested it with the Pi and can confirm it works!
Posts: 5
Joined: Sun Jul 15, 2012 9:21 pm
by binbin9062 » Fri Oct 10, 2014 8:17 am
Hi Ottaky :
I have the same need for build adb staticly for arm .

But it still warning “ld: cannot find -lcrypto -lpthread -lrt -lc ” when i add “LDFLAGS= -static” to the Makefile .

Can you provide more detail ?

Sincerely thanks
Posts: 1
Joined: Fri Oct 10, 2014 7:01 am
by tm05504n » Fri Nov 07, 2014 10:31 pm
Im getting error with above method. Please let me know how to install adb on raspberry bi.
Posts: 1
Joined: Fri Nov 07, 2014 10:29 pm
by ingromaster » Thu Nov 20, 2014 8:53 pm
Hello to averyone!!!

I`m from Chile raspberryano! I`m trying to install adb on my raspberry but all my intents was failed, i am on this:

I have the uncompressed file

root@raspberrypi:/home/pi/mypart# pwd
/home/pi/mypart

root@raspberrypi:/home/pi/mypart# make
"Main"
""
build/core/main.mk:45: ********************************************************************************
build/core/main.mk:46: * You are using version 4.0 of make.
build/core/main.mk:47: * Android can only be built by versions 3.81 and 3.82.
build/core/main.mk:48: * see https://source.android.com/source/download.html
build/core/main.mk:49: ********************************************************************************
build/core/main.mk:50: *** stopping. Stop.

can anyone help me ???

sorry my inglish i`m not very good
Posts: 1
Joined: Thu Nov 20, 2014 8:15 pm