Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,786,517 Members 37,052 Now Online
XDA Developers Android and Mobile Development Forum

stuck in twrp

Tip us?
 
wolfen69
Old
#1  
wolfen69's Avatar
Senior Member - OP
Thanks Meter 162
Posts: 528
Join Date: Feb 2012
Location: Atlanta, GA USA
Default stuck in twrp

I deleted my rom file while doing a wipe. adb sees the device, so I ran from cmd and cd'd into the platform tools directory. Then ran:

Code:
C:\Users\Administrator\Desktop\android-sdk-windows\platform-tools> adb push ROM.zip
But when I run that, I get the man pages or error:closed

At least it's good that adb sees my device after running adb devices. Is there something wrong with the way I'm trying to push the rom over?


My Devices:

HTC G1
Nexus One
Nexus 4


 
jd1639
Old
(Last edited by jd1639; 5th June 2014 at 01:14 AM.)
#2  
jd1639's Avatar
Recognized Contributor
Thanks Meter 3,230
Posts: 9,582
Join Date: Sep 2012
Location: Minnetonka, MN
You need to tell it what to push it. \sdcard\download. Or something along those lines

Sorry, you need to use / not \
Sent from my Nexus 5 using XDA Free mobile app
 
wolfen69
Old
(Last edited by wolfen69; 5th June 2014 at 01:27 AM.)
#3  
wolfen69's Avatar
Senior Member - OP
Thanks Meter 162
Posts: 528
Join Date: Feb 2012
Location: Atlanta, GA USA
Quote:
Originally Posted by jd1639 View Post
You need to tell it what to push it. \sdcard\download. Or something along those lines

Sorry, you need to use / not \
Sent from my Nexus 5 using XDA Free mobile app
I'm trying eveything I can think of, but still nothing. So close.

When I run adb status-window I get:

<-[2J<-[2HAndroid Debug Bridge
State: sideload


My Devices:

HTC G1
Nexus One
Nexus 4


 
goofball2k
Old
#4  
Senior Member
Thanks Meter 159
Posts: 725
Join Date: Oct 2010
Location: Ottawa
did you try adb push ROM.zip /sdcard/ROM.zip but changing the name ROM.zip to whatever the exact name of your file is?
 
wolfen69
Old
(Last edited by wolfen69; 5th June 2014 at 01:39 AM.)
#5  
wolfen69's Avatar
Senior Member - OP
Thanks Meter 162
Posts: 528
Join Date: Feb 2012
Location: Atlanta, GA USA
Quote:
Originally Posted by goofball2k View Post
did you try adb push ROM.zip /sdcard/ROM.zip but changing the name ROM.zip to whatever the exact name of your file is?
I just tried that, and got:

error:closed

Ran the original command with sideload:

C:\Users\Administrator\Desktop\android-sdk-windows\platform-tools> adb sideload ROM.zip

and got:

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


My Devices:

HTC G1
Nexus One
Nexus 4


 
KJ
Old
#6  
KJ's Avatar
Recognized Contributor
Thanks Meter 3,325
Posts: 8,017
Join Date: May 2011
Location: The boonies - southwest Ontario
If all else fails, just flash stock, reroot and start fresh.

Return to Stock
Sent from my new HTC One M8, N7, Moto X, GTab3 or S2.

Need help with poor battery life on the N5...or any device really? Lots of info in first 4 posts! >>>>
[Battery Life Help] Troubleshoot Battery Issues Here....and Tips

 
wolfen69
Old
#7  
wolfen69's Avatar
Senior Member - OP
Thanks Meter 162
Posts: 528
Join Date: Feb 2012
Location: Atlanta, GA USA
OK, I got it done. I rebooted the phone back into recovery mode, and ran the original command which finally worked. I got a new rom installed successfully! Thanks for the help guys, all is well, and lesson learned.


My Devices:

HTC G1
Nexus One
Nexus 4


 
bitdomo
Old
#8  
Senior Member
Thanks Meter 647
Posts: 1,062
Join Date: Nov 2011
Location: Göd
[QUOTE=wolfen69;53164366]I'm trying eveything I can think of, but still nothing. So close.

When I run adb status-window I get:

[B]

Sorry didnt noticed that you tried

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Try to Keep Up with Just Swipe Game

Sometimes, the simplest of games are the ones that end up beingthe most addictive and end up consuming … more

MultiROM Ported to the Moto E

Few categoriesof Android development are as intrinsically interestingas the ability to boot into multiple … more

XDA Xposed Tuesday: How to Control Google Play Wake Locks – XDA Developer TV

Xposed Modules are usually pretty simple. There are a few … more

Make Text Entry More Efficient with Macro Text Expansion

One of the best things about the modern day smartphone is its ability to save us … more