[Q] TWRP ADB not working on windows? - Moto X Q&A

I've noticed that I can't use ADB while in recovery mode on windows yet it works fine on linux. I'm assuming it's a driver issue being that with windows you have to install motorola's driver and on linux, like with everything, it just kinda works. My question is is there a way to get ADB within recovery working on windows. It would be helpful to not be limited to only being able to use it and mount as a storage device while inside userland. I do have a linux machine but whenever I'm on my gaming rig it would be nice to be able to use ADB and USB storage in recovery. Thanks!
I'm currently running Windows 7 SP1, Android 4.4.4 Kitkat, Linux Mint 17, and TWRP 2.8.0.1(I just noticed there was a 2.8.1.0 update although I doubt any difference will be made)

Have you updated the Android SDK?

Related

cannot mount SD card, ADB drivers installed

I've just recently flashed CM7.03 onto my nexus one.
As part of that procedure I had to install the android SDK and adb drivers to enable me to use fastboot.
Now when I plug my phone into my PC, it recognises an Android adb device, but I am unable to access mass storage. In device manager it sees a new android adb device instead of mass storage.
How to I get around this?!?! Is it a case of one or the other i.e. do I have to uninstall adb just to get mass storage back. It seems quite idiotic.
OK fixed it..
I had to go into device manager and change the driver of the android device back to USB driver instead of ADB driver.
I am amazed at how poorly documented some of this stuff is. e.g. how you have to manually add the sdk tools directory to your path. I realise its aimed at developers but really how hard is it to make these quirks clear up front, also that path issue is totally ridiculous, MS-DOS 5.0 called and its 1992 again lol. They give you a nice GUI repo system (I'm used to using yum and apt get in conventional linux) but fail to warn you that if you install the adb drivers you bork your mass storage capability. How hard would it have been to have a few lines of explanation in the GUI.

[Q] One not detected properly in fastboot mode

Hi there,
I`ve got the following Problem:
My One is not detected properly in fastboot mode, adb works like a charm (all cmds working)
In fastboot mode windows says that the device cannot be started (code 10) and cmd cannot find the device and it`s also not charging in fastboot...
I`m using Windows 8 and I know that there are problems with driver signatures, so I disabled the checks through advanced boot, uninstalled all drivers and reinstalled them (the strange thing is, it worked like a charm with my HOX)
After that still the same issues... Then I uninnstalled the HTC drivers and tried the drivers from Google SDK and after that the drivers from PDAnet but nothing helped...
Then I read that there are Problems with USB3.0 and fastboot but I only got USB3.0. So I tried different USB ports and reconnected many times (about 30 times) and maybe the phone says "fastboot USB" but in cmd it`s still not detected...
As I said before with my HOX it worked like a charm... (also Win8 and USB3.0)
Any ideas?
Thanks for your help!
togx
Try disabling Fastboot in the Power Settings.
I tried it again with fastboot disabled but it still doesn`t work... :/
same problem here....
envoy_467 said:
same problem here....
Click to expand...
Click to collapse
hey envoy_467,
I found a solution for this issue:
It seems that microsoft´s own driver for the Intel USB3.0-Host breaks the support for several devices. You can install the Intel drivers for Win7 on Win8 (search google: Windows 8 and Intel USB3.0 host controller there should be a link to plugable. I´m not able to post links cause I don´t have enough posts...) but it only works with the Intel host.
Hope it will help you too!
greetz,
togx
usb device not recognized
I'm having a similar problem using windows 8, but I tried both my usb 2.0 and 3.0 ports but results in same problem. I have a t-mobile HTC One S (JB 4.1.1). Everytime I try to do the fastboot to get my token id my pc tells me my usb device is not recognized. Does anyone have any suggestions? Thanks in advance!
Try THIS
Sorry to bump this thread, but it's better than creating a new one.
Anyway, I have the same issue as the others here: fastboot won't work at all.
Btw, I've tried all possible solutions but installing the intel driver isn't possible due to a limitation on Windows + Intel 8 Series.
Windows 8, Intel 4th generation processor (8 Series/220) on a Gigabyte GA-Z87N-WIFI.
USB eXtensible Host Controller driver by Microsoft can't be modified to work with the Intel 8 Series driver. When trying to install it it says that my PC doesn't have the requirements to install the program (driver can be found here -- 8 Series ONLY!!) probably because I'm on Windows 8 (no, setting the app to run with Win7 compatibility mode doesn't work either).
Using Naked Driver 0.72..
Has anyone tried with a virtual machine? Maybe I could install Ubuntu on a VM to test it when I get the time.
Any other ideas?
VM doesn't work.. Since Windows won't recognize the phone while on fastboot that means that the VM Linux won't find the devide either.
LiveUSB won't install the android SDK either.. I'm stuck..
FIXED, kinda.. Workaround on Linux.
More info:
Just did it..
But not on Windows..
I've created a LiveUSB from Ubuntu 12.04 using the "Universal USB Installer" from: http://www.pendrivelinux.com/downloads/
When creating the LiveUSB I've created with 4gb (4096mb) of free space on a 16gb flash drive just in case, but you can make it work with a 4gb flash drive.
Then I installed the Android SDK.
Then I was able to use fastboot to change the CID to 11111111.. Working great.. Now let's download the developer ruu..
Tutorial used to install the SDK: http://askubuntu.com/questions/318246/complete-installation-guide-for-android-sdk-on-ubuntu
To run all commands faster, just type "sudo su" before starting. After that type "apt-get -f install" to clean everything.
Remember: To install anything the tutorial asks you have to use the command "apt-get install name-of-package", where the name is the item the tutorial says.
Go up to Step 4.
Download and Unzip/extract the AndroidSDK to the desktop (just the SDK, you don't need the full bundle).
Go to the unzipped folder, go to the Tools folder, double click "android", run in terminal, install the SDK and the TOOLS.
When finished, open a terminal window, navigate to your unzipped folder, than navigate to platform-tools and use the command "./adb" and "./fastboot" to work your magic..
Edit: Still not able to install the RUU..
At least now I have the phone ready.. Just have to find a new PC to install the RUU..

Q: USB Not Recognised while in Fastboot

Hey guys,
Wonder if you can all help me,
Im not new to Rooting, but i have never come across this error before, ive searched accross XDA and Google, but cannot for the life of me find a fix, found a couple of things about deleting a registry file, and installed the One drivers which i had downloaded from here. I Do not have HTC Sync installed.
When device is powered up normally and connected to USB it as fine. When i reboot the Device into fastboot and connect it, i get a Error saying USB Device not recognised.
When i goto device manager, its shows up as My One under HTC, but has a Yellow '!' in a triangle, when i click on properties it states a code 10 Device Fails To Start error.
Please help as this is really frustrating me... Ive tried everything! And i really dont want to re-set my whole laptop as i will lose ALOT of data!
Like i said, im not new to this, as been doing this since the days of the HTC HD2...Am i missing something? Having a thick moment?
Running Windows 8.1.
If anyone really knows what this could be and could possibly fix, let me know as have team viewer and would gladly let you connect to me to help me out (Donation for your time aswell)
Thanks in Advance!
Really simple mate, windows 8.1 isnt compatible with fastboot drivers for now. Only adb is working atm. So dont be scared, your phone have no problem, its only because you updated to 8.1
Sent from my HTC One using xda app-developers app
Edit: there is a possible fix if your computer is based on intel chipset usb 3.0. Just google something like Windows 8.1 fastboot fix. Otherwise I think you will need to wait or simply use another computer with win7 or 8.0 or maybe dual boot win7 or even boot win7 with a vm?
Edit 2: search the forum, there is a "how to" force win7 fastboot drivers installation on win8.
Perfect buddy worked a Treat! Thankyou so much! I was getting so frustrated haha!
Didnt know it was a problem with Windows, so just needed to change the search terms, do'h!
For all those that has the problem in the future, a link for the fix!
Clicky!
Mods, this can now be closed, fixed!
fastboot for windows 8.1 over linux and this is my option to work fastboot on win 8.1
load wubi (windows ubuntu installer) over the link http://wiki.ubuntuusers.de/Wubi
than install ubuntu, on harddrive C:// and reboot your Pc
Now you have a linux in your current system, you can remove ubuntu (linux) in Programms & feautures list in windows.
now reboot reboot the system and isntall in ubuntu fastboot.
you musst give in the terminal sudo apt-get fastboot
and now you can flash your bootloader in linux.
but you musst sudo bevor you type fastboot flash type sudo fastboot flash boot boot.img
adb is working to on linux
i love wubi <3
you say it is easy
gooogle wubi (windows ubuntu installer)
tried running ubuntu in a virtual machine still no go guess the vm needs the windows driver to see the damn usb ports ffs
anyone know if for sure it will work if i actually install ubuntu to a partition?
Sony vaio 13 i7-4500u so only got usb3 ports and small hard drive didnt wanna dual boot really

[DESPERATE HELP NEEDED]Stuck in bootloader/fastboot

I mispressed in twrp earlier today when my phone speaker stopped working and none of my calls went through, SMS and everything else worked flawlessly tho.
Well, the thing is now, i've deleted all the data on the phone incl. internal storage and can't mount "USB" in either ADB or twrp (what's left of a functioning TWRP)
Driver's on my system says they cant recognize my phone and i've tried all the drivers and tips i found online with Windows 8.1 USB3 drivers ect.
Tried connecting with fastboot and adb in both OSX virtual machine, booted a ubuntu PC and on Windows 8.1 both on my stationary and laptop.
none of them can connect to the phone :/
Any ideas ?
downloading a RUU now and will see how that goes, 1gb left to download from a slow server...
EDIT: RUU didn't help at all, connection error..
EDIT 2: GOT IT WORKING ;D
Fix:
- Install Windows XP 32bit on a standalone partition and run Fastboot commands to push a new recovery into the phone, boot into recovery and mount storage to transfer ROM onto internalstorage for install.

Fastboot drivers not working - what to do?

I recently sold my HTC One M7 and I'm trying to take it back to stock. I followed the instructions on HERE to go back to stock and got to the point of flashing the appropriate RUU.zip, but during the flashing process the phone lost USB connectivity to my Windows 10 (tried 7 as well) PC and failed. I can see that it at least reverted the HBOOT from 1.54 to 1.44. I can still boot the phone all the way up into ARHD 93.0, it's still showing it has the latest firmware installed (7.19.401.51) and latest TWRP recovery (2.8.7.0), but if it keeps disconnecting from USB when I go into Fastboot how am I supposed to do anything?? I mean, I can't even flash back to a newer HBOOT without Fastboot working.... right?
/EDIT
Well, it's some kind of Windows driver issue, but hell if I can fix it. Under Device Manager on my Windows PC it says Android USB Devices > My HTC but it has a YELLOW triangle on it indicating it's not recognized. I've tried uninstalling the driver and doing some other things but I cannot for the life of me get it to recognize it properly on either Windows 10 or 7. Please help! I seriously don't understand why this is all of the sudden messed up.
Maybe not the simplest solution, but it is A solution if drivers are truly the problem-- use Linux-- no need for drivers. You can run it within Windows using Virtual Box (or install it on your hard drive alongside windows on a separate partition, but that might be a bit drastic just to use fastboot). The ISO files are available to download for free-- most recommend Ubuntu, I like Linux Mint, personally.. once you have the OS installed (whether it's in Virtual Box or your hard drive), all you have to do to install ADB and Fastboot is open a terminal window and type:
$ sudo apt-get install android-tools-adb (for adb; use android-tools-fastboot to install fastboot)
OR
$ su
# apt-get install android-tools-fastboot (or adb)
Then they are installed and ready to be used.. no drivers needed, no need to be in the directory containing the files-- just plug in your device and open a terminal window and you're good to go. Occasionally you will need to kill the server to get adb to recognise your device. Fastboot should always work. If fastboot returns with "no permissions," try running as root (or using "sudo fastboot).
Thanks, I forgot to post back here yesterday but that's effectively what I did except I used a Mac and everything went smoothly... stupid Windows

Categories

Resources