View Single Post
Old June 20th, 2013, 08:03 AM   #1 (permalink)
AF Addict
Thread Author (OP)
scotty85's Avatar
Join Date: Jul 2010
Posts: 11,014
Carrier: Not Provided

Thanks: 7,893
Thanked 7,228 Times in 4,485 Posts
Default [how to]return to 100% stock from revone or moonshine s off

DO NOT turn your secureflag on unless on a stock,signed hboot.

s-on with an eng signed or patched hboot will hard brick your device immediately.
(read: permanently bricked,unrecoverable)

in other words,ONLY use the writesecureflag 3 command AFTER running an RUU. never before.

im sure were mostly to excited to want to go back to s on just yet,since we just got s-off but its a matter of time before this comes up,so here ya go:

-that you know your stock CID and build number( for example, xxx=531= tmobile, xxx=401= htc europe)

if you have a relocked bootloader,and want to reset the lock status to read locked,reference this thread: [how to] reset your lock status flag

if needed,flash "" in clockwork recovery,then procede to the following steps.

1)restore your mid,if you changed that.
2)donwload and run an RUU for your most current STOCK carrier/reigonal build
3)open a cmd window. plug in phone,charge only mode,usb debugging on.
4)run the following:

adb devices

adb reboot bootloader

fastboot devices

fastboot oem writecid xxxxxxxx (where xxxxxxxx is your stock CID. example: HTC__001 or T-MOB010)

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

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\Scott>cd c:\mini-adb_vigor

c:\mini-adb_vigor>adb devices
List of devices attached
HTxxxxxxxxxx    device

c:\mini-adb_vigor>adb reboot bootloader

c:\mini-adb_vigor>fastboot devices
HTxxxxxxxxxx    fastboot

c:\miniadb_ville>fastboot oem writecid HTC__001
(bootloader) Start Verify: 0
OKAY [  0.014s]
finished. total time: 0.016s

c:\miniadb_ville>fastboot reboot-bootloader
rebooting into bootloader...
OKAY [  0.066s]
finished. total time: 0.068s

c:\miniadb_ville>fastboot getvar cid
cid: HTC__001
finished. total time: 0.004s

c:\mini-adb_vigor>fastboot oem writesecureflag 3
                              ... OKAY [  0.051s]
finished. total time: 0.051s

c:\mini-adb_vigor>fastboot reboot-bootloader
     rebooting into bootloader... OKAY [  0.177s]
finished. total time: 0.177s

c:\mini-adb_vigor>fastboot reboot
finished. total time: 0.168s

*verified working if you need it for warranty.

*current RUUs can be found here:
AndroidFiles RUU
or here:
Shipped ROMs

*if you need adb/fastboot you can use this:
(extract,move to root of c,change to that directory with cd c:\mini-adb )
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  
Last edited by scotty85; June 21st, 2013 at 06:26 AM.
Reply With Quote
The Following 5 Users Say Thank You to scotty85 For This Useful Post:
clsA (June 20th, 2013), Hadron (July 16th, 2013), InfernalByte (June 22nd, 2013), LoyalServant (June 20th, 2013), shauny13 (June 17th, 2014)