How to get S-On and relocking bootloader - Verizon HTC 10 Questions & Answers

Hi, I am S-off with unlocked bootloader, but I need to return my Verizon HTC 10, so I need to go back to S-on with locked bootloader. I am sure there is a thread on this, but I can't find it. Can anybody point me in the right direction?

legaldeejay said:
Hi, I am S-off with unlocked bootloader, but I need to return my Verizon HTC 10, so I need to go back to S-on with locked bootloader. I am sure there is a thread on this, but I can't find it. Can anybody point me in the right direction?
Click to expand...
Click to collapse
I am assuming you used Sunshine to S-OFF your device. If so, it should be relatively simple to fully restore your phone to stock, just be sure to perform the following steps in order.
Please note that I am in absolutely no way responsible for any damage done to your device as a result of following these instructions. Do not proceed to read the following post or attempt to perform the procedure described below if you do not accept this agreement. I am not responsible for your actions in any manner!
note: all commands are to be entered without quotation or ' ' marks
-Flash a full stock Verizon RUU zip over your current setup to clear any modified flags, unroot, etc. Links and instructions are available in this thread.
**WARNING** It is critically important that you verify that the RUU ("OS") install was successful. I would run a factory reset from the stock recovery AFTER installing the RUU to ensure that you do not encounter any boot loops before proceeding as going S-ON with a borked rom makes for a quick brick. Please heed this precaution seriously! VZW TEC "insurance" plan or similar coverage in case of brick highly recommended! **
-The only way to get back to "Locked" is to run Sunshine again and choose the "S-OFF LOCKED" option that is now available, however you cannot run Sunshine without going back S-ON first. Install the latest Sunshine.apk now, your license should be restored automatically.
-Once you are sure your RUU has completed installing and successfully booted all the way up, connect your phone to your PC with USB Debugging Enabled.
-Download Android Debug Bridge and install to an easy to type directory such as 'c:\adb\'.
-Open a new command prompt (run cmd.exe) and navigate to your adb directory, ie: 'cd c:\adb\' .
-Issue the command 'adb devices' to check that your phone is connected properly and detected by adb, you should see a device identifier come after a short delay.
-Now we must go S-ON so that Sunshine can be run again. Issue the command 'adb reboot-bootloader' and manually enter download mode.
-Once the phone has booted into download mode issue into the command 'fastboot devices' to verify that your phone is detected by the fastboot utility.
-To go back to S-ON, issue the command 'fastboot oem writesecureflag 3' (NO TYPOS!!). The prompt should confirm success at which point you can issue 'fastboot reboot'.
**Boot issues?**->If the phone fails to boot, factory reset through stock menus.
Assuming all is up and running, run Sunshine, and select "S-OFF LOCKED' this time around.
-Once that process is done, use the prompt to reboot back into the bootloader and then enter download mode. All that we have to do is S-ON and we are S-ON Locked!
-Issue 'fastboot oem writesecureflag 3' and once successful, reboot with fastboot.
**Boot issues?**->Lastly factory reset again if data partition read issues soft brick the phone again via the stock menus, I do not believe this will be necessary but it is not a big deal if it turns out to be.
Voila~ You are now S-ON Locked and should not have any tamper flags if you ran the RUU immediately prior to the S-ON process!
Please let me know if you have any questions here or via PM and please do not do anything you are not sure of!! You run a substantial chance of bricking by messing up while reverting to stock! There are tons of resources around here to reference too! Hope this helps~
Edit: anti-liability level +5000 lol

Thank you very much. It is my understanding that you don't need Sunshine to relock. To relock, you only need to enter command: fastboot oem lock

Related

[How-to] S-on Wildfire/Buzz after Revolutionary

You might have noticed that some STOCK roms to not return your S-OFF device to S-ON. This might be necesairy to return your device for repairs.
How to S-on Wildfire/Buzz after revolutionary;
-Download STOCK rom from http://www.shipped-roms.com/index.php?category=android&model=Buzz
-Flash the stock rom you downloaded.
-Flash completely and boot to rom
-Turn off the device and boot into bootloader (vol-down + Power)
Note that after flashing the bootloader still says REVOLUTIONAIRY and S-OFF.
You can turn of your phone for now, make sure its sufficiently charged.
-Download the ZIP file.
-Extract zip file.
-Open an elivated command prompt (winkey, type CMD, press (ctrl+shift+enter)).
-Navigate to buzz folder.
Now you're ready to flash the original Hboot Note that this may brick your device, if you do not understand the instructions or don't have similar results, don't continue.
-Boot your phone into bootloader (vol-down + Power)
-In the command window, type:
Code:
fastboot devices <press enter>
You should should get a response that says List of devices attached.
Make sure the next line has a serial number with device listed after that.
If you don’t see your device attached then something is wrong and you should not proceed.
-If your device matches the device showed in the console window, proceed
-type:
Code:
fastboot oem mb 9C068490 1 30 <press enter>
The console window should return: OKAY.
If it returns FAILED, do not proceed, I'm sorry but this methode does not work for you.
-If the previous command returned OKAY, proceed and type:
Code:
fastboot flash hboot hbootbuzz.nb0 <press enter>
If it fails to flash HBOOT, you're phone might be bricked (note that if it has not begun flashing, nothing is wrong).
If it does flash correctly, use the volume rocker to select reboot bootloader to check S-ON.
-Flash the STOCK rom again to just to make sure.
THANKS IF IT WORKED FOR YOU!
I don't take credit, nor responsability for this methode. I nicked the hbootbuzz.nb0 file from somewhere on the innernets (cant remember where). Paul1989 has a similar methode which uses JAVA, which I do not have, so I improvised using some topics on droidforums.net and others to bunch up this methode for us simple people.
Enjoy S-ON. S-OFF can be reaccuired using the methode in this forum.
nice guide
And what should I do if shipped roms site is down??
Njamb said:
And what should I do if shipped roms site is down??
Click to expand...
Click to collapse
Wait till it's back up?
Not a problem Just asked, because I don't know is it normally to be down
Njamb said:
Not a problem Just asked, because I don't know is it normally to be down
Click to expand...
Click to collapse
Should be back up soon. The site going down for a while is pretty normal. I have seen it quite a lot. So, don't worry.
3xeno said:
Should be back up soon. The site going down for a while is pretty normal. I have seen it quite a lot. So, don't worry.
Click to expand...
Click to collapse
Guess it's not coming back
Any alternative?
S-ON after Rvolutionary
Operation required HTC drivers(are included with the HTC Sync)
# 1 Extract archive content to c:\fastboot
# 2 Run the phone in bootloader mode
# 3 Run the command prompt and cd to c:\fastboot
# 4 Then:
Code:
[B]fastboot oem 9C068490 1 30 mb[/B]
# 5 Next:
Code:
[B]fastboot flash hboot hboot_buzz_7225_1.01.0001.nb0[/B]
After restarting the S-ON should be restored
Backup link
S-On success
Thanks..it worked for me :good:

[HOW TO]return to stock (gingerbread) from revolutionary or normal hboot(11/2/11)

READ THIS:
i have removed the dead multiupload links that have for some reason been causing an extreme amount of confusion. i thot the "mirror" following each link was self explanitory,but apparently not.
from this point forward,i will no longer respond to "links are dead" posts or PMs if i check them and find them to be working.
in other words,yes,the links are working.
___________________________________________________________________
the return to stock thread from 5/17 is outdated. it still works,but afterward youll need to allow your phone to OTA to mr2 if you want to be on the current firmware.
between the newer firmware,and having to execute extra steps if rotoed with revolutionary,the old thread seems to be causing some confusuion. i thot maybe it would help if i threw it up here as well
its geared toward a revolutionary rooter who doesnt have adb set up,so sorry if its a little insulting to more advanced users
last and not least,if you rooted old skool,and just need to flash mr2 files,just skip the part detailing getting the old 1.04.2000 eng hboot back. go directly to: Putting current stock firmware and s-on back onto the phone
as soon as the GB OTA hits for realeek i will update this with those files.
*please read all directions first. post up any questions you have before doing anythingyou are messing with your bootloader,wich is a vital part of your phones operation. screwing it up WILL make your phone an expensive paperweight.
how to unroot
the revolutionary method of rooting uses a sneeky hboot exploit,and replaces your stock 1.04.0000 or 1.05.0000 bootloader with a modified permanent hboot. it not only gives you all the same fashboot flash abilities as the original engineering bootloader,but it very effectively blocks other hboots for overwriting it. its good,as you will remain s-off if you accidentally flash a full RUU,or accept an OTA,but makes it a little trickier to remove.
for the time being, removal requires ADB to be set up and running and some commands entered in "fastboot" to to allow the permanent hboot to be overwritten. once an "s-on" tool is release,ill take th is part of this guide down.
if you rooted the old skool manual way and have adb setup and working,you can use this guide to remove the permanent hboot.
with Revolutionary,will come a new wave of rooters that have no clue what adb,or fastboot even are. for you folks, Sele and the crew in the "rescue sguad" at HTC Thunderbolt Forum have come up with a really clever way to get the adb basics,and the eng bootloader to flash,with minimal setup and confusion. with their permission,im borrowing it for our guide here.
*WARNING* no siginture or file checks will be done flashing the new bootloader in hboot or fastboot.fastboot will literally flash "lets golf" as a bootloader if you tell it to. DO NOT mess with your hboot unless absolutely neccessary to return to stock for warranty purposes. if youre just tired of being rooted,flash the gingerbread ruu to get back to unrooted firmware and factory recovery. leaving the revolutionary s-off bootloader in place is the safest,and best option,and will not affect your ability to recieve OTAs.
*AGAIN- if youre just following this procedure because youre tired of being rooted,skip this next section and leave the permanent hboot in place. jump to "Putting current stock firmware and s-on back onto the phone" and flash only the first "PG05IMG_no_hboot_2.11.605.9" file(you can flash the 2nd file too if you want,but the permanent hboot will block it )
Setting up adb and removing the permanent hboot if youve never used adb before
1)if you no longer have the htc drivers that you installed when rooting with revolutionary,download them again from here on revolutionarys website.
2)next download *link removed (mirror)to somewhere convenient that youll be able to find it,like your desktop,or a "downloads" folder. it contains the old eng 1.40.2000 s-off hboot,and the bare minumum tools to install it.
3)the following directions were using windows 7 and chrome browser. other OS may be slightly different-the end result is you want unzipped,inside tbolt folder to be on the root of your C: drive.
-find the tbolt.zipdownload
-click on tbolt.zip download and open it.
-inside tbolt.zip,there is a folder labled tbolt. drag it to the root of C:. inside tbolt is the unpermanent hboot and some adb tools.
4) charge your Thunderbolt to 100%
5)click on then "start" bubble in the lower left corner of your screen. type "command" in the search window and hit enter. this will open a small black command window.
6)enter the following command(by typing or copy/paste):
Code:
cd c:\tbolt
you should see your promt in the window change to: c:\tbolt>
7)enter the follwing command:
Code:
md5sums hbooteng.nb0
check the output on the command window. THIS IS VERY IMPORTANT. the command must equal exactly 6991368ee2deaf182048a3ed9d3c0fcb if it does not,STOP!. delete the tbolt.zip download,and the unzipped tbolt folder from C:,re download and try it again. again,do not procede if the output in your command number does not equal it exactly.
8)once the number matches,you can continue. copy and paste the following codes into the command window:
Code:
adb devices
the output should be your phones serial number
now enter:
Code:
adb reboot bootloader
this will cause your phone to boot into FASTBOOT mode,wich is a white screen with colored letters.
now enter:
Code:
fastboot devices
the result again,should be your phones serial number.
9) now youre ready to enter the command to unlock the permanent hboot and flash the new,non permanent one.
to unlock,enter:
Code:
fastboot oem mw 8d08ac54 1 31302E30
write the new hboot:
Code:
fastboot flash hboot hbooteng.nb0
if you select bootloader at this point from the fastboot menu, youll still see the permanent s-off hboot,so select reboot with the volume rocker and power button and let the phone reboot. after it boots,you can adb reboot bootloader again,or power off, then power on/vol down and check that your pink "UNLOCKED" or "REVOLUTIONARY" is gone and you have the old 1.49.2000 bootloader.
here is what you should see in the command window,the red are my inputs:
Code:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Scott>[COLOR="Red"]cd c:\tbolt[/COLOR]
c:\tbolt>[COLOR="red"]md5sums hbooteng.nb0[/COLOR]
MD5sums 1.2 freeware for Win9x/ME/NT/2000/XP+
Copyright (C) 2001-2005 Jem Berkes - http://www.pc-tools.net/
Type md5sums -h for help
[Path] / filename MD5 sum
-------------------------------------------------------------------------------
[c:\tbolt\]
hbooteng.nb0 6991368ee2deaf182048a3ed9d3c0fcb
c:\tbolt>[COLOR="red"][COLOR="red"]adb devices[/COLOR][/COLOR]
* daemon not running. starting it now *
* daemon started successfully *
List of devices attached
HT126S005970 device
c:\tbolt>[COLOR="red"]adb reboot bootloader[/COLOR]
c:\tbolt>[COLOR="red"]fastboot devices[/COLOR]
HT126S005970 fastboot
c:\tbolt>[COLOR="red"]fastboot oem mw 8d08ac54 1 31302E30[/COLOR]
...
OKAY [ 0.006s]
finished. total time: 0.006s
c:\tbolt>[COLOR="red"]fastboot flash hboot hbooteng.nb0[/COLOR]
sending 'hboot' (1024 KB)...
OKAY [ 0.183s]
writing 'hboot'...
OKAY [ 0.219s]
finished. total time: 0.403s
c:\tbolt>
Putting current stock firmware and s-on back onto the phone
after getting the bootloader back to the original s-off,engineering 1.04.2000 hboot download these 2 files:
1) PG05IMG_no_hboot_2.11.605.19.zip
mirror: https://rapidshare.com/files/271867813/PG05IMG_no_hboot_2.11.605.19.zip
md5: 334909756073760b3d7316e51a4ce837
2) *link removedPG05IMG_hboot_ONLY_2.11.605.19.zip
mirror:http://www.mediafire.com/?0z0rlzh9lrnh0qs
md5: d26b3253358407d459c654e6729a39ca
rename PG05IMG_no_hboot_2.11.605.19.zip to "PG05IMG",move to your sd card,and flash in hboot.
this is important! you must flash the PG05IMG_no_hboot_2.11.605.19.zip first
after successfully flashing that,you will be on unrooted gingerbread with an eng s-off bootloader. delete the PG05IMG file from your sd card. now place the PG05IMG_hboot_ONLY_2.11.605.19.zip on your sd card. check the md5. once youve verified it matches,you can rename PG05IMG and flash it.
again, only flash the hboot file after you have successfully flashed the rom.
now you are 100% stock on latest firmware. unrooted gingerbread 2.11.605.19 with *locked* 1.05.0000 s-on bootloader.
as always,be as cautious as possible doing hboot flashes,and follow directions in the http://androidforums.com/thunderbolt-all-things-root/353591-how-some-root-terminology.html to flash these files if youre unfamiliar with hboot flashing.
*please start a new thread before attempting this if any part of this confuses you. without a bootloader your phone is a paperweight,so we want to help you prior to making any mistakes
last and not least: if you have non working hard buttons,or no screen,see the directions in this thread on AF
Nice
Awesome Found that there is also another way you can use the same method from the original root instructions.
adb push yourhbootfilenamehere /data/local/
adb shell
dd if=/data/local/yourhbootfilenamehere of=/dev/block/mmcblk0p18
Then just put the stock image on your sd card and use
adb reboot bootloader
and flash your stock firmware
Hope this helps anyone looking for a slightly quicker way
Not sure if this is a problem but...
After I un-rooted last night and ran the 2.11.605.5 RUU, I now get a bright pink message at the bootloader saying *** LOCKED ***. Anyways, the device now states S-ON and I am running stock. Is the LOCKED message something to be concerned about?
no the locked message is just something new they put into it some people think it means they might put it in the list of officially unlockable devices soon check it out here htcdev.com/bootloader
ellis90009 said:
Awesome Found that there is also another way you can use the same method from the original root instructions.
adb push yourhbootfilenamehere /data/local/
adb shell
dd if=/data/local/yourhbootfilenamehere of=/dev/block/mmcblk0p18
Then just put the stock image on your sd card and use
adb reboot bootloader
and flash your stock firmware
Hope this helps anyone looking for a slightly quicker way
Click to expand...
Click to collapse
while i dont know that youll save any time doing it this way, this is certainly anotehr way to skin the cat if you have adb set up,and are fairly savy at using it,as there are alot of small details youre leaving out.
also i need to add a couple of things:
1)you will need to reboot your phone between
Code:
dd if=/data/local/yourhbootfilenamehere of=/dev/block/mmcblk0p18
and
Code:
adb reboot bootloader
as,rebooting imediately to bootloader will take you back to the revolutionary one. the new hboot is written on reboot.
2)be extremely careful with this. if you choose to flash a stock hboot rather than the engineering one,you risk a security warning if you flash the wrong hboot overtop of the wrong custom firmware. youll then be stuck with an s-on hboot and only be able to run newer RUUs to try and fix it.
if you really want to use this method,the safest way would be to run the RUU first. youll have to get a temp root shell(zergRush prolly will work),then run the command to replace the hboot that matches the firmware that you flashed.
CaptainStrange said:
Is the LOCKED message something to be concerned about?
Click to expand...
Click to collapse
as was said,this is just the new hboot. it does contain htcdev unlocksupport. thos that doesnt neccessarily mean they will ever give us a key not that it matters anyway,htcs "official unlock"only unlocks system,boot,and recovery,and is still an s-on hboot. better than nothing i guess,but since we have revolutionary and other root methods,theres no advantage to using the official unlock fomr htc.
updated OP for unroot to GB 2.11.605.5
This should be stickied. Thanks Scotty
Thanks for this. I am going to be upgrading my TB to a Droid RAZR and wanted to revert to complete stock, S-ON, unrooted for selling it on eBay. This worked perfectly.
just to be cleared to just go back to unrooted stock to receive future ota's is just follow this: will this take my s-off off..also can I reroot with revolutionary later..
the reason i want to go back to stock is the ota update notifications are getting annoying and persistent..
Putting current stock firmware and s-on back onto the phone
after getting the bootloader back to the original s-off,engineering 1.04.2000 hboot download these 2 files:
1)PG05IMG_2.11.605.5_no_hboot.zip
md5: b7ebb0b208f704c84f1224de16e61a8e
2)PG05IMG_2.11.605.5_hboot_ONLY
md5: e6df3ae14523508868dc811ecc5d4b07
rename PG05IMG_2.11.605.5_no_hboot.zip to "PG05IMG",move to your sd card,and flash in hboot.
this is important! you must flash the PG05IMG_2.11.605.5_no_hboot.zip first
after successfully flashing that,you will be on unrooted gingerbread with an eng s-off bootloader. delete the PG05IMG file from your sd card. now place the PG05IMG_2.11.605.5_hboot_ONLY on your sd card. check the md5. once youve verified it matches,you can rename PG05IMG and flash it.
again, only flash the hboot file after you have successfully flashed the rom.
now you are 100% stock on latest firmware. unrooted gingerbread 2.11.605.5 with *locked* 1.05.000 s-on bootloader.
as always,be as cautious as possible doing hboot flashes. again,please post any questions before doing anything
Did you root with revolutionary? If you currently have the 1.04.2000 Eng hboot,then yes. That will get you to stock unrooted gb. If you plan to re-root,there are stock,rooted roms you can flash in recovery,that will also stop the ota notices.
Sent from my ADR6400L using XDA Premium App
Thanks so much. Appreciate
Sent from my Nexus S using xda premium
So is there anyway to accomplish this without being able to turn the phone on? Dropped my T-Bolt over the weekend, phone looks fine but the power button is now recessed. Tried popping it back out, etc. and no dice.
Tried setting up ADB, but it isn't recognizing my device. Not sure if USB Debugging was on before, but now I have no way of checking. Tried a few tricks I read online to get the phone to power on without the power button, but none have worked.
Thoughts?
id prolly not worry about it. if it wont power on,they wont know its rooted. i believe any hardware thats not working is fixed,then the phone is flashed with current firmware.
i do not believe they will fix the phone,then turn it on to try and catch you being rooted.
either way,since you dropped it,youre looking at an insurance claim anyway. and they could care less if its rooted or not
after doing that, can I roll back it to be S-OFF/ROOT?
edited to reflect the fact that I'm an idiot who just essily fixed the problem
Problems...
So i rooted with the Original root method I do believe and have had this phone for awhile, I followed the steps as stated but after I flash the H Boot and reboot to do the first PG05IMG I get No image, wrong image, so on and so forth... I have no idea what has happened, I even grabbed another Img file from Bliynd but it still does the same...
Never had a phone do this before, its like it see's the IMG but will not load/flash it... Any help would be awesome man, sry for the trouble...
Helpful info (?)
Mecha XD ENG S-OFF
Hboot-1.04.2000 (PG0510000)
MICROP-/
Radio-1.39.00.0627r
eMMC-boot
Feb 23 2011, 20:36:02
See attachment for pic of happenings lol So much easier
There is one more line of no Image or what not after whats on the pic, I guess I took it a lil to fast...
be careful! do not just blindly flash different images or RUUs. you need to use the files i listed,and make sure you flash them in the correct order.
if the PG05IMG is on the root of the sd card there are only 2 reasons its not found:
1)sd card not FAT32
2)incorrectly named
the phone must see "PG05IMG.zip" exactly. due to the way windows usually adds and hides file extension,its common to inadvertantely name to "PG05IMG.zip.zip" or in lesser cases just "PG05IMG". note that that is a zero,not a capital O
figure out which of those 2 is your prollem and your files will flash.
a1exus said:
after doing that, can I roll back it to be S-OFF/ROOT?
Click to expand...
Click to collapse
after doing what?
I know this is beyond dumb but since rooting with recovery anything I flashed was from cwr. How do I flash pg05img.zip from hboot? Will the phone then boot up allowing me to delete the file from file manager app or do I have to delete the first pg05img.zip from the computer?
Ok, so I originally rooted my phone using the ADB method. I used your stock RUU to unroot with S-off still off. My question is what is the easiest way to get root back with s-off already off and the original root bootloader?

[GUIDE] How to Return to 100% Stock

This Guide will help you reset your HTC One back to 100% stock form with no trace of modifications. S-Off Required!
In order for you to be able to reset your device to complete stock it will require that you have S-Off.
For those that still have S-On and cannot gain S-Off due to having one of the updated firmwares there is not much you can do other than restore a stock rom and stock recovery. S-On users can find my 2.24.401.x stock rom with recovery included here:
http://www.htc1guru.com/2013/09/gurureset-aroma/
I am working on more versions now.
If you restore one of the stock Nandroid backups with a 1.2x version, you will probably have issues with the touch screen not working since the updated touchscreen drivers in the newer firmware updates, prevent the touch screen from working in the stock level 4.1.2 software. Keep checking the Download section for Guru Resets as I will be adding more stock rom versions.
If you have a working touch screen on the stock software, after restoring the stock kernel and stock recovery, your bootloader will show RELOCKED instead of LOCKED once you lock it.
I have easily unlocked bootloader, got S-off and super CID for many different HTC One devices from a few carriers, but that is because they came with hboot 1.44 so revone worked without issues to gain S-Off. If you buy a new phone now, regardless if what firmware version and/or software it come with, after you unlock the bootloader be sure the first thing you do is to make a Nandroid backup of your phone in its stock form. If it is a stock Nandroid on the newer 2.24.401.x base, please contact me as I would love to host it as many people could use that if not s-off.
If you are lucky enough to buy a new phone that comes with early hboot 1.44, I advise you get S-off right after you make that stock Nandroid backup. S-off really comes in handy for so many things. There is no danger of bricking your phone unless you start flashing things you don;t understand and other actions without fully understanding the repercussions. If you are unsure about something then just make a post and someone here should be able to provide you with the correct information.
If you don’t know what these terms mean do a search, they have been answered many, many times. Here are some quick links to some common items for modifications::
–Easily unlock bootloader, flash custom recovery, flash ROM, and ADB sideload (in case you forgot to copy your ROM to your phone) plus much more:
http://forum.xda-developers.com/showthread.php?t=2242635
–Easily get S-off by using revone (We will also use this tool reset Security back to S-On)
http://forum.xda-developers.com/showthread.php?t=2314582
***I advise you to get S-off before doing anything else and keep S-off unless you are going to return the device. The latest OTA/firmware contains an hboot that revone will not currently unlock, but if you have s-off you can downgrade your hboot if needed***
–Easily get Super CID
http://forum.xda-developers.com/showthread.php?t=2317536
Now you can do some of these things easily:
*Remove red warning from boot screen + custom hboot:
http://forum.xda-developers.com/showthread.php?t=2316726
http://forum.xda-developers.com/showthread.php?t=2156368
*Flash custom splash screens:
http://forum.xda-developers.com/showthread.php?t=2324746
*Flash new firmware:
Concise and easy for noobs: http://forum.xda-developers.com/showpost.php?p=43551752&postcount=5082
Also http://forum.xda-developers.com/showpost.php?p=43328416&postcount=33758
Post #2 has the download for the custom firmware to flash without screwing anything else up:
http://forum.xda-developers.com/showthread.php?t=2182823
______________________________________________________________________________________
Resetting your device to stock
—————————————————————————
So now for the good stuff. You totally modded the hell out of your One and something happens where you need to return the device to your carrier/vendor. First thing, always go to your carrier/vendor for hardware exchanges NOT direct to HTC. For the most part US carriers don’t care much about modded software on the devices in regards to warranty but HTC does. However just because the person in the device exchange center doesn’t check for root, doesn’t mean someone won’t flag your phone when repairing it. So why take the chance, it only takes a few minutes to return to 100% stock.
Secondly unless your device is totally unusable, I advise you to call the ATT(or your carrier) warranty number and they will send you a replacement and a return shipping label, and then you have 12 days to return it. This way you can access data and settings on your first device if needed and make sure that everything is cool with your replacement before you reset your first device to stock and send it back.
As it is required for most of the modifications mentioned above these steps require that you have your devices drivers installed on your PC and also ADB. If you need help setting up ADB: http://forum.xda-developers.com/showthread.php?t=1427008
---Instructions for returning to 100% stock from S-off:
Before we begin please note that these instructions are for a device with S-off and the stock CID. Your CID should be stock unless you changed it in order to get a specific country/region OTA or as a lot do for flashing ease and just use Super CID.
In order to run the RUU to reset everything to stock, the CID will have to match the device for which the RUU was intended.
So you can’t really mess anything up because if your CID is not correct the RUU will not run and not flash anything.
**-Technically if you have S-off you can run any RUU and it should run fine but your phones image won’t be stock from your carrier if not the correct RUU. I like to set the stock CID back now so we don’t forget. However if using another variant/RUU, since you are s-off, you can do this step after running the RUU.**
If you have stock CID or the CID matches the RUU you can proceed to step 1.
If you have any other CID you need to change it before beginning. In this example I am talking about the US ATT variant for which he stock CID is CWS__001
Code:
adb reboot-bootloader
Phone should boot to the bootloader. Now run:
Code:
fastboot oem writecid CWS__001
Now verify that the stock CID shows on the bootloader screen by running:
Code:
fastboot reboot-bootloader
Reboot device if CID on bootloader screen shows the stock CID. If not retry
*****The next step will wipe the entire contents of the device which includes all of your data. Be sure to back it up to a PC so you can transfer it onto the new device if needed.*****
These instructions are assuming you are running a Windows OS. If you are not then these exe RUU’s won’t be of much use. You will have to use the RUU.zip files which can accomplish the same results as a RUU from flashing in fastboot. You can replace step 1 below with these steps:
Restoring using a RUU.zip
Download the RUU.zip file and place in your ADB/fastboot folder. I would recommend renaming the zip file to something simple like ruu.zip.
Boot your phone into the bootloader by holding the power and vol up/down buttons at the same time until you see the bootloader screen or if you have your phone booted you can use the ADB command:
Code:
adb reboot-bootloader
Now use these fastboot commands:
Code:
fastboot oem rebootRUU
Should see the Silver HTC logo. Now issue this command to flash your phone using the ruu.zip file:
Code:
fastboot flash zip ruu.zip
Now the first time you issue a command to flash firmware/ruu in fastboot it only prepares the flash. You have to issue the exact command again:
Code:
fastboot flash zip ruu.zip
The green status bar usually does not reach the 100% mark. When the output in the command window is complete, you can reboot:
Code:
fastboot reboot
or
Code:
fastboot reboot-bootloader
**Notes about the RUU.zip method. You still need to have the proper CID for the RUU. You can run the RUU.zip with super CID, but you will have to lock your bootloader first. If you are running the RUU.zip as base to downgrade all your firmware because you are going to then going to restore a stock Nandroid so the RUU might not be made for your MID, so you may need to edit the android-info.txt inside the ruu.zip to include your MID or CID.
Restoring using a RUU.exe
1. - Now we need to download the RUU (ROM Update Utility) that flash our device back to mostly stock. It can be downloaded HERE for US AT&T users. Other carriers should be able to find their appropriate RUU in this thread:
http://forum.xda-developers.com/showthread.php?t=2428276 or here: http://www.htc1guru.com/downloads/
If there is not a RUU for your phone, but there is a Stock Nandroid backup, you should still complete the step above. Just make note of your original CID and change yours to CWS__001 so the RUU will run. This will reset all your firmware and other modifications (like modified hboot and splash screens) back to the default stock level regardless of region.
Once downloaded run the RUU_M7_UL_JB_50_Cingular_US_1.26.502.12_Radio_4A.14.3250.13_10.33.1150.01_release_318450_signed_2.exe and it will guide you through resetting the device. After it finishes your device will be almost back to stock. It will have the stock images for recovery, boot, ROM, radio, firmware hboot, etc.
Stock Nandroid restores will require these additional steps before proceeding to step 2:
When you ran the RUU (Either EXE or ZIP) all data was wiped and your custom recovery was reset back to stock, It is recommended to keep this stock recovery in place and use a command that only works on the hboot 1.44 (which you know have form the RUU)
Download the latest version of the recovery that matches the stock Nandroid backup (Either CWM or TWRP) and place it in your ADB/fastboot folder.
Now use this command to boot that custom recovery without installing it:
Code:
fastboot boot TWRP.img or fastboot boot CWM.img
It should load the custom recovery. Now make a test backup and allow it to complete.
Now boot your phone (Do not take OTA updates if prompted) and look to see where exactly the recovery placed the backup. You can install a simple file manager from the play store for this. Take note of the location and folder structure that the recovery has used for the backup.
Now copy the downloaded stock backup files from your PC to that location in the last step. Be sure the folders are in the correct place.
Now reboot into the bootloader and then boot the custom recovery again using that same command as before:
Code:
fastboot boot TWRP.img or fastboot boot CWM.img
Restore the backup and reboot when finished. Important – Do not accept any OTA updates until the complete phone reset process is finished.
Now delete all your backup files and installed applications by doing a factory reset from Settings – Backup and Reset – Erase All Data From Phone. Software and firmware on your phone should be back to stock and you can continue with the next step in the guide.
**Before continuing with the guide make sure you have changed your CID back to stock if you changed it to a non stock one in order to run a RUU to downgrade firmware.**
******If you continue with the next 2 steps to lock the bootloader and you do not have a stock hboot, you will instantly BRICK your device. Shouldn't be an issue if the RUU ran correctly, however you may want to boot into the bootloader and verify that it shows version 1.44.0000 for the hboot. Also your custom recovery should be gone and back to stock (If you boot into the stock recovery it will just look like a red warning triangle with no options). If you are still able to boot into your custom recovery, it is a sign that not all partitions have been flashed back to stock and you should find out why before proceeding]******
Now that we have lots of users who have S-Off from other methods than revone, mainly the new rumrunner method here are the generic instructions for any S-Off device and not just for user with revone:
Before you can proceed with the 2 following threads for removing Tampered and then Locking you need to have Superuser installed. There are links to how to do this in each thread. You can also use this toolkit. Just remember to delete the SuperUser and busybox apk if installed before you return the phone.
2. - First remove the Tampered Flag. Instructions are in this thread
http://forum.xda-developers.com/showthread.php?t=2477792
3. - Second Lock the bootloader. Instructions are in this thread
http://forum.xda-developers.com/showthread.php?t=2475914
The older REVONE commands/instructions for Tampered and Locking:
I recommended using revone to gain S-off, so that is how we will undo it. If you don't still have it we will need the revone file again. It can be downloaded here: http://revolutionary.io/revone (From thread: http://forum.xda-developers.com/showthread.php?t=2314582and http://forum.xda-developers.com/showthread.php?t=2315467)
Push revone to your device:
Put the downloaded revone file in your adb/fastboot folder and push it using this command:
Code:
adb push revone /data/local/tmp/
open a adb shell by typing:
Code:
adb shell
Now change to that directory:
Code:
cd /data/local/tmp
Now set permissions
Code:
chmod 755 revone
Now re-lock the bootloader:
Code:
./revone -l
Remove Tampered flag:
Code:
./revone -t
The newer revisions of revone don't do the actual locking any longer but it should output the command you need to run to fully re-lock:
Type exit to exit the adb shell session and issue the command to re-lock the device:
Code:
fastboot oem writesecureflag 3
Now verify that it worked by booting into the bootloader:
Code:
adb reboot bootloader
You should see it say LOCKED at the top and S-On, just like it was out of the box!
I doubt anyone at the warranty repair center is going to snoop around a device that says Locked and S-On, but I like to cleanup and remove the revone file.
Just reboot the phone and skip over the setup wizard
Now start another adb shell session:
Code:
adb shell
Now change back to the folder where we put revone
Code:
cd /data/local/tmp
Now run this command to delete the revone file
Code:
rm revone
Now since you had to install SuperUser to perform the previous 2 steps make sure you unroot by deleting the Superuser.apk and busybox.apk (If installed) from the /system/app folder and also the su binary from /system/xbin on your phone.
If you ran a RUU your systems firmware and software is all reset back to stock. If you restored via Stock ROM reset or Nandroid you should be running the stock software but it could be on non stock (version mismatch) firmware.
In either case your bootloader should display Locked and no Tampered just like out of the box. Now all that’s left is to S-On. To do that issue this fastboot command:
Code:
fastboot oem writesecureflag 3
Done - device should be just like it was out of the box with no indication of any modding.
*******I am not responsible for any problems you encounter. I am simply informing you of what is needed to complete a restoration to Stock. Read all steps and commands carefully and perform them in the correct order.********
Credits/Thanks
Thanks to all those with threads I mentioned that contain great info and support. Especially scotty1223 for his Tampered removal and Locking threads.
This Guide is always available at my site: http://www.htc1guru.com/guides/return-stock-guide/
[EDIT]9-10-13 Post overhaul with how to combine Nandroid and RUU process to reset.
[EDIT]10-19-13 Post was changed to reflect new S-off, so changed the Tampered and Locking steps from revone
Great guide, this should be a sticky!
Kindly excuse me and no offense to the OP. But if you have S-OFF, all you have to do is change your CID back to your original and then run the RUU and you are nearly done Next thing is you have to lock the bootloader and have S-ON and that is it. You are now back to stock.
Very helpful guide. But it can't be said enough times YOU WILL BRICK YOUR DEVICE going S-ON with a non-stock HBOOT
The guide does mention this in the relevant section, but it should probably be noted somewhere near the top of the OP. In big red letters.
Sent from my HTC One using xda app-developers app
NxNW said:
Very helpful guide. But it can't be said enough times YOU WILL BRICK YOUR DEVICE going S-ON with a non-stock HBOOT
The guide does mention this in the relevant section, but it should probably be noted somewhere near the top of the OP. In big red letters.
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
That's why I think it's safer to just run the RUU because that will flash the stock HBOOT and then you can have S-ON back without the worry of bricking the device.
Nice work. But this block is incorrect and may lead to problems:
crushalot said:
2. - You will need the stock splash screen so we need to do the same procedure as above with the stock splash screen. Download the stock splash screen here: http://d-h.st/F7H (From thread:http://forum.xda-developers.com/showthread.php?t=2324746)
Rename the file so it has no spaces like stock_splash.zip and put it in your ADB/fastboot folder.
Reboot into bootloader:
Code:
adb reboot bootloader
Now run this command:
Code:
fastboot oem rebootRUU
You should see the screen turn to a silver HTC logo. Now run this command:
Code:
fastboot flash zip stock_splash.zip
If you get an output in the console that says "(bootloader) ...... Successful" proceed to next step. If any errors use this thread for troubleshooting: http://forum.xda-developers.com/showthread.php?t=2324746
Click to expand...
Click to collapse
Those splashes in my thread are designed to be flashed in recovery. They will not work in RUU mode because the zip file is constructed incorrectly for it. Best approach would be to just flash the stock splash in recovery in step one.
Alternatively, keep the instructions as is and use the stock splash from this post: http://forum.xda-developers.com/showpost.php?p=42374127&postcount=1
iElvis said:
Nice work. But this block is incorrect and may lead to problems:
Those splashes in my thread are designed to be flashed in recovery. They will not work in RUU mode because the zip file is constructed incorrectly for it. Best approach would be to just flash the stock splash in recovery in step one.
Alternatively, keep the instructions as is and use the stock splash from this post: http://forum.xda-developers.com/showpost.php?p=42374127&postcount=1
Click to expand...
Click to collapse
Yes, you are right sorry. So many threads I messed up the link. Kinda the reason I wanted to put all this in one place. I will update the OP and revise the first few steps to make it easier since the RUU should include the stock hboot and splash.
Thanks for all the feedback.
I thought you needed SU permission to run revone? Am I mistaken?
Do you need root access to push revone to the /data/local/tmp directory?
After running the RUU.exe file, wouldn't you lose root?
I just want to double check.
Dan37tz said:
I thought you needed SU permission to run revone? Am I mistaken?
Do you need root access to push revone to the /data/local/tmp directory?
After running the RUU.exe file, wouldn't you lose root?
I just want to double check.
Click to expand...
Click to collapse
No you don't need root to use it as it has a root hack in the binary itself. That's why in ieftm's post on the usage of revone to S-off has optional wording on step 3
"3. (optional) If your device is unlocked and rooted please switch to root using su."
However I can confirm that it has worked better for me when I didn't run it as SU.
No you do not need root to push files using adb, well at least not to /data. You probably would to push to /system
Correct, after running the RUU you lose root. That is why I manually flashed the hboot and splash back myself while still on my rooted rom with utilities and most importantly a recovery in which I could use to get back running and try again if something failed.
Rex2369 said:
Kindly excuse me and no offense to the OP. But if you have S-OFF, all you have to do is change your CID back to your original and then run the RUU and you are nearly done Next thing is you have to lock the bootloader and have S-ON and that is it. You are now back to stock.
Click to expand...
Click to collapse
Thanks updated post to simplify.
NxNW said:
Very helpful guide. But it can't be said enough times YOU WILL BRICK YOUR DEVICE going S-ON with a non-stock HBOOT
The guide does mention this in the relevant section, but it should probably be noted somewhere near the top of the OP. In big red letters.
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
Thanks but the updated post now avoids the possibility as we just let RUU flash all stock parts
Rex2369 said:
That's why I think it's safer to just run the RUU because that will flash the stock HBOOT and then you can have S-ON back without the worry of bricking the device.
Click to expand...
Click to collapse
Thanks. Reflected in updated OP
Very nice!!! Concise and to the point!!! THANK YOU !!!
It worked like a charm, I have AT&T Version, had S-ON, SuperCID, 1.29.401.12 firmware (not AT&T), and custom ROM. This brought me back right to Stock.
Now back to AT&T, my camera lens on the inside for some reason got hazy with a hue to it after having the phone for about a month.
To the OP you have done well. Hope to see more tutorials from you.
Sent from my HTC One
great guide!
TIP for Mac Users: I couldn't get the RUU to run in Windows 7 or Windows 8 VMware environments, but Windows XP did the trick.
Use VMWare with Windows XP Pro SP3.
what ruu i need for HTC_001?
what ruu i need for HTC_001?
So running RUU does not remove S-OFF? Also does updating from stock 4.1.2 to 4.2.2 with the official OTA remove S-OFF? I want to try the OTA but I'm a bit paranoid about losing the lovely S-OFF .
No running the RUU does not remove S-off. It just resets everything else except bootloader and Security (S-off) back to stock form.
The 4.2.2 OTA does not remove remove S-off, however if you have s-off I would recommend running a custom ROM as they are already way better than the stock 4.2.2 rom.
If you want a pure stock like rom that is 4.2.2 based and better than the HTC version I would recommend ARHD or RGUI. If you like to be able to customize things a little but stay close to stock then TrickDroid is they way to go. If you really like to tinker and customize than Viper will blow your mind.
tomer861 said:
what ruu i need for HTC_001?
Click to expand...
Click to collapse
from the CID, I assume your in Europe somewhere. What is your location and carrier?
Others that I saw with that CID said there is no RUU for that CID yet. I am not sure is that has changed or not. You will have to read through this thread:
http://forum.xda-developers.com/showthread.php?p=39588860
They at least have a nandroid backup of a HTC__001 so you could restore that and as long as your hboot, splash screen and firmware are stock, you could proceed with relocking.
isnt it possible to get completly back to the way it was by putting back a nandroid backup by clockwork? (by starting clockwork, not with the flashed version)
borgqueenx said:
isnt it possible to get completly back to the way it was by putting back a nandroid backup by clockwork? (by starting clockwork, not with the flashed version)
Click to expand...
Click to collapse
Not impossible. I just went back to stock on my first HTC One using TWRP. After restoring I flashed the stock recovery, used revone to lock the bootloader and put S-ON.

[GUIDE] Root Stock N using jcadduono's Recowvery tool. H830.

Using the following method I was able to successfully ROOT my H830 running stock 20A NOUGAT. With this root method you will get TWRP Recovery and SuperSU. This method WILL wipe your internal storage, so please BACKUP!​
Your warranty is now void. I am not responsible for bricked devices, dead SD cards, or lost photographs.
Please do some research if you have any concerns about root!​
I used jcadduono's method which he describes on the V20 forum [Easy Recowvery ALL CREDITS TO THE AUTHOR. PLEASE GO RATE HIS THREAD AND CLICK THANKS IF THIS WORKS FOR YOU!] https://forum.xda-developers.com/v20/development/h918-recowvery-unlock-v20-root-shell-t3490594​
1. Bootloader Unlock
For this method to work you must have an unlocked bootloader. Despite the fact that I already had an unlocked bootloader, after the upgrade to stock N, jcadduono's script failed to work initially and gave me an error message saying my bootloader was locked. To fix this I had to manually relock and unlock my bootloader one more time. Unlocking/Locking your bootloader will wipe the internal storage of the devices so backup before this step. If you however, already have an unlocked bootloader, feel free to skip this step and go on, although in the end you might have to return to it if you get a "bootloader locked" message in the Recowvery script. If you do skip these steps, don't forget to download the LG Drivers from below.
1. Download and install the latest LG Drivers from HERE
2. Download the minimal adb and fastboot tool from HERE. I recommend the portable version, which you can extract to your desktop.
3. On your phone, go to Developer Options and turn on Enable OEM Unlock.
4. Enter fastboot mode: Turn off your device, press and hold the volume down button, while holding the volume down button connect your phone to your computer by USB, continue holding the volume down button until your device enters into fastboot mode.
5. On your computer go to the folder which you extracted in step 2. Open a command window by holding down SHIFT, right clicking with you mouse inside the folder, and selecting "Open command window here"
6. In the command window type "fastboot oem unlock" to unlock your bootloader, this will erase all of your data.
7. Type "fastboot reboot" to reboot to system.
2. Installing TWRP using Recowvery
Prior to this step I HIGHLY recommend factory resetting your device, if you just unlocked your bootloader, your device was automatically factory reset so you are good to go. Once your phone turns on after a factory reset, I suggest signing into your google account and setting up your phone as if you are going to use it, we will not be factory resetting after this step. However do not download any apps or mess with the settings yet, you can do that later, once your device is successfully rooted.
1. On your computer, download Recowvery from HERE and extract the folder to your desktop.
2. Now on your phone enable USB Debugging in Developer Options.
3. Connect your phone to the computer and make sure File Transfer is chosen in the "Use USB connection for" pop-up.
4. On your computer, download the latest version of TWRP: H830 or H850
5. Rename the downloaded file to "recovery.img" and place it on your phone's internal storage [/storage/emulated/0]
6. On your computer, open the Recowvery folder you extracted in step 1, and click on EasyRecowvery.
7. Once there, type option "5" and "ENTER", in the "Extras and Advanced Tools Menu" disable integrity verification by typing option "7" and "ENTER". Return to the main Menu of Recowvery by typing option "0" and "ENTER"
6. After disabling integrity verification, run the exploit by choosing option "1"
7. Follow the prompts in Recowvery, your phone should reboot about two times in the process.
8. DO NOT Wipe Cache while in TWRP.
8. Once finished, your device should reboot to system and will have TWRP recovery, instead of the stock recovery. The only thing left now is to install SuperSU.
3. Installing SuperSU through TWRP
Although Recowvery does give you an option to install SuperSU through its interface, doing so caused problems in my case. Therefore I recommend manually booting into TWRP and installing SuperSU from there.
1. Download the latest version of SuperSU from HERE and place the .ZIP file on your phone's internal storage.
2. To boot into TWRP, go into the adb and fastboot folder, which I described in the very first steps of this tutorial. There, once again open a command window and type "adb reboot recovery".
3. You should now be in TWRP, there select Install, find the .ZIP file of SuperSU in the file explorer, and install it. DO NOT Wipe Cache after the installation.
4. Reboot to sytem, you should now have a rooted LG G5 with TWRP and SuperSU installed!
Credits:
jcadduono - Recowvery
RealPariah - Compiled Recowvery zip for LG G5
shimp208 - Minimal ADB
TWRP
SuperSU​
[Reserved]
I'll try this later tonight, I spent the whole night yesterday trying that. Thanks in advance. ???
Didn't work for me. Thanks for this though. The script actually made it's way through this time (multiple times at this point), but whenever I try to adb reboot recovery I get the "No Command" screen (which I believe is still the stock recovery?). Success all the way through. Don't know what I could be missing.
Also tried manually pushing the recovery image via adb thinking there might be an "Internal Storage" (as seen by pc) vs "/storage/emulated/0" on the phone. No dice either way.
Dumboguy03 said:
Didn't work for me. Thanks for this though. The script actually made it's way through this time (multiple times at this point), but whenever I try to adb reboot recovery I get the "No Command" screen (which I believe is still the stock recovery?). Success all the way through. Don't know what I could be missing.
Also tried manually pushing the recovery image via adb thinking there might be an "Internal Storage" (as seen by pc) vs "/storage/emulated/0" on the phone. No dice either way.
Click to expand...
Click to collapse
To me it seems like your recovery is not flashing, make sure to download the latest version of TWRP, rename it "recovery.img", and place on the internal storage of the device. If still doesn't work, try a complete clean start. Relock and unlock your bootloader again.
To be safe, I would remove "others try at your own risk" as it will not work and could possibly brick any model other than the H830 and H850. All other models are bootloader locked and I have tested myself; it won't work on anything else.
It worked! Thank you so much.
It worked! Thank you!!!👍👍👍
Sent from my LG-H830 using XDA-Developers mobile app
If you however, already have an unlocked bootloader, feel free to skip this step and go on, although in the end you might have to return to it if you get a "bootloader locked" message in the Recowvery script.
What do you mean with thiz sentence? We cant unlock our bootloader its not supported, can we still try this method?
Will this trigger some flag or fuse? Or with the flash of the firmware though lgup and locking the bootloader will create a Perfect stock device?
Can someone confirm it works on H850
yken said:
If you however, already have an unlocked bootloader, feel free to skip this step and go on, although in the end you might have to return to it if you get a "bootloader locked" message in the Recowvery script.
What do you mean with thiz sentence? We cant unlock our bootloader its not supported, can we still try this method?
Click to expand...
Click to collapse
No, you have to have an unlocked bootloader. I meant if you already unlocked your bootloader, you can skip this step. Possibly it will work once we get bootloader unlocks for other variants of the G5.
Do I have driver issues? Adb recognizes phone when turned on. When in fastboot only waits for device to connect.
Sent from my LG-H830 using Tapatalk
Tinbender418 said:
Do I have driver issues? Adb recognizes phone when turned on. When in fastboot only waits for device to connect.
Sent from my LG-H830 using Tapatalk
Click to expand...
Click to collapse
The drivers in the post should work for both fastboot and adb. What do you mean, "when in fastboot only waits for device to connect"? You can run the "fastboot devices" command there to see if the device is recognized.
Will not let me run any commands. Just says waiting for device. Crazy, I know.
Sent from my LG-H830 using Tapatalk
Looks like hd on pc is going.
Sent from my LG-H830 using Tapatalk
adb and fastboost not recognizing my phone even after installing drivers
Finally got root back. My problem was getting adb to work but I had no problems with minimal adb and fastboot. Thanks for the tutorial.
Will we be able to flash the current roms that our out?
Sent from my LGE LG-H830 using XDA Labs
Running in normal exploit mode
Press any key to continue . . .
- - - Making sure we're good to go - - -
Checking permissions in the EasyRecowvery directory...Checking that the exploit files exist...SUCCESS!
Locating adb.exe... SUCCESS!
Looking for ADB device...
This device doesn't look like a T-mobile V20. Proceed anyway? (DANGEROUS!)
(Y/N) y
Checking unlock status... error: device '*' not found
FAILED!
Your device does not appear to be unlocked.
Please boot into fastboot mode and run:
fastboot oem unlock
From your computer, then try again.
http://i.imgur.com/2BhNatP.png
Press any key to continue . . .
so this is what i am running into. I know with 100% certainty that the device is oem unlocked. I get the whole, "your device software can not be checked for corruption" screen and everything.
i started the process completely stock, with oem locked. I unlocked it as per your instructions and followed everything closely as far as I can tell. i have tried to re-lock oem . reboot and then unlock it again twice, as well as rebooting pc and G5 multiple times. usb debugging is turned on, and usb options are set to file transfer. still same result.
Any ideas?
EDIT: i will leave the whole post up in case some one makes the same mistakes i did and this helps them out. What i needed to do to fix this was simply set "use usb connection for " to photo transfer instead of file transfer.
Now i am stuck on :\Users\test\Desktop\LgG5 RooT\minimal_adb_fastboot_1.4.1_portable>adb reboot recovery
error: no devices/emulators found like another person before me. hopefully this will be figured out soon
EDIT#2: used adb reboot recovery command with phone turned on and on main screen of launcher, not fast boot, like i was trying at first. and twrp loaded up fine.
dont have a sd card to put superuser.zip on and it seems like i can't reach the internal storage download folder through twrp, or atleast i could not find it, so i ended up sideloading it by going to sideload in twrp and typing "adb sideload SR1-SuperSU-v2.79-SR1-20161221223537.zip"
into it.
i hope that documenting all my mistakes and solutions for everyone to see will help someone running into the same problems i was.

re-locking boot loader & restore

How can I relock the boot loader and restore my Stylo 2 to factory default? Provider is T-mobile.
fastboot flash oem lock.
Note however if you used twrp this will brick your device unless you flash the original recovery first. Provided you got the kdz or LG bridge you should be able to just lock put in download mode and use the repair recovery option.I'm not responsible if you brick your device. Good luck
Frosthaxx said:
fastboot flash oem lock.
Note however if you used twrp this will brick your device unless you flash the original recovery first. Provided you got the kdz or LG bridge you should be able to just lock put in download mode and use the repair recovery option.I'm not responsible if you brick your device. Good luck
Click to expand...
Click to collapse
I had used LG Bridge to reflash my phone so I believe that I have original recovery on the phone. How can I verify?
When I enter fastboot flash oem lock I get < waiting for device> on my terminal screen and thats it?
Once you have the phone wiped completely back to default (including recovery) with the LG tools. Enable developer mode, and then enable USB debugging. While it is plugged into your PC navigate to the folder where you have the ADB applications in CMD or add the location to your Environment variables. The latter will allow you to launch ADB/fastboot commands from any location in CMD. I definitely suggest this. With your phone connected run "adb devices" to make sure that it sees your device. Then run "adb reboot-bootloader" to reboot into the bootloader. While on that screen run the command "fastboot flashing lock_critical". It should prompt OKAY then give the time it took and also that all of the user data was deleted. Then finish up by typing "fastboot reboot". That will put the phone back into a normal mode. Boom, you are done.
Help
When I use the fastboot oem lock, at the moment when I power on the phone in the screen appears the text "Your device has failed a routine safety check and will not boot.
This may be a temporary problem.If this message occurs rerepeatedly, visit this link on another device and refer to the Red case: g.co/ABH
I have two days looking for the solution, and I didn't found anything

Categories

Resources