Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,738,731 Members 41,021 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 155
Posts: 522
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:
Select 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
Nexus 5

Going to buy: Nexus S and Galaxy Nexus to complete the Nexus collection.

 
jd1639
Old
(Last edited by jd1639; 5th June 2014 at 01:14 AM.)
#2  
jd1639's Avatar
Recognized Contributor
Thanks Meter 3065
Posts: 9,116
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 155
Posts: 522
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
Nexus 5

Going to buy: Nexus S and Galaxy Nexus to complete the Nexus collection.

 
goofball2k
Old
#4  
Senior Member
Thanks Meter 159
Posts: 724
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 155
Posts: 522
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
Nexus 5

Going to buy: Nexus S and Galaxy Nexus to complete the Nexus collection.

 
KJ
Old
#6  
KJ's Avatar
Recognized Contributor
Thanks Meter 2838
Posts: 7,009
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 N5, 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 155
Posts: 522
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
Nexus 5

Going to buy: Nexus S and Galaxy Nexus to complete the Nexus collection.

 
bitdomo
Old
#8  
Senior Member
Thanks Meter 610
Posts: 983
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


TRENDING IN THEMER...