[HOW TO] ADB Sideload/Push if you Wipe Internal Storage & No ROM to Flash [19 May 15]

lifewithsuzy

Member
Jan 31, 2009
24
2
0
Bellingham
I have an Sprint HTC One that has been unlocked and rooted since last spring and worked flawlessly. Two days ago I flashed what I read was a stable 4.3 ROM and suddenly it would only open in bootloader. In the process of trying to fix that everything was wiped, OS, etc. If I tried to go into recovery, TWRP was previously installed, it would kick me back to the bootloader. So through fastboot I was able to reload TWRP, the latest version, and then get back into recovery with the intention of sideloading a ROM. I have the most current drivers and SDK packages installed and device manager shows Android Composite ADB Interface. When I attempt cmd adb devices it responds with "list of devices" and nothing else. When I go into recovery and execute cmd adb devices it responds with "FAxxxxxxxxx recovery". When I attempt to sideload it reads quickly "failed" and shows me that it can't mount data/internal storage/system. I then go to mount and it only gives me the option of cache. After reading that somebody had luck with adb push /data/ in recovery I tried it and was able to get a ROM into data. Through advanced/file manager I moved the zip to cache and then did the install. I've tried three different ROMS - CM 10, MOKEE, and a stock. The stock fails to install and both the CM and MOKEE ROMS are in boot loops. I have re-downloaded, re-installed, re-flashed all associated software :eek:

I have read more threads in the last few days looking for an answer than I have since my first root pre android with windows 5
 

bdorr1105

Senior Member
Sep 6, 2008
4,129
3,112
0
I have an Sprint HTC One that has been unlocked and rooted since last spring and worked flawlessly. Two days ago I flashed what I read was a stable 4.3 ROM and suddenly it would only open in bootloader. In the process of trying to fix that everything was wiped, OS, etc. If I tried to go into recovery, TWRP was previously installed, it would kick me back to the bootloader. So through fastboot I was able to reload TWRP, the latest version, and then get back into recovery with the intention of sideloading a ROM. I have the most current drivers and SDK packages installed and device manager shows Android Composite ADB Interface. When I attempt cmd adb devices it responds with "list of devices" and nothing else. When I go into recovery and execute cmd adb devices it responds with "FAxxxxxxxxx recovery". When I attempt to sideload it reads quickly "failed" and shows me that it can't mount data/internal storage/system. I then go to mount and it only gives me the option of cache. After reading that somebody had luck with adb push /data/ in recovery I tried it and was able to get a ROM into data. Through advanced/file manager I moved the zip to cache and then did the install. I've tried three different ROMS - CM 10, MOKEE, and a stock. The stock fails to install and both the CM and MOKEE ROMS are in boot loops. I have re-downloaded, re-installed, re-flashed all associated software :eek:

I have read more threads in the last few days looking for an answer than I have since my first root pre android with windows 5
You have to upgrade the bootloader to 4.3 and the 4.3 ROM would have booted without flashing anything. I assume you were a 4.1.2 or 4.2.2 ROM before you flashed. I am not sure why recovery can't mount that's kind of weird. I know there is a toolkit that you can use to relock your bootloader and install the stock RUU. Have you tried that yet? You can always get root again and start from square one but your bootloader needs to match the version ROM you are flashing. So if you were coming from a non 4.3 ROM than thats what I would suggest. CM10 will probably boot after you do this. Post the links to those ROMs so I can see the flash instructions
 
  • Like
Reactions: lifewithsuzy

lifewithsuzy

Member
Jan 31, 2009
24
2
0
Bellingham
You have to upgrade the bootloader to 4.3 and the 4.3 ROM would have booted without flashing anything. I assume you were a 4.1.2 or 4.2.2 ROM before you flashed. I am not sure why recovery can't mount that's kind of weird. I know there is a toolkit that you can use to relock your bootloader and install the stock RUU. Have you tried that yet? You can always get root again and start from square one but your bootloader needs to match the version ROM you are flashing. So if you were coming from a non 4.3 ROM than thats what I would suggest. CM10 will probably boot after you do this. Post the links to those ROMs so I can see the flash instructions
I got it working!!! After reading your post I started looking for ROMS that were 4.1.2, which is what I was prior to this. As I said before I was able to push files over ADB but I found out that there was a size limit. I could push a file that was @200mb without a problem but anything bigger would not show up. The CMD prompt would state the the transfer was a success but the file would not be there. So this became my next problem given that most of the ROMS I was finding were 700mb+. After more searching I came across a thread were someone had an issue because their phone was updated to 1.31 and they had to revert back to 1.29. I was at 1.31 also. This person listed the directions they found to revert back and so I tried it and whalla! The RUU's that I had been trying wouldn't work because they wanted me to be 1.29 and I wasn't figuring that out. The all-in-one program didn't help much because it requires debugging ON and I had no OS to even access that option so it just wasn't finding my device. It is working wonderfully again and I quickly did a nandroid backup and saved it to the cloud as well as my laptop to avoid this nightmare in the future. All I did to get into this mess was flash Maximus 4.3. It walked me through a setup and then rebooted and went to bootloader were it lived until I fixed it.

Thanks for your help you got me moving in the direction to salvation
 
  • Like
Reactions: bdorr1105

bdorr1105

Senior Member
Sep 6, 2008
4,129
3,112
0
I got it working!!! After reading your post I started looking for ROMS that were 4.1.2, which is what I was prior to this. As I said before I was able to push files over ADB but I found out that there was a size limit. I could push a file that was @200mb without a problem but anything bigger would not show up. The CMD prompt would state the the transfer was a success but the file would not be there. So this became my next problem given that most of the ROMS I was finding were 700mb+. After more searching I came across a thread were someone had an issue because their phone was updated to 1.31 and they had to revert back to 1.29. I was at 1.31 also. This person listed the directions they found to revert back and so I tried it and whalla! The RUU's that I had been trying wouldn't work because they wanted me to be 1.29 and I wasn't figuring that out. The all-in-one program didn't help much because it requires debugging ON and I had no OS to even access that option so it just wasn't finding my device. It is working wonderfully again and I quickly did a nandroid backup and saved it to the cloud as well as my laptop to avoid this nightmare in the future. All I did to get into this mess was flash Maximus 4.3. It walked me through a setup and then rebooted and went to bootloader were it lived until I fixed it.

Thanks for your help you got me moving in the direction to salvation
Thanks for the really detailed feedback and I am glad that I was able to help.... Happy flashing again

Sent from my SM-N900T using XDA Premium 4 mobile app
 

bdorr1105

Senior Member
Sep 6, 2008
4,129
3,112
0
So I'm already in C:\sdkandroid\adt-bundle-windows-x86_64-20130917\sdk\platform-tools in cmd I type adb sideload nameofzip.zip and it tells me cannot read zip.
Don't type nameofzip lol, you have to type the exact name on your actual zip file and it's case sensitive... I found you want rename your zip files to rom.zip and then type adb sideload rom.zip and you will be fine

Sent from my SM-N900T using XDA Premium 4 mobile app
 

TaintedCross

Senior Member
Jul 31, 2011
89
4
0
34
Cedar Rapids, Iowa
Don't type nameofzip lol, you have to type the exact name on your actual zip file and it's case sensitive... I found you want rename your zip files to rom.zip and then type adb sideload rom.zip and you will be fine

Sent from my SM-N900T using XDA Premium 4 mobile app
I'm not an idiot... I did type the name of the zip.. I said nameofzip as an example...
 

bdorr1105

Senior Member
Sep 6, 2008
4,129
3,112
0
I'm not an idiot... I did type the name of the zip.. I said nameofzip as an example...
no one said your an idiot, its a text interpretation so cool your jets or just don't ask for help in this thread if you want to be a prick.....your not entitled to help, your bring offered it
 

Nickkrommenie

Senior Member
Jun 4, 2012
137
5
0
Dude, i got a question.
I accidently wiped everything on my HTC One. (OS included) ( I was running Android revolution)
However, i managed to push a ROM to my HTC
However, now i'm stuck at the boot logo

I have tried different ROM's
Can you help me out?
 

bdorr1105

Senior Member
Sep 6, 2008
4,129
3,112
0
Dude, i got a question.
I accidently wiped everything on my HTC One. (OS included) ( I was running Android revolution)
However, i managed to push a ROM to my HTC
However, now i'm stuck at the boot logo

I have tried different ROM's
Can you help me out?
Sorry I have been banned from XDA from a couple days... It you pushed your original ROM it should boot again.... What base are you switching to, what I mean are you going from 4.1.2 to 4.2.2 or 4.3 or even anything 4.4 out there. Male sure you see if there any instructions for upgrading your bootloader because that will cause the phone to get stuck. Let me know if you are still needing help. Today is the first time in 5 days I could get on since being banned

Sent from my SM-N900T using XDA Premium 4 mobile app
 

clsA

Senior Member
Aug 28, 2010
9,798
3,449
253
Central Florida
what if you dont have twrp on your phone? as in, i have absolutely nothing on my phone...
that's why you have a bootloader
if you lost your recovery and everything, just start over like it's a new phone
The steps are unlock bootloader @HTCDev
- fastboot flash recovery (fastboot flash recovery TWRP.img)
- recovery flash root
- recovery flash Rom
from TWRP you can also use ADB Push to get your rom and SuperSU to you phone storage.
the command is-> adb push Rom.zip /data/media/0/
and adb push SuperSU.zip /data/media/0/
 

irish.iolar

Senior Member
Oct 26, 2011
517
62
0
What if you can't authorize adb and u just get no devices in sideload and it shows up when in the bootloop but it says "unauthorized" ?

Sent from my SAMSUNG-SGH-I747 using xda app-developers app
 

boost91

Member
Jun 9, 2009
47
12
0
Ballwin, Mo
Maybe this will help somebody:
I could never find the file after I had completed the ADB Sideload. At the end of the process the power button would not turn the screen on so I would have to use ADB reboot command but I could never locate my zip, so I tried again and made sure to have the screen on during the end of the sideload process and once completed it kicks it straight to Aroma. Hope this helps someone out. Also thanks to the OP.
 

vectorer

Senior Member
Jun 15, 2012
94
4
8
Aurora
no joy!!

after going through and trying everything the sideload starts then at 22%.....

* failed to write data 'protocol fault <no status>' *

what the hell is that ??