Setting up ADB, question for Win XP users. - Hero CDMA Android Development

Ok quick question. im trying to get ADB set up, following Unlockr's guide but i am running XP (he is running Vista) and cant figure out how to run as administrator. I dont have that option.
Any and all help is greatly appreciated.

Wrong section!
You can run it normal if your account has admin rights, or sou can run it as Administrator with the "Execute as..." Option.
(Remember I used XP a long time ago )

sorry about the wrong section i was just in a hurry. I got it now, thanks.

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?

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™

[Q] Rooting samsung transform on a mac

Ok first off thanks for your help in advance. 2cd here is my issue. i have scoured google for help. Nothing that really works. Superoneclick will not work. i simply get the "waiting for device" all the time. Other methods i have tried will not work . I have used terminal but the adb file does not have a "su" file in it. did they remove it from the android sdk?
ok here goes.... i have a mac. NOT A PC.. A MAC... i do have parallels with windows 7 ultimate edition. Running windows apps in a virtual environment is not the same.. trust me i have tried. i an looking for a step by step explanation on how to root a samsung transform on a mac. please do not point me to the "epic" forums. i tried that. even watched the video. once again.. no "su" file in the sdk. Im not a total nood but i am new to android. Please if anyone has successfully rooted there transform please list STEP BY STEP instructions. Do i unmount the sd card? uncheck usb debugging first then check later? or should it be checked from the beginning? what do i need to install.. on a mac.... or can i install the windows files to windows on the VIRTUAL machine and it work?
When i plug my phone into the mac all i get is charging.... thats it. Never tells me its plugged in .. nothing. Syncmate does not pop up. even with the sd card mounted it doesnt show up in my mac. nothing.... how do i even get the phone to show up
I am tired and have a headache searching so hard. Is it just me or has google gotten worse with time. Some of the main search returns on the first page are so irrelevant its crazy. I have windows mobile phone and dare i say it.. getting the hard spl loaded to unlock the phone is super simple. Maybe its because this phone is kinda new but still i am having alot of trouble. There has GOT to be some mac users out there that have rooted this phone........ please help !!!!!!!!!!!!!!!!!!!!

Unlock Xoom on a Mac running Parallels

Hey folks -
I am a proud new owner of a Xoom, and would love to unlock and root it! I have had a Droid X for a while now, and while it is rooted, rommed and the rest, I have not dealt with a bootloader before. All I had to do was use Z4root and go from there, simple. I used a friend's PC at school to learn how to SBF if needed, and that's as far as I've gotten with Android.
I could really use help with unlocking the Xoom. I am running Parallels on my Mac (Windows XP Home) and am unsure how to go about installing Android SDK. Motorola Drivers I think I am all set, I've run the program and it says I'm up to date. With Android SDK, however, I downloaded the zip and it says there are no files to extract. I run the installer program for Android SDK, and it says I need Java JDK. I download Java JDK, and yet Android SDK installer program still says I don't have it.
I would really appreciate where to go from here, and I apologize if this has been covered somewhere else, but I did look around for quite a while and I don't want to do anything prematurely and mess up a $600 device. Again, apologies for my nOObness.
Thanks!
Sorry to bring this thread back from the dead, but I did exactly what you are talking about doing. Boot into your virtual machine and install all the sdk, moto drivers, and fastboot.
When connecting your xoom, enable USB debugging and make sure the usb device (when plugged in) is attached to your parallels machine only, it should give you an option when booting it up.
Everything works as normal, Parallels really has no drawbacks, just follow the root instructions as if you were doing it on a native machine.
I actually ended up just doing everything on my Mac natively, but thanks for the info! I think I was more confused on actually installing the SDK properly than anything else.

[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.

Categories

Resources