Hello everybody
I installed ADB to make a logcat but i had some big issiues with it.
I installed ADB with this instruction:
http://wiki.cyanogenmod.com/wiki/Howto:_Install_the_Android_SDK
I also installed the drivers which are recommend in this instruction but I'm not running Cyanogenmod on my HTC Wildfire.
After the installing process i typed want to make a logcat and i typed in the command "adb logcat" but that wasn't working and it was just shown the note: "adb logcat unable to open log device ' dev log main'"
Can somebody help me?
Thanks for replys
did "adb devices" cmd give you some device??if yes,i have no idea then,but i am not a dev or sb like that if not,did you turn usb debugging on?
if it should be a problem with drivers,then another way,suggested on many places,to install drivers is to install htc sync app (it includes drivers) and then uninstall it,keeping just drivers..
Sent from my Wildfire using xda app-developers app
j4r0l said:
did "adb devices" cmd give you some device??if yes,i have no idea then,but i am not a dev or sb like that if not,did you turn usb debugging on?
Sent from my Wildfire using xda app-developers app
Click to expand...
Click to collapse
Well thanks for reply i turned usb debugging on and the cmd.exe shows me something if i type in the command "adb devices"
I'll try HTC Sync and i hope it works.
actually if you got listed your device,logcat should work too...
Sent from my Wildfire using xda app-developers app
j4r0l said:
actually if you got listed your device,logcat should work too...
Sent from my Wildfire using xda app-developers app
Click to expand...
Click to collapse
Well you're right I don't knwo why it wasn't working at this time but i got it working right now :laugh:
Related
Terminal isn't working as adb doesn't detect my phone.
For example running adb shell returns "error: device not found"
Adb devices gives a empty list.
Any suggestions on how to fix?
Sent from my HTC One X using xda app-developers app
Three choices:
1. Switch to MTP: Settings > storage > menu btn
2. Use ADB wireless
3. Use ASB in recovery
Sent from my IceCold One X
treebill said:
Terminal isn't working as adb doesn't detect my phone.
For example running adb shell returns "error: device not found"
Adb devices gives a empty list.
Any suggestions on how to fix?
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
It's probably because you don't have adb drivers.
Make sure the drivers are installed.
Are you using windows 8?
Sent from my GT-N8000 using Tapatalk HD
csec said:
It's probably because you don't have adb drivers.
Make sure the drivers are installed.
Are you using windows 8?
Sent from my GT-N8000 using Tapatalk HD
Click to expand...
Click to collapse
I'm using the terminal on the phone itself, it was working but suddenly stopped.
Adb is working fine from my PC.
Edit: just plugged in phone to PC and got "usb device no recognised" then car mode was enabled on my phone.... thinking maybe is CM
Sent from my HTC One X using xda app-developers app
Hi all,
First of all let me say that i searched the forum for help and nothing worked.
I'm trying to root my HTC one X international using the all-in-one-kit.
The problem is with adb.
When clicking "get token ID" the first command prompt says "error: device not found".
Closing the prompt window the second pronpt window kicks in with the token ID.
This does not make sense because first i get a device not found error and then i get the token id.
If i do the procedure again, the token ID is displayed but is always different.
Installing drivers and using different OS does not solves the problem.
Anyone can help me ?
Thanks in advance
Can be ....drivers ...cable......i still think adb
Install real adb and look for the original command and be sure you are in tools directory
Sent from my HTC One X using xda app-developers app
I have the same problem, sometimes the computer recognises the phone over adb, sometimes it doesn't. Often the toolkit will say 'error device not found' then the next screen will complete properly. It is a driver issue.
Alex, what is real adb? Is it a driver we can install?
Sent from my HTC One X using xda app-developers app
stevethehedge said:
Alex, what is real adb? Is it a driver we can install?
Click to expand...
Click to collapse
I dont know that either...
That i would like to try... About drivers and cable...i did test all that ( different PCs, different drivers, original HTC USB cables and USB ports ).
While i get the device error i cannot root the device because the token id is most certain wrong !
Alex-V said:
Can be ....drivers ...cable......i still think adb
Install real adb and look for the original command and be sure you are in tools directory
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
Think I have to quote Alex for him to see this.
What is real adb?
Sent from my HTC One X using xda app-developers app
---------- Post added at 05:55 PM ---------- Previous post was at 05:51 PM ----------
Ruijc said:
I dont know that either...
That i would like to try... About drivers and cable...i did test all that ( different PCs, different drivers, original HTC USB cables and USB ports ).
While i get the device error i cannot root the device because the token id is most certain wrong !
Click to expand...
Click to collapse
Token is different every time. If your seeing a token, it's working. It is a bit touchy to submit, if it says incorrect token on the HTC site, check you selected the right part and try again.
Sent from my HTC One X using xda app-developers app
By "real adb" I think alex meant installing the sdk and typing the actual adb commands in the command window instead of doing it through the all in one kit
nogotaclue said:
By "real adb" I think alex meant installing the sdk and typing the actual adb commands in the command window instead of doing it through the all in one kit
Click to expand...
Click to collapse
yes sir
So basically I've read everywhere that you need to install all the drivers. So I've done that. Then I've downloaded Hasoon2000 extracted to my desktop, opened it up and as soon as I get to the 'get token id' the cmd prompts me with:
C:\users\craig\desktop\htc is not recognised as an internal or external command'
What am I doing wrong here? I've uninstalled and reinstalled the drivers, uninstalled every other thing that I thought may conflict with the drivers but to no avail.
Sent from my HTC One X using xda app-developers app
Craiglivesey94 said:
So basically I've read everywhere that you need to install all the drivers. So I've done that. Then I've downloaded Hasoon2000 extracted to my desktop, opened it up and as soon as I get to the 'get token id' the cmd prompts me with:
C:\users\craig\desktop\htc is not recognised as an internal or external command'
What am I doing wrong here? I've uninstalled and reinstalled the drivers, uninstalled every other thing that I thought may conflict with the drivers but to no avail.
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
no-one here can see what you are, or more importantly are not, doing so it is really difficult to answer your question. but rest assured that if you follow the instructions to the letter it will work so you have obviously missed a step. I used the same all in one for my hox last year and it worked without problem. all I can think of at the minute, as it is cmd you are having the problem with, is that maybe the path you have located your files in is invalid. or maybe you don't have debugging turned on
Craiglivesey94 said:
C:\users\craig\desktop\htc is not recognised as an internal or external command'
Click to expand...
Click to collapse
Cmd told you right there what's wrong, that command was not recognised you need to doubt check what you're typing
Sent from my HTC One X using xda app-developers app
nogotaclue said:
no-one here can see what you are, or more importantly are not, doing so it is really difficult to answer your question. but rest assured that if you follow the instructions to the letter it will work so you have obviously missed a step. I used the same all in one for my hox last year and it worked without problem. all I can think of at the minute, as it is cmd you are having the problem with, is that maybe the path you have located your files in is invalid. or maybe you don't have debugging turned on
Click to expand...
Click to collapse
1. I installed all the drivers
2. I Downloaded Hasoon2000
3. I extracted to desktop
4. I open it and follow the steps.
USB debugging is enabled. What am I doing wrong? Could it be that drivers aren't installing properly?
Sent from my HTC One X using xda app-developers app
Craiglivesey94 said:
1. I installed all the drivers
2. I Downloaded Hasoon2000
3. I extracted to desktop
4. I open it and follow the steps.
USB debugging is enabled. What am I doing wrong? Could it be that drivers aren't installing properly?
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
does the pc recognise your device? ie, does it show up in explorer as a drive
---------- Post added at 11:43 AM ---------- Previous post was at 11:39 AM ----------
treebill said:
Cmd told you right there what's wrong, that command was not recognised you need to doubt check what you're typing
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
well actually if he is using the toolkit he is not typing anything, he is just pressing the button for each step and the toolkit is "typing" the command so it cant be spelling
nogotaclue said:
does the pc recognise your device? ie, does it show up in explorer as a drive
Click to expand...
Click to collapse
Yeah I can go into the sd card through my computer and it's shows up as 'HTC One X'. It even recognises it on HTC sync.
Sent from my HTC One X using xda app-developers app
Craiglivesey94 said:
Yeah I can go into the sd card through my computer and it's shows up as 'HTC One X'. It even recognises it on HTC sync.
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
ok, when in the booloader can you see "fastboot usb" on phone screen?
nogotaclue said:
ok, when in the booloader can you see "fastboot usb" on phone screen?
Click to expand...
Click to collapse
I put my phone in bootloader, then connected USB, then fastboot USB appears. Then I try 'get token ID' and the cmd appears with the same text as before 'not recognised as an internal or external device'
Sent from my HTC One X using xda app-developers app
Craiglivesey94 said:
I put my phone in bootloader, then connected USB, then fastboot USB appears. Then I try 'get token ID' and the cmd appears with the same text as before 'not recognised as an internal or external device'
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
I've PM'ed you
Craiglivesey94 said:
I put my phone in bootloader, then connected USB, then fastboot USB appears. Then I try 'get token ID' and the cmd appears with the same text as before 'not recognised as an internal or external device'
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
Make sure that there aren't any spaces in the path to the toolkit.
Sent from my HTC One using Tapatalk 4
trying desperately for s-off. adb finds my device but says its offline. I'll follow any instructions cause ive tried everything and cant get it to be seen as online. please and thanks
zeer.row said:
trying desperately for s-off. adb finds my device but says its offline. I'll follow any instructions cause ive tried everything and cant get it to be seen as online. please and thanks
Click to expand...
Click to collapse
http://www.wugfresh.com/faq/7/
Have you already Tried this?
Sent from my ADR6300 using xda app-developers app
Tigerstown said:
http://www.wugfresh.com/faq/7/
Have you already Tried this?
Sent from my ADR6300 using xda app-developers app
Click to expand...
Click to collapse
just looked at it. yes i accepted the prompt already and i can see my device when i list, but its listed as offline.
zeer.row said:
just looked at it. yes i accepted the prompt already and i can see my device when i list, but its listed as offline.
Click to expand...
Click to collapse
I get this occasionally on a different device. But if I unplug and then plug it back in again, sometime takes more than once, it works
Sent from my Nexus 5
jd1639 said:
I get this occasionally on a different device. But if I unplug and then plug it back in again, sometime takes more than once, it works
Sent from my Nexus 5
Click to expand...
Click to collapse
ive been at it for 4 hours
heres a pic
zeer.row said:
ive been at it for 4 hours
Click to expand...
Click to collapse
Do you have usb debugging enabled?
Sent from my Nexus 5
jd1639 said:
Do you have usb debugging enabled?
Sent from my Nexus 5
Click to expand...
Click to collapse
yes, and unknown sources checked , and unchecked verify apps
zeer.row said:
yes, and unknown sources checked , and unchecked verify apps
Click to expand...
Click to collapse
And you're using the same cable that came with the phone? Also use usb 2.0 not 3.0 ports. These are the only things I can think of.
Sent from my Nexus 5
ADB
If you are trying to connect ADB for Weaksauce, you have to open apps folder,
run Weaksauce and accept prompt,
then run SU and accept prompt,
Then start giving your ADB commands.
just download drivers straight from htc thats all
I had the same problem at first. Then I installed Android SDK and copied the path to where the folder is on my C drive. Afterwards, Turned OFF USB Debugging, used the "revoke usb authorization" option, then Turned On USB Debugging on the phone again and the Key Verification window popped up on my phone and selected "ALWAYS" for adb to be used on the attached computer. Then tested with the command "adb devices" and now my m8 is all good and ready to go. No more offline or unauthorized.
has to be a driver situation thats stuck on my pc, used another laptop (different computer) downloaded latest sdk n it worked. this can be deleted. genuine thanks to everyone who gave input!!
michaelbsheldon said:
If you are trying to connect ADB for Weaksauce, you have to open apps folder,
run Weaksauce and accept prompt,
then run SU and accept prompt,
Then start giving your ADB commands.
Click to expand...
Click to collapse
I'm not using weaksauce because I wasn't sure if it worked on a Sprint phone. Does it?
thendyy said:
I'm not using weaksauce because I wasn't sure if it worked on a Sprint phone. Does it?
Click to expand...
Click to collapse
Just checked at the weaksauce website, and it says that it 'may' work for sprint.
If yours isn't running newest HTC releases for your phone, weaksauce could work.
I'd try it: worst thing that could happen is that you'd have a do a factory reset from hboot.
Best wishes -
mike
I got the offline message also and found out that i have to disable my USB 3 driver in Device manager.
When they are disabled i can use adb to my phone.
Hello folks, i am having trouble trying to get adb to recognize my device. Every time i try to do adb reboot, daemon starting etc... And then after it says device not found. I tried uninstalling and reinstalling the drivers for thehtc one m8 and yet it still doesnt work. Please help me as i want to gain s-off
Sent from my HTC One_M8 using XDA Premium 4 mobile app
Are you using a pc running Windows 8. That was my problem. Worked fine on an old laptop running Windows 7
Sent from my HTC One_M8 using XDA Premium 4 mobile app
BubooBear said:
Hello folks, i am having trouble trying to get adb to recognize my device. Every time i try to do adb reboot, daemon starting etc... And then after it says device not found. I tried uninstalling and reinstalling the drivers for thehtc one m8 and yet it still doesnt work. Please help me as i want to gain s-off
Sent from my HTC One_M8 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
same happened with me. It turned out there was a prompt on my M8's screen asking for permission for my computer to use USB debugging. I gave it access and adb was working fine.
I had the same problem on windows 8. I installed HTC sync and everything worked fine.
Make sure USB debugging is enabled.
When you connect your phone and use the 'adb devices' command for the 1st time your phone will give an USB debugging RSA prompt. Click ok and you will be good to go in windows 7. Just run the 'adb devices' command again (or click on the UP arrow on the KB, this will replicate the last typed command) to check it sees it.
Windows 8 - No idea
grentuu said:
Make sure USB debugging is enabled.
When you connect your phone and use the 'adb devices' command for the 1st time your phone will give an USB debugging RSA prompt. Click ok and you will be good to go in windows 7. Just run the 'adb devices' command again (or click on the UP arrow on the KB, this will replicate the last typed command) to check it sees it.
Windows 8 - No idea
Click to expand...
Click to collapse
I must have missed that prompt, is there a way for me to do anything that will have that prompt show up one more time? I am running windows 7.
Sent from my HTC One_M8 using XDA Premium 4 mobile app
BubooBear said:
I must have missed that prompt, is there a way for me to do anything that will have that prompt show up one more time? I am running windows 7.
Sent from my HTC One_M8 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Turn off usb debugging. Give the phone a reboot.
Turn USB debugging on again and connect it to your PC again
Look at the phone It should come up again. Make sure it is set to 'always authorise'
Type adb devices = profit
grentuu said:
Turn off usb debugging. Give the phone a reboot.
Turn USB debugging on again and connect it to your PC again
Look at the phone It should come up again. Make sure it is set to 'always authorise'
Type adb devices = profit
Click to expand...
Click to collapse
I had the same issue on my Windows 8 pc.. I was able to rectify the adv device not found issue by going into device manager , clicking on the HTC one icon and manually installing the drivers by browsing through my computer and using my Nexus adb drivers and everything worked fine after that
Download htc sync, you'll need those drivers. Then follow grentuu's instructions.
umjammerlammy said:
Download htc sync, you'll need those drivers. Then follow grentuu's instructions.
Click to expand...
Click to collapse
Thanks a ton. I had just plugged my m8 in after a fresh win8.1 install and couldn't figure out why I could copy files but not see it under ADB after the adb google driver install.
Canadianreaper said:
Thanks a ton. I had just plugged my m8 in after a fresh win8.1 install and couldn't figure out why I could copy files but not see it under ADB after the adb google driver install.
Click to expand...
Click to collapse
Glad I could help!
I had the same problem using Windows 8.1. adb and fastboot were definitely installed correctly as I already used them for flashing other ROMs on my Nexus 7. The solution in my case was to download and install the HTC Sync Manager. After installing the hsm the adb and fastboot commands worked perfectly.
Best regards,
B.