well decided to install some custom roms. installed recovery via adb wiped phone. forgetting we cant mount usb. so i went to push it via adb. " "waiting for phone" once i got passed that error i go to use adb sideload. well once i put abd shell. in the command prompt. and hit abd sideload in twrp. it disconnects from pc for a second then comes back. but knocks me off abd shell. i am having trouble pushing a rom to my phone now. which is completely wiped. im stumped at this point
well fixed. after getting some good rest i tried another method. it seems the updated adb. does not allow to you to be in adb shell and inititiate the adb sideload command via twrp or cwm. you can now do it normaly "adb sideload xxx.zip inside of being in adb shell command menu first. just a heads up for anyone who got stuck like me
your old rom should still be there if you reboot, you'll have to set it up again, but then just copy the rom you want to use back to the phone, unless of course you wiped /system as part of your procedure.
If you did that, and you didn't create a NANDROID backup before wiping or attempting to install anything, you can boot to bootloader and install cwm recovery from sk8trwithskil, It for sure supports adb mode from recovery
from that recovery you can adb push your rom to the sd card
adb push /rom.name.here /sdcard
then you can install the rom
gunnyman said:
your old rom should still be there if you reboot, you'll have to set it up again, but then just copy the rom you want to use back to the phone, unless of course you wiped /system as part of your procedure.
If you did that, and you didn't create a NANDROID backup before wiping or attempting to install anything, you can boot to bootloader and install cwm recovery from sk8trwithskil, It for sure supports adb mode from recovery
from that recovery you can adb push your rom to the sd card
adb push /rom.name.here /sdcard
then you can install the rom
Click to expand...
Click to collapse
yeah i got it. apparently no more adb shell first. then adb sideload. just initiate adb sideload right from the getgo. so i'm back :good: and yeah i wiped the entire phone.
Make a NANDROID RIGHT NOW
gunnyman said:
Make a NANDROID RIGHT NOW
Click to expand...
Click to collapse
Yes fatherrrrr. i have one lol
I am in a situation similiar to what you were in, but I don't have any adb support in Recovery, I cant mount usb at all in any of the 3 recoveries either, I did have ADB within the phone before I had my accident... I've even reinstalled the android sdk and rebooted, done everything I can think of but I'm running out of ideas now. I've reinstalled the drivers found in the tool thread as well, although I used the ones the came with the phone the first time. Any help?
I had the same problem and tried everything, was just about to throw in the towel and by accident tried you last thing and I fixed it. This is so easy your going to kick yourself, hope it works for you. This is what I did… 1-download HTC One All in one toolkit (I know most of it doesn’t work but this will) Once opened and extracted (On your desktop) right click it and run as ADMIN. 2-click FLASH RECOVERY and install TWRP. 2-in Commands click ERASE CACHE . 2-In Extras click ADB SIDELOAD A ROM (I know you have tried it and it never worked in the past but by ERASE CACHE it works) When you run ADB SIDELOAD A ROM you just need to follow the instructions.. Good luck
Wiping system data and factory reset doesnt wipe memory card since we don't have a separate card?
Sent from my HTC One using xda premium
No, it doesn't but every once in a while someone will done goof and wipe storage while wiping things
Yup. A goon like me did it last week. I've tried everything and can't fix it. But the post above yours I will give it a go when I get home. Hope it works. Then I'll have 2 devices since I had to get another One
Sent from my HTC One using xda premium
Diesel321 said:
Yup. A goon like me did it last week. I've tried everything and can't fix it. But the post above yours I will give it a go when I get home. Hope it works. Then I'll have 2 devices since I had to get another One
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
abd sideload works fine in cwm and twrp. but being the dummy I am was late. and didn't realize. that the updated adb.exe.... command is adb sideload xxx.zip you not longer have to do adb shell first. and when I was doing this is was kicking me out. of adb. or get yourself a otg cable and use that via twrp
OTG cable? I've heard it but don't know what it is
Also I couldn't get any adv commands to work. Can't get anything to mount. Other than cache.
Sent from my HTC One using xda premium
Diesel321 said:
OTG cable? I've heard it but don't know what it is
Also I couldn't get any adv commands to work. Can't get anything to mount. Other than cache.
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
flash stock recovery from the INT forums. get into bootloader and do a factory reset. then reflash twrp or cwm. do you have the htc driver installed?
Yes have the drivers installed.
Sent from my HTC One using xda premium
Diesel321 said:
Yes have the drivers installed.
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
http://www.ebay.com/itm/390453545920
daddioj said:
http://www.ebay.com/itm/390453545920
Click to expand...
Click to collapse
Is the OTG cable needed or can I do it without?
Diesel321 said:
Is the OTG cable needed or can I do it without?
Click to expand...
Click to collapse
you can do without if you can get your sideload working. if you cant I would spend the 2 bucks or so on the cable load the rom on a usb stick plug in and flash to revive your phone. adb sideload works great here. but I use otg cable for ease of use
That's what happens when I try to sideload. Nothing will mount. Guess I'll order and OTG and see if I can mount external/sd
Also every time I try to sideload it freezes my laptop.
Sent from my HTC One using xda premium
Diesel321 said:
That's what happens when I try to sideload. Nothing will mount. Guess I'll order and OTG and see if I can mount external/sd
Also every time I try to sideload it freezes my laptop.
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
did you trying formatting those partitions? or get stock recovery and do a factory reset in Hboot? what steps are you taking to sideload?
Related
if you haven't read my last thread here is my issue.
my pc won't read my phone because it say "failed to open usb master mode"
i can access bootloader and twrp but i cant usb anything.
my pc will say mtp driver install failed
so my question is what do i need to download for adb fastboot? programs, drivers, all i need since the auto install from my phone isn't working. and if all possible link me to it. ive been up 14 hours straight trying to search every where on what to do but im coming up with nothing. just people saying install and reinstall......so far only clonz tried to help me. i tried sideloading but i didnt know i needed to abd fastboot....tried installing adt from a google search android sdk but eclipse is saying im missing a java file. what the hell am i suppose to do? where does all the adb files/sdk stuff go? im lost already.
Are you trying to copy something to the phone while it's booted up? If yes, you dont need adb/fastboot, only the correct drivers. If you are trying to flash a Kernel, you have to use fastboot. To do this, download the sdk, install it and all the necessary things from the SDK Manager. Then open the command prompt (as admin) and navigate to the folder where fastboot.exe is (probably smth like C:\Program Files\android-sdk\platform-tools). Make sure your boot.img (the kernel) is also there. Boot the phone into the bootloader, then connect it per usb and type
"Fastboot erase cache (optional)
Fastboot flash boot boot.img"
And reboot
Sent from my HTC One X+ using xda app-developers app
s3nsation said:
Are you trying to copy something to the phone while it's booted up? If yes, you dont need adb/fastboot, only the correct drivers. If you are trying to flash a Kernel, you have to use fastboot. To do this, download the sdk, install it and all the necessary things from the SDK Manager. Then open the command prompt (as admin) and navigate to the folder where fastboot.exe is (probably smth like C:\Program Files\android-sdk\platform-tools). Make sure your boot.img (the kernel) is also there. Boot the phone into the bootloader, then connect it per usb and type
"Fastboot erase cache (optional)
Fastboot flash boot boot.img"
And reboot
Sent from my HTC One X+ using xda app-developers app
Click to expand...
Click to collapse
some odd reason when i wiped to to a new rom it like wiped everything and keep saying no os installed. so i never use adb so i dont know what to download and my mtp driver isnt installing properly
I guess you wiped data and it wiped the internal storage too. And now you cant install a rom. I'm not an expert but I guess you could try extracting a rom zip and flash every partition since sideload doesn't seem to work. Better ask a dev about that one, though..
P.s. dont wonder about the "thank", I accidentally pressed it
Sent from my HTC One X+ using xda app-developers app
EDIT: Do you have TWRP recovery? If yes, boot into recovery, select "advanced", then "sideload". Now open cmd again, navigate to adb and type:
"adb sideload rom.zip" (replace rom.zip with the name of your rom file)
Note that the rom.zip must be in the same folder as adb.
Wont be able to write anymore 2day, gotta go sleeping, sry (europe ). I hope this works though..
sideloading as we speak!!!!! hope it works!!!!! taking a long time though
Flipnfr3ak said:
sideloading as we speak!!!!! hope it works!!!!! taking a long time though
Click to expand...
Click to collapse
Not sure if you have fixed your problem but this http://forum.xda-developers.com/showthread.php?t=2051032 might help...even if you don't know what you are doing
Cheers!
Clonz said:
Not sure if you have fixed your problem but this http://forum.xda-developers.com/showthread.php?t=2051032 might help...even if you don't know what you are doing
Cheers!
Click to expand...
Click to collapse
found my problem......i didnt have android sdk installed properly....once i reinstalled everything( java, sdk, htc sync, some other things) i was able to follow your TUT no problem!!!! thanks clonz!!! sideloading is awesome
Flipnfr3ak said:
found my problem......i didnt have android sdk installed properly....once i reinstalled everything( java, sdk, htc sync, some other things) i was able to follow your TUT no problem!!!! thanks clonz!!! sideloading is awesome
Click to expand...
Click to collapse
Glad to help man
Cheers!
So I dont have my nanadroid backup...thats not my concern because i can just flash the stock rom...but anyways i dont have an os installed i have twrp recovery...im tryin to adb sideload the rom.zip so i can then flash the rom. Could someone please enlighten me how to do this or a detailed tutorial ive searched but im having no luck thanks in advance!!!
2phonejones said:
So I dont have my nanadroid backup...thats not my concern because i can just flash the stock rom...but anyways i dont have an os installed i have twrp recovery...im tryin to adb sideload the rom.zip so i can then flash the rom. Could someone please enlighten me how to do this or a detailed tutorial ive searched but im having no luck thanks in advance!!!
Click to expand...
Click to collapse
If never gotten sideload to work, but you can try adb push. this is where I learned it http://forum.xda-developers.com/showthread.php?t=1667929
joshyy_rey said:
If never gotten sideload to work, but you can try adb push. this is where I learned it http://forum.xda-developers.com/showthread.php?t=1667929
Click to expand...
Click to collapse
It working as far as connecting to fastboot but when i goto recovery like the tutorial states and then goto mount and run the commands it doesnt push the file even though it says device is being read.
joshyy_rey said:
If never gotten sideload to work, but you can try adb push. this is where I learned it http://forum.xda-developers.com/showthread.php?t=1667929
Click to expand...
Click to collapse
Im using twrp btw idk if that is the issue but if so do you know how i can flash the cwm recovery or is that not possible urrghhh im so close i just have to get this adb to push the file!
if you have an OTG cable you can load from a USB stick..Just mount OTG
2phonejones said:
Im using twrp btw idk if that is the issue but if so do you know how i can flash the cwm recovery or is that not possible urrghhh im so close i just have to get this adb to push the file!
Click to expand...
Click to collapse
You can flash cwm through adb. Adb might be buggy through recovery it was at first. I'd post on the twrp thread to see if a someone has an idea
Sent from my HTC One using xda premium
I had this problem myself today and started freaking out. After a brief 15 second panic attack I realized I could side load. I have twrp and sideloaded very easily.
I used the all in on toolkit listed in the android dev section and cleanrom 1.5. I put cleanrom on my desktop and renamed it to Rom.zip. I started the aio tool which has a button for sideloading a Rom. Boot the phone into recovery and plug it into your pc. (I am assuming you have the HTC drivers installed) From TWRP click on advance and the adb sideload. Then click the side load button on the aio tool. This will attempt to reboot your phone first but since you're already there just close the command prompt that comes up. A new window will come up for you to chose the zip. Navigate to your desktop and pick the zip you put on the desktop (longer paths seem to cause issue with sideloading). Then it will push the zip to your phone. The command prompt on your pc will have a percentage progress. Once done just flash that zip like normal.
I had to reboot my phone using the volume down power button method before I could get back to twrp and the install froze once in Aroma. But I just flashed it again and it worked. Once I got it back I just put my backup back on the phone, booted back to twrp, and restored my backup.
Sorry if this seems unorganized, had two toddlers crawling all over me while. typing. Using the AIO should work
AIO found herehttp://forum.xda-developers.com/showthread.php?t=2242635
Sent from my HTC One using xda app-developers app
Hello
i managed to unlock my bootloader, flashed twrp recovery, flashed super user.
Tried to install dirty unicorn and got status 7 error.
And now i dont have a rom/os installed.
I tried to move over .zip files through twrp but cant mount drives.
Any help?!?
I TRIED TO PUSH ZIP WITH SIDELOAD AND NO LUCK
BUMP!
i really need to get this fixed please help
xr1charxx said:
BUMP!
i really need to get this fixed please help
Click to expand...
Click to collapse
I did the same thing yesterday, as it was my first time using TWRP (always been a CWM guy), All you have to do to fix it is go into advanced and go into adb sideload, put your rom in you adb folder and run this command
adb sideload nameofzip.zip
Then the zip will be placed in internal storage named sideload.zip and you can flash it.
dsf767 said:
I did the same thing yesterday, as it was my first time using TWRP (always been a CWM guy), All you have to do to fix it is go into advanced and go into adb sideload, put your rom in you adb folder and run this command
adb sideload nameofzip.zip
Then the zip will be placed in internal storage named sideload.zip and you can flash it.
Click to expand...
Click to collapse
Already tried this. when i run adb devices my device does not show up. and when i try to sideload any files i get error:closed
xr1charxx said:
Already tried this. when i run adb devices my device does not show up. and when i try to sideload any files i get error:closed
Click to expand...
Click to collapse
I would try to plug in the USB after your already in recovery.
If you cant get that to work you can always buy this:
https://shopmeenova.appspot.com/st/order.html
its a microusb to microsd its a good worst case and will get you up and running.
do you still have the rom that errored out on you on your internal storage? if so you can always try a fresh wipe and try to install again.
Here's the thing:
I get a new HTC One, I unlocked the bootloader, I root it and installed the TWRP Recovery, everything was fine but stock.
Ok, next I choose to install it a new rom, I used Maximum HD once, so I installed again...
this is the problem, when the rom was installed, instead of booting correctly it was looping at the HTC logo then it launched automatically the Recovery... I wipe ALL DATA by error, now;
I tried to push rom via ADB, the problem is, everything works fine, device detected, well all is ok, but when I try to push it I get a Command Prompt note: ERROR CLOSED:
And IM STOCK with the device bricked, please, please SOMEONE help me! I'm able to donate if necessary please. Help me to solve that error or to push the rom to the device to rescue him from the death....
View attachment 2587501
This is the error...
Are you s-on or s-off?
Sent from my HTC One using XDA Premium 4 mobile app
sideload and push are not the same thing as far as I know.
adb sideload romname.zip
adb push romname.zip /sdcard/
looks like you mixed the 2 from your screen shot
And when you install any rom you should do the following
TWRP choose advanced in wipe section and wipe dalvik cache, cache, system and data.
Sent from my HTC One using XDA Premium 4 mobile app
Thanks, actually I saw that / sideload - push / confusion and I got installed the rom, the thing also was update via fastboot the TWRP to version, 2.6.3.3 I was on 2.3 something like that!
Now I'm running the rom and I'm happy.
TopoX84 said:
Are you s-on or s-off?
Sent from my HTC One using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I don't really now what it's that I will google it now... hahaha!
I cannot get my phone to start, whenever I reboot it takes me to recovery!
When I'm at recovery it shows black screen. (Recovery installed from Rom Manager)
I can only access bootloader. What did I do?
I installed Rom Manager and install the Clockworkmod Recovery
I wanted to flash cyanogenmod 11, I did that in the Rom Manager
Then my DNA restarts and shows black screen after the HTC Logo
Help please!! >.<
Being in recovery is a good thing. You should have done a backup before flashing. Go to cwm , wipe system data and cache. Restore your backup. Then get a fresh cm down load and start from scratch. Don't use rom manager to flash this time. Flash from recovery.
Oops sorry reread your post. Recovery is not working? So did you flash recovery through rom manager, then immediately flash cm without booting to recovery first to make a backup? Either way your phone will be fine. you will likely have to push a new recovery through adb. You will find instructions through search.
Put the phone in fastboot open a command window on your pc and then use the command "fastboot erase cache" and then see if you can boot into the recovery.
Sent from my HTC6435LVW using XDA Premium 4 mobile app
Reply
Jaggar345 said:
Put the phone in fastboot open a command window on your pc and then use the command "fastboot erase cache" and then see if you can boot into the recovery.
Sent from my HTC6435LVW using XDA Premium 4 mobile app
Click to expand...
Click to collapse
findinghomer said:
Being in recovery is a good thing. You should have done a backup before flashing. Go to cwm , wipe system data and cache. Restore your backup. Then get a fresh cm down load and start from scratch. Don't use rom manager to flash this time. Flash from recovery.
Oops sorry reread your post. Recovery is not working? So did you flash recovery through rom manager, then immediately flash cm without booting to recovery first to make a backup? Either way your phone will be fine. you will likely have to push a new recovery through adb. You will find instructions through search.
Click to expand...
Click to collapse
Well you see, fastboot is not working for some reasons... I installed the drivers, tried other drivers but still nothing. Whenever I try to lock my bootloader it say "waiting for device" (I wanted to use RUU but cant lock bootloader)
Pardon my english
Are you using windows? I had trouble getting adb to work with my current windows install. I used unbtu booted from a usb and adb worked perfectly....
I borked up my DNA a few weeks back like yours. I use Linux Mint, used some flashboot commands (I'm at work, can't remember exactly) and was able to flash TWRP recovery (but you could flash CWM if you wanted to). Then I was able to RUU. I could have pushed a ROM and flashed afterwards, but I RUU'd instead.
Hope this helps.
Word to the wise, when flashing anything on your phone, READ ALL THE DIRECTIONS VERBATUM. If you don't, you risk the bork (like I did).
Replying
cragunk said:
Are you using windows? I had trouble getting adb to work with my current windows install. I used unbtu booted from a usb and adb worked perfectly....
Click to expand...
Click to collapse
Ubuntu? Ok I'll try that. And yes I'm using windows 8
Yehudah said:
I borked up my DNA a few weeks back like yours. I use Linux Mint, used some flashboot commands (I'm at work, can't remember exactly) and was able to flash TWRP recovery (but you could flash CWM if you wanted to). Then I was able to RUU. I could have pushed a ROM and flashed afterwards, but I RUU'd instead.
Hope this helps.
Word to the wise, when flashing anything on your phone, READ ALL THE DIRECTIONS VERBATUM. If you don't, you risk the bork (like I did).
Click to expand...
Click to collapse
Ubuntu also not working >.<!!
Thanks for your replys~
Try installing HTC sync on ur computer and see if that installs the right drivers
Sent from my HTC6435LVW using xda app-developers app
koksheng999 said:
Ubuntu? Ok I'll try that. And yes I'm using windows 8
Ubuntu also not working >.<!!
Thanks for your replys~
Click to expand...
Click to collapse
Do you have adb & fastboot working on Ubuntu?
Sent from my HTC6435LVW using xda app-developers app
Thanks guys! Problem Solved!
Hey guys thanks for trying to help!!
In the end I went to the place I bought it and they sent it to the factory and fix it for me for free