Go Back   Android Forums > Android Phones > HTC One > (AT&T) One - All Things Root

New Forums: Nexus Player | Nexus 9
Like Tree1Likes
  • 1 Post By JustinR1

test: Reply
 
LinkBack Thread Tools
Old July 29th, 2013, 05:16 PM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Jul 2013
Location: New York, NY
Gender: Male
Posts: 12
 
Device(s): HTC One (m7)
Carrier: T-Mobile

Thanks: 5
Thanked 3 Times in 3 Posts
Default I'm stuck in TWRP!! Help

Okay so I've been experimenting and reading forums all day to try and figure out how to fix this! I'm fairly new at rooting and flashing and all the lingo I see going on I try to piece it together but still having an issue here.

So a week ago I unlocked bootloader and i rooted my phone which was a success. Afterwards I installed the google edition rom onto my phone which was a success. So after about a week I wanted to update my phone to see what other cool things i could do. I tried installing this mod that turns the htc logo into a button. When I installed it my screen went black and that was the end of it. In panic I went back to bootloader and wiped everything like an idiot so now i have nothing saved and there with no recovery... except what I saved on my mac.

Now, for all the solutions i've read were for PC's and I could not find anything for a MAC. I feel like the solutions I see are simple if I had a PC. I could re-lock my bootloader and re-install (flash?) my stock ROM correct? However, I have a t-mobile htc one and I haven't seen any RUU for it.

Basically I need help and i need to know how could I restore my phone using a mac because I apparently have no OS installed on my phone and cannot do anything. It wont read my android file transfer and it's stuck in TWRP and adb sideload doesn't actually load.......

Advertisements
JustinR1 is offline  
Last edited by JustinR1; July 29th, 2013 at 05:18 PM.
Reply With Quote
sponsored links
Old July 29th, 2013, 05:27 PM   #2 (permalink)
AF Contributor
 
Hadron's Avatar
 
Join Date: Aug 2010
Location: Dimension Jumping
Posts: 12,485
 
Device(s): HTC One (S-Off), HTC Desire (retired)
Carrier: Orange UK

Thanks: 2,306
Thanked 5,243 Times in 3,768 Posts
Default

I guess you didn't keep the Google ROM zip on your phone, and didn't take a nandroid (recovery backup) at any point?

If you took a backup in recovery, restore that and the phone is working again. And please, don't modify your system in future without taking one first

Otherwise, in the absence of an RUU the simplest fix is probably to just flash the ROM again. If sideload isn't working, can you not just adb push the ROM file(s) onto the phone while in TWRP, then flash them from recovery?

Or if you have a USB OTG cable you could copy the files onto a flash drive, then connect that via the OTG cable and flash the files from usb storage using TWRP.
__________________
Forum Rules & Guidelines - Android Forums FAQ
If a post helps you, use the Thanks! button.
Spam or offensive? Don't respond, report it /!\
Hadron is offline  
Reply With Quote
The Following 3 Users Say Thank You to Hadron For This Useful Post:
Brian706 (July 29th, 2013), JustinR1 (July 29th, 2013), scotty85 (July 29th, 2013)
Old July 29th, 2013, 05:31 PM   #3 (permalink)
Moderator
 
Brian706's Avatar
 
Join Date: Jul 2012
Location: Washington
Gender: Male
Posts: 7,758
 
Device(s): LG Google Nexus 5 Rom: Dirty Unicorns Recovery: ***TWRP*** Retired: OG Evo, 3vo
Carrier: AT&T

Thanks: 6,864
Thanked 6,405 Times in 3,456 Posts
Default

It sounds like you didn't make a backup that you can restore correct? And you wiped your /system so there is no rom to boot into?

It sounds like you need to just flash your rom again while in the recovery. I am assuming your phone is not s-off? If so you will probably need to flash the boot.img that goes with your rom as well.

Pardon me if I say something incorrectly as I am not a mac user. But the directions for flashing the boot.img should be similar I would assume.

So you will need a copy of the rom on your mac. Browse the .zip and extract the boot.img from it. After flashing the rom, put the phone into fastboot mode and use fastboot command: fastboot flash boot boot.img to flash the boot.img to the phone. Basically just like you flashed the unlock token.

Now reading back, I am unsure if you still have the rom available in your storage to re-flash? Did you wipe everything off the internal storage? If you choose install zip in recovery, can you browse to the rom file??
Brian706 is online now  
Reply With Quote
The Following 2 Users Say Thank You to Brian706 For This Useful Post:
JustinR1 (July 29th, 2013), scotty85 (July 30th, 2013)
Old July 29th, 2013, 05:32 PM   #4 (permalink)
New Member
Thread Author (OP)
 
Join Date: Jul 2013
Location: New York, NY
Gender: Male
Posts: 12
 
Device(s): HTC One (m7)
Carrier: T-Mobile

Thanks: 5
Thanked 3 Times in 3 Posts
Default

Thanks for your responses.

I made a backup on my mac it's called "backup.ab" but I think it was a data backup only lol..... I didn't back-up my rom if that's what you're asking!!

I did have the rom installed on my phone which i accidentally deleted. That would have saved a heartache but I did indeed wipe everything without realizing what I've done now I cannot even start up my phone because it doesn't have an "OS" or i guess ROM installed onto it.

I don't really know how to use adb and let alone on a mac, I would need some guidance through it because when I shoot adb sideload it lever actually does anything...how would I get the rom from the mac onto my phone so I can push it I guess is what I'm asking

Quote:
Originally Posted by Brian706 View Post


Thank you for your response. I must say I am sort of new to all this but I can learn as instructed. How exactly would I get the boot.img for my rom installed? When I tried doing commands in terminal it said device not connected and my file android transfer doesn't read it. My phone is stuck in TWRP mode.. maybe I'm just doing something incorrectly.

EDIT: Also, how do I find if my phone is s-off? Because i don't even know what that means
JustinR1 is offline  
Last edited by marctronixx; July 29th, 2013 at 05:46 PM.
Reply With Quote
Old July 29th, 2013, 05:47 PM   #5 (permalink)
AF Contributor
 
Hadron's Avatar
 
Join Date: Aug 2010
Location: Dimension Jumping
Posts: 12,485
 
Device(s): HTC One (S-Off), HTC Desire (retired)
Carrier: Orange UK

Thanks: 2,306
Thanked 5,243 Times in 3,768 Posts
Default

How did you install the ROM in the first place?

I've never used the Google Edition ROM, but the general approach would be that you download the zip files to the phone's storage, boot into recovery and install from there. As Brian says, you may have to install the kernel (boot) separately from the ROM, but as you've installed the ROM before I'll guess you know what you need to do in that regard, and Brian's already said how to do it. If you've unlocked your bootloader you must have fastboot (or fastboot-mac) installed on your computer, so I assume that bit isn't a problem. Indeed you must have done something like this to install the Google Edition ROM in the first place.

Since you can't download directly to the ROM, download to the mac instead. You have got adb installed on the Mac? If so, you just boot into recovery, connect the phone to the Mac via usb and "adb push rom.zip /sdcard/rom.zip". Repeat for any other files you need to install, then disconnect from usb and use TWRP to install the zips you've now copied to your phone.

If you've not got adb on the mac, look here, and in particular the "mini-SDK" is probably the simplest way of doing it.
Hadron is offline  
Last edited by Hadron; July 29th, 2013 at 05:52 PM.
Reply With Quote
The Following User Says Thank You to Hadron For This Useful Post:
scotty85 (July 30th, 2013)
Old July 29th, 2013, 05:50 PM   #6 (permalink)
AF Contributor
 
Hadron's Avatar
 
Join Date: Aug 2010
Location: Dimension Jumping
Posts: 12,485
 
Device(s): HTC One (S-Off), HTC Desire (retired)
Carrier: Orange UK

Thanks: 2,306
Thanked 5,243 Times in 3,768 Posts
Default

If all you did was unlock the bootloader, you are S-On. If you used revone or moonshine to take the phone S-Off you'd know you'd done it
Hadron is offline  
Reply With Quote
The Following User Says Thank You to Hadron For This Useful Post:
scotty85 (July 30th, 2013)
Old July 29th, 2013, 05:51 PM   #7 (permalink)
New Member
Thread Author (OP)
 
Join Date: Jul 2013
Location: New York, NY
Gender: Male
Posts: 12
 
Device(s): HTC One (m7)
Carrier: T-Mobile

Thanks: 5
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by Hadron View Post
How did you install the ROM in the first place?

I've never used the Google Edition ROM, but the general approach would be that you download the zip files to the phone's storage, boot into recovery and install from there. As Brian says, you may have to install the kernel (boot) separately from the ROM, but as you've installed the ROM before I'll guess you know what you need to do in that regard, and if you've unlocked your bootloader you must have fastboot (or fastboot-mac) installed on your computer.

Since you can't download directly to the ROM, download to the mac instead. You have got adb installed on the Mac? If so, you just boot into recovery, connect the phone to the Mac via usb and "adb push rom.zip /sdcard/rom.zip". Repeat for any other files you need to install, then disconnect from usb and use TWRP to install the zips you've now copied to your phone.

If you've not got adb on the mac, look here, and in particular the "mini-SDK" is probably the simplest way of doing it.
You're totally right about installing the ROM onto the phone storage. What I did was when the phone was working, I just plugged in my usb cable to the mac and my Android File Transfer would read my phone then I could copy the ROM. However, the issue I have here is much deeper. My OS is completely wiped and I cannot move beyond the TWRP screen thus making it impossible for my MAC to read my phone so I can properly copy the ROM to my phone's storage :/

So lemme try what you suggested because I'm not really sure how to type it in the MAC Terminal because sometimes it'll say "adb command not found" or something so I'm not 100% how to put my terminal in the right path location if that makes any sense. Again, thanks for your patience and help
JustinR1 is offline  
Reply With Quote
Old July 29th, 2013, 05:56 PM   #8 (permalink)
AF Contributor
 
Hadron's Avatar
 
Join Date: Aug 2010
Location: Dimension Jumping
Posts: 12,485
 
Device(s): HTC One (S-Off), HTC Desire (retired)
Carrier: Orange UK

Thanks: 2,306
Thanked 5,243 Times in 3,768 Posts
Default

OK, I've got to go in a second, but yeah, if you've not put the adb executable into your $PATH on the Mac then you'll have to cd to the directory it's in before you can use the command (and hence copy the files you want to transfer to that directory, or include their full addresses). Oh, and to get to the directory, just type "cd " followed by the path to the directory adb is in (Mac command line is basically the same as linux command line).

you can always test adb by typing "adb devices". Should return the phone's serial number.

Android File Transfer won't work unless you can run android, but the phone should respond to adb when in TWRP, so "adb push" is an alternate way of getting the files onto the phone.
Hadron is offline  
Reply With Quote
The Following User Says Thank You to Hadron For This Useful Post:
scotty85 (July 30th, 2013)
Old July 29th, 2013, 05:59 PM   #9 (permalink)
New Member
Thread Author (OP)
 
Join Date: Jul 2013
Location: New York, NY
Gender: Male
Posts: 12
 
Device(s): HTC One (m7)
Carrier: T-Mobile

Thanks: 5
Thanked 3 Times in 3 Posts
Default

:sdk-tools admin$ ./adb-mac devices
adb server is out of date. killing...
* daemon started successfully *
List of devices attached

doesn't show any serial #
JustinR1 is offline  
Reply With Quote
Old July 29th, 2013, 06:03 PM   #10 (permalink)
New Member
Thread Author (OP)
 
Join Date: Jul 2013
Location: New York, NY
Gender: Male
Posts: 12
 
Device(s): HTC One (m7)
Carrier: T-Mobile

Thanks: 5
Thanked 3 Times in 3 Posts
Default

Ok I think I get how to push a file but when I finally have the path set up and I did as you requested this it what it says


sdk-tools admin$ ./adb-mac push rom.zip /sdcard/rom.zip
error: device not found
JustinR1 is offline  
Last edited by JustinR1; July 29th, 2013 at 06:30 PM.
Reply With Quote
sponsored links
Old July 29th, 2013, 06:09 PM   #11 (permalink)
New Member
Thread Author (OP)
 
Join Date: Jul 2013
Location: New York, NY
Gender: Male
Posts: 12
 
Device(s): HTC One (m7)
Carrier: T-Mobile

Thanks: 5
Thanked 3 Times in 3 Posts
Default

Am I doing something wrong or is there a step I missed?

So basically I have the adb fastboot installed with the files I need inside the folder including the rom.zip and the boot.img. However, with the commands ./fastboot-mac push rom.zip /sdcard/rom.zip it says waiting for devices and nothing happens and when I try ./adb-mac push rom.zip /sdcard/rom.zip it just says device not found or "closed" so I guess my first task is trying to figure out how can I get the rom to my phone so I can flash it?

EDIT: Do I have to have the original stock ROM or something or can I just reuse the newest one I had which was the google play edition
JustinR1 is offline  
Last edited by JustinR1; July 29th, 2013 at 06:29 PM.
Reply With Quote
Old July 29th, 2013, 06:34 PM   #12 (permalink)
New Member
Thread Author (OP)
 
Join Date: Jul 2013
Location: New York, NY
Gender: Male
Posts: 12
 
Device(s): HTC One (m7)
Carrier: T-Mobile

Thanks: 5
Thanked 3 Times in 3 Posts
Default

ok progress update... I somehow got my rom.zip onto my phone but when I try to flash it, it says error.. any idea what to do next?
JustinR1 is offline  
Reply With Quote
Old July 29th, 2013, 06:37 PM   #13 (permalink)
Senior Member
 
Join Date: Apr 2013
Location: FLA. USA
Posts: 625
 
Device(s): iPhone 4S,HTC One
Carrier: AT&T

Thanks: 66
Thanked 533 Times in 382 Posts
Default

Quote:
Originally Posted by JustinR1 View Post
Am I doing something wrong or is there a step I missed?

So basically I have the adb fastboot installed with the files I need inside the folder including the rom.zip and the boot.img. However, with the commands ./fastboot-mac push rom.zip /sdcard/rom.zip it says waiting for devices and nothing happens and when I try ./adb-mac push rom.zip /sdcard/rom.zip it just says device not found or "closed" so I guess my first task is trying to figure out how can I get the rom to my phone so I can flash it?

EDIT: Do I have to have the original stock ROM or something or can I just reuse the newest one I had which was the google play edition
Hold on I'll get the links you need.
Here is the tmobile RUU - http://forum.xda-developers.com/showpost.php?p=44017891&postcount=202

download that then you can install it from fastbootRUU mode
I'll post the commands

after you have the file (check the md5 it's on the download link) make sure it's in the same directory as fastboot
then run the following commands:


fastboot oem rebootRUU
fastboot flash zip rom_decrypted.zip
fastboot flash zip rom_decrypted.zip
fastboot reboot

you should have a new phone when it's done
clsA is offline  
Last edited by clsA; July 29th, 2013 at 06:46 PM.
Reply With Quote
The Following User Says Thank You to clsA For This Useful Post:
scotty85 (July 30th, 2013)
Old July 29th, 2013, 06:50 PM   #14 (permalink)
New Member
Thread Author (OP)
 
Join Date: Jul 2013
Location: New York, NY
Gender: Male
Posts: 12
 
Device(s): HTC One (m7)
Carrier: T-Mobile

Thanks: 5
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by clsA View Post
Hold on I'll get the links you need.
Here is the tmobile RUU - http://forum.xda-developers.com/showpost.php?p=44017891&postcount=202

download that then you can install it from fastbootRUU mode
I'll post the commands

after you have the file (check the md5 it's on the download link) make sure it's in the same directory as fastboot
then run the following commands:


fastboot oem rebootRUU
fastboot flash zip rom_decrypted.zip
fastboot flash zip rom_decrypted.zip
fastboot reboot

you should have a new phone when it's done
Thanks a bunch!! I actually miraculously got it to work with the google play edition but I'm definitely going to install those that you recommended as back ups just-in-case of any future screw ups lol...

Thanks everyone!
JustinR1 is offline  
Reply With Quote
The Following User Says Thank You to JustinR1 For This Useful Post:
scotty85 (July 30th, 2013)
Old July 29th, 2013, 06:56 PM   #15 (permalink)
Senior Member
 
Join Date: Apr 2013
Location: FLA. USA
Posts: 625
 
Device(s): iPhone 4S,HTC One
Carrier: AT&T

Thanks: 66
Thanked 533 Times in 382 Posts
Default

Quote:
Originally Posted by JustinR1 View Post
Thanks a bunch!! I actually miraculously got it to work with the google play edition but I'm definitely going to install those that you recommended as back ups just-in-case of any future screw ups lol...

Thanks everyone!
Good deal... you should make a backup in twrp and look into s-off for the future. (it's easier to recover if your s-off)
clsA is offline  
Reply With Quote
The Following User Says Thank You to clsA For This Useful Post:
scotty85 (July 30th, 2013)
Old July 29th, 2013, 07:06 PM   #16 (permalink)
New Member
Thread Author (OP)
 
Join Date: Jul 2013
Location: New York, NY
Gender: Male
Posts: 12
 
Device(s): HTC One (m7)
Carrier: T-Mobile

Thanks: 5
Thanked 3 Times in 3 Posts
Default

ok cool but what is s-off and s-on and the difference between the two? Also, how do I look into that?
JustinR1 is offline  
Reply With Quote
Old July 29th, 2013, 07:09 PM   #17 (permalink)
Senior Member
 
Join Date: Apr 2013
Location: FLA. USA
Posts: 625
 
Device(s): iPhone 4S,HTC One
Carrier: AT&T

Thanks: 66
Thanked 533 Times in 382 Posts
Default

Quote:
Originally Posted by JustinR1 View Post
ok cool but what is s-off and s-on and the difference between the two? Also, how do I look into that?
S-off means security off, it allows you to flash a RUU that you normally couldn't.
just google Revone and follow the instructions from the download site at XDA
clsA is offline  
Reply With Quote
The Following 2 Users Say Thank You to clsA For This Useful Post:
JustinR1 (July 29th, 2013), scotty85 (July 30th, 2013)
Old July 29th, 2013, 07:19 PM   #18 (permalink)
New Member
Thread Author (OP)
 
Join Date: Jul 2013
Location: New York, NY
Gender: Male
Posts: 12
 
Device(s): HTC One (m7)
Carrier: T-Mobile

Thanks: 5
Thanked 3 Times in 3 Posts
Default

I guess s-off must be the case for me then right since I was able to flash mine when I had no OS or ROM installed on my phone? That I take as a good thing

EDIT: Ah nevermind I see i'm S-On on the bootloader page.... ok I'm gonna make a back-up then I'm gonna do the s-off approach with the instructions on that page you gave me, thanks a bunch. you guys are awesome.. im learning so much so fast
JustinR1 is offline  
Last edited by JustinR1; July 29th, 2013 at 07:26 PM.
Reply With Quote
The Following User Says Thank You to JustinR1 For This Useful Post:
scotty85 (July 30th, 2013)
Old July 29th, 2013, 07:57 PM   #19 (permalink)
New Member
Thread Author (OP)
 
Join Date: Jul 2013
Location: New York, NY
Gender: Male
Posts: 12
 
Device(s): HTC One (m7)
Carrier: T-Mobile

Thanks: 5
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by clsA View Post
S-off means security off, it allows you to flash a RUU that you normally couldn't.
just google Revone and follow the instructions from the download site at XDA
Tried executing the revone and everytime i follow the instructions to ./revone -P it says "cannot execute binary file"

am I supposed to do that from bootloader screen? Cause I've been doing it from the android screen when the phone is regularly on

EDIT: Fixed this as well... a really good tutorial from this youtube channel helped greatly. "http://www.youtube.com/watch?v=U2qHzqTqdvY"

So what exactly are the perks now for having s-off lol... i see tampered is gone and that's all i really know
scotty85 likes this.
JustinR1 is offline  
Last edited by JustinR1; July 29th, 2013 at 08:27 PM.
Reply With Quote
The Following User Says Thank You to JustinR1 For This Useful Post:
scotty85 (July 30th, 2013)
Old July 30th, 2013, 06:28 AM   #20 (permalink)
AF Addict
 
scotty85's Avatar
 
Join Date: Jul 2010
Posts: 11,049
 
Device(s):
Carrier: Not Provided

Thanks: 7,913
Thanked 7,248 Times in 4,496 Posts
Default

Quote:
Originally Posted by JustinR1 View Post
Tried executing the revone and everytime i follow the instructions to ./revone -P it says "cannot execute binary file"

am I supposed to do that from bootloader screen? Cause I've been doing it from the android screen when the phone is regularly on

EDIT: Fixed this as well... a really good tutorial from this youtube channel helped greatly. "HTC One Revone S-OFF [ALL Variants] Easiest Method No PC AT&T, Sprint, T-mobile - YouTube"

So what exactly are the perks now for having s-off lol... i see tampered is gone and that's all i really know
these are in the rezound section,but the info applies. check out this post for perks and info,and this post for a general disclaimer.

im of the opinion s off is better,but with it comes new responsability to know what your flashing and why,as with no security checks it is possible to brick your device unrecoverably by flashing a wrong,or corrupt file.

there is info here on returning to stock if you need to: [how to]return to 100% stock from revone or moonshine s off but dont turn s on unless you need to for a legitimate warranty repair,as exploits get patched and you may not be able to get it back.

just holler if you have any other questions
__________________
The Delivery Guy
If someone has helped you,please click the THANKS button on that post.
Please post questions so others can benefit from the answers.
donate to my device fund
scotty85 is online now  
Reply With Quote
The Following User Says Thank You to scotty85 For This Useful Post:
Hadron (July 30th, 2013)
sponsored links
Old October 21st, 2013, 11:54 PM   #21 (permalink)
New Member
 
Join Date: Oct 2013
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default Help me out pleaseeeeeeeee

Quote:
Originally Posted by clsA View Post

download that then you can install it from fastbootRUU mode
I'll post the commands

after you have the file (check the md5 it's on the download link) make sure it's in the same directory as fastboot
then run the following commands:


fastboot oem rebootRUU
fastboot flash zip rom_decrypted.zip
fastboot flash zip rom_decrypted.zip
fastboot reboot

you should have a new phone when it's done
Hi. I think I am having the same issue Justin had. I have wiped my os from my htc one. I have instaled twrp and I am only able to get to the recovery. Also I think I erased everything on my sd card also haha. I have tried your step but my terminal says:

"MacBook-Air-de-Simon:fastboot SAM$ ./fastboot-mac flash zip ruu.zip
sending 'zip' (1037376 KB)... ERROR: usb_write failed with status e00002be
FAILED (data transfer failure (No such file or directory))"

Please help me out. I would be of greater help.. I am in a mess here
Happymak is offline  
Reply With Quote
Old October 22nd, 2013, 02:20 PM   #22 (permalink)
Senior Member
 
Join Date: Apr 2013
Location: FLA. USA
Posts: 625
 
Device(s): iPhone 4S,HTC One
Carrier: AT&T

Thanks: 66
Thanked 533 Times in 382 Posts
Default

make sure the file your flashing is in the same directory as fastboot and don't leave out the first command that puts the phone in RUU flashing mode
clsA is offline  
Reply With Quote
The Following User Says Thank You to clsA For This Useful Post:
scotty85 (October 24th, 2013)
Reply


Go Back   Android Forums > Android Phones > HTC One > (AT&T) One - All Things Root
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 02:24 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.