ADB Help - EVO 4G Q&A, Help & Troubleshooting

Does anyone have a complete guide for installing ADB on windows vista? I would really appreciate it.

You have to dl the Android sdk. Then install the java jdk. Once java is on u can run the Android setup. Once u have the sdk on u have to go to options and check force. Then u can see the components available. I chose the 2.1 and usb packs. That's as far as I got last night.

http://developer.android.com/sdk/index.html
This where you can find the sdk needed and alot of information.

okay question, i followed the directions in that link to the letter and still when i plug in my Evo, it asks for ADB drivers. what am i missing??
plus in toasts method, is it really as easy as typing adb COMMAND? you don't have to preface it with anything? im a bit lost

SilverStone641 said:
okay question, i followed the directions in that link to the letter and still when i plug in my Evo, it asks for ADB drivers. what am i missing??
plus in toasts method, is it really as easy as typing adb COMMAND? you don't have to preface it with anything? im a bit lost
Click to expand...
Click to collapse
can't help with the drivers issue, but that's windows for you.
as for using adb, yeah - it's like DOS. you can use it to pass individual commands or as an interactive shell.

figured out what i was missing. Install HTC Sync to deal with the ADB drivers on the phone side(http://handheld.softpedia.com/progDownload/HTC-Sync-Download-81096.html)
and then be sure to add the place you unpacked the SDK tools to the system PATH. after that, everything worked flawlessly!

Related

Easy Rooting on a Mac with SW update applied?

So, I have had an EVO since day one, loving it, but have held out on rooting, especially since I am on a mac, and applied the recent SW updates.
I have read most of the threads on how easy it is on a windoze machine, but can't seem to find any easy, step by step instruction for doing it on a mac..
Am I a douche, or did someone post detailed instructions for this already?
I JB'd all my Iphones, and am an advanced geek, so I am not afraid to try anything..
thanks all!
This method should work for you, provided you know some adb basics. Both are linked below:
forum_xda-developers_com/showthread_php?t=718889
forum_xda-developers_com/showthread_php?t=694250
Edit: Sorry, I cant post links. Replace the _ with . please!
I rooted my evo on my mac. Just download the android sdk for mac. Copy the files that you need to your memory card as it says in the guide. Then open a terminal, type cd and then drag the tools folder from the sdk to your terminal. You should be in the tools directory on your terminal. Then just drag the adb file from the tools directory to the terminal. Now you can use adb commands. I followed the windows guide. It works the same way. There is no need for adb drivers to be installed. It just works on mac. Hope that helped. Sorry, I'm not the best at explaining things.
Section 5 from this guide may be an easier read.
forum_xda-developers_com/showthread_php?t=721055
Where he says paste "adb-windows shell" just paste "adb shell" instead and it should work. I don't have a mac so im not positive tho :/
./adb shell
thanks guys, these are good tips!

my G2 is root proof.

Ive tried the black prince video, the unlockr method and the original xda perm root guide and my G2 will not perm root. Seriously need some help.
do you have adb and sdk installed?
>
no such thing!
its just smarter than you (;
lol
it is funny that you mention the black prince video, because that is what i used. im not sure, but i followed that video exactly and got it my first try. just watch the video very carefully, and follow EVERYTHING that he does and it should work. if not, then i am really not sure. obviously, you just need "S-off"
Are you using Visionary ? I would suggest the rage method, IMHO it's a lot more reliable and you can see if anything goes wrong because you're using individual commands.
i know its possible because I rooted my friends G2 just days before I got mine. I don't have adb, to be honest as soon as i see that it takes more than just installing a program on my pc, i flee, and its not because im new to android or rooting or anything like that, i just don't have a whole lot of spare time. And i DO have S-OFF. Like ill do everything in the blackprince video, then after I'm done I'll got and test the root by typing SU in terminal, and it says permission denied. Or for any of the other methods, same thing.
Now if someone could give me a REAL WALK THROUGH on how to do it in ADB and not just assume I already know how to use it and use vocabulary I don't understand because I've never used the program, i would be willing to try that method. It's just all the walkthroughs for ADB ive found just assume I've already used it before and know how to use it.
adamtheindien said:
Now if someone could give me a REAL WALK THROUGH on how to do it in ADB and not just assume I already know how to use it and use vocabulary I don't understand because I've never used the program, i would be willing to try that method. It's just all the walkthroughs for ADB ive found just assume I've already used it before and know how to use it.
Click to expand...
Click to collapse
Download HTC Sync from the HTC website (look in the downloads section), and install that on your PC. That'll give you all the USB drivers you need.
Download the Android SDK from http://developer.android.com/sdk/index.html and install it on your PC. Be sure to read the guide on installing it at http://developer.android.com/sdk/installing.html
Plug your phone in to your PC using the original HTC cable (do not use a third-party cable for this) and type "adb devices" at your PC's command prompt, and tell us if it can see your phone. It should show up your phone's serial number (don't tell us exactly what that is, this is a public forum), but if there's an error then we need to sort that first.
Edit - partially prompted by this request, I've started an "adb for Noobs" guide (very much a work-in-progress) at http://forum.xda-developers.com/showthread.php?t=865685
installed htc synce, sdk, jdk for sdk, went into command prompt, typed adb devices, said adb was recognized as any kind of command.
and thank you for starting that guide, definitely something that needed to be done.
http://www.youtube.com/watch?v=A1SOSXwkc_8
adamtheindien said:
installed htc synce, sdk, jdk for sdk, went into command prompt, typed adb devices, said adb was recognized as any kind of command.
and thank you for starting that guide, definitely something that needed to be done.
Click to expand...
Click to collapse
when you type adb devices does it recognize your device?
Super easy way.... http://forum.xda-developers.com/showthread.php?t=834228 just copy paste the codes.
Your phone might be s-off, but not allowing you to do any su commands. Mine was, but I just installed rom manager and it flashed clockwork recover no problem, then I flashed cyanogen and everything was good. Go into hboot and just make sure it says s-off, then do the rom manager bit. Try it and see if it works.
no it doesnt do anything. just says its not a command. and ive already looked at that link, i'm already lost when it tells me to navigate to a folder in a command window.
yeah, but i cant use rom manager since i dont have super user permissions. do i just temp root then try to install a rom? that seems sketchy. haha.
Earlier you said that you have S-OFF. If this is the case, then just open up Market and download Superuser by ChainsDD. Then you should be good to go.
adamtheindien said:
no it doesnt do anything. just says its not a command. and ive already looked at that link, i'm already lost when it tells me to navigate to a folder in a command window.
Click to expand...
Click to collapse
When you type "adb" on your PC, Windows needs to know where to find the "adb" program to run it. So you either need to specifically add the directory containing adb to your Windows PATH variable (which you can do in the environmental variables section, which will be in different places on different operating systems - on XP you need to right-click on My Computer, then select Properties, then Advanced, then the "Environmental Variables" button) - or you need to cd to where adb is stored under where you installed the Android SDK, and run it from that folder.
pretend youre explaining this to a five year old...
ok, which operating system do you have on your PC ?
Where did you install the Android SDK, i.e. which folder on the PC did you put it in ?
never mind guys, did what that dude said and just installed a rom with temp root and im all good now. thanks for everyones help though, sorry for my lack of knowledge in adb and what not.

[GUIDE] Install Portable ADB In 5 Easy Steps

No ADB knowledge needed. Just follow instructions.
1. Download mini-adb Here
2. Extract that and put it on your desktop.
3. Go download HTC sync Official Page or HTC sync Direct Download and install it. If you are NOT HTC, then download whatever you need to get the drivers needed for your phone onto your PC (like samsung Kies)
4. Plug your phone into your computer and make sure debugging mode is on.
5. Now go to your mini-adb folder on your desktop and double click RunMe.bat
6. When the black command prompt window pops up, type the following:
adb devices
7. If it lists your Device, then you did it!
8. To push any file, make sure you place it in the same folder as your RunMe.bat, and the command will be
adb push WHATEVERTHEFILENAMEIS /WHEREEVERYOUWANTITTOGO
For example, to push a file called libSwypeCore.so into /system/lib/
Adb remount
adb push libSwypeCore.so /system/lib/
+1 Thanks if this worked for you!
P.S. Technically you have installed ADB by step 5. Step 5 and onwards just tells you how to use it.=P Title doesn't lie.
why not just install Android SDK from http://developer.android.com/sdk/index.html
and you got ADB right after the installation.
By the way if you wanna push something to /system, you have to "adb remount" first to set it "r/w"
When I click runme it opens for a split second and then disappears
I so wish i could of found this earlier to save me the 4 hours of WTF moments i was having.
Also beats not having to install the SDK of 31megs not counting install/setup as well.
jzhyok said:
why not just install Android SDK from http://developer.android.com/sdk/index.html
and you got ADB right after the installation.
By the way if you wanna push something to /system, you have to "adb remount" first to set it "r/w"
Click to expand...
Click to collapse
I almost gave up on adb cuz that way didn't work for me. And yes, I forgot to include adb remount.
this should be stickied for the nooblets.
Fantastic; this is definitely going to make getting CM6 my fiancée's G2 easier. Now, which of the 3 rooting processes below should be the one I use for her stock T-Mobile G2:
http://forum.xda-developers.com/wik...cess_.28Permanent_Root_.2F_.22Permaroot.22.29
http://forum.xda-developers.com/showthread.php?t=834228
http://forum.xda-developers.com/showthread.php?t=886023
Thanks!!
How do I flash a radio with this? Cause I don't see any "fastboot" folder, whatever that is.
BradBot said:
Fantastic; this is definitely going to make getting CM6 my fiancée's G2 easier. Now, which of the 3 rooting processes below should be the one I use for her stock T-Mobile G2:
http://forum.xda-developers.com/wik...cess_.28Permanent_Root_.2F_.22Permaroot.22.29
http://forum.xda-developers.com/showthread.php?t=834228
http://forum.xda-developers.com/showthread.php?t=886023
Thanks!!
Click to expand...
Click to collapse
I edited my post to answer ur Q
convolution said:
I almost gave up on adb cuz that way didn't work for me. And yes, I forgot to include adb remount.
Click to expand...
Click to collapse
Same boat..I saw your post on Jan 20th in the Guide for ADB thread, which is really nice..
But I got to the same point(you also outlined in that thread) of after uninstalling the previous Android usb drivers on my system, and trying to choose a specific location to look for a x86 driver, I was left with Windows not allowing me to click 'OK' to denote the USB driver folder from the Android SDK that I wanted to scan. Not sure what was up, but I was elated to see the link to this thread in your sig.
Thanks for the guide! My Evo 4g Shift thanks u as well
How do I install a Radio with this?
Broman400 said:
How do I install a Radio with this?
Click to expand...
Click to collapse
don't know.
I assume you find the apk, find the lib files, and push stuff to places?
LOL I wiped my laptop cause it had viruses and I forgot how to install ADB so I had to click my own link. LOLL
convolution said:
LOL I wiped my laptop cause it had viruses and I forgot how to install ADB so I had to click my own link. LOLL
Click to expand...
Click to collapse
hahaha
Broman400 said:
How do I install a Radio with this?
Click to expand...
Click to collapse
K I got it. You can only flash a radio if you have S-off.
Download the zip file for the radio. Put it into your SD card. Boot up in recovery. Choose flash zip file. Choose radio zip file. Done.
No adb required.
Gee, thanks past me! I would have forgotten how to get it if it weren't for my own sig!
From: Present Me.
convolution said:
No ADB knowledge needed. Just follow instructions.
1. Download mini-adb Here
2. Extract that and put it on your desktop.
3. Go download HTC sync Official Page or HTC sync Direct Download and install it. If you are NOT HTC, then download whatever you need to get the drivers needed for your phone onto your PC (like samsung Kies)
4. Plug your phone into your computer and make sure debugging mode is on.
5. Now go to your mini-adb folder on your desktop and double click RunMe.bat
6. When the black command prompt window pops up, type the following:
adb devices
7. If it lists your Device, then you did it!
8. To push any file, make sure you place it in the same folder as your RunMe.bat, and the command will be
adb push WHATEVERTHEFILENAMEIS /WHEREEVERYOUWANTITTOGO
For example, to push a file called libSwypeCore.so into /system/lib/
Adb remount
adb push libSwypeCore.so /system/lib/
+1 Thanks if this worked for you!
P.S. Technically you have installed ADB by step 5. Step 5 and onwards just tells you how to use it.=P Title doesn't lie.
Click to expand...
Click to collapse
This archive has some kind of weird ".exe" file. What is this, some kind of balmervirus?
This is an older thread but I'm hoping someone can help me. I had adb installed on my old win7 pc and I had the my nexus drivers installed and everything was good. A month ago I got a new pc that is running win8 and I've had nothing but trouble ever since. I cannot find nexus drivers that will install on windows 8. Is anybody else out there running windows 8 that can help me? The VZW driver exe file would not even install for me and I ran it as an administrator.
ba_hamilton said:
This is an older thread but I'm hoping someone can help me. I had adb installed on my old win7 pc and I had the my nexus drivers installed and everything was good. A month ago I got a new pc that is running win8 and I've had nothing but trouble ever since. I cannot find nexus drivers that will install on windows 8. Is anybody else out there running windows 8 that can help me? The VZW driver exe file would not even install for me and I ran it as an administrator.
Click to expand...
Click to collapse
Yeah... I also gave win8 a try...
I reverted back to win 7. Sorry, can't help you there bro. Have you tried downloading the nexus toolkit and installing gnex drivers using that toolkit?
AW: [GUIDE] Install Portable ADB In 5 Easy Steps
Try this: In Windows 8 install the drivers with Windows 7 Compatibility checked. This did the trick for me while testing adb and rooting a samsung galaxy tab on my windows 8 x64.
I found this tip on only one forum after trying many other tips and drivers around for more than one day and it worked. So all credits to this poster.
Sent from my HTC Desire Z using xda app-developers app

[Q] ADB Help

Ok so my friend rooted my phone and I've done alot but theres alot that I need ADB for..
so im looking for someone help
to provide a walkthrough of how to get ADB and SLIDE USB drivers and how to use it. to do this..
http://forum.xda-developers.com/showthread.php?t=921347
step by step
please help..
Tossing a Couple Cold-Ones to whoever can help me
I don't have a step-by-step but maybe I can at least point you in a direction and get you the tools you need.
ADB will come from here:
http://developer.android.com/sdk/index.html
Here's what I used to get the slide drivers, I believe:
http://www.junefabrics.com/android/
If someone's got an easier way, I'd like to know too, hehe.
---
If anything, at least download the SDK first.
Maybe someone will be kind enough to come in and help. If I've got time I'll see what I can do though.
EDIT: Also have you tried this thread? http://forum.xda-developers.com/showthread.php?t=532719
Virus1x said:
Ok so my friend rooted my phone and I've done alot but theres alot that I need ADB for..
so im looking for someone help
to provide a walkthrough of how to get ADB and SLIDE USB drivers and how to use it. to do this..
http://forum.xda-developers.com/showthread.php?t=921347
step by step
please help..
Tossing a Couple Cold-Ones to whoever can help me
Click to expand...
Click to collapse
oh well i thanked u instead of quoting xD there is a free thanks for u then...
what are u running on your pc? osx? windows?
there is a couple of youtube videos you can check out like this one
http://www.youtube.com/watch?v=1UF5w1dKe2U
and this one
http://www.youtube.com/watch?v=b1qgKA_eT2g&feature=related
basically what you need is the android sdk, the drivers are included there and if you are using windows set an variable to the path of your sdk tools so you can just type adb in the cmd and launch it right away
edit: oh and for the data2ext thing, you need to do that in recovery right after u repartition your sdcard.
just go into recovery, plug the phone, type adb shell in the command prompt(after u get it to work) and then the whole line to make your ext partition block size 4kb ---> mke2fs -m0 -b4096 /dev/block/mmcblk0p2
wait for the # to show up again and you are good to go ^_^
you just then need to reboot and type data2ext --enable in the terminal emulator app, hope this helps

[Q] Can't Sync Windows 8 with DInc

I am trying to sync my DInc with Windows 8 Pro to unlock it through the HTC developer site. Unrevoked wont work due to the version of my baseband being 2.15.10.12.20. Software version 2.3.4.
I have USB debugging enabled, fastboot off, performed a factory reset, cleared cache through HBOOT, and the computer DOES reckognize the phone and I am able to select open files and do whatever I need to do with the phone... it just wont display on HTCSync so I can go through the process of rooting it and getting JB on it.
I have also tried running HTCSync in compatability mode. I have been working on getting this working for days now, and have searched this and many other forums for solutions to no avail.
Any ideas would be greatly appreciated, and any more information you need will be provided asap.
Check the unrevoked site for the proper drivers of you haven't already. You don't need HTCSync to work, just adb.
PonsAsinorem said:
Check the unrevoked site for the proper drivers of you haven't already. You don't need HTCSync to work, just adb.
Click to expand...
Click to collapse
The baseband for this particullar device isn't supported by unrevoked, so I'm looking for other solutions. Ate there any other ways you know of to get jb on this phone?
cyborggold said:
The baseband for this particullar device isn't supported by unrevoked, so I'm looking for other solutions. Ate there any other ways you know of to get jb on this phone?
Click to expand...
Click to collapse
I understand that unrevoked won't work, but you need your PC to connect to it as far as drivers go (most people use unrevoked drivers). You don't need HTCSync, just adb. If you can setup adb to work, and get it read when you issue
Code:
adb devices
then you should be good to.
PonsAsinorem said:
I understand that unrevoked won't work, but you need your PC to connect to it as far as drivers go (most people use unrevoked drivers). You don't need HTCSync, just adb. If you can setup adb to work, and get it read when you issue
Code:
adb devices
then you should be good to.
Click to expand...
Click to collapse
I can connect the phone and browse files through Windows explorer, I guess I'm just not familiar with adb yet, ill try to find more information on that and give it a try, thanks!
Still Lost
PonsAsinorem said:
I understand that unrevoked won't work, but you need your PC to connect to it as far as drivers go (most people use unrevoked drivers). You don't need HTCSync, just adb. If you can setup adb to work, and get it read when you issue
Code:
adb devices
then you should be good to.
Click to expand...
Click to collapse
I've been looking for the adb tool you had mentioned, but the only reference I am finding is for ICS/JB. I'm currently running Gingerbread (2.3.4 to be exact) Your last comment mentioned using a command 'adb devices' which makes me think adb is actually a command in windows or a linux application... I'm sure something I've said already has made you laugh at me so I'll stop now and just ask... can you give me a link to the process I need to follow to get this resolved, because for whatever reason, I can't find what I think you were trying to direct me towards.
Thanks!
cyborggold said:
I've been looking for the adb tool you had mentioned, but the only reference I am finding is for ICS/JB. I'm currently running Gingerbread (2.3.4 to be exact) Your last comment mentioned using a command 'adb devices' which makes me think adb is actually a command in windows or a linux application... I'm sure something I've said already has made you laugh at me so I'll stop now and just ask... can you give me a link to the process I need to follow to get this resolved, because for whatever reason, I can't find what I think you were trying to direct me towards.
Thanks!
Click to expand...
Click to collapse
How To Set Up Android ADB & Fastboot On Windows [Tutorial]
The only note on this guide I'd make, is not to use the C:\ drive. It's always a bad idea to put stuff in your root directory. Myself, I installed the sdk (which installed itself to C:\Program Files) then I added that to the system path. Also, you might have to reboot (or at least log off and log back on) to reset your PATH.

Categories

Resources