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

[Q] Help with returning to stock/Stuck at bootloader

Tip us?
 
alewifebp
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 9
Join Date: Feb 2011
Question [Q] Help with returning to stock/Stuck at bootloader

I'm having a problem with my One X and returning it to stock. I've been rooted with S-ON for quite some time now and had the Viper ROM installed. Now it's time to trade it in to Amazon and I wanted to return it to stock and hopefully remove the tampered text. I seem to have gotten myself in to a pickle though and I'm stuck at the bootloader.

I've been using the WinDroid Universal HTC Toolkit to install stuff, I have the unlock.bin file from HTC, and I've been able to communicate with the phone through my Windows 7 computer no problem. But after the last attempt I relocked the phone and not I'm stuck. Here's what it says on the bootloader screen:
*** TAMPERED
*** RELOCKED
*** Security Warning
EVITA PVT SHIP S-ON RL
HBOOT-1.09.0000

Using the WinDroid kit it shows that it successfully unlocked the bootloader and loaded TWRP, but since it's in fastboot, WinDroid doesn't recognize the phone model and won't let me send any files to it though. When I reboot the phone in to recovery, it returns me to the bootloader.

Anyone have any advice?
 
timmaaa
Old
#2  
timmaaa's Avatar
Recognized Contributor
Thanks Meter 5750
Posts: 12,359
Join Date: Jun 2011
Location: Melbourne

 
DONATE TO ME
First piece of advice: ditch the toolkit, you don't need it. The best way for you to go about this is to follow these steps:

1) Unlock the bootloader again.

2) Flash TWRP again.

3) Flash a ROM.

4) Get s-off (this is the most important step, and all the previous steps were all leading to this).

5) Run an at&t RUU (to return the phone to stock, I'm assuming it's the at&t model?).

6) Return the CID to the original CID.

Code:
fastboot oem writecid CWS__001
7) Relock the bootloader.

Code:
fastboot oem lock
8) Return the phone to s-on.

Code:
fastboot oem writesecureflag 3
Voila.

Sent from my Evita
OnePlus One | CM11S | TWRP 2.7.1.1

Do not PM me asking for assistance, that's what my Q&A thread is for!
The Following User Says Thank You to timmaaa For This Useful Post: [ Click to Expand ]
 
marknoll
Old
#3  
marknoll's Avatar
Senior Member
Thanks Meter 50
Posts: 661
Join Date: May 2014
Wow. Nice Tim !!!

Sent from my Inspire 4G using Tapatalk
 
alewifebp
Old
#4  
Junior Member - OP
Thanks Meter 0
Posts: 9
Join Date: Feb 2011
Thanks for the help so far. Under your advice I'm using fastboot commands manually to try and get this to work. So now I'm unlocked again, but I'm having a problem flashing TWRP. I downloaded the latest TWRP for the Evita and ran fastboot flash recovery evita.img (that's what I renamed the file to). It tells me that sending and writing was OKAY, so it should work. Then I try to reboot to recovery from the bootloader menu, and it fails after this. It appears to boot something up, I get a blank screen, then it reboots again on it's own without showing the TWRP menus.

What am I doing wrong?
 
timmaaa
Old
#5  
timmaaa's Avatar
Recognized Contributor
Thanks Meter 5750
Posts: 12,359
Join Date: Jun 2011
Location: Melbourne

 
DONATE TO ME
You can't reboot to the recovery, you can only reboot to the bootloader and then manually select recovery using the hardware buttons (volume = scroll, power = select). The whole process should go like this:

Code:
fastboot flash recovery evita.img
Code:
fastboot erase cache
Code:
fastboot reboot-bootloader
Now you can manually select recovery and it should hopefully boot into it.

Sent from my Evita
OnePlus One | CM11S | TWRP 2.7.1.1

Do not PM me asking for assistance, that's what my Q&A thread is for!
 
alewifebp
Old
#6  
Junior Member - OP
Thanks Meter 0
Posts: 9
Join Date: Feb 2011
That's what I did, although I just tried these steps again. When I used the volume/power buttons and chose recovery, it reboots as it should, then it tries to load the recovery, fails, then reboots and starts up the phone. I should note, and this might be the problem, is that phone boots up totally in to the full blown OS. It's Android 4.1.1 with the 3.18 kernel.

I have SuperCID, and the phone says it is unlocked with S-ON.

Does it make sense and try to flash the 2.15 firmware at this point since my HBOOT is older?
 
alewifebp
Old
#7  
Junior Member - OP
Thanks Meter 0
Posts: 9
Join Date: Feb 2011
I tried another thing since I can actually use the phone and I'm rooted, I installed GooManager from the store and let that install the recovery then rebooted. It did the same thing. At the very least, if I could only get TWRP working I could recover a TWRP backup I made.

And ultimately, the phone works at this point, I just want to remove the tampered text and keep it at stock. Since I have a working ROM, should I just follow your steps 6, 7 and 8? Do I still need to achieve S-Off and worry about the recovery?
 
timmaaa
Old
#8  
timmaaa's Avatar
Recognized Contributor
Thanks Meter 5750
Posts: 12,359
Join Date: Jun 2011
Location: Melbourne

 
DONATE TO ME
You need s-off, otherwise running the RUU will brick your phone. Just try getting s-off without the recovery. Which ROM is currently installed?

Sent from my Evita
OnePlus One | CM11S | TWRP 2.7.1.1

Do not PM me asking for assistance, that's what my Q&A thread is for!
 
alewifebp
Old
#9  
Junior Member - OP
Thanks Meter 0
Posts: 9
Join Date: Feb 2011
I have an AT&T stock deodexed ROM version 3.18.502.6.
 
timmaaa
Old
#10  
timmaaa's Avatar
Recognized Contributor
Thanks Meter 5750
Posts: 12,359
Join Date: Jun 2011
Location: Melbourne

 
DONATE TO ME
Ok, scratch that, without root you cannot get s-off. What's the exact filename of the recovery you've tried to flash?

Sent from my Evita
OnePlus One | CM11S | TWRP 2.7.1.1

Do not PM me asking for assistance, that's what my Q&A thread is for!

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


YAATA isn’t Just Another Android Texting App

Although our mobile devices today are capable of executingnearly every task we normally … more

MacroDroid Update Brings Android Wear Automation

A few months ago, we talked about MacroDroid. For those who don’t remember, MacroDroid … more

Droid X Receives KitKat Port, Upcoming Google Glass Firmware Improvements – XDA Developer TV

Android 4.4.3 lands on the European HTC … more

Calc+ is a Smart and Beautiful Android Calculator

As we’ve said inthe past, there are quite a few calculators available on Android. … more