[GUIDE] Crash Course in ADB/Unlocking on WINDOWS - Verizon HTC One (M7)

Just wanted to try and put together something helpful for those who are unlocking their devices who might be doing this for the first time or just are having issues.
THIS GUIDE ONLY WORKS FOR WINDOWS FOLK, SORRY! IF YOU HAPPEN TO BREAK YOUR DEVICE OR DO ANYTHING TO IT THAT PREVENTS YOU FROM USING, I AM NOT RESPONSIBLE, CAVETE LIBERUM OPUS.
ADB
Download ADB from here: http://developer.android.com/sdk/index.html
Make sure you install it where ever you are comfortable with, I tend to keep mine in my main installation (C: )
HTC Sync
Download HTC Sync here - http://www.htc.com/www/software/htc-sync-manager/
Why download HTC Sync? For the drivers. After the installation is complete you can remove HTC Sync, just not the drivers.
Appropriate Drivers
In your Program Files (x86) folder, there should be an HTC Folder, with the drivers in it.
What you are going to need to do is make sure that your device has the HTC drivers installed.
You'll need to open Control Panel ----> Hardware and Sound ----> Device Manager
Your HTC One should be under portable device or android phone, or something similar to that. If it is telling you the current drivers are up to date, you may need to disable driver signature enforcement, and that method is different between Windows 7 and 8.
You'll want to update the driver software by right clicking ----> Update Driver Software ----> Browse my computer for driver software ----> Browse...; then select the HTC Driver folder from within the HTC folder (you'll have to navigate to it)
If you need to disable driver signature:
Windows 7 - http://bit.ly/1bE0jZT
Windows 8 - http://bit.ly/1bE0mF7
Trouble Shooting ADB and Rumrunner
I am, in no way, saying that I am an expert in running rumrunner. If you can use irc and contact beaups please do. However, just in general, here are tips I think might work -
Go to "System and Security" from Control Panel and click "Allow an app through Windows Firewall." Click "Change Settings" at the top and then click "Allow another app...". Navigate to your extracted rumrunner file and select the soju.exe to be allowed through. Why do this? Because I personally rather not take down my entire firewall to allow this program to run. No offense to beaups, just doesn't seem terribly practical to me.
In your ADB installation folder, go into SDK -----> platform tools ----> Hold down left shift and right click -----> Open command window here
type in adb devices; if you are not seeing
List of devices attached
XXXXXXXXXXXXXXXXXX device (read the X's as a string of numbers which are your device)
then it isn't ready to be use rumrunner. You'll have to go into Settings -----> About Phone -----> Software Information -----> Then click 7 times on Build Number to unlock developer options. Go into "Developer Options" and enable USB Debugging.
As mentioned in Rumrunner, please run soju.exe AS ADMINISTRATOR, to avoid permission issues on computer-side.
OEM Cables are also ideal in this situation. Also make sure you downloaded the right file (.8 version versus .10)
Last but not least, IT TAKES A WHILE FOR SOJU TO RUN. BE PATIENT Your phone will reboot A LOT during the entire process. It'll take awhile, but if you run into the (.........) problems or an error because your drivers aren't installed correctly be patient.
The guide isn't perfect, but hopefully it helps. I'll add advice if it comes in.

Great guide!
Make sure to remember to do a fastboot devices check too. that is my problem adb works great fastboot is another story
Sent from my HTC6500LVW using xda app-developers app

It also hates USB3
It also hates USB 3.0, had to use my fiances laptop todo it, but very straightforward.

Related

Problem with HTC Diag driver, and MSL#... Please help!

So I tried following one of the guides posted here at XDA to retrieve my MSL#.
** EDIT **
XDA FORUMS WILL NOT allow me to post links, because I have a new account, and it hasnt been approved. So I am just going to post the links to the screenshots without the "http" in front. I also had to remove the "." from the first part of the web address. So "google.com" would be "google com". You will have to manually copy and paste the URL, and add the periods to first part of the address.
IF A MOD IS READING THIS CAN YOU PRETTY PLEASE APPROVE MY ACCOUNT? Thanks!
I followed this guide:
forum xda-developers com/showthread.php?t=697487#
I downloaded the pre-requisites, and started to follow the steps.
I am on Windows 7 32bit, and these instructions are for Windows 7 64bit.
Once I cam to the section where I chose my drivers I chose the ones for x86 since I am running 32bit.
It installed the drivers fine. However, it installed the device under the "PORTS" section of the "Device Manager".
The screenshots for the instructions show the device being installed under the "MODEMS" section.
So I thought I did something wrong, and before doing any further research, I decided to delete the device that was installed under the "PORTS" section. I figured by doing this I could start from scratch, and correct whatever it was that I did wrong. Dumb move!!!
I removed the drivers from "C:\windows\system32\drivers" and also from "C:\windows\system32\driversstore\filerepository"
I unplugged my phone, rebooted my machine, dialed "##3424#" to enter diagnostic mode, connected my phone to the computer, and it DID NOT recoginze any new hardware.
I also tried removing any references from regedit for "htcdiag", which is the driver that was installed.
This produced the same result.
I have attached screenshots of the devices currently in my device manager.
Device Manager Screenshot #1:
img46 imageshack us/img46/8923/screenshot1ka.jpg
Device Manager Screenshot #2:
img163 imageshack us/img163/1479/screenshot2m.jpg
Device Manager Screenshot #3:
img202 imageshack us/img202/9158/screenshot3hj.jpg
Please help me get this working!
Thank you!
Have you tried msl reader from the market ?
mendez_v said:
Have you tried msl reader from the market ?
Click to expand...
Click to collapse
No, but at this point I am less worried about the MSL, and more worried about getting the android phone to show up properly under the device manager. When I rooted the phone I installed a modified HTC USB Driver, and then my phone showed up under device manager. As you can see from the screenshots my phone does not show up in device manager AT ALL anymore.
I know this was a rookie move, but someone must have done this before, or at the VERY least must have some suggestions on how to get the drivers reinstalled on my machine for my phone.
Anyone.... Bueller? Bueller?
** ONE MORE BUMP **
Perhaps all the useful contributors were on an extended Labor Day vacation.
guht said:
No, but at this point I am less worried about the MSL, and more worried about getting the android phone to show up properly under the device manager. When I rooted the phone I installed a modified HTC USB Driver, and then my phone showed up under device manager. As you can see from the screenshots my phone does not show up in device manager AT ALL anymore.
Click to expand...
Click to collapse
Have you plugged the phone in and tried "scan for hardware changes"?
Still no luck.....The HTC website has a support section with drivers you can download.
OR-
Do you have the android sdk installed on your computer? There is a usb driver package you can use in the sdk.
If you still cannot get it to connect, then flash a rooted stock rom and see if your computer can connect then.
As far as your MSL, just call Sprint and ask them. The rep will ask why you need it. Just tell them your phone has been acting odd and that you are going to do a reset, which you have done before in the past ; ). They will then transfer you to a tech which will ask you again why you need it. Just respond the same about doing a reset, which you have done many times before.....you will then have your MSL - takes only a couple of minutes.

[HOWTO] Easy installation of drivers needed for adb/fastboot/...

Tested on Windows 7:
- start installing HTC Sync, the software which comes with your phone (and can also be downloaded from HTC web site).
- it begins with telling you it needs to install Adobe AIR, something else, and the drivers... let it continue at that stage.
- once the previous step is done and installer asks if you want to start installation of HTC Sync software -- select [Cancel]
This way the drivers needed for adb and fastboot get installed while the rest of the (not so useful) HTC software is not installed at all.
You realize that everyone on this forum knows that, don't you?
qktb said:
Tested on Windows 7:
- start installing HTC Sync, the software which comes with your phone (and can also be downloaded from HTC web site).
- it begins with telling you it needs to install Adobe AIR, something else, and the drivers... let it continue at that stage.
- once the previous step is done and installer asks if you want to start installation of HTC Sync software -- select [Cancel]
This way the drivers needed for adb and fastboot get installed while the rest of the (not so useful) HTC software is not installed at all.
Click to expand...
Click to collapse
actually ur wrong, u need different drivers for fastboot
ADB & Fastboot Guide
abaaaabbbb63 said:
You realize that everyone on this forum knows that, don't you?
Click to expand...
Click to collapse
1. There is a lot of info distributed among lots of guides, signatures, stickies, etc. Probably everything has been discussed and described somewhere some time ago. Maybe I'm slow, but it took me a while to find and figure out what is needed for what. I find short posts with quick and specific answers to specific problems/challenges quite useful.
2. Keep in mind that there are people using Google search who view xda forums in the middle of some long thread with lots of comments, trouble reports, etc. Not registered users. Maybe a short brief description will help someone?
3. I knew about stand-alone driver sets or "install/uninstall HTC Sync" way of installing the drivers, but someone may save some time knowing that it is enough just to cancel the installation after pre-requisites are installed.
Still if you think this thread is useless I will not cry and have no hard feelings if it is deleted.
jmcclue said:
actually ur wrong, u need different drivers for fastboot
Click to expand...
Click to collapse
For me both adb and fastboot work fine with the method described. There was nothing HTC-related installed earlier on the PC, it is a new laptop.
Edit: actually you are right and I am right (I guess): different drivers are needed and used for fastboot operation, but all of them are installed with the process described, no further action is needed when using fastboot later on. Windows just says "Installing drivers..." on the first use.

Root clarification for Optimus G Pro

The instructions to root the LG Optimus G Pro are posted in other threads and multiple pages on the web.
And I thank the folks who have done all the hard work to make that possible.
So tonight I finally got around to using those instructions and found that, as usual, a few key things were either left out or given in the wrong order, which inevitably is going to make some folks say "It doesn't work!" because, as written, it doesn't quit work.
So here's an edited version of the instructions from other folks, with the stumbling points cleared up and made into YnGlitch for dummies like me, so you'll get it right the first time. I hope. This worked on an AT&T branded phone, btw. Clarifications and comments in red.
1. (Optional if you have another means of un-RARing) Download and install 7-zip from here
2. Download and install LG USB Drivers from here.
(THE LINK IS http://www.lg-phones.org/lg-optimus-g-pro-usb-drivers.htmlWithout )
these drivers, your computer won't be able to effectively communicate with your phone. This is vital for the steps we will be taking.
3. Enable USB debugging by going to Settings->(General)->Developer options" and checking the box next to "USB debugging." You will get warnings. You can probably ignore them. This setting will allow you to run commands on your phone from your computer (via USB). For more info on the Android Debug Bridge, click here.
4. Download and extract (using 7-zip (or whatever)) the root exploit from here.
5. Connect your phone to the computer with your USB cable.
6. Put the phone into "Charge Only" mode at Settings->General->PC connection->USB connection type
7. Open CurrentRoot.bat and follow its prompts. See below. You will need to change from "Charge Only" to "Media sync (MTP)" mode. The setting is in the same place.[Change to Media Sync before running currentroot.bat]
Phone will reboot when this finishes running, wait it out.
8. Run SuperSU (now in your apps drawer) [that's the APPS folder on the phone, not APPS: DOWNLOAD folder] it and make sure it works. This program allows others to gain access to superuser privileges. For more info on rooting and what kind of stuff it lets you do, click here and/or use Google.
Thanks to XDA User carrett for this.
Thanks for your thread but you might wanna add the links for rooting(such as the link for currentroot.bat) . Also, just to check, does this work with KitKat?
Sent from my LG-E988 using XDA Free mobile app
yes, the links will be helpful

How to Root LG-VS410PP (LG Optimus Zone)

I rooted my LG Zone from verizon and would like to share with you guys how exactly I did it. It took some trial&error but I eventually got it. First off you're going to need the following
Windows 7 Operating System
Usb Cord
Rooting toolbox
Universal ABD Driver
Due to the fact that I'm new I apparently can't insert links, so as much as i want to I cannot lead you directly to your materials. First google how to root lg zone. You'll run into another xda forum by the user thepcmrtim. He talks about how he took 3 weeks to root the phone. He'll give you the dropbox link with the toolbox.
The dropbox file is safe to save to your computer. Inside the zip file(which you should unzip) you will find instructions that were not written by me. You can either follow that persons instructions or you can follow mine. But the instructions aren't completely useless. You will also find Super One Click (You will need this) folder, and universal ABD driver master (You don't really need this). As for the Universal ABD Driver, open the instructions document using wordpad or Microsoft Word and you will find a github link. Follow the link using your favorite browser and you want to scroll down and download the windows installer one. It'll install everything for you. Once again, its all safe to download.
By now you should have everything you need to root your lg Zone! Lets get down to business.
Step One. Open the .msi (installer) file for Universal ADB Driver. Install that. Once its installed, open "computer<local disk(mine is named that, idk about yours. Its usually drive C)<Program Files<ClockworkMod<Universal ABD Driver<usb_driver
Step Two. for the less tech savvy this is where the coding comes into play. Nothing heavy just a little copy and paste. For those with a little experience this will be a walk in the park. Open the android_winusb setup information file in notepad. Scroll down to the LG section, and underneath the last %LG% thingy, press enter and paste in the following two lines.
%LG% = USB_Install, USB\VID_1004&PID_6244
%LG% = USB_Install, USB\VID_1004&PID_6244&MI_04
Then press save. If access is denied open notepad as administrator, set the filter to All Documents(Or files, i don't know from the top of my head), and go to the usb_driver folder. Open android_winusb stepup information file. Repeat the step above, and save.
Step three. Now you want to check and make sure your phone's driver is installed on the computer. For those "who ain't got time for that" skip this step. Its merely a precaution. Now you can usually tell if your phone's driver is installed on the computer if you can access your sd card on the computer by connecting your phone via usb cord. But to make sure go to your control panel and go to Devices and Printers. For those who have their setting on "category" in the top right hand corner, set it to large icons. OR small, your pick. By then Devices and Printers should be visible.
Then hook up your phone via usb cord, go to settings<Applications<Development and check USB debugging. Give it a minute and then check to see if you see something like LGE Android Phone. If you see it, but it has a ! with a yellow triangle around it that means the driver wasn't installed successfully. This could have been for multiple reasons and I can't provide the solutions for all of them so my suggestion to you is to google it. If you see that it installed successfully its time to root.
Step four. Turn off usb debugging but keep the phone plugged in. Then go into the Rooting for Optimus Zone (Hopefully you unzipped it, if not do so now) you downloaded and open up SuperOneClick.exe. It's icon is the droid guy with some red aura around him. Here you will be presented with a box, five buttons, and a switch with two options. Ignore the samsung captivate tab, because we're here to root an LG zone. On the "exploit" switch, click rageagainstthecage and then click the root button in the top left hand corner. Some command lines with stuff you don't understand may jump at you but don't worry. Nothing will blow up. When it gets to the "waiting for device" bit turn on usb debugging so it can begin the real rooting process. It may cycle a few times, but don't turn off usb debugging unless it seems the commands are repeating indefinitely.
Step five. Sit back, and watch your hard work, work for you.
Step six. It should say when its finished, and when it is it will prompt you if you would like the run a test. Run the test. If it fails, you DO NOT have root. You screwed up somewhere, or your phone is just plain screwed up to where it just can't be rooted. If it succeeds then unplug the phone, turn off usb debugging, power off and power on, and install/update "SuperUser" from the google play store if needed. Then wabam. Your LG Optimus Zone is rooted. Have fun recording your screen with screencasters, uninstalling default apps from the phone, and whatever crazy stuff you always wanted to but couldn't because you needed root. Well if you followed this step for step, you now have root.

How to: Modify Google's USB driver to work for fastboot

So, I have a OnePlus 8 Pro (IN2025) running stock 11.0.4.4.IN11AA, but whenever I booted into the bootloader, Windows 10 device manager said no driver found, even though I had the current Google USB drivers installed. I checked the hardware ID of the fastboot device, and for me it's "USB\VID_18D1&PID_D00D&REV_0100". I looked in the driver INF, and of course that hardware ID is nowhere to be found. Here's what I did to modify Google's driver to work with my phone instead of trusting random shady downloads from the internet:
1.) Download current Google USB driver and unzip into a folder. currently: https://dl.google.com/android/repository/usb_driver_r13-windows.zip
2.) Disable driver verification. Run the following commands in an elevated command prompt and reboot Windows:
bcdedit /set testsigning on
bcdedit /set nointegritychecks on
bcdedit /set loadoptions DISABLE_INTEGRITY_CHECKS
3.) Open android_winusb.inf (from the USB driver folder) in your favorite text editor, like Notepad++. Look for a section labeled "[Google.NTamd64]". Scroll to the bottom of that section, you'll see hardware IDs for ";Project Tango (generic)". After those entries add this section:
;OnePlus 8 Pro
%SingleBootLoaderInterface% = USB_Install, USB\VID_18D1&PID_D00D
Save the modified INF file. Right-click and install it. Now you have a working fastboot driver. These instructions are for x64, for x86 do the same thing in the appropriate section. Cheers.
P.S. OEM unlocking from developer menu doesn't actually do anything in this OS build. You have to "fastboot oem unlock" to actually unlock the bootloader. This will also wipe your phone, so be prepared.
After you're finished it's probably best to turn driver verification back on. Run the following commands in an elevated command prompt and reboot Windows:
bcdedit /deletevalue loadoptions
bcdedit /set testsigning off
bcdedit /set nointegritychecks off
Even with a clean installation of windows I've always been able to plug and play with my phone's, including the 8 pro.
I know this issue happens so Windows 7 so if it helps with that then that's great.
So many seem to have issues though.. Hope this helps them
Right now my only source of internet connectivity is thru my OP8 Pro, so while in fastboot I didn't have internet. There may very well be a Windows Update driver that's downloaded and installed for USB\VID_18D1&PID_D00D for people with normal internet =)
Ideally Google would just add the hardware ID to their INF and re-sign it.
xenoglyph said:
Right now my only source of internet connectivity is thru my OP8 Pro, so while in fastboot I didn't have internet. There may very well be a Windows Update driver that's downloaded and installed for USB\VID_18D1&PID_D00D for people with normal internet =)
Ideally Google would just add the hardware ID to their INF and re-sign it.
Click to expand...
Click to collapse
Connect to a neighbours WiFi?
what about the drivers that are offered from the OnePlus phone when it's connected? Not sure if it does that anymore..
I'm a voluntaryist out in the middle of nowhere in the high desert of southern cali.... off-grid, self-designed 48v 15kw solar system, well, garden, chickens, goats, ducks, etc. I don't have neighbors with wifi, but i've got an almost decent Verizon signal. I'll get around to StarLink after higher priority projects are done.
And....regarding the driver option which I think typically showed up as a CD drive or another device....I don't recall seeing that option for any of the OS builds since I've had mine. Because obviously if I did, I probably wouldn't have created this thread =)
OP a much simpler method would be to create a bootable usb with the latest Ubuntu and install adb through apt (making sure you set up a persistent filesystem to retain adb) and just use Ubuntu for your Fastboot and adb needs. Linux is much more reliable when it comes to flashing in fastboot compared to windows
xenoglyph said:
I'm a voluntaryist out in the middle of nowhere in the high desert of southern cali.... off-grid, self-designed 48v 15kw solar system, well, garden, chickens, goats, ducks, etc. I don't have neighbors with wifi, but i've got an almost decent Verizon signal. I'll get around to StarLink after higher priority projects are done.
And....regarding the driver option which I think typically showed up as a CD drive or another device....I don't recall seeing that option for any of the OS builds since I've had mine. Because obviously if I did, I probably wouldn't have created this thread =)
Click to expand...
Click to collapse
Sounds lovely, I'd love to take some shots in the desert on my Telescope.
Can't remember if my phone gave the driver install option on the 8 pro as I never needed it.
I think in your situation I'd probably have downloaded the driver on my phone first then copied it over to windows directly.
Defo check our starlink, your situation is essentially what it was designed for..
Id be interested to see how well it works.
superchilpil said:
OP a much simpler method would be to create a bootable usb with the latest Ubuntu and install adb through apt (making sure you set up a persistent filesystem to retain adb) and just use Ubuntu for your Fastboot and adb needs. Linux is much more reliable when it comes to flashing in fastboot compared to windows
Click to expand...
Click to collapse
yah, i actually just cleared out a spare 2tb portable HD last night and stuck Kali on it. I'm so used to developing on Windows that sometimes I forget about Linux. The embarrassing thing is I actually admin a dedicated Linux server on an unmetered gigabit connection, lol
dladz said:
Sounds lovely, I'd love to take some shots in the desert on my Telescope.
Can't remember if my phone gave the driver install option on the 8 pro as I never needed it.
I think in your situation I'd probably have downloaded the driver on my phone first then copied it over to windows directly.
Defo check our starlink, your situation is essentially what it was designed for..
Id be interested to see how well it works.
Click to expand...
Click to collapse
the thing is, I couldn't find a driver on the internet for "USB\VID_18D1&PID_D00D" which I actually trusted. Not one from OnePlus, not one from Google. A couple shady looking ones that I wouldn't personally touch. That's why I modified the Google one (after downloading it via my USB tethered phone). Like superchilpil said tho, Linux is probably the sanest option of all.
Considering the fact that OnePlus now forces you to factory reset your device upon bootloader unlock....I'm guessing they're not exactly enthusiastic about supporting fastboot...Also, the big scary warning message on every cold boot regarding the unlocked bootloader lends further credence to the idea they're not too keen on the whole fastboot thing.
edit:
I mean, i did see listings for supposedly compatible drivers on various driver download sites...and I could have taken the time to verify the security certificates on said drivers....but I just have a pretty strict policy of avoiding those sites like the plague
haha !
that worked perfectly on windows 11
many thanks bro
Wish I would have seen this before I wiped and went back to Win10...
Thanks!
THANK YOU!!! This is exactly what I needed.
I've attached the signed drivers to the post. This driver can be installed and used for different Oneplus devices. You can directly install the INF file without modifying it. Also, since this driver is signed, there is no need to use bcdedit commands.
falcont said:
I've attached the signed drivers to the post. This driver can be installed and used for different Oneplus devices. You can directly install the INF file without modifying it. Also, since this driver is signed, there is no need to use bcdedit commands.
Click to expand...
Click to collapse
THANKS, dude!
Your driver is working well on Win10x64 for Xiaomi devices (Mi Max 3, Mi 11) as well.

Categories

Resources