Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,811,145 Members 44,573 Now Online
XDA Developers Android and Mobile Development Forum

[How-To] From S-OFF to 100% Stock S-ON [Facepalm/JTAG/RevOne/Moonshine/Rumrunner]

Tip us?
 
Phaded
Old
(Last edited by Phaded; 26th March 2014 at 05:22 PM.)
#1  
Senior Member - OP
Thanks Meter 357
Posts: 1,100
Join Date: Apr 2010
Location: 216
Default [How-To] From S-OFF to 100% Stock S-ON [Facepalm/JTAG/RevOne/Moonshine/Rumrunner]

ONLY FOLLOW THIS GUIDE FOR WARRANTY REPLACEMENTS OR IF YOU NEED TO BE STOCK FOR A SALE. THERE IS NO OTHER REASON TO FOLLOW THIS GUIDE.

ALSO MAKE SURE YOU FOLLOW THE GUIDE PROPERLY. FAR TOO MANY ERRORS ARE BEING MADE BY NOT READING OR FOLLOWING STEPS IN ORDER.



This guide will help you get your phone back to stock after using any of the 5 S-Off methods that either have been or are currently available to us.

Credit to Scotty1223. I edited his One S guide for the DNA.

First post is for Facepalm and JTAG S-off only. RevOne instructions are in the second post. Moonshine and Rumrunner is in post 3.


***IF YOU HAVE A CUSTOM SPLASH SCREEN INSTALLED, THE STOCK SPLASH SCREEN MUST BE FLASHED BEFORE DOING ANYTHING! SEE FOURTH POST FOR LINKS AND INSTRUCTIONS FOR FLASHING THE STOCK SPLASH SCREEN***

***DO NOT ISSUE ANY OF THE WRITESECUREFLAG COMMANDS ON AN ENG HBOOT AS IT WILL BRICK THE DEVICE. JUST FOLLOW THE GUIDE.***



For those who want to return to stock and have used the JTAG method for achieving S-Off, this guide will also work for you. It all depends on what you did AFTER you got your JTAG phone back. If you wrote a new CID using fastboot and HTCDev unlocked, follow the guide as it is written out.

If you didn't write a new CID and use HTCDev unlock and just merely flashed a modified/ENG HBOOT, then the process would be: Fastboot flash stock hboot, RUU to stock, fastboot oem writesecureflag 3, then allow phone to update using the OTA process. You can find the commands/files/steps for these 3 simple steps below as well.


Files needed:

Lock bootloader zip: lock bootloader MD5: f335f78f9f46469c823da0c671026de5
3.06 RUU: 3.06 RUU


Steps:
1.Copy the "lock bootloader zip" onto root of internal storage and flash in recovery of your choice. Once it is flashed Reboot your phone.
2.Reboot into bootloader either using 4 in 1 power menu (if your ROM supports it). Or plug your phone into a USB port, turn on USB debugging and open a command prompt and type:
Code:
adb devices (Your device ID should be listed)
adb reboot bootloader
Verify you are **LOCKED** If not, re-flash the zip. If still not locked, try downloading the file again and re-flashing.

IF YOU ARE RUNNING ANY HBOOT THAT IS NOT THE 3.06 HBOOT (1.54 in bootloader), YOU MUST FLASH 3.06 HBOOT BEFORE CONTINUING - SEE POST 4

3. run the RUU as admin (right click, run as administrator)
4. After RUU completes and phone reboots, make sure usb debugging is on and in charge only mode and open cmd prompt
5. Run the following:
Code:
adb devices (your device should be listed)

adb reboot bootloader

fastboot devices (your device should be listed)

fastboot oem writecid VZW__001 (2 underscores)

fastboot reboot-bootloader

fastboot getvar cid (verify your stock CID)

fastboot oem writesecureflag 3

fastboot reboot-bootloader

*verify you are locked s-on

fastboot reboot

Should now be 100% stock, S-ON, with CID 100% stock as well.
HTC DNA
My phone does phone things
The Following 37 Users Say Thank You to Phaded For This Useful Post: [ Click to Expand ]
 
Phaded
Old
(Last edited by Phaded; 26th March 2014 at 05:23 PM.)
#2  
Senior Member - OP
Thanks Meter 357
Posts: 1,100
Join Date: Apr 2010
Location: 216
Returning to stock from RevOne

It is pretty much the same process, but with a slight deviation.

AGAIN, IF YOU HAVE A MODIFIED/ENG HBOOT, DO NOT ISSUE ANY WRITESECURE FLAG COMMANDS. JUST FOLLOW THE GUIDE.

First, download these two files:

Files needed:

Lock bootloader zip: lock bootloader MD5: f335f78f9f46469c823da0c671026de5
3.06 RUU: 3.06 RUU


Steps:
1.Copy the "lock bootloader zip" onto root of internal storage and flash in recovery of your choice. Once it is flashed Reboot your phone.
2.Reboot into bootloader either using 4 in 1 power menu (if your ROM supports it). Or plug your phone into a USB port, turn on USB debugging and open a command prompt and type:
Code:
adb devices (Your device ID should be listed)
adb reboot bootloader
Verify you are **LOCKED** If not, re-flash the zip. If still not locked, try downloading the file again and re-flashing.

IF YOU ARE RUNNING ANY HBOOT THAT IS NOT THE 3.06 HBOOT (1.54 in bootloader), YOU MUST FLASH 3.06 HBOOT BEFORE CONTINUING - SEE POST 4

3. run the RUU as admin (right click, run as administrator)
4. After RUU completes and phone reboots, make sure usb debugging is on and in charge only mode and open cmd prompt
5. Run the following:
Code:
adb devices (your device should be listed)

adb reboot bootloader

fastboot devices (your device should be listed)

fastboot oem writesecureflag 3

fastboot reboot-bootloader

*verify you are locked s-on

fastboot reboot
You are now out of box stock.
HTC DNA
My phone does phone things
The Following 11 Users Say Thank You to Phaded For This Useful Post: [ Click to Expand ]
 
Phaded
Old
(Last edited by Phaded; 26th March 2014 at 05:24 PM.)
#3  
Senior Member - OP
Thanks Meter 357
Posts: 1,100
Join Date: Apr 2010
Location: 216
Return to stock on Moonshine, Rumrunner and Firewater S-Off

Files needed:

Lock bootloader zip: lock bootloader MD5: f335f78f9f46469c823da0c671026de5
3.06 RUU: 3.06 RUU


Steps:
1.Copy the "lock bootloader zip" onto root of internal storage and flash in recovery of your choice. Once it is flashed Reboot your phone.
2.Reboot into bootloader either using 4 in 1 power menu (if your ROM supports it). Or plug your phone into a USB port, turn on USB debugging and open a command prompt and type:
Code:
adb devices (Your device ID should be listed)
adb reboot bootloader
You are locked. The s-off process removes the flag from displaying, but it is now locked.

IF YOU ARE RUNNING ANY HBOOT THAT IS NOT THE 3.06 HBOOT (1.54 in bootloader), YOU MUST FLASH 3.06 HBOOT BEFORE CONTINUING - SEE POST 4

3. run the RUU as admin (right click, run as administrator)
4. After RUU completes and phone reboots, make sure usb debugging is on and in charge only mode and open cmd prompt
5. Run the following:
Code:
adb devices (your device should be listed)

adb reboot bootloader

fastboot devices (your device should be listed)

fastboot oem writesecureflag 3

fastboot reboot-bootloader

*verify you are locked s-on

fastboot reboot
You are now out of box stock.
HTC DNA
My phone does phone things
The Following 29 Users Say Thank You to Phaded For This Useful Post: [ Click to Expand ]
 
Phaded
Old
(Last edited by Phaded; 7th February 2014 at 04:19 PM.)
#4  
Senior Member - OP
Thanks Meter 357
Posts: 1,100
Join Date: Apr 2010
Location: 216
FLASHING THE STOCK HBOOT:
*Credit to .torrented*


1. download 3.06 HBOOT: 3.06 HBOOT
2. Rename stock hboot file to : PL83IMG.zip and place in the folder that contains your fastboot.exe file (On your computer)
3. Flash hboot
Code:
Step 1) adb reboot bootloader

Step 2) fastboot oem rebootRUU

Step 3) CD to directory containing hboot zip (i.e. cd C:\sdk\)

Step 4) fastboot flash zip PL83IMG.zip

*** When it says it is done in the terminal/cmdprompt execute the following *** 
[The green bar only fills up about 75% of the way]

Step 5) fastboot reboot-bootloader



Flashing the Stock Splash Image

*All credit goes to E.T.Heil

1. Download the stock splash image here.
2. Rename file to splash1.img
3. Place the file in the same folder you have adb.exe and fastboot.exe located.
4. Plug in your phone to a USB port, turn on USB debugging and open a command prompt. cd to the directory your adb/fastboot is located
5. Run the following:
Code:
adb devices (your device ID should be displayed)
adb reboot bootloader
Once in the bootloader, run:
Code:
fastboot flash splash1 splash1.img
Once complete, reboot the phone using the menu or
Code:
fastboot reboot
HTC DNA
My phone does phone things
The Following 13 Users Say Thank You to Phaded For This Useful Post: [ Click to Expand ]
 
Phaded
Old
(Last edited by Phaded; 10th June 2013 at 05:12 PM.)
#5  
Senior Member - OP
Thanks Meter 357
Posts: 1,100
Join Date: Apr 2010
Location: 216
updated with RevOne and Moonshine...

If anyone sees anything I missed let me know. Otherwise guide is complete.
HTC DNA
My phone does phone things
The Following 3 Users Say Thank You to Phaded For This Useful Post: [ Click to Expand ]
 
Imacellist
Old
#6  
Senior Member
Thanks Meter 127
Posts: 399
Join Date: Oct 2011
Thank you so much for making this post. This is exactly what I needed. I am not quite sure which method I uses but it was the first one that required changing the CID, unlocking via htc dev and all that stuff. Would that be facepalm? Sorry if this is a dumb question, it was so long ago that I don't quite remember.
 
Phaded
Old
#7  
Senior Member - OP
Thanks Meter 357
Posts: 1,100
Join Date: Apr 2010
Location: 216
Quote:
Originally Posted by Imacellist View Post
Thank you so much for making this post. This is exactly what I needed. I am not quite sure which method I uses but it was the first one that required changing the CID, unlocking via htc dev and all that stuff. Would that be facepalm? Sorry if this is a dumb question, it was so long ago that I don't quite remember.
Yes that was the Facepalm method. So follow the OP guide for that.
HTC DNA
My phone does phone things
The Following User Says Thank You to Phaded For This Useful Post: [ Click to Expand ]
 
Airo18
Old
#8  
Airo18's Avatar
Senior Member
Thanks Meter 84
Posts: 263
Join Date: Apr 2011
Location: Middleburg, FL

 
DONATE TO ME
I love you! (no homo).
HTC One M8 running AOKP (Insert latest nightly here)
HTC Droid DNA S-off Running Carbon
Motorola DROID RAZR HD Maxx Stock Rooted
Moto G Stock Rooted
Samsung Galaxy Camera with Rooted Stock

http://www.youtube.com/user/FlamingAiro
 
Prodiigy
Old
#9  
Junior Member
Thanks Meter 0
Posts: 22
Join Date: Jun 2013
when i run RUU i get error 155 so i tried to flash the 1.15 hboot and i get this error in cmd

D:\Documents and Settings\Jonathan\My Documents\HTC\adt-bundle-windows-x86-20130
219\sdk\platform-tools>fastboot flash zip PL83IMG.zip
sending 'zip' (2047 KB)...
OKAY [ 0.375s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) shift signature_size for header checking...
FAILED (remote: 32 header error)
finished. total time: 0.562s

am i doing something wrong? i want to get my phone back to complete stock because i flashed a rom after moonshining without making a backup first. so i really want to get to stock so i can do the whole process over again (moonshine again if needed)
 
Phaded
Old
(Last edited by Phaded; 14th June 2013 at 12:35 PM.)
#10  
Senior Member - OP
Thanks Meter 357
Posts: 1,100
Join Date: Apr 2010
Location: 216
Quote:
Originally Posted by Prodiigy View Post
when i run RUU i get error 155 so i tried to flash the 1.15 hboot and i get this error in cmd

D:\Documents and Settings\Jonathan\My Documents\HTC\adt-bundle-windows-x86-20130
219\sdk\platform-tools>fastboot flash zip PL83IMG.zip
sending 'zip' (2047 KB)...
OKAY [ 0.375s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) shift signature_size for header checking...
FAILED (remote: 32 header error)
finished. total time: 0.562s

am i doing something wrong? i want to get my phone back to complete stock because i flashed a rom after moonshining without making a backup first. so i really want to get to stock so i can do the whole process over again (moonshine again if needed)
Possibly a bad download, Download the HBOOT again and give it another go.

Also, with that error you are getting during the RUU process, did you lock the bootloader back up before running the RUU? That error sometimes shows up from not doing that.
HTC DNA
My phone does phone things

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes