How to ninstall default windows driver for Android Device - myTouch 3G, Magic Android Development

Ok so i am trying to install the ADB USB drivers and having some issues. i have pluged my mytouch into my VIsta ultimate 64 bit machine before (the day i got it actually) so i could transfer files and of course now that im trying to install the ADB USB 64 bit driver windows wont let me and says i have the latest drivers.
currently im loooking in my Device manager and i see my device under 2 locations:
Disk Drives - HTC Andriod Phone USB Device
Portable Devices - Android Phone
i go into my CMD shell and type ADB DEVICES and it says:
list of devices attached
it is blank instead of showing a serial number
so im assuming that the drivers that windows has assigned to my device are not cuting it.
i have tried uninstalling the drivers but every time i do that as soon as i plug the device back in windows just assigns those drivers to it again and every time i choose UPDATE driver and browse to the AMD64bit driver it says y drivers are already up to date.
any thoughts on how i can get around this?

what i did was download an application called usbdeview and then uninstalled any htc drivers from there. then i unplugged my phone, and plugged it back in, and pointed windows to the drivers in the sdk folders.

momohammed20 said:
what i did was download an application called usbdeview and then uninstalled any htc drivers from there. then i unplugged my phone, and plugged it back in, and pointed windows to the drivers in the sdk folders.
Click to expand...
Click to collapse
that worked like a dream thank you!
now on to seeing i i can root this mytouch lol

sweet!! good luck

momohammed20 said:
sweet!! good luck
Click to expand...
Click to collapse
you wouldnt happen to know what im doing wrong here would you? im mking my gold car and downloded Terminal Emulator but it looks like it was designed for physical keyboard devices so i downloaded Better Terminal Emulator and finally have the soft keyboard and typed in "cat /sys/class/mmc_host/mmc1/mmc1:*/cid " but nothing happens. im supposed to get a code to write down but i hit enter and the terminal does nothing.
am i missing something? even the email feature doesnt work (i assume it means it would email you the results)

i was having that problem too, so what i did was i just typed that command in through adb. so i did it via the computer. and make sure you have the card that you want to make into a gold card inserted into your phone.
so....
1) insert soon to be gold card into your phone
2)open command prompt, and change directory to where your tools folder is from the android sdk
3) type in adb
4) type in the command cat /sys/class/mmc_host/mmc1/mmc1:*/cid , then it should output your CID

momohammed20 said:
i was having that problem too, so what i did was i just typed that command in through adb. so i did it via the computer. and make sure you have the card that you want to make into a gold card inserted into your phone.
so....
1) insert soon to be gold card into your phone
2)open command prompt, and change directory to where your tools folder is from the android sdk
3) type in adb
4) type in the command cat /sys/class/mmc_host/mmc1/mmc1:*/cid , then it should output your CID
Click to expand...
Click to collapse
got it thanks so much again.
i was able to use the hex editor to modify the soon to be gold card with the CID hex info and re saved it. then i removed my SD card and plugged it back in and i was able ot open it no problem via My Computer in windows. i went ahead and copied the SAPPIMG as well and now i assume it is a gold card.
just working on downloading the other files i need from rapidshare probably have to finish this up tommorow as its getting late. this wll give me some more time to do more research and read up as well as decide which ROM i wwant to flash..
thanks man again!

no problem, glad to help. I'm still a noob at this myself, i'm still learning. I currently have cyanogens rom on my phone, it's pretty solid. good luck, let me know how everything goes.

Related

Gold Card?

Thank you all to helped make this possible. and i would like to try it! http://forum.xda-developers.com/showthread.php?t=547133
i can not for the life me figure out the cold card thing. i am new to flashing phones. i have visa home premium 64 bit. also ubuntu. i am stuck at the Terminal Emulator, i found the key board (hold menu)/ not only that but you cant use the htc keyboard that is also on this site. but when i type ‘ cat /sys/class/mmc_host/mmc1/mmc1:*/cid ‘ without the quote sign. nothing happens/ what am i doing wrong! will someone post the complete newbe guide for me..Or lead me in the right direction... thanks in advance.
T-mo MyTouch 3G
zylith said:
Thank you all to helped make this possible. and i would like to try it! http://forum.xda-developers.com/showthread.php?t=547133
i can not for the life me figure out the cold card thing. i am new to flashing phones. i have visa home premium 64 bit. also ubuntu. i am stuck at the Terminal Emulator, i found the key board (hold menu)/ not only that but you cant use the htc keyboard that is also on this site. but when i type ‘ cat /sys/class/mmc_host/mmc1/mmc1:*/cid ‘ without the quote sign. nothing happens/ what am i doing wrong! will someone post the complete newbe guide for me..Or lead me in the right direction... thanks in advance.
T-mo MyTouch 3G
Click to expand...
Click to collapse
I actually have the same issue except it says invalid directory. Also for Qmat where you are supposed to type a number, where does this number come from?
i was having the same problem, try this : download better terminal emulator from the market , press menu , initial command and then type in that code cat /sys/class/mmc_host/mmc1/mmc1:*/cid and then press ok and then press the back key and reboot the device once it boots back up run better terminal emulator again and it should run the script for you which will show you the gold card code that you need
awesome.. i so read that you can not use the qmat 4.46 and that you have to use 4.36 and it is not on the site does anyone have a link to that?
ok, im going to try to make it easy for you..
1 - doesnt matter what version of qmat you have - i used 4.46 and it worked fine
2 - you need a kingston sd card - i can confirm success with kingston and failure with sandisk
3 - make sure you have android sdk installed (newest one preferred) and configured - CONFIGURED IS IMPORTANT! if you dont know how to install/configure - READ!!!
4 - once all is setup - plug your mytouch into your computer - for windows: start-run-cmd / linux/mac - open terminal
5 - make sure that you have usb debugging enabled on your phones
6 - in the cmd prompt/terminal type:
adb shell press return and you should have $
type: cat /sys/class/mmc_host/mmc1/mmc1:*/cid
the result should be a long string of numbers.... copy this string....
7 - open qmat and click on Cyptoanalysis Tools > Crypto Toolbox
8 - paste the number into the blank and click reverse string - copy that string
9 - go to http://revskills.de/pages/goldcard.html
10 - follow the instructions on that page - you will be emailed your gold card...
11 - save your goldcard to your desktop or wherever you can access it -
12 - install HxD Hex Editor from here:
http://download.cnet.com/HxD-Hex-Edi...=uo&tag=button
13 - once installed, open HxD and click on Extra > Open Disk.
Under Physical disk, select Removable Disk, uncheck “Open as Readonly, click ok
14 - next open goldcard img from Extra - open disk image
15 - ctrl A to select all in goldcard image
16 - go to sd card tab (first tab) and place the cursor at the very beginning
17 - paste and save - answer yes to the dialog box.
18 - DONE
The sandisk 4gb card that comes with the mytouch worked fine for the gold card
In Better Terminal Adapter, press "ball M" as enter. The enter key on the keyboard doesn't work. That is the trackball and M at the same time.
Reminder. In windows 7, probably Vista also, run HxD AS ADMINISTRATOR!
Edit: Posted some screen shots so you can see what it should look like when you open the file in HxD. Hope it helps.
i am getting device not found? i went thru the guide http://developer.android.com/sdk/1.5_r3/installing.html all is good. i have eclipse downloaded but not installed does it need to be?
I will try the Ball +M and see how that works
tried on phone "not found" is what i got.. debugging is checked i don't know what i am doing wrong. i am following all directions i tried once with phone not connected to pc and tired again with it connected and mounted /// idk
well i feel like a noob now. i have adb, i get to adb shell. i type in the command..and i get "no such file or directory" did i miss a step?
issues with gold card
Is anyone else having problems getting their gold card set up?
I have a class 4 4gb Kingston SD card, which I purchased specifically for this, that I've set up a gold card on SEVERAL times that is not working.
Every time I fast boot on my MyTouch it checks the .img file, then I get an error:
"Model ID incorrect!
Update Fail!"
I know for a fact that my model ID is correct as I pulled it from adb, copied and pasted, and I've followed these instructions to the letter including using the hex editor.
I've also verified that the gold card is functioning by testing its ability to be written to.
Does anyone have any suggestions?? If this is not the place to post, please let me know and I apologize in advance as I haven't been able to find any one else with similar issues.
Feel free to get at me on gtalk:
[email protected]
SilverSurfR said:
Reminder. In windows 7, probably Vista also, run HxD AS ADMINISTRATOR!
Edit: Posted some screen shots so you can see what it should look like when you open the file in HxD. Hope it helps.
Click to expand...
Click to collapse
downloaded HxD and went to open! this is what i got.almost nothing. your correct has some letters and i have maybe 3 not alot like the wrong pic. i can e-mail the pic
I can confirm success with the sandisk sd card that came with the mytouch 3g from t-mobile.
ugh i was hoping i wouldnt have to ask this, but here it goes...
ive been reading a lot over the past week since i got my mytouch 3g. pretty much in preparation of rooting and flashing roms. im a total noob when it comes to HTC/Android modding (tweaked a few iphones over the past 2 years) and some of this is still greek to me.
i dont use windows often so i guess thats another step back for me as well lol. anyway...i plugged my device into a pc and prepared to make a gold card. i knew i had to select "usb debugging" before making changes but i didnt do it before i plugged the phone in. i was also in the process of downloading the android sdk file when i plugged in and i let windows set up the drivers for my device. it looks like im already stuck before i started is there anyway to reverse this? the steps dont seem to complicated but i just got off on the wrong foot here and im stuck.
when i go to start, run, cmd & type adb shell i get an error message along the lines of "device not found....internal or external command" (i dont remember the exact message. i tried it about 2 hours ago and i dont recall the exact phrasing). i believe i found how i got here i just need some help back tracking and starting over.
[email protected] said:
ugh i was hoping i wouldnt have to ask this, but here it goes...
ive been reading a lot over the past week since i got my mytouch 3g. pretty much in preparation of rooting and flashing roms. im a total noob when it comes to HTC/Android modding (tweaked a few iphones over the past 2 years) and some of this is still greek to me.
i dont use windows often so i guess thats another step back for me as well lol. anyway...i plugged my device into a pc and prepared to make a gold card. i knew i had to select "usb debugging" before making changes but i didnt do it before i plugged the phone in. i was also in the process of downloading the android sdk file when i plugged in and i let windows set up the drivers for my device. it looks like im already stuck before i started is there anyway to reverse this? the steps dont seem to complicated but i just got off on the wrong foot here and im stuck.
when i go to start, run, cmd & type adb shell i get an error message along the lines of "device not found....internal or external command" (i dont remember the exact message. i tried it about 2 hours ago and i dont recall the exact phrasing). i believe i found how i got here i just need some help back tracking and starting over.
Click to expand...
Click to collapse
you are in the same boat as me. although even though i we plugged in the phone before sdk was installed with driver i when to system settings and tried to update the driver with sdk and i got "driver is up to date" so i don't think that is a problem, although maybe deleting the device would help. go to device manager and uninstall the device, its will be under the disk drive.
is any of that going to help?
*** i can't type in numbers in better terminal emulator help please ***
tried again this morning. removed original drivers and installed the drivers that came with the sdk package. that went smoothly. now i plug in, go to start, run, cmd....try adb and adb shell and get the same error message "C:\documents and settings\new user>adb shell 'adb' is not recognized as an internal or external command, operable program batch or file."
i thought i had the android sdk installed correctly but maybe im wrong on that. any insight? i get the feeling im way off track here...
[email protected] said:
tried again this morning. removed original drivers and installed the drivers that came with the sdk package. that went smoothly. now i plug in, go to start, run, cmd....try adb and adb shell and get the same error message "C:\documents and settings\new user>adb shell 'adb' is not recognized as an internal or external command, operable program batch or file."
i thought i had the android sdk installed correctly but maybe im wrong on that. any insight? i get the feeling im way off track here...
Click to expand...
Click to collapse
I retried on my 32 bit win xp and got the same thing as you. that is 3 diffrent systems that i have tried this on and no luck.. i am following all directions to the "t" and still nothing- what are we doing wrong?
anybody? im stranded here lol.
step 1 and im lost...modding iphones was sooooo much easier! oh well, i like the challenege.

Side Loading Apps

Will we be able to put Side Loading Apps on the captivate without rooting?
Yes, you download and extract the android sdk, connect the phone to your computer and make sure you can detect it with command promt (or terminal in linux or equivalent in mac) by changing to the sdk directory then tools and type adb devices. If it comes up then type the command adb install name_of_the_file_your_trying_to_install.apk.
This worked for aria before root and has worked for the backflip community for some time, no reason to think it won't work for the Captivate. (Sorry for bad explanation, tired and might be a few mistakes in there but thats the quick version of it)
i thought rooting was required?
cropythy said:
Yes, you download and extract the android sdk, connect the phone to your computer and make sure you can detect it with command promt (or terminal in linux or equivalent in mac) by changing to the sdk directory then tools and type adb devices. If it comes up then type the command adb install name_of_the_file_your_trying_to_install.apk.
This worked for aria before root and has worked for the backflip community for some time, no reason to think it won't work for the Captivate. (Sorry for bad explanation, tired and might be a few mistakes in there but thats the quick version of it)
Click to expand...
Click to collapse
wouldn't necessarily call that "side-loading" you still wont be able to backup all your apks to the sd card and install them from the sd card if u need to wipe.
Is it not possible to pull the SD card, and copy apps to it from PC, and then put back in and install?
That would be the definition of side-loading ATT is refering to. Some people just need to be told a third, fourth, fifth time.
Thanks for the adb mention.

[Q] rooting inspire questions

Hello everyone I'm in the dinc2 forums. I'm a marine and the other day I was showing a guy I work with my s-off rooted dinc2 running miui and he immediately was interested. He has the inspire and I was looking for a little know-how on what to do and we don't really have the time to search religiously due to work. He's running stock 2.3.3 any help would be appreciated if you want to email me my email is [email protected]
Thanks!
Linch89 said:
Hello everyone I'm in the dinc2 forums. I'm a marine and the other day I was showing a guy I work with my s-off rooted dinc2 running miui and he immediately was interested. He has the inspire and I was looking for a little know-how on what to do and we don't really have the time to search religiously due to work. He's running stock 2.3.3 any help would be appreciated if you want to email me my email is [email protected]
Thanks!
Click to expand...
Click to collapse
Ace Hack Kit
That will walk you through the root/s-off/unlock process. It's been VERY much simplified over time, now it's just a 1 step process. Read the effen manual a few times before you start - but like I said, at this point it's very straight-forward.
Once installed hit up the MIUI thread. Basically you'll download the ROM to your SD, boot to recovery, perform a wipe, and flash the ROM
And thank you for your service and dedication to this wonderful country of ours!
He said the adb drivers won't connect
Any specific error messages? At what point is this happening? Is he trying to run the hack kit or just trying to access an ADB shell?
The hack kit contains all necessary adb files/drivers
Make sure he's done all of this:
Make sure HTC USB Drivers for Android are installed (included in the Hack Kit @ tools/windrivers)
Disable all malware detection, including Windows Defender
Uninstall HTC Sync
Uninstall Droid Explorer
Uninstall iTunes or stop service
Uninstall Other phone pda or tablet software
We just tried on our lunch we disabled everything the HTC drivers were already installed with sync uninstalled. We were at the pre-step where you run the command as an admin and the command window comes up for a second and closes itself. Does his phone need temp root to run the kit?
trouble rooting my phone
when i run the hack as admin on windows 7 it give an error message this is what the error message says
check adb connectivity
shad0fox04/2011
service not running
error error error
phone not plug in or driver not installed or usb debugging not enable
error error error
pres any key to continue the it just cut off i checked all of that and everything is good to go so what is the problem lol
did u ever find out y adb wont connect im having d same problem
Linch89 said:
We just tried on our lunch we disabled everything the HTC drivers were already installed with sync uninstalled. We were at the pre-step where you run the command as an admin and the command window comes up for a second and closes itself. Does his phone need temp root to run the kit?
Click to expand...
Click to collapse
Did you install the drivers that came with the kit just to be safe?? I just did this like 2 days ago and it worked perfect..
Linch89 said:
We just tried on our lunch we disabled everything the HTC drivers were already installed with sync uninstalled. We were at the pre-step where you run the command as an admin and the command window comes up for a second and closes itself. Does his phone need temp root to run the kit?
Click to expand...
Click to collapse
Has he by any chance tried a different USB port? And is the phone in charge only mode, it's not mounting itself as a disk drive automatically? I don't know how feasible it might be, but if he has another computer available try running it there and see if you get any different results. At least then we might be able to narrow down better whether it's the software, the computer, or the phone.
jonathanj942 said:
when i run the hack as admin on windows 7 it give an error message this is what the error message says
check adb connectivity
shad0fox04/2011
service not running
error error error
phone not plug in or driver not installed or usb debugging not enable
error error error
pres any key to continue the it just cut off i checked all of that and everything is good to go so what is the problem lol
Click to expand...
Click to collapse
Another simple thing that I have to ask about...you guys did extract all the contents of the hack kit somewhere on your computer, correct? You're not trying to run it from the .zip?
If it is extracted,
go to the tools\win\ directory.
Hold Shift and Right-Click in an empty spot, select "open command window here"
type "adb devices" and hit Enter
You should see 12 alpha-numerics listed under "List of devices attached"
If you don't see anything under this, then for some reason adb isn't recognizing your phone is plugged in. In which case I'd try a different USB port or computer

Getting ADB access in Android 4.2.2

This incorporates the ideas of http://forum.xda-developers.com/showthread.php?t=2144709, so if you want to see how this was resolved for the Nexus 4, check out that thread.
Okay. So you've flashed a spanking new 4.2.2 ROM and ADB no longer talks to your Sensation. What happened?
Well, the fact is that 4.2.2 is significantly more secure, in the good sense. It enforces RSA authentication via ADB. However, RSA authentication is supported only in recent versions of ADB.
What to do?
First, make sure you have the latest version of ADB on your PC.
On Windows you can quickly find out if you your version of ADB is up to date. Check your ".android" folder and see if it holds a file called "adbkey".
On any platform type "adb version" to verify that you have the latest version of ADB. Versions 1.0.31+ support RSA authentication.
-- So now, if you have ADB 1.0.31 or higher. You can skip directly to step 2, then.
-- If you do not have ADB 1.0.31 or higher, and you have the full Android SDK installed, open the SDK manager and update it. If you only have ADB and fastboot installed in a folder on your PC, overwrite files in the folder with those in the corresponding zip file attached (windows or linux -- sorry! I don't have Mac versions at this time). These come from version 16.01 of the android platform-tools package, if you are curious.
-- if you have never installed the SDK or ADB or fastboot, now is the time to do that. I recommend going to http://developer.android.com/sdk/index.html to get started.
[*]Enable USB debugging on your phone
USB debugging is now enabled by selecting Android Debugging in System Settings > Developer Options.
"I don't have the Developer Options items in System Settings!!"
In Android 4.2.x, you need to go to System Settings > About Phone and tap the Build Number item about 6 or 8 times, and Developer Options will reappear.
[*]Plug in the USB cable. Securely.
Dismiss the USB mass storage window.
"I connected the cable, but nothing happened!!"
Okay, chill. You won't get a response until ADB tries to connect to your Sensation. So go ahead and start ADB on your PC. Suggested command:
Code:
adb devices
"Now ADB started, but nothing's happening on my computer!!!"
Uh, didn't I just advise you to chill ? Take a look at your phone...
"What's this pop-up that just popped up??"
(See image below)
Congratulations, that is Android asking your permission to store an RSA key on your Sensation for ADB interaction with your PC.
Fearlessly accept it.
Hint: check the "Always allow from this computer" box to save time later on.
The RSA authentication key you just accepted will be stored on your phone in the file /data/misc/adb/adb_keys.
You are now good to go. Just 3 easy steps with a minimum of panic.
Questions? Problems? Ask away!
Many thanks to XDA member skipjacks for the idea for this post
Hi,
Nice! :good:
People should also not use USB 3.0 slots or USB hubs.
Try several slots if the front ones do not work.
Windows 7 & 8 drivers are HERE in case anyone needs them...
malybru said:
People should also not use USB 3.0 slots or USB hubs.
Click to expand...
Click to collapse
I understand about the hubs, but why not USB 3.0?
Skipjacks said:
I understand about the hubs, but why not USB 3.0?
Click to expand...
Click to collapse
Hi,
I have read a lot of instances of "Device not recognized" when using 3.0 slots.
I am not saying it will never work.
But ,if you use one,and it does not work,then,try it on a 2.0 slot.
Thanks for the post
few problems:
- I tried updating ADB with SDK manager. It kept saying something was accesing the installation folder. even after I closed explorer, virusscanner etc. I replaced the files with the zip attachement, but still a weird issue.
- another thing. Before I updated adb reported error: device offline. After update the issue persists. not using any hubs or USB 3.0. I think it's because I'm not using the stock cable that came with the phone.
onemanshow85 said:
Thanks for the post
few problems:
- I tried updating ADB with SDK manager. It kept saying something was accesing the installation folder. even after I closed explorer, virusscanner etc. I replaced the files with the zip attachement, but still a weird issue.
- another thing. Before I updated adb reported error: device offline. After update the issue persists. not using any hubs or USB 3.0. I think it's because I'm not using the stock cable that came with the phone.
Click to expand...
Click to collapse
Hi,
I think there is one solution that will address both issues. Before I mention it, let me ask: are you sure you enabled USB debugging on your Sensation? This is confirmed if, when you plug in the cable to your PC, you immediately get a USB debugging icon in the Notification Bar.
Glad we got that out of the way!
Unplug your device from the PC.
Anyhow, since you already have the SDK installed, the recommended way to update is to use the SDK Manager.
--in Windows, I think this is an executable in the tools sub-folder of your main android SDK folder. Double clock on it.
--in Linux, start up a terminal and type
Code:
android
if that doesn't do it, CD to the /tools directory in android-sdk-linux, or wherever you put the SDK, first. Then type "android".
The window that opens when you start SDK Manager should show that you need an update to (at least) platform-tools. Go ahead and do the update. You will have to accept some license(s) - accept it or them.
Once the install is complete, close SDK Manager.
Now plug your USB cable back in, and try out the "adb devices" command. It should work.
Suppose you still get "device not found", though. Try the following: again unplug.
Type the command:
Code:
adb kill-server
Now plug the phone back in, verify that you have USB debugging, and try "adb devices".
If no go, let me know what platform you are running, etc. I've heard it could be the cable, but I think that you just need to make sure it is plugged in securely.
BTW, the reason you probably won't have to do the adb kill-server step is that the SDK Manager kills running adb processes during the install.
Let me know how it goes!
Yrs,
dkephart
Sent from my HTC Sensation using xda premium
tnx. I was somewhat ehead of the steps you mentioned. problem was that SDK manager can't install anything cause it can't seem to kill any other adb proces. But I used a workaround for that so no problem there.
ADB does find my device, only it is stated as offline. I will have to try it again with the stock cable that came with the phone. Then I'll know if this is a software issue. Currently I'm using a complete random micro-USB cable wich I found on work laying around.
I'll let you know if stock cable is any difference. If so, it might be usefull info for ppl to know to always use stock cable while using ADB/Fastboot
onemanshow85 said:
tnx. I was somewhat ehead of the steps you mentioned. problem was that SDK manager can't install anything cause it can't seem to kill any other adb proces. But I used a workaround for that so no problem there.
ADB does find my device, only it is stated as offline. I will have to try it again with the stock cable that came with the phone. Then I'll know if this is a software issue. Currently I'm using a complete random micro-USB cable wich I found on work laying around.
I'll let you know if stock cable is any difference. If so, it might be usefull info for ppl to know to always use stock cable while using ADB/Fastboot
Click to expand...
Click to collapse
Yeah... my random selection doesn't have this problem. But I once seemed to have it with the official cable. You might want to try rebooting both the phone and the PC.
Sent from my HTC Sensation using xda premium
The stock cable did the trick. everything works fine with the stock cable.
So if ppl find any trouble using ADB with a cable other then stock, this might cause the problem.
onemanshow85 said:
The stock cable did the trick. everything works fine with the stock cable.
So if ppl find any trouble using ADB with a cable other then stock, this might cause the problem.
Click to expand...
Click to collapse
Great find...and extra points to anyone who determines why this might be the case...
Sent from my HTC Sensation using xda premium
dkephart said:
Great find...and extra points to anyone who determines why this might be the case...
Sent from my HTC Sensation using xda premium
Click to expand...
Click to collapse
Some really cheap cables only have 2 wires in them and can only be used for charging. You need the other wires for data transfer.
But some companies only put the charging wires in to save money on the copper.
It must be a REALLY low quality cable though. I mean I get all my cables on Monoprice for like $1-$2 and they all work great for data.
Or, the cable does have all the internal wires and one is just broken inside.
Sent from my HTC Sensation using xda app-developers app
I've done everything in the thread, I can see my htc when I run the adb command but I don't get the pop-up on my phone. I tried the stock cable and different one but nothing. I'm on latest albinoman ROM. what should I do ?
P.S : I tried rebooting both the phone and pc but still the same problem.
nemovich said:
I've done everything in the thread, I can see my htc when I run the adb command but I don't get the pop-up on my phone. I tried the stock cable and different one but nothing. I'm on latest albinoman ROM. what should I do ?
P.S : I tried rebooting both the phone and pc but still the same problem.
Click to expand...
Click to collapse
You get your serial number and "device offline" from the adb devices command?
Sent from my HTC Sensation using xda premium
dkephart said:
You get your serial number and "device offline" from the adb devices command?
Sent from my HTC Sensation using xda premium
Click to expand...
Click to collapse
no just the serial number
nemovich said:
no just the serial number
Click to expand...
Click to collapse
I'm puzzled, then. What happens when you do "adb shell"?
And if that comes back with the shell prompt (a $), then what happens if you type "su"?
Sent from my HTC Sensation using xda premium
dkephart said:
I'm puzzled, then. What happens when you do "adb shell"?
And if that comes back with the shell prompt (a $), then what happens if you type "su"?
Sent from my HTC Sensation using xda premium
Click to expand...
Click to collapse
with adb shell I get $ and with su I get #.
nemovich said:
with adb shell I get $ and with su I get #.
Click to expand...
Click to collapse
Cool! Then you have adb working. To confirm, in the shell, "ls" should come back with a listing of the files on your device. If you do "cd sdcard" and "ls" you get the files on the SD card.
You're good to go.
Sent from my HTC Sensation using xda premium
Yes it's working with shell commands but still not detected by Android Commander for example. It worked when I reverted to stock ROM.
I still don't know why I didn't get the security pop-up though
---------- Post added at 05:07 PM ---------- Previous post was at 04:57 PM ----------
Yes it's working with shell commands but still not detected by Android Commander for example. It worked when I reverted to stock ROM.
I still don't know why I didn't get the security pop-up though
Sent from my HTC Sensation using xda premium
nemovich said:
Yes it's working with shell commands but still not detected by Android Commander for example. It worked when I reverted to stock ROM.
I still don't know why I didn't get the security pop-up though
Click to expand...
Click to collapse
There is still a possibility adb did not update, or that you have more than one copy of adb on your system. Here's another way. cd to the android-sdk- windows folder (you are running windows, right?) and type
Code:
android update sdk --no-ui
...now the SDK manager will run. It takes a while. When done, reboot your PC and plug in your Sensation. Go to the platform-tools subfolder of your SDK folder and run adb from there. You could type "./adb" to make sure. Check your device - the homescreen has to be unlocked - and you should see the pop-up.
I don't really know about Android Commander, so there is always a possibility that that app doesn't handler things right, but I think this will work.
Let me know how it goes...
Sent from my HTC Sensation using xda premium
dkephart said:
There is still a possibility adb did not update, or that you have more than one copy of adb on your system. Here's another way. cd to the android-sdk- windows folder (you are running windows, right?) and type
Code:
android update sdk --no-ui
...now the SDK manager will run. It takes a while. When done, reboot your PC and plug in your Sensation. Go to the platform-tools subfolder of your SDK folder and run adb from there. You could type "./adb" to make sure. Check your device - the homescreen has to be unlocked - and you should see the pop-up.
I don't really know about Android Commander, so there is always a possibility that that app doesn't handler things right, but I think this will work.
Let me know how it goes...
Sent from my HTC Sensation using xda premium
Click to expand...
Click to collapse
when I cd to the sdk folder ( C:\Users\Documents\adt-bundle-windows-x86-20130219), it gives me command not recognized. I can run sdk manager from the folder and everything is up to date.
I run adb from platform-tools and it gives me the same thing as before.
one thing though, I don't see the "adbkey" file in platform-tools but it is there in ".android" folder. so I run it from the later folder too but the still the same thing, no pop-up.
it's not just android commander, a lot of other apps give the same thing.

[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