Trying to S-Off but keep running into walls. - Verizon HTC One (M8)

Wow the threads make it look so easy but here are my steps so far and I'm a couple hours into S-Off but had to go through all this stuff (The basics I guess but this is my first time on android 4.4 so I was pretty lost.
1) First I found the XDA Developer link here which has a QR code to scan to download the file.
2) Realized I did not have a QR Scanner installed so I installed google goggles.
3) Scanned the code and realized it did not work and simply takes me to the xda developers forum
4) Searched for another link and found this one http://dottech.org/156395/how-to-roo...verizon-guide/ (This QR code works)
5) downloaded and installed the weaksauce exploit.
6) Decided I will backup my data on the phone before continuing .
7) Installed titanium backup
8) Was told to enable USB debugging
9) Found this can only be enabled if your phone has development mode enabled.
10) Searched for how to do that on this newest version of android and found this link. http://www.pcadvisor.co.uk/how-to/go...formance-mode/ which I was able to figure out the exact steps for the M* on my own.
11) In the newly unlocked developer options from the enabled USB debugging.
12) Titanium backup reminded me I do not have the paid version (but I do own a licesnse!) Need to copy the license file to the SD card.
13) Realized I don't have an external SD card installed.
14) Searched the house for a paperclip to pop out the SD card slot, no dice... Found a needle and trimmed the head off it with wire cutters, and popped out the door.
15) Installed the SD card!
16) Titanium backup says it cannot write to the external SD card (Well this is where I like to keep my backups not on the internal Card....)
So Starting from 18 how do I:
1) Use titanium backup to backup to my external SD card (No write permission). I have tried the SDFix application and that did not work. How do i get write permission to backup with titanium backup?
2) Where do I download the HTC M8 Drivers?

Ok so I guess I cannot backup the phone, lets say I will just skip the backup.
I'm trying to S-Off using the weaksauce method. I go to the folder where I downloaded firewater and type adb reboot and I get a message that my device is unauthorized..
What now?

Did you look here ? http://forum.xda-developers.com/showthread.php?t=2708628
Works great.

You can just use internal storage for your backup, once you get the phone s offed . Then do a backup to the external sd card. You need root access and a kernel without write protection. Take your time, it'll work.
Sent from my Nexus 7 using XDA Premium 4 mobile app

I would recommend watching some of these videos, they are very helpful.
http://forum.xda-developers.com/showthread.php?t=2697957

+1 on the videos well worth watching!
Sent from my Nexus 7 using XDA Premium 4 mobile app

Did you get it figured out? If you didn't and still need some help, send me a PM and I'll walk you through step by step and help you get it done. I've walked three people through the S-OFF method now (using Teamviewer and chat) and am getting pretty efficient at it. Shoot me a PM if your still stuck.

Watch this...
https://www.youtube.com/watch?v=sLtmwN1UyUU

I'm having the exact same problem. I rooted the phone thinking that's all I'd need to do. But with TiBu I can't backup to my SD card. So now I'm trying to do the S-Off so I can solve that problem. But I can't get the adb to work either.
I installed the HTC Sync Manager "package" from HTC, which allegedly comes with the driver. But, when I plug the phone into the computer it doesn't even see an adb device for my phone. I'm familiar with adb devices because I used it on my Droid Bionic.
Then I downloaded what has been nicknamed the "HTC One Toolkit M8" and installed the "Universal Adb Driver" from that. Still, no adb device is detected. Frankly, I'm laughing and disgusted with this phone. I'm laughing because someone with my prior skills with android should have no problem with this. But disgusted because this phone has been the most counter-intuitive phone I've ever owned. Just trying to disable the lock screen took almost 30 minutes.
Anyone know what I'm doing wrong? When I plug the phone in right now it shows up under "Portable Devices" and that's it. My Bionic would pop up 3 devices(CD-ROM, media device or something of that sort and the adb device).
I've literally spent the last hour searching with Google trying to figure out what I'm doing wrong. I thought it was a driver problem, but now that I'm not seeing any "unknown" devices nor am I seeing the adb device I'm convinced I've screwed this up somehow.
Yay me. I can't find my old account info, so 1 post for me.
Edit: Also, after installing the "Minimal ADB and Fastboot" as well as the Android SDK, the command "adb devices" has never found my phone. LOL

Just an FYI...the tool to open the SD card slot comes with the phone. It's the metal piece with the HTC logo in the packaging that the manuals come in. You'll have to pull that part of the box apart to get it out.

It was suggested to first install htc sync manager with the drivers, then uninstall sync manager, but leave the drivers installed. Try that.
Sent from my Nexus 7 using XDA Premium 4 mobile app

Pauls57 said:
It was suggested to first install htc sync manager with the drivers, then uninstall sync manager, but leave the drivers installed. Try that.
Sent from my Nexus 7 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Also, if you have any other type of phone software such as pdanet installed on your computer, either uninstall it or close it before trying to run the exploit.

Pauls57 said:
It was suggested to first install htc sync manager with the drivers, then uninstall sync manager, but leave the drivers installed. Try that.
Click to expand...
Click to collapse
Yeah, I did that already. I'm convinced this isn't a driver issue since I never actually see the adb device(or an unknown device) in my device manager.
robocuff said:
Also, if you have any other type of phone software such as pdanet installed on your computer, either uninstall it or close it before trying to run the exploit.
Click to expand...
Click to collapse
I don't. I haven't gotten that far since I haven't gotten s-off done.

Are you using a USB 2.0 port on your computer. USB 3.0 will cause problems with ADB. What operating system does your computer have on it? Windows 8 doesn't seem to get along well with ADB either. Seems to work for some, and not for others.

Joshy8 said:
Yeah, I did that already. I'm convinced this isn't a driver issue since I never actually see the adb device(or an unknown device) in my device manager.
I don't. I haven't gotten that far since I haven't gotten s-off done.
Click to expand...
Click to collapse
That just seems to me that it IS more likely a driver issue. You should see your device name or at least unknown device. Open up your device manager, then unplug your phone and replug it in. See what it shows when it refreshes. It will be under portable devices or Android USB devices or both. Mine shows both. If you still need help shoot me a PM and I can walk you through.
robocuff said:
Are you using a USB 2.0 port on your computer. USB 3.0 will cause problems with ADB. What operating system does your computer have on it? Windows 8 doesn't seem to get along well with ADB either. Seems to work for some, and not for others.
Click to expand...
Click to collapse
Windows 8 doesn't have any problems with adb. I've used it flawlessly on several computers. USB 3.0 neither. USB 3.0 can however cause problems with Firewater running correctly.

nicholi2789 said:
That just seems to me that it IS more likely a driver issue. You should see your device name or at least unknown device. Open up your device manager, then unplug your phone and replug it in. See what it shows when it refreshes. It will be under portable devices or Android USB devices or both. Mine shows both. If you still need help shoot me a PM and I can walk you through.
Click to expand...
Click to collapse
Right, you just argued why I don't think it's a driver issue. I've played with ADB before. I plug my Droid Bionic in and ADB comes right up on my desktop. On my HTPC that doesn't have the driver installed I get an unknown device.
But, with my HTC One M8, I never get any ADB device or an unknown device.. I get the HTC media device or whatever it is(mounts the storage on the desktop0, but I have *never* seen an ADB device or an unknown device from my HTC One M8... ever.
Thanks for the offer of the PM. I'm going to bed since I'm only 3 hours past my bedtime. But I'll PM you tomorrow and hopefully we can figure this out.

Joshy8 said:
Right, you just argued why I don't think it's a driver issue. I've played with ADB before. I plug my Droid Bionic in and ADB comes right up on my desktop. On my HTPC that doesn't have the driver installed I get an unknown device.
But, with my HTC One M8, I never get any ADB device or an unknown device.. I get the HTC media device or whatever it is(mounts the storage on the desktop0, but I have *never* seen an ADB device or an unknown device from my HTC One M8... ever.
Thanks for the offer of the PM. I'm going to bed since I'm only 3 hours past my bedtime. But I'll PM you tomorrow and hopefully we can figure this out.
Click to expand...
Click to collapse
I don't know, I have had lots of driver issues on lots of devices and had to sort it out many times. Most notably was my Nexus 7 that thing was the hardest device to get drivers installed for, it took me hours. I've gotten pretty dang efficient at installing drivers nowadays though. I need more specific information about your set-up before I can really offer good advice though. The HTC Media Cd rom that you see pop up when you plug in is the CDROM.iso. It's just stupid HTC bloatware crap, you can disable it or delete it once you have root. When you plug it in you should see the CDROM popup on your desktop then it should mount as MTP too. You should be able to browse your internal and external storage.
One thing I would suggest though and you may think i'm crazy for it.. Swap the USB cable your using for a different one and try that on a different usb port. I've messed around trying to get drivers installed for hours, only to switch the USB cord and have it work just fine. I've even had this problem with brand new USB cords.
If you do still need help tomorrow don't hesitate to shoot me a PM, I would be glad to help.

Joshy8 said:
Right, you just argued why I don't think it's a driver issue. I've played with ADB before. I plug my Droid Bionic in and ADB comes right up on my desktop. On my HTPC that doesn't have the driver installed I get an unknown device.
But, with my HTC One M8, I never get any ADB device or an unknown device.. I get the HTC media device or whatever it is(mounts the storage on the desktop0, but I have *never* seen an ADB device or an unknown device from my HTC One M8... ever.
Thanks for the offer of the PM. I'm going to bed since I'm only 3 hours past my bedtime. But I'll PM you tomorrow and hopefully we can figure this out.
Click to expand...
Click to collapse
I don't know if this will help but I see you typing in adb device, it must be adb devices you must have the s.
Don't ask me how I know.

hager03 said:
I don't know if this will help but I see you typing in adb device, it must be adb devices you must have the s.
Don't ask me how I know.
Click to expand...
Click to collapse
Haha. I wont' ask. Thanks for the tip, but I am doing adb devices. It comes back and says something like "List of devices found" or something and then is blank. Of course, it works just fine on my Bionic.. haha. It's always listed.

This is going to be a silly question, but did you turn on USB Debugging in the developer options? Does the phone say USB debugging connected on the phone's notification tray?
You should either have unknown device or you should see it listed properly in device manager.
I would go through device manager and uninstall any devices related to the phone. When prompted I would also remove the drivers. Then follow the below guide.
http://forum.xda-developers.com/showthread.php?t=2742295

Related

anyone else having problems with 64bit galaxy S drivers?

I did the one click root with no problem, now can't do the clockwork mod because the drivers keep failng , even tried the root again and it won't work either because of the drivers. I can get it to sync like 1 in 10 times, verified because I can get adb shell working. but it seems if I try to do anything, the drivers basically reset themselves. i didn't have this problem previously, although i did have to reinstall the drivers everytime, now that isn't even working, has anyone got this working correctly? I only have windows 64 bit machines.
EDIT: if someone could post a link to drivers that are known to be working, that would be appreciated, then at least I know I'm using ones that are working for people.
What version of windows are you running?
does it give you any errors, or does it just not regonize it? Maybe an issue with driver signing.
Sent from my SPH-D700 using XDA App
windows 7 ultimate 64 bit. the device manager usually shows errors, i show a bunch of drives listed, after a few tries of deleting the J drive, I get it to show up as wpd file or something like that, then it works for a minute or so, it will let me into adb shell and I can do SU, but if i try adb push, it hangs. same thing when trying to do the 1 click scripts, I know if its working or not, because if it isn't working, the script just hangs, then 10 tries of unplugging and plugging in and it finally connects and runs the scrips although giving errors and such, I did root just fine using the scripts, so I'm not sure whats going on with these drivers. maybe if I knew which things to uninstall from the device manager, i could start from scratch, using back usb port, front usb port, makes no difference. i'm gonna wear out the micro usb port if I keep plugging and unplugging the phone like this.
Hmm it sounds to me that finding the associated driver files in the registry/file system and clearing them. Rebooting. And reinstall of driver would be the best plan of action.
In device manager you should notice a new driver pop up when you plug in your phone. From there you could uninstall the driver, but be aware if you just uninstall the driver without removing the driver files 7 will auto find them and reinstall them when it sees your device.
Without being able to look specifaclly at the computer its hard for me to tell if its a corupt/broken driver causing the problem. There could be a few things doing it.
Sent from my SPH-D700 using XDA App
is there a way to clean everything out? like what things in device manager would I clean out? I can't seem to find them all.
Nanncee said:
Hmm it sounds to me that finding the associated driver files in the registry/file system and clearing them. Rebooting. And reinstall of driver would be the best plan of action.
In device manager you should notice a new driver pop up when you plug in your phone. From there you could uninstall the driver, but be aware if you just uninstall the driver without removing the driver files 7 will auto find them and reinstall them when it sees your device.
Without being able to look specifaclly at the computer its hard for me to tell if its a corupt/broken driver causing the problem. There could be a few things doing it.
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
It's not so much in device manager that your looking to remove it. Usually when a driver is installed, it places a directory on your c drive with all the files needed. now those files could be located in /windows or /program folders, or they could be in their own folder for titled samsung for example. (this usually isn't the case for storage drivers like we are dealing with)
I am not sure how samsung wrote their driver package, but you may be able to run it again and have it remove the files for you. I would verify on a windows system, but I don't have one running right now. You may also be able to use the driver installer to follow the path to where it places the files. again it all comes down to how the driver installer was written.
also just thought of this, and it is a long shot, but verify that you don't have an antivirus/firewall blocking the connection.
I don't know if you have another computer, if you do I would try it on that system as well.
Sorry I can't be more definitive on where to remove them. But without a windows system I hate to send you looking in the wrong spot and deleting things that shouldn't be.
http://www.nirsoft.net/utils/usb_devices_view.html this program will let you wipe any usb device from the history... worth a shot/try a different port
On 64-bit Windows, you'll probably need to manually set the driver for the ADB composite device. Just do update driver from the device manager, browse for drivers and hit let me pick from device drivers on my system.
Worked for me anyway.
But it sounds to me like your problem is not driver related. Try another USB cable. The stock one is pretty poor. My first Epic's had this problem, so I got another cable and it magically started working again. Also, front USB ports are more finicky, so you could try the back ones.
Linux FTW.
I never got the most recent clockwordmod one click method to work, I always have to use 2.5.0.9, then do the update.zip method for 2.5.1.0., I tried on both of my laptops, one running 7U64, the other running 7U32.
did this and tried two cables from both of our epics, also, it worked fine to do the clockwork mod. used front and back usb ports. no luck.
Firon said:
On 64-bit Windows, you'll probably need to manually set the driver for the ADB composite device. Just do update driver from the device manager, browse for drivers and hit let me pick from device drivers on my system.
Worked for me anyway.
But it sounds to me like your problem is not driver related. Try another USB cable. The stock one is pretty poor. My first Epic's had this problem, so I got another cable and it magically started working again. Also, front USB ports are more finicky, so you could try the back ones.
Click to expand...
Click to collapse
Try a NON Samsung cable. Not one from another Epic box.
i finally got it to work, used the wifes laptop, something apparently is screwed up on my machine. wish I knew what.
robl45 said:
i finally got it to work, used the wifes laptop, something apparently is screwed up on my machine. wish I knew what.
Click to expand...
Click to collapse
Glad to hear you got it solved. As to whats wrong with your computer, I have no clue. Good luck though. If all else fails, wipe and reinstalls are your friend.
Sent from my SPH-D700 using XDA App
robl45 said:
EDIT: if someone could post a link to drivers that are known to be working, that would be appreciated, then at least I know I'm using ones that are working for people.
Click to expand...
Click to collapse
.....
I have had many problems with drivers on my windows 7 64 bit machine.
To get the epic drivers to work I had to uninstall all other samsung phone drivers first. Download the x64 drivers from that post, upzip.
Plug your epic in mount it. Open the device manager and manually point it at the unrecognized device at that folder. I had to do this for 3 or 4 separate entry's.
Play with it a bit and you should be able to get it working with those.
Hope this helps.
Bah new user bs. Cannt post the link. Go over to SDX developers epic development section. There is a sticky "Confirmed Working Drivers"
I said screw it with the Samsung Drivers. Just installed PDAnet when I got this computer a week ago and no issues (win7 home 64-bit). It asks during setup what phone drivers you want to install. Select Samsung, let it do its thing, and you're all set. ADB works flawlessly, no need to mount sd card to get it to work.

[Q] ADB not working, HTC Android Phone USB Device only

Hi, I have a Thunderbolt, CM7.1.0 RC0-Thunderbolt-KANG, Kernel 2.6.35.9-cyanogenmod, Android 2.3.4
I've not updated to the one in http://forum.xda-developers.com/showthread.php?t=1049542 because of the Radio problems, and I can't push a Radio because of THIS problem (I've got a few, but a thread for each):
I can't get ADB to detect my device at all. The Android ADB Interface will show up for other rooted devices, just not this one. Laptop, XP SP3, bit old, but works fine. Similarly, I can't get PDANet to detect it, no matter which driver I use. The only device that shows up in Device Manager is "HTC Android Phone USB Device".
Oh, and I've run SDK Manager, making sure everything is up to date. If you want to double check this, just tell me what info to post, I'll gladly do so.
I can't do anything ADB without this. Help?
Bumping this because of how swiftly it got buried. Two hours it's up, and it was four pages down...
triaddraykin said:
Hi, I have a Thunderbolt, CM7.1.0 RC0-Thunderbolt-KANG, Kernel 2.6.35.9-cyanogenmod, Android 2.3.4
I've not updated to the one in http://forum.xda-developers.com/showthread.php?t=1049542 because of the Radio problems, and I can't push a Radio because of THIS problem (I've got a few, but a thread for each):
I can't get ADB to detect my device at all. The Android ADB Interface will show up for other rooted devices, just not this one. Laptop, XP SP3, bit old, but works fine. Similarly, I can't get PDANet to detect it, no matter which driver I use. The only device that shows up in Device Manager is "HTC Android Phone USB Device".
Oh, and I've run SDK Manager, making sure everything is up to date. If you want to double check this, just tell me what info to post, I'll gladly do so.
I can't do anything ADB without this. Help?
Click to expand...
Click to collapse
Quick Question! Are you trying to connect with a MAC or a Windows Computer? Oh... you said Laptop XP SP3... this is not the problem. You know how I made it work on a ViewPad7 connected to a Mac? Activating the USB Tethering...
Can you try if activating the USB Tethering the ADB is able to see your device?
Make sure you have installed the drivers first (adb driver + phone drivers) .... check that in Administrative Tools -> Computer Management (%windir%\system32\compmgmt.msc /s) -> Device Manager -> check if any devices with an ! mark on them, it means the driver for that device is not properly installed.
Right... Well, small new update, and sorry that I haven't responded in a while. Kinda hard to get internet lately.
Anyways, I got a hold of another phone I'd rooted a while back, and decided to test that device. ADB DEVICES worked perfectly for it, but it still can't detect mine. There's no unidentified devices on my laptop's Device Management.
Help?
*sighs* Bump!

[Q] SK4G not being recognized on PC

I originally posted this inside the Glorious Overdose V2 thread, but decided to post here as well.
For some reason my computer won't recognize my Sidekick when I plug it in via usb. I do have the samsung drivers installed and it will read my friends Samsung Droid Charge just fine, but when I plug my Sidekick in it comes up saying "USB Device Not Recognized". So far I've tried uninstalling and reinstalling the drivers from the device manager to no avail. Wondering if anyone has an idea as to what it could be. I've also tried googling the solution and everyone says to just uninstall and reinstall the drivers and it should work. Now the phone is not plugged into a USB Hub, extender, or case, it is plugged directly into a usb port on the mother board.
PC Specs just in case:
Motherboard - Gigabyte GA-970A-D3
OS - Windows 7 Ultimate x64
CPU - AMD FX-4100
Memory - 8GB DDR3 1066
Phone:
T-Mobile Sidekick 4G running Glorious Overdose V2
Nothing added just the rom and some apps/games.
I have tried with USB Debugging on and off, either way does not work.
Update: I have since tried Kies mini, as well as the drivers found on Softpedia. Neither of those worked, so I just got done reformatting and reinstalling Windows hoping that would work. At first it did not, right now I am running windows update to see if that was the issue, I'll update of what the outcome is.
Update: After installing all available Windows updates it's still not recognizing the phone. Now no matter what it's saying it's an Unknown Device. Even after I try and do a manual driver update and tell it to look in the folder with the driver files from Softpedia. I'm at a complete loss now.
If anyone has any idea's please let me know.
What mode do you have the phone in? Settings->Applications->USB Settings. It should be in Mass Storage if you want to access its SD Card.
Maybe put another rom on the sd card and flash something else, I don't think it would be a rom issue but it would be worth a try?
Sent from my SGH-T839 using XDA
Jax184 said:
What mode do you have the phone in? Settings->Applications->USB Settings. It should be in Mass Storage if you want to access its SD Card.
Click to expand...
Click to collapse
It's set to USB Debugging. But even then, it should read as something else other then Unknown Device when I plug it in. I have tried plugging it in and selecting Mass Storage, still comes up as Unknown Device.
HewettBR said:
Maybe put another rom on the sd card and flash something else, I don't think it would be a rom issue but it would be worth a try?
Sent from my SGH-T839 using XDA
Click to expand...
Click to collapse
I've thought about that, and from everything I can see it's either the ROM or the drivers. So we'll see...I'll probably try a different ROM and see what happens.
I suggest turning USB debugging off and mass storage on, for how you'll be using it. And recall that you have to change this stuff with the USB cable unplugged.
I've tried that, and after talking with the T2 Technical Support from Samsung for 45min today, the only option left is to send the phone in to get worked on. Though, I'm going into the T-Mobile store and see if they can't replace the phone or give me a loner while this one is out getting repaired.
More info request.
Can you provide us with the names and links to the drivers you have tried?
DuctTapedGoat said:
Can you provide us with the names and links to the drivers you have tried?
Click to expand...
Click to collapse
Kies Mini - http://www.samsung.com/us/support/owners/product/SGH-T839HABTMB
Softpedia - http://drivers.softpedia.com/get/MOBILES/Samsung/SAMSUNG-USB-Driver-1480.shtml
As well as the Samsung Vibrant drivers from both of those sites.
Samsung SideKick 4G Drivers
www DOT filedropper DOT com FWSLASH sk4gx64drivers
This is the exact drivers I pulled off of my own machine, I ran into massive issues with those same driver packages, especially in getting the initial root to take with a few different utilities designed to grant sudo/su/root access, and these are the drivers I have running currently, just pulled off my own machine. I run Windows 7 x64, but as well, there should be no reason why these drivers wouldn't work on a x86 machine and/or OS.
NOTE : I apologize it's not a proper link, but I'm unable to post a raw link until I hit my 8th post. I will come back and fix this after I hit that 8th post, but until then it will be ghetto-bypass HTML.
DuctTapedGoat said:
www DOT filedropper DOT com FWSLASH sk4gx64drivers
This is the exact drivers I pulled off of my own machine, I ran into massive issues with those same driver packages, especially in getting the initial root to take with a few different utilities designed to grant sudo/su/root access, and these are the drivers I have running currently, just pulled off my own machine. I run Windows 7 x64, but as well, there should be no reason why these drivers wouldn't work on a x86 machine and/or OS.
NOTE : I apologize it's not a proper link, but I'm unable to post a raw link until I hit my 8th post. I will come back and fix this after I hit that 8th post, but until then it will be ghetto-bypass HTML.
Click to expand...
Click to collapse
Thank you, I tried unpacking them to a folder on C:\ went into Device Manager, right clicked on the Unknown Device, Update Driver Software..., Browse My Computer for Driver Software, Set the search to C:\, and still saying Unknown Device is the best driver software for it. No idea why it's doing this.
Proper Driver Update
What is going on is that Windows is seeing a more recent signature file attached to the SK4G drivers on your computer (I don't believe anything at all is wrong with your device) than the working ones there.
First, in Add/Remove Programs, uninstall the Samsung Kies and Samsung Driver pack you installed earlier. Now...
Go into on your PC:
://windows/system32
And locate the same file names, cut them all, and paste them in a temporary folder you create, preferably on the desktop or something similar. You may not find every file, and that's okay, just the ones you can find. Next, you will be wanting to paste the driver files from the package I uploaded. Now, turn off Automatic Updates, so it doesn't automatically install drivers upon connection. Reboot the computer, double check and make sure Automatic Upates are off when you log back on. Now, connect the device and see if it gives you the same results. By removing the old drivers which don't work, you'll be able to force it to the ones we know work, and you /should/ have success. As well - USB data debugging active and activating connection for data transfer via the notification pulldown menu would be the best way to do this initially.
Would I be looking in c:\windows\system32\drivers for the same file names as the ones you packed up?
Ok, so the only one I could find in the drivers folder was modem.sys. But it will not let me move/replace the one that's already in there. It's telling me access is denied, same thing when I try and set the permissions it will not let me. I am logged in as an Administrator, as well it says it when I log in as THE Administrator account. So yeah...
Cool - modem.sys is a stock one that is shared with the device, so that's fine.
With the other two programs uninstalled, the old drivers uninstalled, and forcing it into those by pasting them into //win/sys32/drivers you should be in business. Hmm. You can try UnlockRoot.com's device rooter - I know they have an auto driver detector in their program. As well, you can try SuperOneClick, but I don't remember if they do or no. What about going in from the Recovery menu and toggling USB? Anything wierd going on in the /mounts? What about ADB shell access from the Android SDK on Windows?
DuctTapedGoat said:
Cool - modem.sys is a stock one that is shared with the device, so that's fine.
With the other two programs uninstalled, the old drivers uninstalled, and forcing it into those by pasting them into //win/sys32/drivers you should be in business. Hmm. You can try UnlockRoot.com's device rooter - I know they have an auto driver detector in their program. As well, you can try SuperOneClick, but I don't remember if they do or no. What about going in from the Recovery menu and toggling USB? Anything wierd going on in the /mounts? What about ADB shell access from the Android SDK on Windows?
Click to expand...
Click to collapse
I tried plugging the phone in, still showing up as Unknown Device. Tried UnlockRoot.com's program, no change. Installing the Android SDK right now, as well as I tried deleting the INFCACHE.1 file, and no change with that either. Once I'm done installing the Android SDK I'll redelete the INFCACHE.1 file and restart and try the phone again.
I did go in and check the mounts in recovery and they were set to:
UNMOUNT CACHE
MOUNT DATA
UNMOUNT SDCARD
UNMOUNT SYSTEM
Thank you for your help so far.
UPDATE: So after installing the Android SDK, deleting the INFCACHE.1 file, restarting, and then plugging the phone in, comes up and says the USB Device is Not Recognized. Then goes to search the preconfigured driver folders, and fails to install the driver for Unknown Device. And ADB Devices shows no devices as well(didn't think it would, but yeah).
UPDATE: So after using my friends phone as a conduit to throw the Stock Odexed KJ2 w/ Root(http://forum.xda-developers.com/showthread.php?t=1328698) onto my SDCard and flashing that the phone seemed to go into a soft brick at pre-boot screen(where it says SAMSUNG T-Mobile blah blah blah). Mind you this would freeze before it was even able to get into recovery. So I took it into T-Mobile and they are doing a manufacturer warranty replacement. So hopefully this next phone will be able to connect to the computer and be read correctly.

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