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

Davek30

Senior Member
Apr 27, 2011
60
6
0
Constantine
I cannot get sideload to even start. After I change the location it says "adb is not recognized as an internat or external command, operable program or batch file

I don't know what to do as im doing it how I have done it before.
 

bdorr1105

Senior Member
Sep 6, 2008
4,129
3,112
0
I cannot get sideload to even start. After I change the location it says "adb is not recognized as an internat or external command, operable program or batch file

I don't know what to do as im doing it how I have done it before.
ensure you are Chaning directory in command prompt where adb is stored....ie to platform-tools, ensure adb debugging is on and also make sure in device manager it shows your device under adb and not unknown, drivers would then be an issue
 

gmfeny

Senior Member
Mar 21, 2007
1,265
166
0
I just tried this 3 times and it keeps failing. I wiped everything on my phone on twrp by accident and I need to sideload a rom. Can anyone help me. Im on the latest version of twrp
 

bdorr1105

Senior Member
Sep 6, 2008
4,129
3,112
0
I just tried this 3 times and it keeps failing. I wiped everything on my phone on twrp by accident and I need to sideload a rom. Can anyone help me. Im on the latest version of twrp
Does your phone display in recovery by chance where you do show adb devices

Sent from my SM-N900T using Tapatalk
 

sbrownla

Senior Member
Jun 1, 2007
671
122
43
Northern Arizona
Please add it to the OP

I didn't see how because you are using sideload so if you see the zip its gonna be the same name of the program you were just using and your memory is supposed t be blank or empty with nothing on it....So when you sideload the zip it will be the only file to flash on your phone. Thats all I am saying but you are the only one that brought this up but if any others do I will def keep you in mind and post something in the OP about it. I appreciate your concern and feedback
PLEASE add that to the OP! It was so helpful. Even if it's in parentheses. I

dug down through to the 5th or 6th page until I found it, and yes, knowledge is power, but still ... it was extremely helpful.

:eek:
 
  • Like
Reactions: tecz0r

YoungStarDC

Senior Member
Jul 25, 2013
118
12
0
Zoetermeer
I accidentally wiped everything from my HTC One which was previously running Android Revolution HD 31.0. I tried using ADB sideload from TWRP recovery, which is still on my phone, and when typing ADB devices, I do see a random string of numbers with the text ''sideload'' next to it. However, when I try to sideload the rom I get an error: closed or cannot read 'sideload' message. Any ideas? I really need my phone to work..:confused:
 

chrisxpratt

Senior Member
May 10, 2013
117
13
0
ugh, having problems and im hoping you can help :(

when the phone is plugged in and im in the bootloader screen the phone shows up as Android USB Devices: MY HTC. however, when i do a cmd prompt where all my files are, adb devices lists nothing. but when i type in fastboot devices, it shows up.

now when i go into recovery (TWRP 2.6.3.0) and go to do sideload, i swipe to start sideload, and at the top it says ADB Sideload Complete Failed and a whole bunch of E:unable to mount etc. when im in the cmd prompt and do the 'adb sideload .zip file, it says error:closed and thats it.

any ideas???




edit: i thought id add the fact that adb devices and fastboot devices both work when im in recovery. but only in recovery. if i try those while its in the bootloader adb devices is the only one that doesnt work. dunno if that means anything.

ive also tried adb push .zip while the phone is in recovery and it acts like its installing the file, completes, i reboot, and nothing. no file anywhere. TWRP says my internal storage is 0 MB so obviously it didnt transfer.
 
Last edited:

crlowryjr

Senior Member
Mar 5, 2009
65
3
0
If you have an OTG cable, put a ROM on a USB thumb drive, get into TWRP, mount the usb-otg and then flash that way... I intentionally wiped everything today and that's how I got a ROM back.

Sent from my HTC One using Tapatalk
 

bdorr1105

Senior Member
Sep 6, 2008
4,129
3,112
0
If you have an OTG cable, put a ROM on a USB thumb drive, get into TWRP, mount the usb-otg and then flash that way... I intentionally wiped everything today and that's how I got a ROM back.

Sent from my HTC One using Tapatalk
Ok you do not have an OTG, that is what this forum is for. Ensure all software is up to date including drivers and all the zips are in the proper directory to adb push and adb sideload... You need to ensure the adb drivers are working properly. Ensure that in device manager you don't see an unknown device but a device that shows ADB driver or similar

Sent from my SM-N900T using Tapatalk
 

yoitsjustin

Senior Member
Aug 23, 2013
135
13
0
I keep getting "Error:closed" when I try to ADB push. When I ADB sideload it says Corrupt zip on my phone, freaks out or just doesn't go through. What should I mount? Am I doing this right? Sprint LG G2, but should have the same idea as this..
 

uscommander

Member
Dec 26, 2013
15
1
0
I would assume pushing a 2gb rom would take a long time.

I pushed a few small test files and they show up on the sdcard. On the small files the speed in kbps would show up immediately. On the 2gb rom file it just sits there. I have been letting it run for 10mins and nothings changed. Is it normal to take longer than 10mins?
 

yoitsjustin

Senior Member
Aug 23, 2013
135
13
0
I would assume pushing a 2gb rom would take a long time.

I pushed a few small test files and they show up on the sdcard. On the small files the speed in kbps would show up immediately. On the 2gb rom file it just sits there. I have been letting it run for 10mins and nothings changed. Is it normal to take longer than 10mins?
Try redoing it. Mine just sits at 83% and if I mount system then it says "file invalid" or something. ADB is annoying ugh. Good luck!
 

Udonitron

Senior Member
Apr 15, 2010
628
26
0
Victoria
Any ideas on why my device is no longer found?
ADB seems to not see it and I am in this very predicament now where it was late and I wiped my phone completely and as I hit it I did big "WTF am I doing!?" :(
Without it being seen I cannot sideload any ROM to get me back up and running.

My USB OTG cable doesn't want to work in TWRP Recovery...says it cannot mount it.
 
Last edited:

Udonitron

Senior Member
Apr 15, 2010
628
26
0
Victoria
OK my laptop worked, PC didn't however no matter how many times I download and install the stock rooted 4.3 Sense it just boot loops.
Gets the the lock screen building photo and when I swipe up there is the HTC logo and it sits there for about a min or more then reboots.
 

bdorr1105

Senior Member
Sep 6, 2008
4,129
3,112
0
OK my laptop worked, PC didn't however no matter how many times I download and install the stock rooted 4.3 Sense it just boot loops.
Gets the the lock screen building photo and when I swipe up there is the HTC logo and it sits there for about a min or more then reboots.
Sounds like a ROM issue, once you are able to flash then this thread has done the job. Is this the first 4.3 ROM you tried

Sent from my SM-N900T using Tapatalk
 

Udonitron

Senior Member
Apr 15, 2010
628
26
0
Victoria
Sounds like a ROM issue, once you are able to flash then this thread has done the job. Is this the first 4.3 ROM you tried

Sent from my SM-N900T using Tapatalk
I just managed to RUU the legit Sprint zip.
Cool thing is not only does it work but it also notified me that it had flipped to International Mode and my GSM SIM works without a hitch! :laugh:
Also did the OTA updates to 4.3.
 
  • Like
Reactions: bdorr1105

tale419

Member
Jan 19, 2014
25
1
0
TWRP not flashing Rom after installing zip

I used adb to put the zip on but can't install it. Error updating partitions. I tried fixing permissions but it says unable to do that after factory reset (which I needed to do before installing a rom??)
 
Last edited: