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

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?

Related

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™

About installing sdk/adb/usb driver

anyone here who can help me with installing Android SDK/ADB/usb driver/whatever it is? well im just copying this guide
androidcentral.com/sdk-driver-root-oh-my (cant put links)
but i keep failing at this part
Select "Browse my computer for driver software."
Now browse to the SDK folder, and point Windows to the folder named usb_driver. Click the image below to enlarge it and see the usb_driver folder inside your Android SDK.
Click to expand...
Click to collapse
when i click next it stops and then this shows up
gyazo.com/e2e6f992cb594b750a5359ecbe161184.png
i wasted 4 hours on this already and i feel really stupid
would appreciate it very much if someone could help.
by the way i reinstalled it, then tried to do it using this guide adrynalyne.us/files/How%20to%20install%20adb.pdf
all was going good until i tried to plug my phone while the USB Debugging is turned on, it won't even show the option of "Locate and install driver software."
i tried to check device manager but i cant find adb in there to load it or something. oh and i found many new i haven't seen before, like Android USB Device, Android phone, etc.
someone on another forum suggested that i download htc sync 3.0 too, so i did, but i dont really have any idea how to use it
sorry if i seem stupid, just really really new to this, got an android phone for xmas as a gift
Search for phone drivers on the manufacturers website and of you are on 64 bit, get 32 and 64 bit drivers
Sent from my Epic that craves frozen yogurt

[Q] Cannot make root progress on Kindle Fire- Win XP sees as Android Composite...

Can anyone please help me...?
I'm running Windows XP, using the Kindle Fire Utility, and have installed Android SDK Tools. I'm attempting to root a Kindle Fire running 6.3.1.
I have followed instructions (from here and elsewhere), and while the KFU driver installer would not install the proper drivers, I WAS able to direct Windows to the driver folder and have it install them directly. Afterward, Windows had no problem seeing (in Device Manager) the KF as 'Android Composite ADB Interface', indicating the drivers are correct.
Now the problem. No matter what I do, I can't get ANY of the root systems (KFU or SDK Tools) to see the device when it is connected. Tried to use Fastboot command to change the boot loader to 4002 fastboot mode, but it also hangs on '< waiting for device >'...
I can see the device as a mass storage device in 'My Computer' and can add or delete files from it without issue, but I just can't make any progress rooting this thing without the appropriate programs being able to see it!
I HATE feeling stupid, and this thing is REALLY making me feel like I'M the idiot that can't see what's right in front of his face! Can someone PLEASE light the neon sign that will finally illuminate what my obviously lacking vision refuses to see?? (T_T)
Thank you for taking the time to read all this, and thank you to ANYONE who answers with ANY useful information! I'll be watching, and waiting with baited breath for SOME sort of assistance...
-Asuka Jr.
<update> 120 views now, and not even a scathing remark about how much of a moronic noob I am... While waiting, I went to PCWorld, and tried to follow their step-by-step, downloading Firefirefire, fbmode, TWRP, AOKP, and Google Aps for AOKP release 38. Once again, attempted to follow directions, and once again, get one of the dreaded variants 'device not found' when trying to use adb to push the fbmode file to the KF... (T_T)
SOLVED!!
It WAS a driver issue! I would like to say:
Thank you, thank you, THANK YOU!!! To josepho1997!
He posted a link to a set of drivers that was EXACTLY what I needed to get the Kindle to be recognized by root software!
KF is now fully rooted and flashed, and running IceCream Sandwich!!
Sorry I posted this whole thing here, instead of in the Q&A for the Kindle Fire... for some reason, I thought that was where I was, but later noticed otherwise...
To admin: please feel free to delete this whole topic, as it wasn't in the right place to begin with...
Once again, thank you to josepho1997 for his post to themagicm containing the link to the FAR better driver set!!!
-Asuka Jr.

[Q] Too dumb to even get drivers!?!

Firstly, thank you for this great forum! I've already found a lot of great info on here, and love my new phone. I was trying to get drivers on my PC to start rooting my phone, but now that I can't even do that, I'm unsure that I should even be trying to root at all. Most, if not all of the driver's links that I've found here are dead so I tried a few other methods: Plugging in the phone after selecting USB debugging. Windows searched for drivers automatically, but found none. Downloaded HTC Sync, but it doesn't recognize my phone. I'm confused because I was already able to transfer my mp3's to the SD card via usb, but otherwise it seems like my phone isn't recognized.
My HBoot is the 1.45.0013, so I take it that it can't easily be turned S-off, but I probably don't need that anyway for what I want. I simply want to be able to remove all of the bloatware, and have access to functions like CPU control. For just that, I think that rooting while S-on will be fine?
I know that this is an old phone, but I bought it because the specs are still quite good, and I was able to get it brand new on Amazon for a song...............I would hope that there are at least drivers still available for it. Thanks for any help in advance!
~E
ericdg said:
Firstly, thank you for this great forum! I've already found a lot of great info on here, and love my new phone. I was trying to get drivers on my PC to start rooting my phone, but now that I can't even do that, I'm unsure that I should even be trying to root at all. Most, if not all of the driver's links that I've found here are dead so I tried a few other methods: Plugging in the phone after selecting USB debugging. Windows searched for drivers automatically, but found none. Downloaded HTC Sync, but it doesn't recognize my phone. I'm confused because I was already able to transfer my mp3's to the SD card via usb, but otherwise it seems like my phone isn't recognized.
My HBoot is the 1.45.0013, so I take it that it can't easily be turned S-off, but I probably don't need that anyway for what I want. I simply want to be able to remove all of the bloatware, and have access to functions like CPU control. For just that, I think that rooting while S-on will be fine?
I know that this is an old phone, but I bought it because the specs are still quite good, and I was able to get it brand new on Amazon for a song...............I would hope that there are at least drivers still available for it. Thanks for any help in advance!
~E
Click to expand...
Click to collapse
ADBSetup will get you the drivers you are looking for:
http://dottech.org/21534/how-to-ins...ows-computer-for-use-with-your-android-phone/
Worked for any Android phone I tried.
Thanks, I'll give that a shot and see what happens!
Okay, I installed the driver from ADB, but still can't get HTC Sync to work...........................from reading other threads, it sounds like that's a common issue, though. Is there any way to confirm that I have the drivers installed? Under "devices and printers" on my PC, it will recognize an android phone when the phone is set to disk drive or charge only, but not USB tethering. When I switch the phone to the tethering option, the phone's icon on the PC moves from devices to unspecified. Then when I hover over it, it says there's no drivers. Again, I'm in debugging mode and have already copied MP3's to the SD, but I'd just like to confirm whether or not I have the needed drivers before starting the root process.
Thanks,
~E
ericdg said:
Okay, I installed the driver from ADB, but still can't get HTC Sync to work...........................from reading other threads, it sounds like that's a common issue, though. Is there any way to confirm that I have the drivers installed? Under "devices and printers" on my PC, it will recognize an android phone when the phone is set to disk drive or charge only, but not USB tethering. When I switch the phone to the tethering option, the phone's icon on the PC moves from devices to unspecified. Then when I hover over it, it says there's no drivers. Again, I'm in debugging mode and have already copied MP3's to the SD, but I'd just like to confirm whether or not I have the needed drivers before starting the root process.
Thanks,
~E
Click to expand...
Click to collapse
Easiest way to tell is open up a command prompt in the folder that adbsetup installed to (C:\ADB I think) and type:
Code:
adb devices
If all is well, then the device will be part of the listing.
Thanks Joel.............I think it worked.
The ADB command came back with:
List of devices attached
HT22_______7 device
That's not a number that I've ever seen associated with my phone, but I assume that's it.
Confirmed.................I was able to reboot the phone by ADB!
Excellent! This will also mean the fastboot commands needed to unlock your bootloader will work too.
.........one would think so, Joel, but I can't get fastboot to do anything. ADB recognizes the phone, and will reboot into bootlocker, but once there it'll do nothing. Windows pops up a message shortly after bootlocker opens that says something to the effect of "there was a problem with USB device not recognized". I tried the command "fastboot devices", but got nothing. I know that I'm darned close, and it's probably something simple, but just can't get it to work. Maybe I need additional drivers for fastboot, or need to move it to another directory?
Thanks,
~E
Interesting. Try this:
Go into fastboot mode on the device, with the USB cable plugged in. On the computer, open up device manager. What is read for Android Device? Is there a noted problem with the driver? Open the properties for that device, and select Update Driver. The search process should find something appropriate now (as ADB Setup saves the drivers in the system32 folder - I think).
If not, what kind of user did you run ADBsetup as? If it was one without admin privileges, try installing again as admin (this allows the drivers to be saved where you want them to be).
If there are still problems, unfortunately I cannot think of anything else.
joel.maxuel said:
Interesting. Try this:
Go into fastboot mode on the device, with the USB cable plugged in. On the computer, open up device manager. What is read for Android Device? Is there a noted problem with the driver? Open the properties for that device, and select Update Driver. The search process should find something appropriate now (as ADB Setup saves the drivers in the system32 folder - I think).
If not, what kind of user did you run ADBsetup as? If it was one without admin privileges, try installing again as admin (this allows the drivers to be saved where you want them to be).
If there are still problems, unfortunately I cannot think of anything else.
Click to expand...
Click to collapse
I'm almost sure that the problem lies with the drivers now, but just don't know how to fix it!?! In device manager the phone moves into different categories, depending on the connection type; Charge only, and disk drive both work fine, but the icon for tethering shows no drivers installed. After rebooting into bootlocker the phone automatically switches to tethering, so I assume that's needed for getting root. I can't install drivers when the phone's in tethering from device manager, with either auto or manual. It just won't take! I've tried re-installing HTC sync, removing and re-installing multiple driver files, and the phone's just not being recognized. The sync instructions say that it should be a connection option on the phone also, but I've only ever seen the three: charge, disk, and tether. As for user, I'm pretty sure that I did install ADB as admin...............not sure how to check for that now, but the drivers are not in system32 like you mentioned; they're in program files (x86). Maybe the location of the drivers is the only problem I'm having, but I don't know where I want them to be? I hate quitters, but soon I'll just be enjoying the stock ROM for the best of it, if these problems persist!
Thanks,
~E
ericdg said:
I'm almost sure that the problem lies with the drivers now, but just don't know how to fix it!?! In device manager the phone moves into different categories, depending on the connection type; Charge only, and disk drive both work fine, but the icon for tethering shows no drivers installed. After rebooting into bootlocker the phone automatically switches to tethering, so I assume that's needed for getting root. I can't install drivers when the phone's in tethering from device manager, with either auto or manual. It just won't take! I've tried re-installing HTC sync, removing and re-installing multiple driver files, and the phone's just not being recognized. The sync instructions say that it should be a connection option on the phone also, but I've only ever seen the three: charge, disk, and tether. As for user, I'm pretty sure that I did install ADB as admin...............not sure how to check for that now, but the drivers are not in system32 like you mentioned; they're in program files (x86). Maybe the location of the drivers is the only problem I'm having, but I don't know where I want them to be? I hate quitters, but soon I'll just be enjoying the stock ROM for the best of it, if these problems persist!
Thanks,
~E
Click to expand...
Click to collapse
Dont know where you got your HTC drivers, but you should try the ones in this post (step one - hopefully its still live - if not I can dropbox it for you):
http://forum.xda-developers.com/showthread.php?t=1801106
Sent from my LG-D520 using XDA Free mobile app
You're awesome, Joel!
That is the thread that I've been using predominantly, but I found that link to the drivers dead. I sourced them elsewhere, but couldn't really say where exactly since I've tried so many now. If you could dropbox for me, I'd really appreciate it.
ericdg said:
You're awesome, Joel!
That is the thread that I've been using predominantly, but I found that link to the drivers dead. I sourced them elsewhere, but couldn't really say where exactly since I've tried so many now. If you could dropbox for me, I'd really appreciate it.
Click to expand...
Click to collapse
Uh-oh. Either the link was dead when I went through this process back in April, or I had bad organizing skills at one point and didn't put the file in the Doubleshot folder before completing a purge. Either way, I don;t have the file.
Nor did I really need it. The second Doubleshot I rooted I ended up using it in my native Linux environment (no drivers needed), vs my Windows XP emulated through VirtualBox. That's what you could do. Get a live Debian DVD (Im like the XFCE desktop version), boot in, get fastboot:
Code:
sudo apt-get install fastboot
And then use fastboot:
Code:
sudo fastboot ...
Thanks for the link and instructions; I'll probably not be able to try this for a couple of days now................just super busy, but I'll let you know how it went (or, more likely, have questions)! Any linux stuff is completely foreign to me, but it looks fairly straightforward. One question about the link that you provided, though: It looks like an index of a lot of individual files that I'd need. Under the parent directory, the folder named "iso-hybrid/ " is what I want, correct? I do really appreciate your time and help, Joel.....with as many dead links and outdated drivers that I've found, I don't think I could've got root otherwise!
~E
ericdg said:
Thanks for the link and instructions; I'll probably not be able to try this for a couple of days now................just super busy, but I'll let you know how it went (or, more likely, have questions)! Any linux stuff is completely foreign to me, but it looks fairly straightforward. One question about the link that you provided, though: It looks like an index of a lot of individual files that I'd need. Under the parent directory, the folder named "iso-hybrid/ " is what I want, correct? I do really appreciate your time and help, Joel.....with as many dead links and outdated drivers that I've found, I don't think I could've got root otherwise!
~E
Click to expand...
Click to collapse
Just need the one. My recommended file to download is this:
http://cdimage.debian.org/debian-cd...ybrid/debian-live-7.6.0-i386-xfce-desktop.iso
Burn the image (not the file) onto a DVD (can be a rewritable) and reboot with the disc in the drive. Once it's fully loaded, you can either enter commands by clicking on the "terminal" icon on the bottom of the screen (preferred), or press Ctrl + Alt + F1 to get a prompt (may have to log in as "user", there shouldn't be a password). Hope this helps.

Categories

Resources