I installed ubuntu 9.10 and fedora
apt-got openjdk and then ran android sdk to download and unpack platform-tools in the right place..
Is there a way to use adb and fastboot so I won't need my laptop to connect to my other android devices? or is it impossible on the ATP?
I get "cannot execute binary files" from terminal..
thanks!
I'm unaware of any adb client binaries that are built for use on an ARM platform, but if you happen to find one, please share.
I have notes on setting up the android sdk on the TF's, problem is where to find source for aapt and porting it to Linux/ARM. Eh, well disregarding renderscript...
Adb will be the same case as aapt afaik.
Sent from my Transformer Prime TF201 using Tapatalk
adb is in system/bin of the device..
I can share it if you need it
now it's fastboot that I want... aaaarrrm...
Related
Alrighty, I am new to the linux world and I am trying to setup my beloved adb on my Ubuntu. Java is there, SDK in in /opt/androidsdk. Do I need something more? I read that people install Eclipse also but since I am not a developer I don't need it, do I? I only need to execute very simple adb commands like push.
With Windows I needed the HTC Hero drivers and then it worked like a charm. Do I need something similar here?
I tried to run adb devices while my phone was connected and I get a phone with ?????????? as a name.
Is adb going to work or do I miss something?
Thanks in advance!
Adb works fine on x64 Ubuntu. I know there is a guide for it on www.villainrom.co.uk/wiki, but then search "adb" and it should bring up the entry.
I'm installing Ubuntu again today anyway, so I can check it works (which it does btw)
theodore80 said:
Alrighty, I am new to the linux world and I am trying to setup my beloved adb on my Ubuntu. Java is there, SDK in in /opt/androidsdk. Do I need something more? I read that people install Eclipse also but since I am not a developer I don't need it, do I? I only need to execute very simple adb commands like push.
With Windows I needed the HTC Hero drivers and then it worked like a charm. Do I need something similar here?
I tried to run adb devices while my phone was connected and I get a phone with ?????????? as a name.
Is adb going to work or do I miss something?
Thanks in advance!
Click to expand...
Click to collapse
Try doing this.
sudo adb kill-server
sudo adb root
then do w/e you need to do. This worked for me.
Not sure if you need to sudo kill-server, if it doesnt kill it, try without
ante0 said:
Try doing this.
sudo adb kill-server
sudo adb root
then do w/e you need to do. This worked for me.
Not sure if you need to sudo kill-server, if it doesnt kill it, try without
Click to expand...
Click to collapse
I did this followed by adb devices and I now get the correct device name.
I guess that it works though I didn't try to push any app
Another question: how do I add adb to the path? I currently need to type in the full adb path. It is linux related but I am new into this exciting world!!
Thanks for helping me out!
Google "Ubuntu add to path" and it will tell you
Hi,
I'm running a GOCLEVER R75 tablet.
I succeeded in installing the USB drivers to Windows XP pro from the last SDK I downloaded previously.
But I can't install other drivers:
C:\> c:\AndroidSDK\adt-bundle-windows-x86\sdk\platform-tools\adb devices
adb server is out of date. killing...
* daemon started successfully *
List of devices attached
Although I can see in Windows Device manager Android Phone - Android ADB Interface, some applications still write they can't see
my Android device. I also can't see the tablet number.
Please, how should I proceed further? THX
AW: [Q] Can't Install ADB drivers from SDK
If you're using a firewall make sure that the adb is not blocked. Is debug mode ticked?
Sent from my Nexus 7
-star- said:
If you're using a firewall make sure that the adb is not blocked. Is debug mode ticked?
Sent from my Nexus 7
Click to expand...
Click to collapse
Sure, I met these provisions..
More severe is the fact I cannot start the SDK Manager in the bundle!
It merely will not start while I'm double-clicking it in order to proceed further. It's just blinking.
Running Win XP Pro SP3. Suppose, it may have something to do with JAVA?
AW: [Q] Can't Install ADB drivers from SDK
cuneiform said:
Sure, I met these provisions..
More severe is the fact I cannot start the SDK Manager in the bundle!
It merely will not start while I'm double-clicking it in order to proceed further. It's just blinking.
Running Win XP Pro SP3. Suppose, it may have something to do with JAVA?
Click to expand...
Click to collapse
You need the java sdk (6?). Tried to launch the manager as administrator? Mhhh... The only thing I additionally installed was the adt plug in for eclipse when I used windows.
Sent from my Nexus 7
-star- said:
You need the java sdk (6?). Tried to launch the manager as administrator? Mhhh... The only thing I additionally installed was the adt plug in for eclipse when I used windows.
Sent from my Nexus 7
Click to expand...
Click to collapse
True, as Administrator...
Well, meanwhile I was able to root my tab GOCLEVER R75, as I had applied UnlockRoot 3.1, a couple of Superusers got installed at the same time:
UnlockRoot ver. 3.1:
Kill adb server
Starting adb server...
Get online devices
Starting adb server...
Get online devices
chmod file 777 /data/local/tmp
push file to device : rootutility
chmod file 755 rootutility
push file to device : busybox
push file to device : su
chmod file 755 busybox
push file to device : su
Rooting, please wait...
Root Succeed!
Root finished!
How come when I write
C:\adb\adb devices
I'm still getting the same
C:\List of devices attached
plus only some empty space - No devices detected!
There are no question signs in Device Manager in Windows around Android Phone, Android Composite ADB Interface. So, some drivers have been installed.
The procedures described in the following did not work for me:
http://theunlockr.com/2009/10/06/how-to-set-up-adb-usb-drivers-for-android-devices/
I've tried on windows 7 and Ubuntu 12.10 and no matter what I do,no matter how many times I update the SDK or uninstall and reinstall the SDK,ADB version is still 1.0.29...tried killing server,restarting adb, etc.
Trying to ./extract files from cm10.1 for compiling CM but ADB must be updated to connect to JB devices...
Someone please help!!! I've googled for hours and tried everything..still getting nowhere.
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
:SOLVED FOR ME:
so what i did (and i dont know why all of a sudden its working) but,
i opened up the terminal and did the following
lsusb
This should kick out a list of plugged in devices. Most likely the last one is the phone. There were references to Samsung and Galaxy so it was pretty easy to figure out. On that same line, there is an ID number in this format...xxxx:xxxx. Write that number down for reference.
Now a few more commands:
cd
sudo gedit /etc/udev/rules.d/99-android.rules
When the rules open, copy/paste the following with the id "lsusb" gave you:
replace the ####:#### in the above string of text with the number you got from "lsusb"
Then save and exit.
sudo service udev restart
sudo adb devices
# XXXXXXXXXXXX offline
sudo ./extract-files.sh
GOT THE WINDOW POPUP ON MY PHONE
check always accept from this computer
then everything went smoothly....hope this somehow or another helps someone...if it does,please hit thanks.
in Ubuntu, once you update the SDK , copy the adb file in SDK/platform-tools to /usr/bin
reboot Ubuntu and try .
i don't use windows sorry
Sent from my GT-S5670 using xda premium
soham jambhekar said:
in Ubuntu, once you update the SDK , copy the adb file in SDK/platform-tools to /usr/bin
reboot Ubuntu and try .
i don't use windows sorry
Sent from my GT-S5670 using xda premium
Click to expand...
Click to collapse
just tried sudo cp ~/android-sdk-linux/platform-tools/adb /usr/bin
it seemed to have copied since the original adb there was like 577kb and the new one is 1.2mb but still same issue.. i dont care to get it working on windows anyways...just thought i was strange it wont work on either platform...any other suggestions??
just a mention if someone arrives due to google search and are having an issue updating adb version in windows..this thread only speaks of a fix in linux so here is what i found: somehow someway adb.exe along with a couple dll files found their way to my windows directory, even though i always had its installed path included in my systems environment variables!! first i simply renamed these 3 files and added the extension .old to them. immediately running adb version in a command prompt my version finally read properly as it should 1.0.31 and not 1.0.26. its self explanatory why. hope this helps someone!
sinner99 said:
just a mention if someone arrives due to google search and are having an issue updating adb version in windows..this thread only speaks of a fix in linux so here is what i found: somehow someway adb.exe along with a couple dll files found their way to my windows directory, even though i always had its installed path included in my systems environment variables!! first i simply renamed these 3 files and added the extension .old to them. immediately running adb version in a command prompt my version finally read properly as it should 1.0.31 and not 1.0.26. its self explanatory why. hope this helps someone!
Click to expand...
Click to collapse
I had to sign up for this forum just to tell you, THANK YOU!!!! For the life of me, it was ridiculous that I couldn't find just simple information on how to do stuff. This is my first time looking into this stuff, So I couldn't even figure out how to update individual tools like that, which is what I've been spending the last 2 hours or more trying to figure it out.
It really was those three files in the Windows directory this whole time. Now my device is online, and adb shows the right version. Amazing. It's absolutely pathetic that google has their program screw up the entire adb functionality by putting these broken versions of the tool in the Windows directory.
I had to add to the path variable the location folder of the appdata platoformtools abd.exe.
I am a fan of Ubuntu and linux.
I want to make Ubuntu Mobile Device based on REDMI2.
I have launched TWRP on my phone.
fastboot boot wt8847_64_twrp_3.2.1.img
Using debootstrap I got Ubuntu for ARMv7.
debootstrap --arch = armhf --variant = minbase --foreign trusty ~/Downloads/ARMv7/Ubuntu_Trusty_armhf http://ports.ubuntu.com/
TWRP has a terminal.
I found chroot in TWRP.
I copied using adb push Ubuntu ARMv7 to phone.
Chroot helped me get Ubuntu up and running in conlose mode.
chroot /dev/Ubuntu_Trusty /bin/bash
Everything is fine.
But I can only use the Internet via a USB cable.
I am using pppd. (Thanks to the article at https://forum.xda-developers.com/)
If anyone is interested, I can describe in more detail.
I am trying to start an internal WiFi module or connect an external one.
For example the powerful RT2870 / RT3070 Wireless Adapter.
I have unpacked wt8847_64_twrp_3.2.1.img by Android Image Kitchen (AIK).
I added kernel from the official firmware.
Packed up and launched successfully.
But ifconfig didn't show any wireless devices.
There are folders in the official firmware
/system/lib/
/system/lib64/
/system/vendor/lib/
/system/vendor/lib64/
What is the name of the driver file for WiFi?
OK. All drivers in /system/lib/modules
IronAndroid2021 said:
I can only use the Internet via a USB cable.
I am using pppd. (Thanks to the article at https://forum.xda-developers.com/)
If anyone is interested, I can describe in more detail.
Click to expand...
Click to collapse
How are you using internet by usb ? Please tell, I want that too in my twrp chroot. What is pppd ?
Hi,
I'm looking for adb for mips-linux. I want to execute adb commands from my mips based router over wifi and avoid having to run adb from pc.
Unfortunately I was unable to find a binary and any make files posted several years ago like here:
GitHub - karfield/adb: a standalone-built version of android adb
a standalone-built version of android adb. Contribute to karfield/adb development by creating an account on GitHub.
github.com
and
Build adb for Loongson(MIPS) – Hev's Blog
don't work on the current version anymore.
I need a adb version that is capable to work via adb wifi as the current version of the adb binaries for windows and Linux do.
Anyone has made an adb binary for mips and could release it? I want to avoid having to compile the whole android source code just to use 2 mb of files from it.
Thanks!