[GUIDE] (For Noobs) SDK, ADB, and Drivers - HTC Sensation

Hello all! Here is a guide I am going to show for you so you can get Android SDK and ADB working on your computer and learn your way around Android.
[Note] I am doing this on a Windows 7 Home Premium 64bit computer.
Step 1. Get Java. Download Links Here
First what we need to do is download and install Java for your computer.
Since mine is a 64bit I will need to download both the 64 and 32 bit versions of Java.
If your computer is 64bit you will need to download both.
If 32bit download only the 32bit version.
Once you have Java installed we can move on to the next step.
Step 2. Get Android SDK Download Link Here
Since we have installed Java now we move on to Android SDK.
For Windows users you have 2 options to download SDK.
I chose the .zip file over the .exe Download to the zip
Once finished with the download extract the .zip file.
After zip is extracted open the folder called "android-sdk_r11-windows"
With that open click on the folder, "android-sdk-windows", to rename it.
Rename it AndroidSDK
Open Computer from the Start Menu
For me my Local Disk is C: so I am going to place the folder AndroidSDK in my Local Disk C: drive
Now we have SDK placed in our Local Disk drive now we are going to open the folder and run the .exe called "SDK Manager"
After it loads up it will show you a screen like this.
Just hit Cancel
From the next menu click "Available packages"
Click the drop down arrow on the "Android Repository"
Check the box "Android SDK Platform-tools, revision 5"
At the bottom right of the windows you will see a box "Install Selected" click that and then you will be prompted to download and install the package click "Install"
After it is downloaded you will be prompted with this.
Click Yes, then it should say "Done. 1 Package installed."
Click close and close out of the SDK Manager, bring back up your AndroidSDK.
You should have a file named "platform-tools" open it and select all the files.
Right click and select cut.
Now we are going to go back in our SDK folder open "tools" and paste
You will get a message saying there are already files with the same name, just tell it to replace that file.
This is what it should look like afterwards.
Now we are done with AndroidSDK!
Step 3. Download HTC Sync Download Page Here
Now we have our SDK setup we are close to having our phone ready for ADB.
Download HTC Sync (It is a rather large file 148MB)
This will give us our Drivers for our Sensation.
Once downloaded run the .exe file and follow the on screen instructions.
Once finished go to your phone and go to Settings/Applications/Development and Check USB debugging is on. Now connect your phone to your computer.
Now that your computer has installed your drives we can now use ADB!
Step 4. Conclusion
So far the things we have done were to get us to use our phones for ADB to use a program like, "Fre3vo" to where we can have a temp-root.
Now lets see if our hard work has paid off.
Go to the Start and open command prompt (type cmd in the search and hit enter)
Once your at this stage on the command prompt
type
"cd\"
"cd androidsdk\tools\"
"adb devices"
(don't include the quotation marks)
You should see your device come up like so.
Congratulations you now have everything you need to being!

Very good tutorial, thx.
Sent from my HTC Sensation Z710e using XDA Premium App

Bogdanbd said:
Very good tutorial, thx.
Sent from my HTC Sensation Z710e using XDA Premium App
Click to expand...
Click to collapse
I tried to add every bit of detail that is why it is so long and with many pictures for new people coming to the Sensation and don't know where or what to do. Thanks for you complement.

This is what I explained in the other thread to the guy who made a whole thread about it. Good to see that you created a complete guide with screenshots, cheers!

Thanks.
This is really cool man.
I have a dumb qustion after I do all this then what should I do
and how I push ADB ?

salman saso said:
Thanks.
This is really cool man.
I have a dumb qustion after I do all this then what should I do?
Click to expand...
Click to collapse
As of right now there is not much you can do.
This is just a guide to help people for info as well as people who want to try this temp root [GUIDE] Fre3vo / Fre3dom Official Thread
New 100% reliable "temp root" for Titanium Backup (won't stop working until reboot!)
or [GUIDE] Disabling system/bloatware apps using temp root

excellent guide . very positive approach /
now waiting for permanent root /

aftab565 said:
excellent guide . very positive approach /
now waiting for permanent root /
Click to expand...
Click to collapse
Thanks for the comment! I hope this gets pinned so many new comers will know where to start. I hope we get S-OFF soon!
Sent from my HTC Sensation 4G using XDA App

MLIGN said:
Thanks for the comment! I hope this gets pinned so many new comers will know where to start. I hope we get S-OFF soon!
Sent from my HTC Sensation 4G using XDA App
Click to expand...
Click to collapse
Hi,
Great guide.
Works for me.
+1 for the sticky.
Sent telepathically from my PYRAMID

Awesome guide, you are Thanked Sir

Just a little tip to save a few key strokes. To get to a cmd prompt and be ready to start typing commands right away, just navigate to the AndroidSDK directory and open it. Then hold the shift key + right click on Tools folder, you will see a option for opening a cmd prompt here.
Just saves a few strokes.

This should be made into a stickie!

Thanks for this...I wouldnt have a clue otherwise.
Sent from my HTC Sensation Z710e using XDA App

First Of all tnx for the !
i did exactly how you wrote.
but i have a problem
i have win7 64 bit

PiloterB said:
i did exactly how you wrote.
but i have a problem
i have win7 64 bit
Click to expand...
Click to collapse
Do you have a virus protection program open?
Try to disable the virus protection program first, if that doesn't work. I have another way to get the drivers.
It's a bit more complicated but it works.
I made this guide on a brand new computer, and wrote this guide from a brand new computer stand point. So I didn't have any virus protection or any firewall programs.
Try to reboot and uninstall HTC Sync and reinstall.
Hope this helps!

Slightly easier way to get ADB and Fastboot running in ANY window without having to go to the SDK folder each time (this is for Windows 7 but should work in other Windows version too):
1. Click 'Start and right-click on 'Computer'
2. Go to 'Properties'
3. Click on 'Advanced system settings' in the top-left corner
4. Click the 'Environment variables...' button
5. In the bottom pane, scroll down to the 'Path' entry and then add the location of the SDK to the end of the line, using a ; to seperate it from the previous entry
Voila, you can just open a CMD windows and type adb and you're good to go!

Thanks so much for this guide. This is my first Android phone so I am a complete noob. I'm gonna try the temp root now!
Sent from my HTC Sensation 4G using XDA App

EddyOS said:
Slightly easier way to get ADB and Fastboot running in ANY window without having to go to the SDK folder each time (this is for Windows 7 but should work in other Windows version too):
1. Click 'Start and right-click on 'Computer'
2. Go to 'Properties'
3. Click on 'Advanced system settings' in the top-left corner
4. Click the 'Environment variables...' button
5. In the bottom pane, scroll down to the 'Path' entry and then add the location of the SDK to the end of the line, using a ; to seperate it from the previous entry
Voila, you can just open a CMD windows and type adb and you're good to go!
Click to expand...
Click to collapse
I have this done to mine, I just didn't want to overload newcomers on all this info real quick.

MLIGN said:
I have this done to mine, I just didn't want to overload newcomers on all this info real quick.
Click to expand...
Click to collapse
Fair enuff, but it's quite easy to do if you follow those instructions. Combined we've put pretty everything you need to get it running

Instead of copy pasting adb from platform-tools to tools you can do this:
http://www.addictivetips.com/mobile/what-is-adb-and-how-to-install-it-android/
read step 3. works great.
Edit: read the edit .
Thank you for the guide btw. I wish i researched and found out how to do it, its easy but a great guide like this would have gone a long way and save me an hour

Related

[HOW-TO] ADB for Dummies(How-To Learner's Guide)

Hi,
My name is Joe aka AndroidSamurai.. I will be releasing more guides and media content in the weeks to come.
I'm currently very busy with "life events(new baby)" and apologize for my absence.
I will be updating this post since it was my original with a new guide updated to new SDK and Android methods.
Thanks again,
AndroidSamurai
Android4D Inc
<golf clap>
Well done.
</golf clap>
What do i do if the new hardware device notification doesnt pop-up ? NM i got it. Thanks for the writeup
@King_tee: Assuming windows, you follow the following steps.
1. Start > Control Panel > System.
2. Hardware > Device Manager
3. Click on the last icon below the File menu. It should correspond to "Scan for Hardware Changes."
If that doesn't work, try unplugging / replugging USB cable, different USB cable, restarting phone, restarting computer, etc.
If you never see the notification, navigate to the Device Manager(inside "System" in the control panel in XP and inside Device Manager on Vista).
You will see ADB Android Device at the top of the list with a Yellow Icon beside it meaning the device is not working. Right-click on the device and select "Update Driver".
Follow the dialogs that pop-up and navigate to where the unzipped drivers are at...
You should be good to go from there...
ok, i need some help please... I downloaded the SDK and followed the instruction in this thread, but when i try to update my driver for the phone, it says the driver is not compatible with my phone.. I am using Haykuro's ROM 4.5 with FW 1.5.. would that be the reason for this issue?
devildogg2001 said:
ok, i need some help please... I downloaded the SDK and followed the instruction in this thread, but when i try to update my driver for the phone, it says the driver is not compatible with my phone.. I am using Haykuro's ROM 4.5 with FW 1.5.. would that be the reason for this issue?
Click to expand...
Click to collapse
you may need to uninstall the current driver for your phone if you have mounted it before downloading the SDK. if you don't have the SDK setup the first time you plug the phone in then your computer will auto-update the driver to a regular UMS driver and it won't help you when you try adb. i forget how to uninstall your current driver since i don't use windows, but i'm sure you can find a nice crash course online
tubaking182 said:
you may need to uninstall the current driver for your phone if you have mounted it before downloading the SDK. if you don't have the SDK setup the first time you plug the phone in then your computer will auto-update the driver to a regular UMS driver and it won't help you when you try adb. i forget how to uninstall your current driver since i don't use windows, but i'm sure you can find a nice crash course online
Click to expand...
Click to collapse
I dont know if thats the problem because when i plug it in, it doesnt show up as a notification, and when i go to the device manager it shows the little yellow triangle.. I'll look again. Thanks for the quick reply though. I am no expert in linux, but i have it installed, let me see if i can figure it out there..
tubaking182 said:
you may need to uninstall the current driver for your phone if you have mounted it before downloading the SDK. if you don't have the SDK setup the first time you plug the phone in then your computer will auto-update the driver to a regular UMS driver and it won't help you when you try adb. i forget how to uninstall your current driver since i don't use windows, but i'm sure you can find a nice crash course online
Click to expand...
Click to collapse
ok, so i am in linux now, and i just noticed this guide was for windows.. lol can you or someone tell me how to install the SDK on linux?
devildogg2001 said:
ok, so i am in linux now, and i just noticed this guide was for windows.. lol can you or someone tell me how to install the SDK on linux?
Click to expand...
Click to collapse
Downloading
http://developer.android.com/sdk/1.1_r1/index.html
Installing
http://developer.android.com/sdk/1.1_r1/installing.html
Found through Google...imagine that.
as well as what xyrcncp said can you you can download it and just mv ~/Desktop/sdk/tools/adb /usr/bin/adb abd you should be able to run the adb commands from any directory. not too hard to cd to the correct directory but i personally don't like to type cd ~/Phone/tools/android-sdk/tools every time cause i tend to make typographical errors. let me know how it worked but you shouldn't have any problems at all
umm no offense but your writing a tutorial for people that are not sure on how to do this, so you must assume that they do not know how to run an executable file...... write yourself a better tutorial without actually bashing the self esteem of some people... tutorials are positive not negative. I already know all of this but still... dont degrade someone due to the fact they dont know how, thats the whole point of writing your tutorial. Nothing should have been left out (including how to run a .exe .com or .bat
" (If you do not know how to install a windows executable file, please kill yourself now! ) "
this isnt honestly written with any hatred towards you, it was a good tutorial. Just might want to think about how you write it next time.
The "bashing" comments in my tutorial are directed towards the people with a true sense of humor. My tutorial was written to tell you how to simply complete a task and not to make you feel better about yourself. I do not get pleasure in abusing people's self esteem nor do I enjoy putting people down.
Just because you got a little sand in your crack does not mean you need to come in a very honest and informative thread and start bashing the people who are bending over backwards to help everyone out.
The reason I created this "tutorial" in the first place was because all the other threads are full of "start searching and stop asking so many damn questions" comments.
So start looking in the mirror when you wake up in the morning and stop saying "My, I think I will run over to good ole' XDA and be an @$$ to everyone today".
I am sincerely sorry that a little sense of humor has caused so much hatred in my thread. Please contact the forum moderators and see if the think my tutorial is so hateful.
lol i dont see any hatred but anyway when i download the adb driver when extracting it says unknown method
@ Nabzilla1990
Are you using Windows or Linux?
Are you using the built-in Zip tool or 7-zip from the links I provided?
Are you using a 32 or 64-bit OS?
using the same operating system as you 64bit vista ultimate sp1 and using winrar to extract
Try using 7-zip man, I have been using it for 3 yrs now.
Basically what I am saying is that everything in my guide is guaranteed to work.
Just to add, if you take adb.exe and adbwinapi.dll and copy or move them to the \windows\system32 directory you can run adb from any dos directory prompt.
it worked with 7-zip thank you and also want to add if it doesnt work for some people plug in ur phone and update the usb mass storage with the usb driver from here and it should work i had that problem earlier
Okay, so I did everything and got up to run cmd, when I type in the cd C:\android-sdk-windows-1.1_r1\tools it says not a specififed folder, but when I type it without the \tools it doesnt work. can anyone help?

I just need a little help

I currently have a mytouch 3g and am running a slide rom on it, problem is there is no keyboard, how do I manually install an apk file preferrably from the computers console such as swype or astro both of which apk files are currently on my sd card. Any help is much appreciated, I started using this forum in 2008 but have never once posted, sad really. ive been trying to install it via adb commands but I keep getting device not recognized errors, feel free to flame my noobishness
Once you have a file explorer you can just click on APKs to install them. If you don't have access to the market to get a file explorer you will have to install them using the ADB method. I found a forum post that gives some rough instructions, but it sounds like you don't have ADB set up correctly. Also I believe the path used with the adb install command is the location of the apk on the PC.
http://androidcommunity.com/forums/f4/how-to-install-apps-using-adb-4482/
The following is a response to someone having a similar problem on another site:
http://www.androidkit.com/steps-to-install-and-uninstall-apk-file-on-android-g1-device
The message is coming because the drivers for the G1 Android device are not properly installed.
If you are running windows, Check so:
Right click on My Computer, and click Manage, then go to the device manager
If you see an “ADB Interface” category at/near the top, with “HTC Dream” under it, then you’re good to go.
Else, you need to install the drivers by pointing to the driver location to the usb_driver folder under the android sdk folder installed by you, while the device is connected, and the system prompts for it.
Click to expand...
Click to collapse

Cannot open ddms.bat in order to take screenshots on Nexus One

I wanted to take screenshots of my Nexus One (2.2 FRF91/T-Mobile/Stock) but I'm just a newbie so I followed the guide on andriodcentral Anrdroid 101 tips. (Sorry I can't link to it since I'm a new user on these forums
That guide led me to another guide on how to install the sdk
When I tried to pull my 3rd party apps, cmd didnt do anything it simply said "0 pulled, 0 skipped", however I was able to pull my standard apps. I'm confident the sdk was installed correctly though.
I'm using a laptop with Windows 7 64bit and an AMD processor, I'm not sure if that information is helpful or not
I've already downloaded and installed the android 2.2 sdk, java runtime environment, java development kit. I've also properly installed the ADB drivers for the Nexus One. I also downloaded Eclispe but when I tried to run it, the application won't open. I have a feeling its because I didn't install it properly.
My problem now is that the ddms.bat (Dalvik Debug Monitor) won't open when I double click on it. I tried to right click and run as administrator but that didn't work either. In both cases when I try to open it, a cmd windows opens for a fraction of a second and then closes before I can read it. So I googled it and found a website that seemed to be able to solve the problem but its geared towards linux users.
I specifically followed these directions "To fix this a replace of the bundled swt is needed. The file is located under android-sdk-linux_x86-1.5_r3/tools/lib/. Rename swt.jar to swt_32b.jar. Next download swt for your platform. I have used swt-3.4.2-gtk-linux-x86_64.zip. Unpack the file swt.jar in the zipfile to android-sdk-linux_x86-1.5_r3/tools/lib/ and finally start ddms" but that didnt work either. So now my android-sdk-windows/tools/lib/x86_64 is full of other files rather than just having that swt.jar file.
Can anyone please help on getting ddms.bat to open or on how to get eclipse to open?, I'm so close to being able to take screenshots.
Some notes:
1.I'm not interested in rooting (too worried about bricking my phone), so please don't recommend that I root first.
2. USB debugging was ON when I tried it
Open up a command prompt. (Start -> search "cmd")
use CD to get to the folder where you keep ddms.bat
open ddms.bat from the command prompt by simply entering "ddms.bat" then press Enter. That will keep it from closing the window.
Just to see if it gives any errors.
Thank you so much!
However the error message that cmd is now giving me is : WARNING: Java not found in your path.
Could you please tell me how I can do this? for the time being I'm searching the internet for help but the first thing I found seems super complicated
I finally got it to work, wish I could link the imgur pic, but I'm still a new user but here's the end of the imgur link code :ucBpY
TaeKwonDonkey said:
I finally got it to work, wish I could link the imgur pic, but I'm still a new user but here's the end of the imgur link code :ucBpY
Click to expand...
Click to collapse
how did you fix it?
Follow this guide....it may help you click me..!! :good:
thank you,
P.007

How to install adb windows 7 32 and 64 and should work on XP

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™

How to install and configure sdk/adb on Ubuntu

I want to be able to use adb to pull/ push apps to my phone.
I recently converted my PC to Ubuntu 10.10 from windows and I am finding it impossible to find any sort of noob friendly guide as to how I can actually get it installed and working.
Can anyone help? Or point me towards a guide. All the stuff I find seems to assume you either already have it installed or know how to do it already!
Sent from my GT-I9000 using XDA App
Well thanks for your help folks
Sent from my GT-I9000 using XDA App
here ya go http://tinyurl.com/44zscrd
Follow the first guide, if you still have problems post back and I'll try to help you with what you need
Ok I tried this, I realise you were taking the piss but the guide was good except I could not get Ubuntu to recognise my device. Followed the instructions to the letter. I know Linux is not meant to be easy but why is it SO hard?
Sent from my GT-I9000 using XDA App
branalvere said:
Ok I tried this, I realise you were taking the piss but the guide was good except I could not get Ubuntu to recognise my device. Followed the instructions to the letter. I know Linux is not meant to be easy but why is it SO hard?
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
ubuntu recognizes it by default unless you modified your settings or messed with the kernel.
http://developer.android.com/sdk/index.html
Download the Linux tools. Extract it then open your terminal and go to the extracted folder, inside here is a folder called tools, with the terminal cd into tools and type ./android.....app should open, go to available packages, android repository, check the first one and should be android sdk tools.
Click install selected at the bottom right. Once it's done you will have adb installed.
On your phone, go to settings, applications, development, check usb debugging. Also check unknown sources.
Inside the folder you are in, there should be a file/ script called adb. This means you can run the adb commands from here.
In terminal, assuming you are in the folder where the adb file is located, type:
Sudo ./adb start-server
This should recognize your phone.

Categories

Resources