[Q] Using ADB/Sideload in Ubuntu 4.04 - Sprint HTC One (M7)

I have a Windows 8.1 laptop and can no longer connect my HTC One so I've decided to use Linux to use ADB to change the shell so I could run a RUU on Windows to get my phone on a stock rom... That is my level of understanding of what I want to do, but I cannot find the "code" to use in Terminal to get ADB to work... I have booted Ubunto Desktop to my usb but I havn't installed the OS, just "try"ed it... I don't know if that is an issue or not. Here are the links I have tried to use to get this to work... Which should I be following, or even better, does anybody have a step by step guide of how to get adb to work so i can finally fix this phone...
http://forums.androidcentral.com/ht...int-htc-one-what-some-suggestions-fixing.html
http://forum.xda-developers.com/showthread.php?t=2410560
http://forum.xda-developers.com/sho...-adb-and-fastboot-in-linux-ubuntu-and-mint12/
I feel Im so close but I cant get this to work... It's literally been months since I bought my new HTC One and I just wanna use the darn thing... Thanks to every1 that can help,, really any and all help is appreciated...

SinCere910 said:
I have a Windows 8.1 laptop and can no longer connect my HTC One so I've decided to use Linux to use ADB to change the shell so I could run a RUU on Windows to get my phone on a stock rom... That is my level of understanding of what I want to do, but I cannot find the "code" to use in Terminal to get ADB to work... I have booted Ubunto Desktop to my usb but I havn't installed the OS, just "try"ed it... I don't know if that is an issue or not. Here are the links I have tried to use to get this to work... Which should I be following, or even better, does anybody have a step by step guide of how to get adb to work so i can finally fix this phone...
http://forums.androidcentral.com/ht...int-htc-one-what-some-suggestions-fixing.html
http://forum.xda-developers.com/showthread.php?t=2410560
http://forum.xda-developers.com/sho...-adb-and-fastboot-in-linux-ubuntu-and-mint12/
I feel Im so close but I cant get this to work... It's literally been months since I bought my new HTC One and I just wanna use the darn thing... Thanks to every1 that can help,, really any and all help is appreciated...
Click to expand...
Click to collapse
Honestly the best thing to use is a Windows 7 PC.. Anyways, what's wrong with your phone? Does it reboot every 30 seconds?
Also, there are ways to get adb working on windows 8.1, if you're like me and don't have a windows 7 computer at home all the time
Finally, you stated that it won't connect to your 8.1 PC. Do you get any error at that time? Do you have the latest HTC drivers installed? Is your cable good?
Sorry if I wrote a lot, just trying to get you up and running.

EDIT: I GOT THE PC TO SEE MY HTC ONE!!!!!!
sry for the caps, but I soft bricked my phone back in April... ( i took a lil break from fixing it... just like 2 months lol) but I just followed this link here http://forum.xda-developers.com/showthread.php?t=2559200 and apparently I have to disable driver sigs every time i start up? Idk cause I've dont that before but whatever, did it again, and used the adb drivers from the link and now Im connected... Decided to go balls to the wall and skip the stock rom, and straight to Viper 6.2... so after I finish the download I"ll let you know what happened...

SinCere910 said:
EDIT: I GOT THE PC TO SEE MY HTC ONE!!!!!!
sry for the caps, but I soft bricked my phone back in April... ( i took a lil break from fixing it... just like 2 months lol) but I just followed this link here http://forum.xda-developers.com/showthread.php?t=2559200 and apparently I have to disable driver sigs every time i start up? Idk cause I've dont that before but whatever, did it again, and used the adb drivers from the link and now Im connected... Decided to go balls to the wall and skip the stock rom, and straight to Viper 6.2... so after I finish the download I"ll let you know what happened...
Click to expand...
Click to collapse
Umm, I think that link somehow got me this youtube vid, which had the link for the adb drivers... https://www.youtube.com/watch?v=PUjQnwULGzs
But that's the drivers I used to get my phone working on Windows 8.1...
Edit 2: Well i was able to sideload ViperOne to my phone and... it continues to reset itself... So a similar problem but now at least the phone is seen as One now, not some random usb device... and even the Internal Storage pops up when plugged in.... So now i'll prob go ahead and run the stock RUU... see if that helps any

Related

My device is not recognized in adb

hi i'm noob and i lost my recovery and my roms in a bootloop,so i'm gona use adb but no matter what i do i just can't make my g1 recognized on my pc(xp)i tryed my laptop too(vista)but no luck...any help??i tryed lots of drivers but thay all have a error
anything?pls i really need my phone
mazinxd said:
hi i'm noob and i lost my recovery and my roms in a bootloop,so i'm gona use adb but no matter what i do i just can't make my g1 recognized on my pc(xp)i tryed my laptop too(vista)but no luck...any help??i tryed lots of drivers but thay all have a error
anything?pls i really need my phone
Click to expand...
Click to collapse
I know you say you've tried lots of drivers, but I think you have to keep going down that road. I remember it taking for ever for me to get my driver to work. When you first plugged in your phone Windows probably installed some sort of generic USB driver. You have to find out which of your Universal Serial Bus Controllers is for your G1 and remove it and install the correct driver.
Here is a link you may want to read through.
http://forum.xda-developers.com/showthread.php?t=502010
qwerty3656 said:
I know you say you've tried lots of drivers, but I think you have to keep going down that road. I remember it taking for ever for me to get my driver to work. When you first plugged in your phone Windows probably installed some sort of generic USB driver. You have to find out which of your Universal Serial Bus Controllers is for your G1 and remove it and install the correct driver.
Here is a link you may want to read through.
http://forum.xda-developers.com/showthread.php?t=502010
Click to expand...
Click to collapse
no hes done all of that. i spent hours trying to get it to work with him, but its simply not working.

Need help from android gurus extremely frusturated

Ok here it goes...
Ive come to the conclusion by having no luck with my previous thread which was asking how to fix " the usb is not recognized" after trying everything known to man and reading every thread that this is kind of a grey area. If your problem isnt obvious ie: debugging off or new usb cord etc... then ur sol ? I say this because the people who know their stuff are extremely detailed and make insanely great write-ups.
FTW can anyone explain or knows how to do this:
Fix the phone so that I can have full usb function ie: when i plug it in the comp wants to install drivers and the phone gives me the option to mount?
If not can someone tell me what choices I have???
To give some info my phone started this after (dont judge why i did this like this lol) installed freshhh 2.0b then the new radio then the new....heroc recov(from reading all day and night im guessing its the recovery)
also the phone will boot in heroc recov and will boot in fastboot but NO ADB sigh. and to take the cake me being frusturated seemed to break the cardinal rule no nandroid backup sigh sigh. basically i just want the usb back in action and fresh 2.0 w/radio. im sorry about the long post but im losin my mind over this. Thanks in advance guys as always every bit counts.
Go into your android dev kit and make sure you have the most current version of the ADB drivers. Are they updated? If so, make sure those are the ones you are using.
I've had similar issues before and I know it's wicked frustrating. Just keep toying with it... sure you'll get it eventually.
illogic6 said:
Go into your android dev kit and make sure you have the most current version of the ADB drivers. Are they updated? If so, make sure those are the ones you are using.
I've had similar issues before and I know it's wicked frustrating. Just keep toying with it... sure you'll get it eventually.
Click to expand...
Click to collapse
this happened to me with my brother's moment. I can't remember if usb debugging had to be on or off but it that is what I messed with to get it to work. Try throttling it on and off... Good luck
illogic6 said:
Go into your android dev kit and make sure you have the most current version of the ADB drivers. Are they updated? If so, make sure those are the ones you are using.
I've had similar issues before and I know it's wicked frustrating. Just keep toying with it... sure you'll get it eventually.
Click to expand...
Click to collapse
I have every one you can think of lol its frusturating because im a computer programmer and this to me is madness ive actually began learning alot about this language because of this trying to fine the bug im so close to just starting from scratch/stock but being stubborn i cant give in thanks for the advice bro!
have you tried it on another computer to see if it works?
chavo2005 said:
have you tried it on another computer to see if it works?
Click to expand...
Click to collapse
yes i have and no it doesnt...
Re-install HTC Sync.. It updates the drivers...
there's some driver incompatibility if you've ever used another device with adb... you have to find the original device, put in dev mode, and overwrite drivers with that of the hero, then plug hero in and try agian.... if that is in fact your problem....
otherwise, htc sync should fix ya
pjung1 said:
because im a computer programmer
Click to expand...
Click to collapse
what do you do?
PDAnet for android has some driverS you could try as well...
http://www.junefabrics.com
Yes PDAnet but I also had success with installing HTC Sync for the Eris.
I am using Win7 64bit.
http://www.htc.com/us/support/droid-eris-verizon/downloads/
As per crunchybutternut's suggestion in a different thread, I followed the instructions in this link: hxxp://theunlockr.com/2009/10/06/how-to-set-up-adb-usb-drivers-for-android-devices/ (sorry, I can't post links yet)
Basically, I downloaded USBDeview and ran it in administrator mode to delete all HTC and Android related drivers (while phone is plugged in).
I then unplugged and plugged the phone back in and it reinstalled everything fine except for the ADB driver, so I told it to let me manually choose a driver from a list, selected Have Disk and pointed it to C:\android-sdk-windows\usb_driver
After that, I just set the phone to HTC Sync mode when plugging it in and it worked fine.
regaw_leinad said:
what do you do?
Click to expand...
Click to collapse
right now im doing alot of sql for companies who want full dbms. But pretty much know a little bit of it all. this is really fun to play with just a lil rough around the edges. i always liked linux tho!
And back to the problem i like the eris suggestion and I did all the rest. My only thought is this why after heroc attempt***???what does heroc do at the core behind being a boot prog what could it mess up or change if not flashed correctly? Thanks guys for the love
First, make sure your phone is NOT connected and open a command prompt. Then type the following command:
set devmgr_show_nonpresent_devices=1
You won't get any sort of output, it just goes to the next line. Then type in devmgmt.msc to open the device manager. Got to VIEW and select "Show Hidden Devices".
Now, expand the ADB Interface section, right click on each device individually, and uninstall. When prompted to delete the driver choose YES!
Go to the HTC Website to download and install the newest version of HTCsync.
http://www.htc.com/uk/SupportDownload.aspx?p_id=283&cat=3&dl_id=852
Once installed it would probably be a good idea to reboot your computer before you connect your HTC Hero. Once the Hero is connected make sure you pull down your notification bar and select HTC Sync or it won't connect for ADB access.
Hope this helps!
I've had this problem before but it was usually after I rooted my hero and had messed around. I've bricked two of them with the RUU trying to fix it. Don't really know why the phones bricked still. Usually I just kept plugging the phone on over and over until it recognized it.

Fresh Kitchen 1.0.5.4 stuck on Phone Status Updating

I been searching for threads but cant seem to find anyone with the same problem.
running stock 1.5 and wanted to use the auto rooter in fresh kitchen I disabled htc sync like it asked it pass the test on the help screen except powershell and sendkeys but that said it was ok. but the phone status never updates it just stuck there so I cant root I can do anything and it a real pain in the butt trying to find anything to figure out what going on. Why isnt the phone picking up in fresh kitchen ?
Any suggestions or help would be appericated.
Stonecold-DTV said:
I been searching for threads but cant seem to find anyone with the same problem.
running stock 1.5 and wanted to use the auto rooter in fresh kitchen I disabled htc sync like it asked it pass the test on the help screen except powershell and sendkeys but that said it was ok. but the phone status never updates it just stuck there so I cant root I can do anything and it a real pain in the butt trying to find anything to figure out what going on. Why isnt the phone picking up in fresh kitchen ?
Any suggestions or help would be appericated.
Click to expand...
Click to collapse
Make sure that you have the drivers from HTC Sync on your PC and also make sure that usb debugging is turned on.
Not sure if that will help, but I just used fresh kitchen to root a friends phone and it worked perfect.
jmoch2 said:
Make sure that you have the drivers from HTC Sync on your PC and also make sure that usb debugging is turned on.
Not sure if that will help, but I just used fresh kitchen to root a friends phone and it worked perfect.
Click to expand...
Click to collapse
htc sync installed and debugging on , the pretest on the help page seems to pass and says that it sees a valid adb device, other programs can see the phone and access it with out trouble. Not sure what exactly is going on might be I am in a virtual pc enviroment and attached the andriod phone device in the virtual pc enviroment I just flashed a friends to 2.1 offical did not have a problem with it but I am just not sure about what to do now.

[Q] So i have not updated this is a log time and now things have been messing up bad

its been a very long while since i updated my phone and used to work fine very slow even when over clocked but fine. the only other thing that happend was very rarely it would restart.
but now the screen wont work all time. it does work some times but not alot. works from reseting the phone. also it may be a loose wire tho because bumping the phone seems to fix it but i think it is just luck that it does.
now the phone is geting calls but nothuing is showing only ringing. i cant even place a call.
what i need to know is what is the latest stable build? and how do i get into the recovery again i cant seem into it again?
im tinking of going back to the original 2.1 but i love the 2.2 only programs ah well i also love haveing a working phone more.
if its a hardware issue simply flashing a new rom wouldnt help i suggest reverting back to stock and take it into a sprint tech store and who knows it could be under warranty still and yes if u flash an ruu theres know way they would ever know it was rooted to begin with.
how do i do this. i can not use adb to push anything to the phone adb wont list the phone in the devices
tutorial i am useing is the stickied one.
how do i revert back to stock
dont see a tutorial but im going to search a bit more
this is old 2.27 official ruu exe when you download it plug your phone into a computer via usb and dont put it in disk mode needs to be charge only im pretty sure then on your computer run the ruu exe and itll update everyhting on your phone and please make sure u have a stable usb cord that wont get disconected easily because all the updates should take around 10-15 min after that youll be on the stock sprint software then u can just update everyhting on your phone by pressing menu settings about phone and software updates but [B]please note that once u runn the ruu you will not be rooted anymore but you can still root easily via z4root after u update everything should u feel the need to[/B] thats all.
http://www.4shared.com/file/2uQunBaV/RUU_Hero_C_Sprint_2276515_R_si.html
thats the download link to the ruu.
thank you the one i was trying wouldnt load in hboot once my phone boots ill try this
yea with this all u need to do is plug your phone into a computer and run the ruu exe and it does everything for you i just couldnt find the right 2.3 ruu but u can still update everything the normal way after this
is there a certain way i connect it because it keeps giving me error 170 usb connection error
edit could it be that i am running 64 bit 7
When it gives you the 170 error with Win7, disconnect and reconnect the usb and re-run the program
Sent from my HERO200 using XDA Premium App
still no go. i did have an error installing sync because i have a 64 bit 7 OS is there a 64 sync install?
one that works because the one that was suppost to work messed up also
I've got 32-bit, sorry I'm not sure if there is a different procedure for 64-bit
Sent from my HERO200 using XDA Premium App
Have you tried a different USB cable? Beyond that, way back when I used HTC sync it was on 64 bit windows 7 fine with no issues. I don't even have it installed now and it ruus fine. If a cable doesn't resolve it, then maybe you just need to delete your USB root hub and force it to redetect USB devices
~maybe I set it too high...
http://www.mydigitallife.info/2009/08/24/workaround-for-htc-hero-sync-problem-in-windows-7/
This link help me and right now im on the way to updating the phone. thanks everyone who helped ... now hopefully this is going to fix all my problems
have you installed htc hero drivers yet try these out
place them on your desktop then go to devices/printers then click android phone/properties and update drivers dont do an automatic search make sure you choose desktop for the path.
http://handheld.softpedia.com/get/Drivers/HTC-Hero-Drivers-81097.shtml
yea phone so far is now working as it should touch screen and calls thanks again

[Q] Htc Vivid Rooting help >.>

Okay, so heres my problem. I got this phone from a friend that he had rooted and had worked, and he wound up reseting it and such before handing it over too me. Im no noob on the rooting and even on installing custom roms.
The phone does not recongnize on my computer in hboot.
Now ive done my research and i know its not supported in windows 8 for the drivers, and the only other computer i have would be a windows xp (which gave the same results)
Anyways, my friend no longer has the computer he used to root the phone, and im stuck with no wifi and no service(was just going to use it as a game tablet like phone. which i was using with my samsung galaxy s2 skyrocket before that died.)
I do have drivers installed, ive tried multiple ways to try and create the adb stuff so i can do this but it always gets stuck on waiting for devices.
So i guess what im asking is, am i SOL or is there a work around on windows 8 to get this up and working. im willing to try any and every suggestion, even if it means i have to go and get a "copy" of windows 7 or if there is a way to get it to work on win xp that would be even better.
hihiri said:
Okay, so heres my problem. I got this phone from a friend that he had rooted and had worked, and he wound up reseting it and such before handing it over too me. Im no noob on the rooting and even on installing custom roms.
The phone does not recongnize on my computer in hboot.
Now ive done my research and i know its not supported in windows 8 for the drivers, and the only other computer i have would be a windows xp (which gave the same results)
Anyways, my friend no longer has the computer he used to root the phone, and im stuck with no wifi and no service(was just going to use it as a game tablet like phone. which i was using with my samsung galaxy s2 skyrocket before that died.)
I do have drivers installed, ive tried multiple ways to try and create the adb stuff so i can do this but it always gets stuck on waiting for devices.
So i guess what im asking is, am i SOL or is there a work around on windows 8 to get this up and working. im willing to try any and every suggestion, even if it means i have to go and get a "copy" of windows 7 or if there is a way to get it to work on win xp that would be even better.
Click to expand...
Click to collapse
The drivers work in windows 8 for me... No problems here... i use adb and fastboot 24/7...
bilibox said:
The drivers work in windows 8 for me... No problems here... i use adb and fastboot 24/7...
Click to expand...
Click to collapse
See thats my problem though, i cant even bring up adb to recongnize the phone. I have the unlocked status on the hboot page, but i cant simply make my computer recongnize the phone when its in hboot mode. Ive tried every single forum that search will bring up about fixing the issue, and most have simply put that its not supported by windows 8 (at sometime during the post, not in initial posts) My main problem is, i use the phone without a connection to a cellular tower, only through wifi, but without being able to boot img file of what ever rom i put on, the wifi wont work.
I cant restore to stock via the same problem being, the hboot or fastboot part, will not recognize on my windows 8 computer.
hihiri said:
See thats my problem though, i cant even bring up adb to recongnize the phone. I have the unlocked status on the hboot page, but i cant simply make my computer recongnize the phone when its in hboot mode. Ive tried every single forum that search will bring up about fixing the issue, and most have simply put that its not supported by windows 8 (at sometime during the post, not in initial posts) My main problem is, i use the phone without a connection to a cellular tower, only through wifi, but without being able to boot img file of what ever rom i put on, the wifi wont work.
I cant restore to stock via the same problem being, the hboot or fastboot part, will not recognize on my windows 8 computer.
Click to expand...
Click to collapse
At this point I'd look into Linux...
I don't know if they have it yet... but wubi makes life pretty easy on past windows incarnations...
Sent from my Vivid 4G using Tapatalk 4 Beta
I have a better solution for you (IMO)
Download ubuntu .iso from the ubuntu website.
burn the .iso to a disk.
set your machine to boot from cd before booting from HDD (http://answers.yahoo.com/question/index?qid=20130425190900AADNjgh)
now, when you boot, it should take you into ubuntu. On the screen that pops up, select english, and then "Try Ubuntu" or whatever the equivalent is.
now, set up adb and fastboot for ubuntu using any method you like ere is a link to a guide: http://www.webupd8.org/2012/08/install-adb-and-fastboot-android-tools.html don't worry, it works on 13.04 or any other new version of Ubuntu.
Your ADB and Fastboot should work in any terminal window now. If you get an error like "insufficient permisions for device" then read on below:
Normally, you would type "adb devices"
instead, now type "sudo adb devices"
the terminal window will prompt you for a admin pass. Use the pass you used when setting up the trial. if you didn't use a pass, just press enter. for all your following adb or fstboot commands, use "sudo adb..." or "sudo fastboot..."
If this helped you, Thank me
Well that was a waste of a Skyrocket
Sent from my Samsung Galaxy S2 Skyrocket using XDA Premium

Categories

Resources