Standalone ADB for Windows & Linux - Android Software/Hacking General [Developers Only]

I think I've seen a standalone zip of ADB for Windows, but can no longer find that link. Does anyone have standalone versions for Windows and for Linux? I'd like to keep copies on my Hero for easy access!

Standalone ADB
Here you go! Save it on your computer then extract it.
Package made by me!

I'm getting a device not found error using this. Do I need to have the whole works (Java SDK, Android SDK) to use adb?
Edit: Or I could stop wasting your time by being dumb, and just download the usb drivers for my phone. My bad. Stand alone ADB works great; Thanks!

ADB for Linux
ADB for Linux you can find here...
http://forum.xda-developers.com/showthread.php?t=905237

Can anybody tell me how to install standalone ADB ?
Can anybody tell me how to install standalone ADB ?
alexsclewis said:
I'm getting a device not found error using this. Do I need to have the whole works (Java SDK, Android SDK) to use adb?
Edit: Or I could stop wasting your time by being dumb, and just download the usb drivers for my phone. My bad. Stand alone ADB works great; Thanks!
Click to expand...
Click to collapse

Related

ADB USB Driver

the USB driver for windows is available at:
http://dl.google.com/android/android_usb_windows.zip
It seems to work... I will update this thread with what I find.
Thanks for posting the driver!
I've tried a few things with adb, and so far I can't get an install to work over usb. I tried the following command.
C:\...\android-sdk-windows-1.0_r1\tools>adb install OperaMini.apk
579 KB/s (0 bytes in 278155.000s)
pkg: /data/local/tmp/OperaMini.apk
Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]
Click to expand...
Click to collapse
http://www.android-freeware.org/tutorial/how-to-install-apk-files-on-android-device-emulator Had some basic info about the emulator, not sure what would be different for the G1.
The "adb shell" option allows you to access a shell on the phone over USB, which is really great but it appears you don't have root privileges. Any ideas on how to obtain root priveleges? Also, is there a command to install from the android shell? When i cd to /sbin i get access denied. I'm trying to figure out some kind of way to invoke an install either from the device or over USB.
I have the same problem... working on it now...
I don't know about the USB installs, but it seems to be something with the APK as well. I also have the OperaMini.apk and it does nothing. I downloaded the iTunes remote via the G1 and it installed just fine without getting a PC involved.
It looks like you have to put the phone into a "Debug on USB" mode to use ADB. It's working for me now.
http://code.google.com/android/intro/develop-and-debug.html#developingondevicehardware
So you were able to install the opera mini apk through adb with no trouble? I got the error listed above and did have debug mode on
Thank you dagentooboy!
Can someone explain this for this not so savvy person?
chrimage said:
So you were able to install the opera mini apk through adb with no trouble? I got the error listed above and did have debug mode on
Click to expand...
Click to collapse
I think that is caused by an issue with the the AndroidManifest.xml file within the APK having to do with going from "beta" to "live" Android. The same reason most of the apps were pulled from the store. I don't believe it takes a major change to make it compatible, but it's fully compiled so, unless you have a decompiler, I think we may be out of luck on that particular one. I have installed other apk's successfully using the same method.
Mikey1022 said:
Can someone explain this for this not so savvy person?
Click to expand...
Click to collapse
ADB is the Android Debug Bridge that comes as a part of the SKD. I don't think it was really intended as an end user tool. It has to be called from a command line. I know people have built basic UI's for it for file manipulation when the SDK was the only thing out there. If a better solution isn't found shortly I think we'll see one be made, or else I'll make one myself. In the end it seem to make a big difference of what you're trying to install some things work and some don't, there are some differences between the beta SDK and the G1.
For any developers out there, you can also access the ADB/DDMS feature through the Eclipse IDE, it provides a somewhat simpler graphic interface and is a really easy way to get screenshots. Has anyone tried just typing su through the ADB command prompt to see if it will switch you to # ?
Valicore said:
For any developers out there, you can also access the ADB/DDMS feature through the Eclipse IDE, it provides a somewhat simpler graphic interface and is a really easy way to get screenshots. Has anyone tried just typing su through the ADB command prompt to see if it will switch you to # ?
Click to expand...
Click to collapse
the su command and sudo su returns "no permission" or "access denied" or something like that. That is also the same message i get when typing arbitrary commands that shouldn't be anything. And like i said earlier, /sbin along with many other directories are inaccessible. Hopefully someone will find a way to access the root account on the G1 pretty soon.
yes... must... have.... root...
Also a normal shell would be helpful esp when looking thru /proc/ for information.
Please help (ahhhhhh)
Okay So I am pulling my hair out here... I just booted android on my Vogue for the first time, everything works great, voice calls and sms.. But I can get a Inet connection but I am using Cricket not sprint so I added the username and password lines in default.txt and can connect, but Cricket uses a proxy for all http connections. So I found this article http://fggarcia.blogspot.com/2007/11/setting-up-proxy-for-android-emulator.html , which basicly says to use the adp app that comes in the sdk to add some lines to make the proxy. NOW, here is my problem... I can not for the life of me get my come (in windows or linux) to see my vogue while its in android..
In windows it does not appear ANYWHERE in the device manager... So I cannot install the driver, and in Linux it doesnt make a blip in dmesg..... USB debugging is marked and so is use adb....
It does charge when plugged in to the comp running linux.....
Can anyone please help me... And thanks to DZO and everyone else for there hard work on this project..
check too make sure your Android isnt listed under usb mass storage devices in device manager.
Ya USB isn't possible on Vogue yet, I just extracted data.img and added the proxy that way, but it still doesn't work. My Problem is I need all connection to use the proxy wap.mycricket.com:8080. I am not trying to be cheap or anything like the tzones thing for tmobile. Its just the only data plan cricket have use this proxy. So any Ideas would be greatly appreciated.
my computer already had a driver installed and when i try to update it with this one it says there is no better match for my hardware
anyone got a solution for this
Im really sorry to bump this old thread up but i need the r3 drivers and i dont know why they are nowhere to be found on the official page... i think its a region lock thing...

best way to sideload on mac?

hello. ive been reading on different forums on the best way to sideload apps on captivate on mac. ive read about sideload wonder machine but seems ppl have problems... seems ppl r being more successful on pc.... if i were to run parallels then win 7 and try to use sideload wonder machine on pc will it work? im still reading on how to use commands, and terminals and cmd lines and all that . im new to android but familiar with winmo phones and jailbreaking iphones. so if anyone can help me or point me to the right direction, it is greatly appreciated! on a side note, i use parallel's and ran win 7 and dl droid explorer to try and delete some at&t bloatware but no go. when i try to delete it nothing happens... so i dont know what to do! lol. im rooted and all. i wanna have sideload next! thanks again guys!
1. Install Android SDK for Mac
2. Using Terminal CD to android-SDK/Tools directory
3. place your apk file in the tools directory
4. In terminal type: adb install file.apk <where file.apk is what you want to install>
This is the manual way on windows and this is what sideload wonder does for you. If you want to learn - this is the best way to start. ADB is easy, and it opens up the gateway for everything else.
YOu can probably find a more detailed tutorial on using ADB commands in Mac.
ADB is what lets you copy system files off the phone, change permissions, get access to the systems.db where you can allow sideload from phone, etc.

Portable ADB prompt

Portable ADB Prompt
If you're on the road and you need an ADB prompt to interact with your phone, many people will be lost as to what to do. It's kind of hard to carry the Android SDK on a flash drive, and if you're doing that solely for an ADB prompt, then it's kind of useless.
Basically, I've packaged an ADB prompt into a portable package for debuggers, hackers, and others to carry on the road. It fits on a small USB drive, and can even sit on your phone's SD card slot, ready to use.
You don't need a working copy of the Android SDK to use it. I've tested this on several computers, with and without the SDK on them.
So far a Windows-only copy is working fully. I haven't started on a Linux repackage, and perobably won't do a Mac port (unless a Mac owner/user is willing to).
All you need to do is extract the package, run adbprompt.bat, and you're good to go!
I'm sure this is stable enough for everyday use. Although seeing as I haven't explored every single facet of ADB on this portable package, I can't be too sure. It's labeled as a BETA until I've confirmed its stability.
Download link is below.
This is pretty handy to have. I'd be willing to look into this for a mac. If I'm not mistaken, it should just be one file. I've been playing around with a 1-click-root for mac and come to find that only the adb file from the sdk is needed for the command prompt to work.
Sweet, feel free! It's be pretty cool if you could put it up in this thread to - y'know, as a central hub for portable ADB prompts.
If you want, you could do a port/repackage. Basically it's just caling the ADB executable, executing adb command, and looping back to ask for more input. Simple, really. Easier than cding to the directory with the exe and all that wankery.
The best thing to do by means of disribution would be to package it in a .dmg and make it call a script to to the input-execute-loop thing (I don't know much about Mac file extensions). If you understand Windows batch code, you could try interpret adbprompt.bat to work with the Mac's native shell code - which I think is .sh, correct me if I'm wrong.
So yeah, port it if you want, send it my way through a PM (upload it to mediafire or something), and I'll put it up - with appropriate credit of course
Kickface said:
Portable ADB Prompt
If you're on the road and you need an ADB prompt to interact with your phone, many people will be lost as to what to do. It's kind of hard to carry the Android SDK on a flash drive, and if you're doing that solely for an ADB prompt, then it's kind of useless.
Basically, I've packaged an ADB prompt into a portable package for debuggers, hackers, and others to carry on the road. It fits on a small USB drive, and can even sit on your phone's SD card slot, ready to use.
You don't need a working copy of the Android SDK to use it. I've tested this on several computers, with and without the SDK on them.
So far a Windows-only copy is working fully. I haven't started on a Linux repackage, and perobably won't do a Mac port (unless a Mac owner/user is willing to).
All you need to do is extract the package, run adbprompt.bat, and you're good to go!
I'm sure this is stable enough for everyday use. Although seeing as I haven't explored every single facet of ADB on this portable package, I can't be too sure. It's labeled as a BETA until I've confirmed its stability.
Download link is below.
Click to expand...
Click to collapse
With Your permissions i would like to upload this file and any updates of it to my dropbox to share on OXygenRom Forum
Regards
Yeah, sure! Feel free! Just make sure you credit Kickface of xda-developers forums for the package.
And although I don't own a Desire, I've joined up at the forums.
Good luck with the ROM!
Cool think for my flash-drive, but this version doesn't support the 'connect' command or?
i wanted to use it with the App 'adbWireless'.
Great. Exactly what i was looking for. I will try this and report back.
Sadly, I get an error saying "the system cannot find the file specified" with every command I try to run
I think a "portable" ADB is already in the SuperOneClick root solution. It has a folder called adb with the executable and a couple of .dll. It worked great on first try, so to anybody who this might not work, you can download SOC and extract the folder from there.
Thanks for your work though
Sweet. This is pretty much an essential tool for me.
You should add an if/goto label command before the 'cd src' so it only tries to cd once. This would prevent the 'The system cannot find the path specified.' message after every command
:newline
if exist AdbWinApi.dll goto jump
cd src
:jump
Thank you so much for this.
I moved your batch file in the "src" directory and modified line 12 to make it more "portable":
Code:
cd %~dp0
nice software but seems it is a bit out of date, my Note 4 with 5.1.1 doesnt get recognized.

ADB Help

Hi,
I have a Yarvik Tab250 and I want to modify the build.prop so i can install any app I'd like to. I've found the info i need to do here:
w w w.hembrow.eu/personal/yarviktab250.html
But I can't get ADB to list my device, my device is on, and debugging is turned on, and it can't list it under "adb devices". I know on linux you have to make a specific folder or something like that, do you have to do anything special in Windows? I only really have access to Windows, and limited linux knowledge.
As mentioned above, Also, if anyone can help with flashing a working play market on my tablet, i'd very much appreciate it!
Thanks!
You need to have the android SDK installed properly on Windows. The path stamemt must be correct for ADB to function properly.
Sent from my LG-P500 using XDA
Do you have the proper drivers for it installed
Sent from my HTC One X using Tapatalk 2
adb is an application that is part of android SDk and can be run from the command prompt in Windows. There is a windows application Android Commander that uses a gui to issue adb commands, it is very powerful program and I recomend it. you will be able to use it to pull the build.prop file edit it with a text.editor and push it back to the Phone. It can connect to the phone by wifi or with the usb cable. Of course android bebugging must be enabled on the phone. you can find it here. http://androidcommander.com/
I hope this helps.
ADB for dummies
http://forum.xda-developers.com/showthread.php?t=502010

[Q] self root the TF101

I would like to root my TF101, buld #9.2.127. I have a unique and unfortunate set of circumstances that is making it difficult for me to do so. Here is my situation:
1. I am have a Dell M1530 with Windows Vista. Most of the rooting methods I researched involve starting with a windows-based computer. Unfortunately, windows has corrupted my machine to the point that the USB ports no longer function.
2. So I decided to install Ubuntu 12.04 on the same machine. Linux has done wonders for my computer, including allowing me to use my USB ports again! However, when I attempt to connect my TF101 via the USB port, the computer will not recognize the device.
This leads me to my question. Are there currently any methods to "self root", i.e. without the use of a PC, the TF101? I previously did some research and know that for a time Razorclaw did the job. However, Razorclaw only seemed to work on builds 8.x. I did not work for me when I tried it recently.
Thank you in advance for any assistance or advice you can provide.
Check out my PERI tool (link in sig), it runs via windows, but what you can do is manually download files to your tf via web and run the commands using terminal emulator instead of running the .bat file of PERI.
It will take a bit of time and examining of the .bat code but it is probably the easiest option with no USB ports.
Unless you could find another Widoze computer to just run it normally on
Thing O Doom said:
Check out my PERI tool (link in sig), it runs via windows, but what you can do is manually download files to your tf via web and run the commands using terminal emulator instead of running the .bat file of PERI.
It will take a bit of time and examining of the .bat code but it is probably the easiest option with no USB ports.
Unless you could find another Widoze computer to just run it normally on
Click to expand...
Click to collapse
Thanks! Which windows emulator would you reccomend?
Thing O Doom said:
Check out my PERI tool (link in sig), it runs via windows, but what you can do is manually download files to your tf via web and run the commands using terminal emulator instead of running the .bat file of PERI.
It will take a bit of time and examining of the .bat code but it is probably the easiest option with no USB ports.
Unless you could find another Widoze computer to just run it normally on
Click to expand...
Click to collapse
Thanks
Would u plz tell us how to run the commands using terminal emulator ?
Self Install Help - PUHLEEZE - No USB CABLE
Thing O Doom said:
Check out my PERI tool (link in sig), it runs via windows, but what you can do is manually download files to your tf via web and run the commands using terminal emulator instead of running the .bat file of PERI.
It will take a bit of time and examining of the .bat code but it is probably the easiest option with no USB ports.
Unless you could find another Widoze computer to just run it normally on
Click to expand...
Click to collapse
I dug around in the .bat and found the commands I need to run, but how do I get around the "Permission Denied" issue since I'm not yet rooted?
Thing O Doom said:
Check out my PERI tool (link in sig), it runs via windows, but what you can do is manually download files to your tf via web and run the commands using terminal emulator instead of running the .bat file of PERI.
It will take a bit of time and examining of the .bat code but it is probably the easiest option with no USB ports.
Unless you could find another Widoze computer to just run it normally on
Click to expand...
Click to collapse
But you can't root using just the TF can you? I know you where working on a peri APK root tool, have you got that working yet?
I thought you had to have a PC, Linux computer (a mac with a windows emulator) or another rooted android device to be able to gain root initially on the TF?
I have the answer
please click the thanks button!!. i have a link thats in chinese (sorry) and will completely self root your device. you simply click the blue button ad your device will be rooted!
..... tiny...... cc/james130201 is the link
i hd to put spaces as i a a new user and not allowed to post links

Categories

Resources