• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [International] [how to]return to 100% stock from revone or moonshine s off

scotty85

Extreme Android User
Jul 25, 2010
11,131
7,412
WARNING!!!
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 :eek: but its a matter of time before this comes up,so here ya go:

prerequisites:
-that you know your stock CID and build number(x.xx.xxx.x 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: http://androidforums.com/internatio...t/732395-how-reset-your-lock-status-flag.html

if needed,flash "lock_bootloader.zip" 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

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

C:\Users\Scott>[COLOR="Red"]cd c:\mini-adb_vigor[/COLOR]

c:\mini-adb_vigor>[COLOR="red"]adb devices[/COLOR]
List of devices attached
HTxxxxxxxxxx    device


c:\mini-adb_vigor>[COLOR="Red"]adb reboot bootloader[/COLOR]

c:\mini-adb_vigor>[COLOR="red"]fastboot devices[/COLOR]
HTxxxxxxxxxx    fastboot

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

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

c:\miniadb_ville>[COLOR="red"]fastboot getvar cid[/COLOR]
cid: HTC__001
finished. total time: 0.004s

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

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

c:\mini-adb_vigor>[COLOR="red"]fastboot reboot[/COLOR]
                     rebooting...
finished. total time: 0.168s

c:\mini-adb_vigor>

*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:
mini-adb.zip
(extract,move to root of c,change to that directory with cd c:\mini-adb )
 
  • Like
Reactions: jasperwill
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones