Enable adb.exe in cygwin? - Android Software/Hacking General [Developers Only]

Hi,
can someone tell me how to get adb working in cygwin? I only recently started using cygwin and am not really an expert on how to enable new things in it
Thanks

Related

ABD for MAC users PLEASE HELP

Hello everyone im a noob here but im slowley learning. i have searched and searched including the ABD for dummies they all make mention of ABD for mac but then move right along into windows how tos. im sorry if this is the wrong place for this post but can anyone point me to a place that actually explains ABD usage for mac i know nothing about terminal and i think thats what it want me to use. i really mean it ive been looking for a good mac tuterial for days!!!!!! thanks
You mean adb, right?
The commands for adb are pretty much the same ones used on windows
Not development...post in general.
Anyways,
do you have the sdk set up as per these instructions? You dont need to worry about the eclipse stuff. The most important thing is getting the sdk downloaded, extracted and the /tools dir added to your path. From there, the command are exactly the same. eg:
Code:
adb push
adb pull
adb shell
adb shell reboot recovery
...
LostinThesauce said:
Hello everyone im a noob here but im slowley learning. i have searched and searched including the ABD for dummies they all make mention of ABD for mac but then move right along into windows how tos. im sorry if this is the wrong place for this post but can anyone point me to a place that actually explains ABD usage for mac i know nothing about terminal and i think thats what it want me to use. i really mean it ive been looking for a good mac tuterial for days!!!!!! thanks
Click to expand...
Click to collapse
to use ADB and FASTBOOT you need to mount your SDK foldert (you "need" tools folder) and then use all commands starting with ./
for example ./fastboot reboot
PS if you want to use fastboot, you have to download it separate from HTC site.
hr00st said:
to use ADB and FASTBOOT you need to mount your SDK foldert (you "need" tools folder) and then use all commands starting with ./
for example ./fastboot reboot
PS if you want to use fastboot, you have to download it separate from HTC site.
Click to expand...
Click to collapse
You dont have to mount the folder. It may be easier but in the long run adding it to path will teach you more. Just do a google search on edit path osx and you will find how to create or edit the bash_profile to add the tols folder to your path. from there you just open terminal and adb away
u are the 1st person i know whom uses and mac and didnt get the iphone... but got android instead..
farbird said:
u are the 1st person i know whom uses and mac and didnt get the iphone... but got android instead..
Click to expand...
Click to collapse
add me as #2 who never went iphone. i stayed winmo until i could get a canadian spphire shipped to usa to run the htc sensui. btw...i use mac for me and pc at work and my macbook runs a virtual machine so i fire up xppro os in a dedicated "spaces" desktop so i do use sdk and copilot's nav interface in windows.
i guess i'm "bi". actually "tri" now
Good to go
got it running this is fun
LostinThesauce said:
got it running this is fun
Click to expand...
Click to collapse
cool. think you might be motivated to write a simple guide for the rest of us mac users? not too noobish. maybe more targeted to average+ users.
lpasq said:
cool. think you might be motivated to write a simple guide for the rest of us mac users? not too noobish. maybe more targeted to average+ users.
Click to expand...
Click to collapse
There is no need in this. Everyone can find all information on GOOGLE. It is easer then "Easy Button"
MAC+ANDROID=FRIENDS FOREVER!
Setting up ABD for OSX, Hackintosh, mac newbies like myself.
First make sure you have downloaded the latest SDK from google.
In finder go to your home folder and extract the sdk into a folder named Android.
If you only plan on using ADB you can just extract the tools folder contents there.
Now open up Terminal...Applications/system utilities
Type in the following
echo $shell
ls -a
If you see a file named .bash_profile in the list you are ok if not we have a few things to do.
To create a .bash_profile, in terminal do the following
touch .bash_profile
This will create a blank file if there is none. Then,
open -e .bash_profile
This will open it in TextEdit. Add the following line:
export PATH=${PATH}:*<your_sdk_dir>*/tools
Where <your_sdk_dir> is the full path to the android sdk folder (type
carefully, remove < > brackets).
For example, if the android folder is in the eclipse folder on your Desktop,
it would be:
export PATH=${PATH}:/Users/David/Desktop/eclipse/
android-sdk-mac_x86-1.0_r1/tools
Save and quit.
then all you have to do from there is adb away.
If you need more info please follow this link where I copied the info from.
http://groups.google.com/group/andr...0460fb16ea06c/dd175d8675f33827?lnk=raot&pli=1
Surprising what you can find in the google android groups.
Johnny Blaze said:
First make sure you have downloaded the latest SDK from google.
In finder go to your home folder and extract the sdk into a folder named Android.
If you only plan on using ADB you can just extract the tools folder contents there.
Now open up Terminal...Applications/system utilities
Type in the following
echo $shell
ls -a
If you see a file named .bash_profile in the list you are ok if not we have a few things to do.
To create a .bash_profile, in terminal do the following
touch .bash_profile
This will create a blank file if there is none. Then,
open -e .bash_profile
This will open it in TextEdit. Add the following line:
export PATH=${PATH}:*<your_sdk_dir>*/tools
Where <your_sdk_dir> is the full path to the android sdk folder (type
carefully, remove < > brackets).
For example, if the android folder is in the eclipse folder on your Desktop,
it would be:
export PATH=${PATH}:/Users/David/Desktop/eclipse/
android-sdk-mac_x86-1.0_r1/tools
Save and quit.
then all you have to do from there is adb away.
If you need more info please follow this link where I copied the info from.
http://groups.google.com/group/andr...0460fb16ea06c/dd175d8675f33827?lnk=raot&pli=1
Surprising what you can find in the google android groups.
Click to expand...
Click to collapse
thank you very much. i really appreciate those who don't waste their effort flaming a request for info. "that was easy"
farbird said:
u are the 1st person i know whom uses and mac and didnt get the iphone... but got android instead..
Click to expand...
Click to collapse
really??i know of many people lol..macs are just better and less of a pain in the ass to use..and if you watch the google confrences..theyre using macs lol
farbird said:
u are the 1st person i know whom uses and mac and didnt get the iphone... but got android instead..
Click to expand...
Click to collapse
i use a mac and love android. hate the iphone
lpasq said:
thank you very much. i really appreciate those who don't waste their effort flaming a request for info. "that was easy"
Click to expand...
Click to collapse
If my words offended you, i apologize for that. I thought it was just unfair, when i was searching for INFO, i was sent to google and thats why i did the same thing.
Let's respect each other.
hr00st said:
If my words offended you, i apologize for that. I thought it was just unfair, when i was searching for INFO, i was sent to google and thats why i did the same thing.
Let's respect each other.
Click to expand...
Click to collapse
thank you. yes, respect and support

[Q] adb is not recognized as......

I rooted my hero on 2.1 before on a different computer a while back so im fairly familiar with this process. But i when i type in the file path for the C:\android-sdk-windows\tools and hit enter then type adb devices i get an error message that says
'adb' is not recognized as an internal or external command,
operable program or batch file.
I tried all the troubleshooting i can think of like
making sure its the right path to the tools final
making sure debugging is on
deleting the drivers
reinstalling htc sync
I dont know is this info is relevant but ill share it any way.
Im running windows xp
its an old work pc so idk if i have Admin rights(How do i check??)
If any of you can help thatd be much appreciated
Did u add tools directory to the PATH?
Sent from my HERO200 using XDA App
Hey bird, I had the same problem a few days ago. solution for me was, that adb is not located in the tools folder anymore. its located in another folder.I'm not in front of my pc right now.just check where in the windows sdk folder the adb.exe is located now.
Hope that helps you too.
Greetz ricola
Sent from my HTC HD2 using XDA App
if its the updated sdk you will have to update it. close and restart,and then reopen your run command and type in \platform\tools\. they changed the file path when they updated the new tools.
ricola7 said:
Hey bird, I had the same problem a few days ago. solution for me was, that adb is not located in the tools folder anymore. its located in another folder.I'm not in front of my pc right now.just check where in the windows sdk folder the adb.exe is located now.
Hope that helps you too.
Greetz ricola
Sent from my HTC HD2 using XDA App
Click to expand...
Click to collapse
Thank you very much i searched for adb.exe and found it in the platforms-tools folder thank you.
If any of you can help thatd be much appreciated
Click to expand...
Click to collapse
I'm too tired to read the whole thread right now, so someone has probably answered this, but here goes..
Previous versions of the Android SDK, adb was located in the tools folder, ie: if you installed the android SDK at C:\android-sdk-win, it would be c:\android-sdk-win\tools
The new release of the android sdk, adb has been moved, and is now located in the \platform-tools folder , ie; c:\android-sdk-win\platform-tools
much like the forums, file search is your friend sometimes
take care

[Q] How can I compile ADB under windows without using cygwin

Hello everyone,
I'm trying to compile adb without using cygwin but I have some issues about sockets and other lib depencies.
So, does anyone aldready tried this process ?
thanks.

fastboot help

hey guys im having trouble getting fastboot working, did everything they said here http://www.redmondpie.com/how-to-set-up-android-adb-and-fastboot-on-windows-tutorial/ but nothing works so any help is greatly appreciated guys
robgee789 said:
hey guys im having trouble getting fastboot working, did everything they said here http://www.redmondpie.com/how-to-set-up-android-adb-and-fastboot-on-windows-tutorial/ but nothing works so any help is greatly appreciated guys
Click to expand...
Click to collapse
WE need more information. Where does it fail? Error message? Does your tab show up in device manager?
sorry mate i didnt know what would be helpful and what wouldnt, but it shows up in my device manager but i dont think ive set up adb and fastboot up properly, when i type C:\Users\Rob>fastboot -i 0x0B05 reboot in the cmd window it says fast boot is not recognized as an internal or external command,
what files do i need need to have and where should they go,
ive got a folder called adt-bundle-windows-x86_64-20130219 with the sdk stuff in it but im not sure what to do with it lol
Quick, easy way is to use the cd command to move to the directory where fast boot is saved. Then use the command you tried first.
ahh yeah i think i remember doing that before what folder am i looking for?
edit: i got it going now i found the folder i need so im all good now thanks guys
You'll need to look through the sdk files until you find the fastboot file. That's the folder you need. I don't have my laptop with me so I can't give you the specific folder name.
it was called platform tools i just found it and i moved it to the root of c drive and renamed it android and all is great now
robgee789 said:
hey guys im having trouble getting fastboot working, did everything they said here http://www.redmondpie.com/how-to-set-up-android-adb-and-fastboot-on-windows-tutorial/ but nothing works so any help is greatly appreciated guys
Click to expand...
Click to collapse
You can use this guide : HELP FOR FLASH MORE FASTER WHEN YOU USE FASTBOOT LINE COMMAND
Maybe it will help you

[Q] how to reach or create android\adb_usb.ini

Hai ,
well when i tried using the windows cmd command add typed users\username\android\adb_usb.ini. It takes me nowhere.so also when i typed it opening command prompt window at eclipse or sdk . Same result dosent work.please let me know how is it to be accessed or created i am using xp having adt bundle installed please
details
glad to use technology said:
Hai ,
well when i tried using the windows xp comand prompt cmd command and typed c:\users\username\android\adb_usb.ini. It takes me nowhere.so also when i typed it opening command prompt window at eclipse or sdk . Same result dosent work.please let me know how is it to be accessed or created i am using xp having adt bundle installed please
Click to expand...
Click to collapse
and please let me know its location I mean is it to be found or if doesn't exist a folder with the name android is to be created and the adb_USB.INI file to be placed in it. And then place this folder exactly where in SDK? In eclipse? Exactly where? Please provide if any video links. Thanks
glad to use technology said:
and please let me know its location I mean is it to be found or if doesn't exist a folder with the name android is to be created and the adb_USB.INI file to be placed in it. And then place this folder exactly where in SDK? In eclipse? Exactly where? Please provide if any video links. Thanks
Click to expand...
Click to collapse
are you trying to root a nikon coolpix S800c? if so those commands are for linux (just get Ubuntu) and you need to be running a linux OS, windows was not built for these sorta things just a little of ADB but thats about it.

Categories

Resources