How to Root Android Wear 5.0.1 Lollipop Devices – XDA TV

The Lollipop update for Android Wear devices has hit the market and people are … more

Android 5.0.2 and New Factory Images For Nexus 7 (Wi-Fi) Available

Android 5.0 is has been publicly available since early November, and the … more

Github Tutorial App Shows You How to Use… Github

Github can get pretty complicated and using it can become quite daunting, especially … more

Google Glass-like Clip-On For Regular Glasses Developed by Sony

For the price of $2,000, a pair of glasses that can run apps, take pictures, … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

stuck in twrp

OP wolfen69

5th June 2014, 02:05 AM   |  #1  
wolfen69's Avatar
OP Senior Member
Flag Atlanta, GA USA
Thanks Meter: 191
 
626 posts
Join Date:Joined: Feb 2012
More
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?
5th June 2014, 02:09 AM   |  #2  
jd1639's Avatar
Recognized Contributor
Minnetonka, MN
Thanks Meter: 3,928
 
11,237 posts
Join Date:Joined: Sep 2012
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
Last edited by jd1639; 5th June 2014 at 02:14 AM.
5th June 2014, 02:21 AM   |  #3  
wolfen69's Avatar
OP Senior Member
Flag Atlanta, GA USA
Thanks Meter: 191
 
626 posts
Join Date:Joined: Feb 2012
More
Quote:
Originally Posted by jd1639

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
Last edited by wolfen69; 5th June 2014 at 02:27 AM.
5th June 2014, 02:25 AM   |  #4  
Senior Member
Flag Ottawa
Thanks Meter: 162
 
750 posts
Join Date:Joined: Oct 2010
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?
5th June 2014, 02:33 AM   |  #5  
wolfen69's Avatar
OP Senior Member
Flag Atlanta, GA USA
Thanks Meter: 191
 
626 posts
Join Date:Joined: Feb 2012
More
Quote:
Originally Posted by goofball2k

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%
Last edited by wolfen69; 5th June 2014 at 02:39 AM.
5th June 2014, 02:51 AM   |  #6  
Darth's Avatar
XDA: ASSIST
Recognized Contributor
Flag The boonies - southwest Ontario
Thanks Meter: 4,864
 
13,372 posts
Join Date:Joined: May 2011
More
If all else fails, just flash stock, reroot and start fresh.

Return to Stock
5th June 2014, 03:41 AM   |  #7  
wolfen69's Avatar
OP Senior Member
Flag Atlanta, GA USA
Thanks Meter: 191
 
626 posts
Join Date:Joined: Feb 2012
More
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.
5th June 2014, 04:50 PM   |  #8  
Senior Member
Flag Göd
Thanks Meter: 714
 
1,148 posts
Join Date:Joined: Nov 2011
More
[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

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes