Related
how to get adb for mac?!?
jboiii15 said:
how to get adb for mac?!?
Click to expand...
Click to collapse
go here and download and install:
http://developer.android.com/sdk/index.html
And while you are at it, you might as well install fastboot too.
http://developer.htc.com/adp.html
old thread but you might find it useful
http://forum.xda-developers.com/showthread.php?t=502010
Ok, long story short... I had to completely wipe/format my hard drive on my computer so I lost ever single thing I had.
I completely forgot everything I needed to install for my phone as far as things like ADB. I think it was Android-SDK but I really can't remember.
Can someone help get me going in the right direction again? Many [email protected]@!!
Yeah, you need the android sdk. If all you're after is adb, then I'm sure someone around here has posted a download link to just those files. If you can't find them, then download the sdk and use the sdk manager to download and install the platform tools. For a full install of the sdk with Eclipse and ADT, you'll need to consult Google's install docs on the android developer site.
myersn024 said:
Yeah, you need the android sdk. If all you're after is adb, then I'm sure someone around here has posted a download link to just those files. If you can't find them, then download the sdk and use the sdk manager to download and install the platform tools. For a full install of the sdk with Eclipse and ADT, you'll need to consult Google's install docs on the android developer site.
Click to expand...
Click to collapse
See, I can't remember what I had.
I know it was an android-sdk folder with a few sub-folders like tools in it. I had to browse to that directory when I pushed something via ADB.
So I guess I just need to find and install the android-sdk? I'm not even sure what Eclipse and ADT is..
http://developer.android.com/sdk/index.html
Download the sdk. Adb was moved to the platform-tools folder, so you can run your adb from there, or move it to the tools folder.
Thank you!
I appreciate the help guys
Rippley05 said:
Thank you!
I appreciate the help guys
Click to expand...
Click to collapse
You're welcome.
teh roxxorz said:
You're welcome.
Click to expand...
Click to collapse
I hope I'm doing it right. I unzipped the folder, clicked on tools and read where it said adb was moved. Then I clicked on the android guy (sdk and avd manager) and now it is installing a messload of stuff.
After it's done, I should be able to use ADB but instead of going to c:\android-sdk-windows\tools\ like I used to do, I'll have to change the "tools" to platform-tools correct?
EDIT: I feel liek it is downloading a lot of stuff I don't need =p
Rippley05 said:
I hope I'm doing it right. I unzipped the folder, clicked on tools and read where it said adb was moved. Then I clicked on the android guy (sdk and avd manager) and now it is installing a messload of stuff.
After it's done, I should be able to use ADB but instead of going to c:\android-sdk-windows\tools\ like I used to do, I'll have to change the "tools" to platform-tools correct?
EDIT: I feel liek it is downloading a lot of stuff I don't need =p
Click to expand...
Click to collapse
That is correct, and I also just rename the folder to android, cuz typing all that is a pain.
And you can do that, or copy the adb items from platform-tools into the tool folder itself; tis what I did.
Alright, Windows 7 is different and kinda irritating.
All the SDK stuff went into a folder "downloads" and I let everything install, but I can't seem to find it when I run the command prompt. It was much easier in Windows XP.
If anyone is using windows 7 , could you give me the commands you use to get to the directory. I get an invalid path no matter what I type.
Should I move the SDK folders out of my downloads folder and put them on my desktop?
I put it on the root of C. Then I run cd C:\android-sdk\platform-tools. I think you need HTC sync installed as well.
Rippley05 said:
If anyone is using windows 7 , could you give me the commands you use to get to the directory. I get an invalid path no matter what I type.
Should I move the SDK folders out of my downloads folder and put them on my desktop?
Click to expand...
Click to collapse
Its easier from the desktop
OK I'll install HTC sync. That should still be on my phones SDcard right?
The problem is, I don't know what commands to enter in the command prompt to get to the different directories on my computer. If I move it to the desktop, what commands will get me there?
dglowe343 said:
I put it on the root of C. Then I run cd C:\android-sdk\platform-tools. I think you need HTC sync installed as well.
Click to expand...
Click to collapse
You don't need htc sync, just the hboot drivers.
Rippley05 said:
OK I'll install HTC sync. That should still be on my phones SDcard right?
The problem is, I don't know what commands to enter in the command prompt to get to the different directories on my computer. If I move it to the desktop, what commands will get me there?
Click to expand...
Click to collapse
the commands would be:
cd desktop/android/tools
1. change android to whatever you named your sdk folder
2. change tools to wherever your adb is located.
Names are case sensitive
teh roxxorz said:
the commands would be:
cd desktop/android/tools
1. change android to whatever you named your sdk folder
2. change tools to wherever your adb is located.
Names are case sensitive
Click to expand...
Click to collapse
Sweet I got it!
I tried to do a ADB remount and got AdbWinApi.dll is missing from my computer. I don't have my phone hooked up tho so could that be it?
Rippley05 said:
Sweet I got it!
I tried to do a ADB remount and got AdbWinApi.dll is missing from my computer. I don't have my phone hooked up tho so could that be it?
Click to expand...
Click to collapse
No prob. If you got that error, you missed it from copying the files; just double check that its there in the folder.
teh roxxorz said:
No prob. If you got that error, you missed it from copying the files; just double check that its there in the folder.
Click to expand...
Click to collapse
Ahh ok, I just moved it and it started but said device not found. I assume that IS because my phone isn't connected.
One more quick question and I promise I'll leave u alone. Whenever I push something with adb I always close the box and just unhook my phone. Is that the right method? Because I see adb is still running on my pc until I end the process with my task manager.
Rippley05 said:
Ahh ok, I just moved it and it started but said device not found. I assume that IS because my phone isn't connected.
One more quick question and I promise I'll leave u alone. Whenever I push something with adb I always close the box and just unhook my phone. Is that the right method? Because I see adb is still running on my pc until I end the process with my task manager.
Click to expand...
Click to collapse
Naw you're fine; yea, it;ll show device not connected if you have nothing connected. I personally leave it open in the command prompt after opening it just in case I go back to it. It'll close once you close command prompt.
Sweet. Thanks again Rox.
I've has that stuff installed since I first got my Hero... been a long time since I had to mess with it..
I've been wanting to set up adb for a while, but just don't know how to do it. There are numerous guides, and each say different things generally. Things that hold me back from setting up are:
1) does it make a difference what guide I use if I'm already a root user? *Cause I am.
2) when I run cmd as administrator, I get C:\Windows\system32 instead of just C:\
3) I don't know whether my computer is 32 bit or 64 bit.
4) Which are the right files I need in order to do this?
Could someone please point me in the right direction? My computer runs windows vista.
Just put the sdk on your c drive and rename the sdk folder to android-sdk-windows
Now don't run cmd as administrator, just type this in standard command prompt.
cd c:/android-sdk-windows/tools
and you should be able to use adb. Make sure debugging is checked in settings on your phone. You will find it in manage apps/development.
If that doesn't work maybe this will help.
http://forum.xda-developers.com/showthread.php?t=694250
http://forum.xda-developers.com/showthread.php?t=879701
Sent from my PC36100
Also make sure that your tools folder has the adb.exe file in it or you are going to get a
"adb shell not recognized as an internal or external batch command" took me about 20 minutes of.retyping adb shell to figure it out haha..
The reason i say that is because if you have a fresh dl of SDK within the last.couple of weeks then the adb.exe file has been moved and is no longer in your tools folder.
As for the command prompt. Open cmd then type
Cd/
Will take you straight to your C: directory if your not sure where to go from there type "dir" then cd to whatever folder your sdk is in
or type "cd(space).." like "cd .." Then do it again however many times you need to until it backs you all the way down to the c:
Click start and right click on computer then click properties, it will tell you there if your 64 or 32 bit.
Sent from my SAMSUNG-SGH-I897 using XDA App
Thanks guys for the help. Sorry, but I'm not sure where to get the sdk, is this it: http://developer.android.com/sdk/index.html ?
Also, what drivers do I need to install on my phone?
guih said:
Thanks guys for the help. Sorry, but I'm not sure where to get the sdk, is this it: http://developer.android.com/sdk/index.html ?
Also, what drivers do I need to install on my phone?
Click to expand...
Click to collapse
If you check that first link I posted above it has everything you're about to ask lol. Go to control panel on ur comp, navigate to system, and it will tell you if your machine is 32 or 64bit.
And yes that's the sdk. I'd download the first zip in the post and extract it to your c drive.
Sent from my PC36100
Moving adb to the /tools folder from /platform-tools will will Bork some other features of the sdk.
lol sorry man what threw me off is the "installing drivers" thing. Ok, do I also need to download that installer file as well or do I just take the sdk and extract it to the C drive? I'm sorry for these noob questions, I just don't want to mess up anything.
Don't worry about the questions. That's what we're here for. Yes, extract it to your C: drive. Adb is located in the platform-tools folder.
Sent from my Gin and Tonic using XDA App
guih said:
lol sorry man what threw me off is the "installing drivers" thing. Ok, do I also need to download that installer file as well or do I just take the sdk and extract it to the C drive? I'm sorry for these noob questions, I just don't want to mess up anything.
Click to expand...
Click to collapse
Its cool were just trying not to confuse you as much, maybe a video will help...or not lol
http://www.youtube.com/watch?v=y6K1XLmafPc&feature=youtube_gdata_player
Sent from my PC36100
I have a tools folder and a platform folder.. I'm guessing I use the tools folder?
guih said:
I've been wanting to set up adb for a while, but just don't know how to do it. There are numerous guides, and each say different things generally. Things that hold me back from setting up are:
1) does it make a difference what guide I use if I'm already a root user? *Cause I am.
2) when I run cmd as administrator, I get C:\Windows\system32 instead of just C:\
3) I don't know whether my computer is 32 bit or 64 bit.
4) Which are the right files I need in order to do this?
Could someone please point me in the right direction? My computer runs windows vista.
Click to expand...
Click to collapse
1). It doesn't really matter what guide you use, just as long as they give you correct directions.
2) Press the windows key (between Ctrl & Alt) and type "cmd" then press enter. Then once you're in command prompt, just type "CD\"
3) Right click "My Computer" then go to properties. Look for system type, and it'll tell you whether you're 32-bit or 64-bit. I believe most people have 32-bit.
4) All you need is this file.
guih said:
I have a tools folder and a platform folder.. I'm guessing I use the tools folder?
Click to expand...
Click to collapse
No, run the SDK Manager to get the platform-tools folder.
EDIT:
The SDK Manager is located in the folder that you extracted and probably renamed. For instance, mine is located here C:\AndroidSDK\SDK Manager.exe (If you can't locate it, let me know).
After you run the SDK Manager you only need the Android SDK platform-tools, revision 5 package
(Sorry about the double post)
dirkyd3rk said:
Its cool were just trying not to confuse you as much, maybe a video will help...or not lol
http://www.youtube.com/watch?v=y6K1XLmafPc&feature=youtube_gdata_player
Sent from my PC36100
Click to expand...
Click to collapse
so far this video is helping me incredibly! lol
guih said:
so far this video is helping me incredibly! lol
Click to expand...
Click to collapse
WOW! I must've looked over that post. That's a good video. Well, good luck.
I'm waiting for the platform-tools to download... in the video the guys moves all that is in platform-tools into his tools folder. Should I do that, though someone mentioned it could bork something?
guih said:
I'm waiting for the platform-tools to download... in the video the guys moves all that is in platform-tools into his tools folder. Should I do that, though someone mentioned it could bork something?
Click to expand...
Click to collapse
Follow the video young Jedi.....
Sent from my PC36100
oh my god...IT WORKS. THANK YOU EVERYONE SO MUCH FOR EVERYTHING!
guih said:
oh my god...IT WORKS. THANK YOU EVERYONE SO MUCH FOR EVERYTHING!
Click to expand...
Click to collapse
You're welcome. Congrats. Have fun! LOL
guih said:
oh my god...IT WORKS. THANK YOU EVERYONE SO MUCH FOR EVERYTHING!
Click to expand...
Click to collapse
No problem man. May the force be with you......lol
Sent from my PC36100
guih said:
...Should I do that, though someone mentioned it could bork something?
Click to expand...
Click to collapse
If adb is the only tool you are going to use in the SDK you don't have to worry about it. If you do ever use another tool and you get an error about adb not present in the /platform-tools folder you can always just move it back.
Hi all, I had to reinstall the android
sdk during the upgrade to windows
8 but now I can't download the
platform-tools.
All what I can see when I open the
sdk manager is this (I'm connected
to network but there aren't
packages to download):
forum.xda-developers.com/attachment.php?attachmentid=1443514&d=1351616322
Do you know how can I solve that?
Thanks in advance
Regards
Elia
Sdk manager should work on Windows 8. Using it on mine. Maybe reinstalling the whole thing?
Hazou said:
Sdk manager should work on Windows 8. Using it on mine. Maybe reinstalling the whole thing?
Click to expand...
Click to collapse
Already tried but didn't work.. I will try again this evening. Can you send me the platform-tools folder in a zip? Just in case it won't work.
elia222 said:
Already tried but didn't work.. I will try again this evening. Can you send me the platform-tools folder in a zip? Just in case it won't work.
Click to expand...
Click to collapse
Do you have Java SE Development Kit(JDK) installed ?
optimusodd said:
Do you have Java SE Development Kit(JDK) installed ?
Click to expand...
Click to collapse
Yes, I have. And I've also already installed the usb adb drivers.
elia222 said:
Yes, I have. And I've also already installed the usb adb drivers.
Click to expand...
Click to collapse
Have you tried a clean install ?Uninstalling the existing one and reinstall it again.
http://developer.android.com/sdk/index.html
optimusodd said:
Have you tried a clean install ?Uninstalling the existing one and reinstall it again.
http://developer.android.com/sdk/index.html
Click to expand...
Click to collapse
Yes, and tried with both the .exe and the .zip methods.
Maybe this evening around midnight GMT+1 i can get you a zip file. but cant help you earlier i think. Maybe someone with windows 7 and all files can send u them, before me. As far as i know they are almost or exactly the same.
Hazou
Here you go.Hope this helps.
optimusodd said:
Here you go.Hope this helps.
Click to expand...
Click to collapse
Thanks a lot! Now I can use adb and fastboot :good:
However I still can't figure out why I can't find any package with the sdk manager
elia222 said:
Thanks a lot! Now I can use adb and fastboot :good:
However I still can't figure out why I can't find any package with the sdk manager
Click to expand...
Click to collapse
You are most welcome.
Uhmm,are connected to the internet ?
Also make sure that your firewall,antivirus or anyother security software is not interfering/conflicting.Disable them before running the installer.
Run SDK Manager as an Administrator(Right Click on SDK Manager>select run as an Administrator).
Hope this helps.Good luck.
optimusodd said:
You are most welcome.
Uhmm,are connected to the internet ?
Also make sure that your firewall,antivirus or anyother security software is not interfering/conflicting.Disable them before running the installer.
Run SDK Manager as an Administrator(Right Click on SDK Manager>select run as an Administrator).
Hope this helps.Good luck.
Click to expand...
Click to collapse
Yes, I'm connected
I will try again this evening, at least now I can use adb :laugh:
Got this same problem here.
I'm using Kaspersky Anti-Virus 2013.
To be able to install plataform-tools from SDK Manager, disable your anti-virus (in my case: Kaspersky Anti-Virus 2013) and run SDK Manager (no need to run in Administrator mode). Every package will show properly on your screen and you'll be able to install them.
I'm also having problems accessing fastboot in Windows 8...
usaff22 said:
I'm also having problems accessing fastboot in Windows 8...
Click to expand...
Click to collapse
# 11
Platforms tool zip is attached in #9.
Hope this helps.
optimusodd said:
# 11
Platforms tool zip is attached in #9.
Hope this helps.
Click to expand...
Click to collapse
Is it different to the SDK? I already have the SDK, wondering if it's just a duplicate.
Sent from my locked, tampered ville
usaff22 said:
Is it different to the SDK? I already have the SDK, wondering if it's just a duplicate.
Sent from my locked, tampered ville
Click to expand...
Click to collapse
It's just the platform-tools folder present in the sdk, nothing different from the official one
Yesterday I've tried again and now the sdk manager works! Although I haven't done anything to make it work :silly:
usaff22 said:
Is it different to the SDK? I already have the SDK, wondering if it's just a duplicate.Sent from my locked, tampered ville
Click to expand...
Click to collapse
That's platform tools folder.Do you have platform-tools folder inside android-sdk folder ?(C:\Android\android-sdk)
You said you were having problems accessing fastboot in Windows 8.In case of elia222,he was unable to download the platform-tools.Are you facing the same problem ?
optimusodd said:
That's platform tools folder.Do you have platform-tools folder inside android-sdk folder ?(C:\Android\android-sdk)
You said you were having problems accessing fastboot in Windows 8.In case of elia222,he was unable to download the platform-tools.Are you facing the same problem ?
Click to expand...
Click to collapse
No, I'm able to access and download platform-tools, however unable to connect to the device. Both my One S, my brother's Sensation and my Wildfire won't connect.
usaff22 said:
No, I'm able to access and download platform-tools, however unable to connect to the device. Both my One S, my brother's Sensation and my Wildfire won't connect.
Click to expand...
Click to collapse
Disable your firewall,antivirus or anyother security software before running the installer.
Also,run SDK Manager as an Administrator(Right Click on SDK Manager>select run as an Administrator).
Ok, this isn't my first rodeo as I've owned many android devices including the old nexus 7. I'm trying to unlock and root this but I can't install the drivers. I tried the device manager method and when I search it can't find anything and I tried a website to manually do it by downloading a zip and choosing it to no avail. Any one have the link to the drivers as that website may not of been accurate or anyone have any other suggestions?
You need to unzip it first.
Username invalid said:
You need to unzip it first.
Click to expand...
Click to collapse
Yes I did that and it only had two folders that showed up while browsing in the update drivers part in device manager. One was AMD86 and the other was i3 something and neither of those matched the picture in the steps but I used the link given within the same tutorial.
http://developer.android.com/sdk/win-usb.html
Username invalid said:
http://developer.android.com/sdk/win-usb.html
Click to expand...
Click to collapse
Ok I still cannot install the drivers. When I downloaded the file provided in that link, there are no driver options at all. There are only two folders in which I described in my previous post and neither have drivers in them. I'm no noob and have done this plenty of times, I even tried to adb reboot bootloader and it says device not found and yes USB debugging is on so I'm assuming I can't do anything until I some how install the drivers.
Which website guide are you looking at?
Username invalid said:
Which website guide are you looking at?
Click to expand...
Click to collapse
The one on the site. Ok I installed SDK manager and I checked google usb drivers in it and it installed it, but when I do the adb commands it still says device not found -.-
C-4Nati said:
The one on the site. Ok I installed SDK manager and I checked google usb drivers in it and it installed it, but when I do the adb commands it still says device not found -.-
Click to expand...
Click to collapse
If nothing else works, you might consider partitioning your hard drive and installing a secondary OS. Both Windows 8.1 and Ubuntu worked for me no problem.
Code:
sudo apt-get install android-tools-adb
sudo apt-get install android-tools-fastboot
adb reboot bootloader
fastboot oem unlock
fastboot reboot-bootloader
cd Downloads
fastboot flash recovery openrecovery-twrp-2.6.0.0-flo.img
adb push update-supersu-v1.51.zip /sdcard/Downloads
C-4Nati said:
The one on the site. Ok I installed SDK manager and I checked google usb drivers in it and it installed it, but when I do the adb commands it still says device not found -.-
Click to expand...
Click to collapse
Ok I installed the drivers correctly, I figured it out. Now when I try the adb commands it says device offline when it's clearly not lol...
I've got everything working now and unlocked and rooted. I appreciate all the help you have offered to me. I do not remember it being this difficult with the original Nexus 7 lol.
C-4Nati said:
Ok I installed the drivers correctly, I figured it out. Now when I try the adb commands it says device offline when it's clearly not lol...
Click to expand...
Click to collapse
Fastboot is all you need to root your device.
C-4Nati said:
I've got everything working now and unlocked and rooted. I appreciate all the help you have offered to me. I do not remember it being this difficult with the original Nexus 7 lol.
Click to expand...
Click to collapse
I'm having a similar problem with drivers, why don't you post how you solved it? I am trying on 2 different windows 7 machines. google drivers don't load, asus drivers don't load. Device manager just says "windows could not find driver software for your device."
---------- Post added at 08:15 PM ---------- Previous post was at 08:13 PM ----------
I figured it out, have to turn MTP on, then install drivers - then you can turn MTP back off if you want.