Going back to stock - AT&T, Rogers HTC One X, Telstra One XL

I'm looking to go back to stock so I can sell my device.
I mainly need to get stock recovery and stock software back on the phone.
Is it as simple as flashing a RUU? I know this will restore the stock software, but will it flash stock recovery too?
Also, is relocking the bootloader as simple as "fastboot oem lock"?
Thanks for the help.

The answer to your questions is yes.

Yep.
Relock the bootloader, run an RUU. You'll be good to go.

_MetalHead_ said:
Yep.
Relock the bootloader, run an RUU. You'll be good to go.
Click to expand...
Click to collapse
hi, I'm in the same position now, I want to sell my phone and need to lock the bootloader. I just want to be acting as meticulous as I can be since I've hard bricked a GNote before just because I didn't read the instructions carefully.
I've used the htcdev method to unlock the device. On the road the stock, what's next step I should take ? How do I re-lock the bootlader ?

Boot to recovery. Then run fastboot oem lock.

gunnyman said:
Boot to recovery. Then run fastboot oem lock.
Click to expand...
Click to collapse
After that, should I flash a stock ROM ? is that it ?

Yes

One thing to note when relocking the bootloader and I don't think it's normal but it happened to me, it may result in a bootloop that won't let you out of the hboot screen. It didn't happen to me the first couple of times I did it to return to stock, but the last 2 times I did after relocking the bootloader I had the tampered warning at the top which is normal, and then relocked, but below that it said security warning. I don't recall seeing that in the past which maybe it was normal, however I was stuck in an endless hboot loop. Trying to shutoff and restart the phone or go into recovery or any option other than fastboot really all resulted in the same thing. I would be returned to the hboot screen. If this happens just select fastboot and plug in the phone and run the ruu like normal.
like I said the first couple times I relocked it went off without a hitch but then that started happening so this is just a little tip should the same thing happen.

When you lock the bootloader with a custom recovery installed, that is the expected behavior.

That would explain it then, thanks gunny. The first couple of times I performed this I was just doing it to familiarize myself with the steps, you know, burn them into my thick skull. I hadn't actually put cwm or twrp on yet. I guess now I understand why it was different.

Just updating...
I was able to relock the bootloader and flash the run with no problems.
I'm assuming there's no way to ever get rid of the "tampered" banner on the top of the bootloader screen?

If you're stock unrooted tampered goes away.

provenflipper said:
Just updating...
I was able to relock the bootloader and flash the run with no problems.
I'm assuming there's no way to ever get rid of the "tampered" banner on the top of the bootloader screen?
Click to expand...
Click to collapse
gunnyman said:
If you're stock unrooted tampered goes away.
Click to expand...
Click to collapse
I'm sorry, I meant there's no way to make the "relocked" banner go away.

Unless we get s - off nope. It will say re locked

Related

Tampered? Help please

Well I unlocked my bootloader no problem, then i tried to flash a recovery to which i get the messages okay. After that I tried to boot into recovery via cmd with the command adb reboot recovery which worked and my device turned off, turned back on and for a split second had some red text under the HTC logo and immediatly started back up. I then tried to go to bootloader which I did via cmd and adb reboot Bootloader, and now above unlocked it says tempered. Please help me out with what I should do. Also there is no recovery option available. I was trying to flash TWRP.
The red text just tells you you're on an unlocked bootloader. And the tampered stamp stays there for all eternity after you've unlocked the bootloader.
Anyway you have nothing to worry about. It's just what happens when you unlock the bootloader.
Sent from my HTC One X using Tapatalk 2
Thank you sir just got into recovery I was really worried!
You CAN get rid of the tampered flag by relocking the bootloader and running a ruu. But your bootloader will say relocked in bright red still so it wouldnt matter. Just sayin'..
Yea no point of that
18th.abn said:
You CAN get rid of the tampered flag by relocking the bootloader and running a ruu. But your bootloader will say relocked in bright red still so it wouldnt matter. Just sayin'..
Click to expand...
Click to collapse
No one knows of a way to get rid of the "re-lock" and have it just say locked?
sixty_oz said:
No one knows of a way to get rid of the "re-lock" and have it just say locked?
Click to expand...
Click to collapse
Maybe I'm wrong, but I was under the impression that if you re-lock and run RUU, it changes back to original "Locked" state...
[deleted]
I'm pretty sure it stays as "Relocked" even with an RUU
You can only change that with S-OFF
Sent from my HTC One X using Tapatalk 2
[deleted]

Can the One S be restored to factory settings after bootloader unlock/flashing ROMs?

I'm about to unlock my bootloader so I can enjoy some custom ROMs, but I would like to verify that there is a way to restore everything to factory settings should I need to send the phone in for a repair/replacement. The only thing I've found so far is relocking the bootloader, but that doesn't restore factory conditions.
Thanks.
EDIT: Okay, so I found some stuff about RUU and CID numbers. But I have no idea what either of those are. Is there maybe a tutorial on this stuff, because it all just seems really confusing to me right now.
Yes you can lock the bootloader and run the RUU to get back to stock.
Note however your hboot will show "Relocked" instead of "Locked".
Lock bootloader via fastboot
Code:
fastboot oem lock
RUU,
Run the "ruu".exe and follow the on screen instructions.
Good post
http://www.htconeforum.com/forum/ht...e-your-htc-one-s-back-100-stock-relocked.html

[Q] Relock, RUU, Start Over?

Hi everyone,
I feel kind of bad for asking such a generic question like this, and I assure you that I have read around and done my research, but before I do potentially dangerous, irreversible, things to my device, I just want to make sure that I will perform the necessary steps correctly.
Basically, I have owned my HOX since launch date, and it came with either 1.73 or 1.85 base. As such, I rooted and unlocked the bootloader as soon as the exploits were available, and have been comfortably flashing ROMs and kernels every since. However, I have been experiencing some issues with data connectivity and stuff, issues that remain with any ROM, kernel, or radio that I flash. The details aren't important...
Now, I want to basically "start over" with my HOX. As if it was a brand new, unmodified, fresh device. So basically, unroot, relock bootloader, RUU, etc... And then start all over, root, unlock bootloader, install recovery, etc.....
Basically, what exact steps do I need to take to accomplish the "starting over"? As in the methods to use, the RUU to use, etc... ?
An outline of the steps, basically. My biggest fear is restoring to the wrong thing and losing my old HBOOT.
Again, I know this question probably gets asked often, but please bear with me through this.
I ruu'd my wife a and it was about 3 weeks before att sent her the next update lol. As long as you don't accept it you'll be fine. I'm sure you'd prolly root as soon as its finished anyway..
But you got it right. No need to unroot, just fire up fastboot and enter "fastboot oem lock". (Without quotes)
Figure out which ruu you need, most likely 1.85. Make sure you have the right HTC drivers updated, and make sure HTC sync is working right. Download ruu, which is an executable application, and run it. It should factory restore your phone like the day you bought it.
As far as restoring to the "bad" hboot, it shouldn't let you complete an ruu that's for another firmware other than what you had on it when you got root... So you'll be safe. Good luck bro, come back and let us know how it went :thumbup:
Sent from my One X using Tapatalk 2
So basically relock the bootloader with "fastboot oem lock" , and then RUU, and I have a fresh new phone?
And for determining which RUU I need, either 1.73 or 1.85, if I try running the wrong one, it will stop me?
And since I'm still on the older HBOOT with the older initial base, root and unlock the same way I did originally?
And also, once I relock my boot loader, should I immediately RUU?
So a full outline would be:
Connect phone to computer ( with drivers and all)
Boot into fast boot
Relock bootloader with command
RUU
Let phone boot
Re-root
Re-unlock bootloader
Install recovery
Flash ROMS!
?
And just because it's been forever since I've done it, what are the steps again for RUUing? Do I need to boot the phone into any special mode? Or I just connect the phone to the PC and run the RUU?
And after I relock the bootloader, will the phone reboot out of fastboot or anything? Or should I go immediately from the relock phase to the RUU phase?
Thanks
So basically relock the bootloader with "fastboot oem lock" , and then RUU, and I have a fresh new phone? You got it.
And for determining which RUU I need, either 1.73 or 1.85, if I try running the wrong one, it will stop me? Yes, it'll throw an error when you try to go through the RUU install process.
And since I'm still on the older HBOOT with the older initial base, root and unlock the same way I did originally? Yes. This is a fresh phone install after you run the RUU (like the day you bought it).
And also, once I relock my boot loader, should I immediately RUU? Yes. There's not a lot else you really need to do (especially on bricked phones, not a lot you CAN do).
So a full outline would be:
Connect phone to computer ( with drivers and all)
Boot into fast boot
Relock bootloader with command
RUU
Let phone boot
Re-root
Re-unlock bootloader
Install recovery
Flash ROMS!
? - Yes, that's pretty much it.
And just because it's been forever since I've done it, what are the steps again for RUUing? Do I need to boot the phone into any special mode? Or I just connect the phone to the PC and run the RUU? - Connect to pc in fastboot usb and run it from there.
And after I relock the bootloader, will the phone reboot out of fastboot or anything? - Nope, it'll stay in fastboot unless you reboot it.
Or should I go immediately from the relock phase to the RUU phase? - That makes things a little faster
Yep.. Run it from anywhere, as long as your computer recognizes your device let us know how it goes
Sent from my One X using Tapatalk 2
Ok, thanks a lot.
I don't have a PC with me right now (mac user) but once I get the opportunity I will go through with this. Thanks again!
Im hoping this thread may help me to solve my problem (I'm a total noob too lol)
I rooted and flashed a Rom on my HTC One S, and I had the same issues as OP
Im with Fido, but I was told that both Fido and Rogers use the same RUU
Trying to go back to stock, I relocked the bootloader.
1. then I ran the RUU (found a tutorial online), but I got an error message (155: wrong RUU or file cant be larger or something like that)
2. then I tried an alternative method : extract 2 files from the RUU, move them to another folder and from there run a cmd; didnt work either
(By the way, in method number 1, I also had to flash a recovery file (stock recovery) during the bootloader unlock process)
Did I do it the right way?
Can some Senior member give me a detailed step by step method?
Why do you keep posting HTC ONE S questions in our HTC ONE X forum? What is wrong with using the correct forum?
954wrecker said:
Why do you keep posting HTC ONE S questions in our HTC ONE X forum? What is wrong with using the correct forum?
Click to expand...
Click to collapse
Yeah.
954wrecker said:
Why do you keep posting HTC ONE S questions in our HTC ONE X forum? What is wrong with using the correct forum?
Click to expand...
Click to collapse
I did ???
Hey what do you know :laugh:
I have tried to do this multiple times, but no matter how many times a run the 2.2 exploit, and flash the unlock code bootloader continues to say relocked? any ideas
Yes, you need to check your pm. You need to hard reset the device. Hold power until device reboots, capacitive keys will flash during the process. Then run the unlock and you're device will unlock. I spent a full day to figure this out... Lol
Sent from my HTC One XL using Tapatalk 2
anyone happen to have a link on how to reset your phone back to factory defaults? i've had too many issues with roms, and my wifi, and as i use it for work, i cant have this happening.
I didn't back up the factory ROM before i started flashing, does that mean im pretty much screwed?
I have Hboot 1.14
Behemyth said:
anyone happen to have a link on how to reset your phone back to factory defaults? i've had too many issues with roms, and my wifi, and as i use it for work, i cant have this happening.
I didn't back up the factory ROM before i started flashing, does that mean im pretty much screwed?
I have Hboot 1.14
Click to expand...
Click to collapse
If you want to reset to stock just run the ruu like the poster above is trying to do.
Sent from my HTC One XL
ECEXCURSION said:
If you want to reset to stock just run the ruu like the poster above is trying to do.
Sent from my HTC One XL
Click to expand...
Click to collapse
Nobody answered his question about if he needs to find a RUU specific to his device. I've been looking and can't find an RUU specific to 1.14, and I dont want to chance bricking my device.
Behemyth said:
Nobody answered his question about if he needs to find a RUU specific to his device. I've been looking and can't find an RUU specific to 1.14, and I dont want to chance bricking my device.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1671237
scroll down to the stock ruu section and look up the firmware 2.2 not the hboot 1.14
Well, I'm the OP, and I ended up figuring out what RUU to use, which was 1.73. Basically, I ran 'fastboot oem lock' , then ran the RUU right afterwards, then booted up and ran the root exploit, rooted, and then ran 'fastboot oem unlock' using my old Unlock.bin file that I had from the very first time I unlocked the bootloader. From there, I installed a custom recovery and was good to go.
Yah, if your using 2.20 firmware, run the below link, works like a charm. Must make sure you re-lock the bootloader before, or it will error out. Just hold down the power button until it turns off if this happens.
possible brick
Skeeterdrums said:
So basically relock the bootloader with "fastboot oem lock" , and then RUU, and I have a fresh new phone? You got it.
And for determining which RUU I need, either 1.73 or 1.85, if I try running the wrong one, it will stop me? Yes, it'll throw an error when you try to go through the RUU install process.
And since I'm still on the older HBOOT with the older initial base, root and unlock the same way I did originally? Yes. This is a fresh phone install after you run the RUU (like the day you bought it).
And also, once I relock my boot loader, should I immediately RUU? Yes. There's not a lot else you really need to do (especially on bricked phones, not a lot you CAN do).
So a full outline would be:
Connect phone to computer ( with drivers and all)
Boot into fast boot
Relock bootloader with command
RUU
Let phone boot
Re-root
Re-unlock bootloader
Install recovery
Flash ROMS!
? - Yes, that's pretty much it.
And just because it's been forever since I've done it, what are the steps again for RUUing? Do I need to boot the phone into any special mode? Or I just connect the phone to the PC and run the RUU? - Connect to pc in fastboot usb and run it from there.
And after I relock the bootloader, will the phone reboot out of fastboot or anything? - Nope, it'll stay in fastboot unless you reboot it.
Or should I go immediately from the relock phase to the RUU phase? - That makes things a little faster
Click to expand...
Click to collapse
I did this, but my phone never boots. It just stays at the bootloader after i run the RUU. Any ideas? :/
Also, i get the "this build is for development purposes only" message under the HTC logo before the phone enters the bootloader.
EDIT: managed to get the bootloadr unlocked again via HTCDev.com and flashed recovery and ROM. Guess Im not starting fresh after all lol

Getting to stock when s-off

Do i have to go from s-off to s-on when i want to go back to stock?
If yes, how to do it?
Or will the part when running RUU make me back to s-on & unroot?
hunabku said:
Do i have to go from s-off to s-on when i want to go back to stock?
If yes, how to do it?
Or will the part when running RUU make me back to s-on & unroot?
Click to expand...
Click to collapse
No, S -Off will not go away unless you enter a certain command in fastboot.
You can return to stock by relocking your bootloader & running your RUU and you will be good to go. Even if I were selling the phone I wouldn't return it to S-ON. I mean anyone with any knowledge would appreciate it, and if the others simply wouldn't know what s-on/s-off is.
But If you are dead set on it, make sure it is the last thing you do after you have ran the RUU and all seems good. (I think you would have to unlock the boot loader again and S-On, then relock it)
****** WARNING******** Do not type this willy nilly to anyone reading this......This should only be done once everything is okay and you are selling/returning a phone... okay I warned you.
fastboot oem writesecureflag 3
^^^^^DANGEROUS COMMAND^^^^^^^ I hate even posting that because some noob will type it.
In fact here is a guide.
http://androidforums.com/one-s-all-...-get-back-stock-moonshine-facepalm-s-off.html
tivofool said:
No, S -Off will not go away unless you enter a certain command in fastboot.
You can return to stock by relocking your bootloader & running your RUU and you will be good to go. Even if I were selling the phone I wouldn't return it to S-ON. I mean anyone with any knowledge would appreciate it, and if the others simply wouldn't know what s-on/s-off is.
But If you are dead set on it, make sure it is the last thing you do after you have ran the RUU and all seems good. (I think you would have to unlock the boot loader again and S-On, then relock it)
****** WARNING******** Do not type this willy nilly to anyone reading this......This should only be done once everything is okay and you are selling/returning a phone... okay I warned you.
fastboot oem writesecureflag 3
^^^^^DANGEROUS COMMAND^^^^^^^ I hate even posting that because some noob will type it.
In fact here is a guide.
http://androidforums.com/one-s-all-...-get-back-stock-moonshine-facepalm-s-off.html
Click to expand...
Click to collapse
Thanks. Just one more question. in this topic http://www.htconeforum.com/forum/ht...unbrick-restore-htc-one-s-stock-relocked.html
They say nothing about flashing stock recovery or anything, is it really not needed?
hunabku said:
Thanks. Just one more question. in this topic http://www.htconeforum.com/forum/ht...unbrick-restore-htc-one-s-stock-relocked.html
They say nothing about flashing stock recovery or anything, is it really not needed?
Click to expand...
Click to collapse
I have read on here that you don't have to. That when running the RUU it puts stock recovery on.
I've also read that if you are getting errors trying to run the RUU you needed to put stock recovery on before running the RUU.
I don't know. The times I have run an RUU I always flashed the stock recovery first.

Can someone give direction on Re locking my bootloader?

So I have not really been on here since last spring when the g5 was rooted, and once more in the early winter, to do Prime's upgrade to the h83020a.
When I did that upgrade, the 20a, I was just trying to bring the device back to a semi stock state, with locked bootloader, and no root.
It took away root, but the bootloader is still unlocked.
If I just wanted to relock the bootloader, what would I have to do if I am on 20a, no root? In the past I would just dive into the dev section, but I do not have a urge to become an 'expert' on the device, if I am giving it back to Tmob this week.
Can anyone point me to the thread, that would help me with the process of relocking the bootloader, without pooching the phone?
Thanks in advance
Tmobilesucksass said:
So I have not really been on here since last spring when the g5 was rooted, and once more in the early winter, to do Prime's upgrade to the h83020a.
When I did that upgrade, the 20a, I was just trying to bring the device back to a semi stock state, with locked bootloader, and no root.
It took away root, but the bootloader is still unlocked.
If I just wanted to relock the bootloader, what would I have to do if I am on 20a, no root? In the past I would just dive into the dev section, but I do not have a urge to become an 'expert' on the device, if I am giving it back to Tmob this week.
Can anyone point me to the thread, that would help me with the process of relocking the bootloader, without pooching the phone?
Thanks in advance
Click to expand...
Click to collapse
If you're running stock, unrooted Ron and haven't made any system changes, all you need to do is use ADB to boot to Fastboot mode:
Code:
ADB reboot bootloader
Once in Fastboot mode type:
Code:
Fastboot OEM lock
Then you will have a locked bootloader again. Just make sure you're running 100% stock first, because if not and you relock the bootloader it could brick it.
jeffsga88 said:
If you're running stock, unrooted Ron and haven't made any system changes, all you need to do is use ADB to boot to Fastboot mode:
Code:
ADB reboot bootloader
Once in Fastboot mode type:
Code:
Fastboot OEM lock
Then you will have a locked bootloader again. Just make sure you're running 100% stock first, because if not and you relock the bootloader it could brick it.
Click to expand...
Click to collapse
Thanks, man. 'Prime said the same thing. I had TWRP before 20a, so just to be sure, I'm going to reflash with LGUP, and than do the adb as he suggested, also.

Categories

Resources