From what I read a few people have had problems installing ADB on windows 7 so I figured this might help some so here we go
1st Down load the android sdk found here= http://developer.android.com/sdk/index.html
2nd download the java jdk found here= http://www.oracle.com/technetwork/java/javase/downloads/index.html
3rd download Mobile Stream Easy tether. You can find it on the android market. You can use the free version or the pro. Either version will do.
Now install the java jdk and let it run that's all for the java.
Second extract the android sdk to your c:\ drive.
Meaning right click on the android sdk and choose extract.
A window will appear. In the address bar of that window is were the files will currently be extracted to. Please delete everything in the address bar except the c:\ Then click ok and close the window.
Then go to your start menu and click on it. From there go to computer and click on it. Then you will see an icon that says (c That's your hard drive were you extracted the android sdk. Click/Double click on this icon. From there you should see a folder named Android-sdk something something, Right click on this folder and rename it to AndroidSDK
Please rename the folder exactly as I wrote it capitol letters and all.
Next make sure that you have usb debuggin enabled on your phone. If you can't find this, "PLEASE STOP UNTIL YOU DO"
Now open up the mobile stream easy tether application on you phone. This is needed because it gives you an option to download the .exe file for your os/ windows. - So download the .exe and when its done go to your sd card and find the .exe It should be in your downloads folder on your sd card. Once you have the file transfer it to your Laptop/Pc.
Now run the .exe file and when it opens up it will give you an option of Easy tether core or Android USB drivers. Please choose the Android USB drivers. But "STOP" and click the little arrow next to ANDROID USB DRIVERS. A menu will appear. When it does please choose ENTIRE FEATURE WILL BE INSTALLED ON C:\ DRIVE. Check that option as well. Click install and let it finish.
Now please REBOOT your Laptop/Desktop.
When your pc/laptop is up and running, plug your phone into your pc the drivers should begin to install let it finish.
If your using Windows vista 32bit/64bit or Windows 7- 32bit/64bit go to your start menu and click on it. In the search box at the bottom of the start menu type in cmd. After that press the enter key on your keyboard. If your using Windows Xp then go to your start menu and click on "run" This will bring up a little box on the left side of your desktop. In that menu box type cmd and hit enter on your keyboard. This will bring up a command window as well.
When that command window appears. Type this command.
cd\
then hit enter
Now type cd\AndroidSDK\tools\
then hit enter
Now type adb devices. You should see a bunch of numbers.
Those numbers. Represent your phone.
Now type
adb shell
Then hit enter on your keyboard.
You should see the # sign. That means you have adb installed. To test it just type reboot recovery and it should reboot your phone into your current recovery. From there you got it.
I hope this helps anyone who was having a hard time installing adb with the htc drivers.
Edit if you need help installing adb on ubuntu see my thread here
http://forum.xda-developers.com/showthread.php?t=794624
thanks really needed this a while back
Great guide, but this is all I do if I need basic adb to access my phone to get shell access or push/pull apk files, etc. It takes maybe 5mins tops depending on my download speed.
If all you need is adb to access your phone for shell access, or to push or pull files (like .apk) then do the following:
Download HTC Sync software from HTC's website. Install this software. It includes the needed USB drivers. This works on 64 bit machines as well. I know because it is what I use.
Download the Android SDK for Windows.
Use your favorite tool to extract the Windows Android SDK to the location of your choice. I use 7-zip, but Windows supports extraction of .zip files by default. Right click the file and choose Extract All. For the sake of this guide we will use C:\. Put that in the box when it asks where to extract to.
Once extracted you should have C:\android-sdk-windows folder on your computer, assuming you extracted to C:\ like this guide uses.
Now click your start menu, choose All Programs, click on Accessories, and choose Command Prompt. Power users will know you can also press the 'Windows Key' + R and type CMD and hit enter. Same result either way.
Now type into the black box (command prompt) the following (without the "quotes"): "cd c:\android-sdk-windows\tools\" and press enter. CD stands for change directory. We are navigating your hard drive using the command prompt.
Now you can use adb commands. Simply type adb and hit enter to see a full list of commands. The most common command is "adb shell" (no quotes again) to get to your phones shell.
Remember, your phone needs to be in USB debugging mode (on your phone from the desktop: Menu Key, Settings, Applications, Development, check the USB Debugging box, and accept the notice when prompted) and you need the HTC USB Drivers installed.
I say this is simple, but I'm also not new to computers or the command line so it might not be clear to everyone. If you need clarification please ask.
Note: I've edited my post many times to make it not sound like an attack on OP. There are many ways to do the same thing. Do whatever works best for you.
Actually to correct you --- you have to download the development platforms via adb tools .exe to do development also you will need the eclipse software as well this is for just adb the Java helps in some cases you will see wen using adb Java is helpful also if people want to use the theme injector the Java is there all they would have to do is add it to there path also from what I read quiet a few people were having problems with the HTC sync drivers so this is a way to do it if you can't get the HTC drivers to work and this can't be over complex this takes like 15 min and your done how complex is that????? And to clarify your statement on -- this is the Heroc forum lol really is not the hero android??? That's y I said use the easy tether its gives you the option to install the ABD Android USB drivers but thanks also y not post ur way of installing adb its all usefull knowledge
Root-Hack-Mod-Always™
joselv456 said:
thanks really needed this a while back
Click to expand...
Click to collapse
A man just hope it helps but thanks
Root-Hack-Mod-Always™
laie1472 said:
Actually to correct you --- you have to download the development platforms via adb tools .exe to do development also you will need the eclipse software as well this is for just adb the Java helps in some cases you will see wen using adb Java is helpful also if people want to use the theme injector the Java is there all they would have to do is add it to there path also from what I read quiet a few people were having problems with the HTC sync drivers so this is a way to do it if you can't get the HTC drivers to work and this can't be over complex this takes like 15 min and your done how complex is that????? Lol but thanks also y not post ur way of installing adb its all usefull knowledge
Root-Hack-Mod-Always™
Click to expand...
Click to collapse
Well the topic said "how to install adb" so I was confused as to why it was so in-depth. It didn't say anything about development, Eclipse IDE, etc.
My post was my way of doing it.
Dude you didn't even post ur commands you put what ever what ever a man you can post on this thread it's not like I own it but at least b clear for beginners on what commands you use and make your instructions clear and if this is in-depth I don't get it this is as plain and simple as it gets
Root-Hack-Mod-Always™
Porkrinds said:
Well the topic said "how to install adb" so I was confused as to why it was so in-depth. It didn't say anything about development, Eclipse IDE, etc.
My post was my way of doing it.
Click to expand...
Click to collapse
And I told you about the development platforms because you had stated that my guide was for full on development and its not you need those features to develop like the op says this is just for ADB
Root-Hack-Mod-Always™
laie1472 said:
Dude you didn't even post ur commands
Click to expand...
Click to collapse
I did now, and why so defensive? I'm not attacking your guide or anything. If it works it works. I just said it seemed complex if all you needed was adb.exe to get shell access or to push/pull files.
Defense no way dude just saying if your gonna post ur guide please be clear on what you did so the people know
Root-Hack-Mod-Always™
Porkrinds said:
I did now, and why so defensive? I'm not attacking your guide or anything. If it works it works. I just said it seemed complex if all you needed was adb.exe to get shell access or to push/pull files.
Click to expand...
Click to collapse
See that's what's up the more people know the better thanks I wanna make it so whoever wants ADB can have it in minutes so once again thanks
Root-Hack-Mod-Always™
laie1472 said:
Defense no way dude just saying if your gonna post ur guide please be clear on what you did so the people know
Root-Hack-Mod-Always™
Click to expand...
Click to collapse
You got it. I've edited my first post and hope it clears things up and to make it not sound like I was saying you were wrong or something.
Now what would really help newer users would be a video or some pictures. Might be something to look into later.
And to make it clear anyone who wants to post any kind of way to install adb on any os please do like porkrinds said there are many so all ways are welcomed and if any one needs help installing adb on Ubuntu check my other thread on how to install ABD on Ubuntu
Root-Hack-Mod-Always™
Porkrinds said:
You got it. I've edited my first post and hope it clears things up and to make it not sound like I was saying you were wrong or something.
Now what would really help newer users would be a video or some pictures. Might be something to look into later.
Click to expand...
Click to collapse
Ill post a video later and yea that is a super good idea
Root-Hack-Mod-Always™
Worked great. I was having problems using the HTC sync method and had given up on adb altogether. Thanks for the straight forward and easy to follow guide
trip187 said:
Worked great. I was having problems using the HTC sync method and had given up on adb altogether. Thanks for the straight forward and easy to follow guide
Click to expand...
Click to collapse
No prob just glad u got it up and running
Root-Hack-Mod-Always™
Should work for xp as well
Root-Hack-Mod-Always™
In addition to the OP, if you'd like the ability to run adb commands from any directory via command line, simply copy adb.exe and adbwinapi.dll to your computer's ?:\Windows\System32 directory, where obviously "?" is your Windows installation's drive letter; usually "C".
expxxx said:
In addition to the OP, if you'd like the ability to run adb commands from any directory via command line, simply copy adb.exe and adbwinapi.dll to your computer's ?:\Windows\System32 directory, where obviously "?" is your Windows installation's drive letter; usually "C".
Click to expand...
Click to collapse
I rather just add it to my PATH variable.
Example: http://geekswithblogs.net/renso/archive/2009/10/21/how-to-set-the-windows-path-in-windows-7.aspx
I'd add (on my computer) E:\android-sdk\platform-tools to my PATH variable. No moving files needed.
Trying to keep it simple for new users lol. But many thanks for the post.
Root-Hack-Mod-Always™
When i try and open sdkmanagerexe to install i get a brief cmd screen flash but program does not run to install. Im running windows xp. I have java 6 update 26 java 7 and java se development kit 7 installed. I have sdk on root of C:/ extracted it right to there. Do not have anything in environment variables yet. I had to uninstall sdk and reinstall and deleted out of variables. Do i need a driver to open to install. Usually i install driver after. I dont know. Im lost. Really would like to get my adb and fastboot working again. Any pros out there willing to help it would be greatly appreciated!!!!! Pm me if you want or i will check back. Thanks in advance!!!!!!! Oh and isnt it possible to get adb and fastboot working without installing sdk?
Sent from my HTC Sensation 4G
Are you full admin on the xp pc? Make sure you have full read/write access to the root drive. I take it you already know how to set the variable for the tools menu. If so, try and older version of the JDK something like version six. Sometimes newer means bugs. Let me know know how it goes.
Would it make a difference putting the variable in before opening sdkmanagerexe? Because last time i installed and it ran and i didnt put the variable in till after it was set up. If you could give a recap on how to do this again it would be great. Also i changed the name of the sdk on root of C:/ to AndroidSDK. Dont know if this is throwing things off. But even when i try opening it without renaming. It still does the same. I will try downloading and installing an older version tomorrow. Ill let you know how it goes. Thank you for the response!!!! Dying to get this fixed and working!!!!! Oh and yes im full admin
Sent from my HTC Sensation 4G
Xx12thANG3LxX said:
Would it make a difference putting the variable in before opening sdkmanagerexe? Because last time i installed and it ran and i didnt put the variable in till after it was set up. If you could give a recap on how to do this again it would be great. Also i changed the name of the sdk on root of C:/ to AndroidSDK. Dont know if this is throwing things off. But even when i try opening it without renaming. It still does the same. I will try downloading and installing an older version tomorrow. Ill let you know how it goes. Thank you for the response!!!! Dying to get this fixed and working!!!!! Oh and yes im full admin
Sent from my HTC Sensation 4G
Click to expand...
Click to collapse
Yes, you have to define and place the variable before starting the sdk executable. I would restart the pc after you do the variable then try running sdk manager again.
I just went to the android kitchen thread to see if there have been any updates to accommodate java 7 and the dev has closed the thread
Any one know how to get the kitchen to recognize java 7, it still is looking for java in the jre6 folder and that isn't there anymore. I have even done a fresh install of cygwin after installing java 7 and it still didn't automatically recognize the new version.
Hopefully dsixda doesn't take too long a break but I am sure it is well deserved, it is a priceless tool.
You can have more than one version of java installed on your system you know. Java 7 isn't going to just magically improve anything for you really unless you're a developer.
True but didn't know if it was an fairly easy change to a script or something to get it to check/recognize the new location. Before it would let me get to the "building a rom from working folder" portion before it would give me a message about java, now it won't even start the kitchen saying it can't find java version.
I wouldn't consider myself a dev by any means but I build roms for my own use and to just try different things out to see how things work/change things, basically to learn what does what.
Between this issue and fact that I can't get pc to recognize my phone as a storage device anymore...I am lost.
Symlink java7 to the old location for java6.
adrynalyne said:
Symlink java7 to the old location for java6.
Click to expand...
Click to collapse
Just to add to what adrynalyne said (since it's the easiest way), that would be using the "ln" command on linux/unix/cygwin or mklink on windows.
Thanks for idea, tried mklink but in process realized I had x86 version of java6 and x64 of java7. So I tried just installing x86 version of java7 and opened up kitchen and was able to create output .zip from my current working folder
Now if I could just get pc to recognize phone properly... then maybe I think I will avoid updates of software for awhile.
i recently downloaded the ubuntu dekstop 14.0.4 LTS (32 bit) and everything was going well .......i burnt the iso file into a cd n even the ubuntu was working fine through the cd but after i installed it ....it said installation completed and the system need to restart and after pressing restart button ..it tells me to remove the cd and hit enter and i did it but after restart it says >>> " busy box v1.21.1 (ubuntu 1:1.21.0-1ubuntu1) built-in shell (ash)
Enter 'help' for a list of built in commands.
(initramfs) unable to find a medium containing a live file system."
does anyone have the solution to this ???? i've searched on google but no success!!!
Easiest way to solve it is probably just to do a reinstall. You did try that, right?
Raven-6 said:
Easiest way to solve it is probably just to do a reinstall. You did try that, right?
Click to expand...
Click to collapse
yes i did thet several times but no success!!
omkar333 said:
yes i did thet several times but no success!!
Click to expand...
Click to collapse
Strange, maybe 14.04 isn't compatible with your hardware somehow. Try 12.04 LTS
Deleted
Raven-6 said:
Strange, maybe 14.04 isn't compatible with your hardware somehow. Try 12.04 LTS
Click to expand...
Click to collapse
a core 2 duo E4400 nad a 4gb ram isnt enough?? and it works like a charm through cd
Hi, Iḿ trying to compile wx_un_do from 5.0.1 source and I have realized that when launch "lunch" command to prepare compilation (rel-st8-l-r2-partner) it needs OpenJDK instead Oracle... Is this ok?
Thnx!
I use OPENJDK, ye. I was confused too. First I had Java 8 and it errors out on me, then I uninstall that and tried Java 7 to no avail, finally kept Java 7 but installed OPENJDK and commented out a line in my build script. Whatever the error it is you're getting, paste the whole thing here.
berryman13 said:
I use OPENJDK, ye. I was confused too. First I had Java 8 and it errors out on me, then I uninstall that and tried Java 7 to no avail, finally kept Java 7 but installed OPENJDK and commented out a line in my build script. Whatever the error it is you're getting, paste the whole thing here.
Click to expand...
Click to collapse
I have compiled the entire ROM with OpenJDK without errors, so I suppose Nvidia prefers this Java version... Any known remarkable difference with Oracle JDK... ???
Thnx.
entelekia said:
I have compiled the entire ROM with OpenJDK without errors, so I suppose Nvidia prefers this Java version... Any known remarkable difference with Oracle JDK... ???
Thnx.
Click to expand...
Click to collapse
It's not a painus in the anus to get your android build machine switched over any more, with nvidia anyways.
I find nothing wrong with OpenJDK, especially for these purposes.