Restore stock Recovery, Relock to restore install original rom - Sprint HTC One (M8)

Htc m8 has been bootload unlocked, TWRP recovery installed, S-on still. I have backup stock rom using TWRP, and I restore the stock rom using TWRP with backup files. When it android, it keep popup alot error message and missed all the soft Nav key.
Now, what's better suggestion beside run RUU for total restore to stock? To run RUU on S-on device, I need to relock and restore stock recovery right??

Tekone said:
Htc m8 has been bootload unlocked, TWRP recovery installed, S-on still. I have backup stock rom using TWRP, and I restore the stock rom using TWRP with backup files. When it android, it keep popup alot error message and missed all the soft Nav key.
Now, what's better suggestion beside run RUU for total restore to stock? To run RUU on S-on device, I need to relock and restore stock recovery right??
Click to expand...
Click to collapse
You just need to re-lock the bootloader to run the RUU.

Sloth said:
You just need to re-lock the bootloader to run the RUU.
Click to expand...
Click to collapse
Thanks Mod, do you have any quick guide to re lock bootloader?

Code:
fastboot oem lock
From bootloader...fastbootusb

Sloth said:
Code:
fastboot oem lock
From bootloader...fastbootusb
Click to expand...
Click to collapse
More detail please.. I'm on the bootloader and connected with usb cable to win7. Driver installed. Can't remember how to run fastboot

Tekone said:
More detail please.. I'm on the bootloader and connected with usb cable to win7. Driver installed. Can't remember how to run fastboot
Click to expand...
Click to collapse
If you have adb/fastboot installed and working on your PC...navigate to the directory where they are located. Hold the shift key while right-clicking in that folder, and select "Open command prompt here" from the context menu. If your phone is in the bootloader menu, and connected to your PC, the phone screen should say fastboot USB. Enter the command "fastboot oem lock"
Sent from my One M8 using Tapatalk

Related

Restoring back to stock problem

Tried to relock..then store using RUU.
however it just fails.
i'm unsure which RUU to use anymore...
any help please...
i need this restore completely back to stock, eg. recovery, rom, bootloader.
calvin8369 said:
Tried to relock..then store using RUU.
however it just fails.
i'm unsure which RUU to use anymore...
any help please...
i need this restore completely back to stock, eg. recovery, rom, bootloader.
Click to expand...
Click to collapse
you have to lock and then unlock your bootloader through htc dev, only after that the RUU .zip or .exe will work
my phone is currently unlocked.
but i don't think there's a RUU for my version.
how do i check this?
Anyone?
You need cid specific ruu, go into bootloader, fastboot, connect to usb, and if you used the mini-sdk from Mike's thread open command prompt in the sdk folder and type in "fastboot getvar cid" no quotes, this should give you your cid and from there you can figure out your correct ruu
Sent from my HTC One using xda app-developers app
it says htc_0039
how do i revert everything back to stock.
Have you even read this? http://forum.xda-developers.com/showthread.php?t=2265618 under "Going back to Stock" there should be everything you need
calvin8369 said:
how do i revert everything back to stock.
Click to expand...
Click to collapse
Unfortunately there's no RUU for your HTC One with CID HTC__039. I'm guessing you have version 1.29.980.2. The only way I can think of is if you restore your nandroid backup ( I do hope you made one) and flash the stock recovery and unroot the HTC One. Even the tutorial above you can only use the Method 3
Method 3 - flashing nandroid backup
In custom recovery restore nandroid backup you did after flashing custom recovery for the first time.
If you performed nandroid backup before permanently flashing custom recovery, your stock recovery should be now flashed.
If you still have custom recovery, extract recovery.img from your nandroid backup.
Move recovery.img to c:\mini-sdk location
Connect your device to the PC
Boot your device in fastboot mode (like you did during unlocking bootloader - power off the device and turn it on using power + vol down buttons and select "FASTBOOT")
Open up command prompt ( Start > Run > type cmd and hit enter ). The window that appears is called Command Prompt. <click here to see the image>
Navigate to where you unzipped "mini-sdk" package (type in Command Prompt: cd c:\mini-sdk). Note: make sure the path is not c:\mini-sdk\mini-sdk
In the Command Prompt type following command: fastboot flash recovery recovery.img
You have now stock boot, system and recovery partitions. Time to relock your bootloader.
In the Command Prompt type following command: fastboot oem lock
Click to expand...
Click to collapse
Even if you didn't do a backup (which you really really should have) there is this thread here http://forum.xda-developers.com/showthread.php?p=39588860 that has a CWM recovery of your CID "M7 CWM Nandroid Backup / CID HTC__039 / 1.29.980.2"
how to check the version????
kurby said:
Even if you didn't do a backup (which you really really should have) there is this thread here http://forum.xda-developers.com/showthread.php?p=39588860 that has a CWM recovery of your CID "M7 CWM Nandroid Backup / CID HTC__039 / 1.29.980.2"
Click to expand...
Click to collapse
I know there is but I wouldn't be confident about using someone else nandroid backups.
---------- Post added at 02:24 PM ---------- Previous post was at 02:23 PM ----------
calvin8369 said:
how to check the version????
Click to expand...
Click to collapse
Go to Settings>About>Software information

Please help, possible brick after following guide to flash firmware

I was following Vomer's guide on my One, which has been working great. I had HBOOT 1.54, S-Off, SuperCID, and pushed the firmware twice, got the success message, and waited and when it says finished used adb to tell it to reboot. Now I get the splash, with the lock gone, as expected, and then the screen goes black. If I hold power, or power and down, the hardware keys start blinking and then nothing. A few seconds later I get the splash again, then blank again.
It appears to be communicating briefly over USB because my laptop starts trying to install a HTC MTP device (drive is already on the PC and has been fine) before it looses comms and drops out. I can't seem to get adb device to recognize it....
PLEASE tell me someone can help me recover my phone!!! I will be immensely grateful.
And what the HBOOT version you wanted to downgrade to?
Ivanovic said:
And what the HBOOT version you wanted to downgrade to?
Click to expand...
Click to collapse
I wasn't trying to downgrade HBOOT, just rather ensure my firmware was up to date. I'd had mine set up as a GPE and was flashing the DE (after supercid).
By way of an update, I've been able to get into bootloader and I'm a bit scared on what to do next so I dont screw this up. I notice that I still have S-OFF, but HBOOT is now showing 1.56 and it says RELOCKED at the top. My plan was to use rumrunner (just because of the HBOOT, but it is erroring anyway) to unlock bootloader, and then to look up the fastboot commands to push a ROM and recovery. Any advice?
Downgrade to 1.44 and change cid according to the Rom you want. Then unlock or set your bootloader to LOCKED
Here is the file for 1.44 http://www69.zippyshare.com/v/95229262/file.html
Sent from my HTC One using Tapatalk
Can you help me with the adb commands to flash that boot zip? Also, should I run " fastboot flash unlocktoken Unlock_code.bin" to unlock my bootloader first?
vettejock99 said:
Can you help me with the adb commands to flash that boot zip? Also, should I run " fastboot flash unlocktoken Unlock_code.bin" to unlock my bootloader first?
Click to expand...
Click to collapse
You can unlock if you want to flash custom recovery.
Place the file i gave you to the fastboot folder. Boot into bootloader and choose FASTBOOT.
Run the following : fastboot oem rebootRUU
fastboot flash zip filename.zip *where filaname the actual filename of the file i gave you
You will get FAILED or sth so do this command again to succesfully flash the firmware.
Ivanovic said:
You can unlock if you want to flash custom recovery.
Place the file i gave you to the fastboot folder. Boot into bootloader and choose FASTBOOT.
Run the following : fastboot oem rebootRUU
fastboot flash zip filename.zip *where filaname the actual filename of the file i gave you
You will get FAILED or sth so do this command again to succesfully flash the firmware.
Click to expand...
Click to collapse
Awesome. So I've got HBOOT 1.44, S-OFF, bootloader unlocked, supercid, and TWRP 2.6.3.3 flashed again, and I tried sideloading ARHD rom. It all looked good but same thing for the moment, I get the splash and then black......I can't figure out why I can't boot into a rom right now. About to try flashing ROM again.
Okay, so didnt' work. After sideload flashing gets to 100% it just does nothing. Manually rebooting gets me back into the splash then blackness bootloop......
Can you issue fastboot clear cache in bootloader and see the outcome?
Also as you are Soff, you can run dev ruu
SaHiLzZ said:
Can you issue fastboot clear cache in bootloader and see the outcome?
Also as you are Soff, you can run dev ruu
Click to expand...
Click to collapse
The former didn't get me anywhere, but I did follow your thinking and decided to use the RUU and start over. I'm happy to report that got me going, and then I was able to get AR HD on. I probably had to do that all along once I wiped the ROM and recovery, as sideloading clearly wasn't going to work (in retrospect) as it has an AROMA installer.
Thanks so much everyone!!
SaHiLzZ said:
Can you issue fastboot clear cache in bootloader and see the outcome?
Also as you are Soff, you can run dev ruu
Click to expand...
Click to collapse
Nice that everything is solved now.
Verstuurd van mijn HTC One

[Q] Quick unroot question

I want to return to stock so I can take an OTA. I am currently running Sprint 4.3, rooted, unlocked bootloader, S-ON, software version 3.04.651.2.
I have been reading up on the proper way to return to stock and just want to double check that I have the right information before i break something.
1. Download 3.04.651.2 RUU (or do I want 4.06.651.4 or 4.06.651.2?)
2. USB debugging turned on
3. nandriod
4. go into fastboot
5. Connect phone to computer and go to Andriod SDK folder platform-tools and open a command window
6. type fastboot oem lock in the command window
7. go back to fastboot and run the RUU (how exactly do I run the RUU?)
8. Am I done now? Will these steps give me the stock rom, locked bootloader and stock recovery?
is this how I flash the RUU from the command window?
Fastboot oem rebootRUU
Fastboot flash zip firmware.zip (if filename = firmware.zip)
Fastboot reboot
Thanks for the clarification.
Kev1jm2 said:
I want to return to stock so I can take an OTA. I am currently running Sprint 4.3, rooted, unlocked bootloader, S-ON, software version 3.04.651.2.
I have been reading up on the proper way to return to stock and just want to double check that I have the right information before i break something.
1. Download 3.04.651.2 RUU (or do I want 4.06.651.4 or 4.06.651.2?)
2. USB debugging turned on
3. nandriod
4. go into fastboot
5. Connect phone to computer and go to Andriod SDK folder platform-tools and open a command window
6. type fastboot oem lock in the command window
7. go back to fastboot and run the RUU (how exactly do I run the RUU?)
8. Am I done now? Will these steps give me the stock rom, locked bootloader and stock recovery?
is this how I flash the RUU from the command window?
Fastboot oem rebootRUU
Fastboot flash zip firmware.zip (if filename = firmware.zip)
Fastboot reboot
Thanks for the clarification.
Click to expand...
Click to collapse
If you have a (S-ON) device you can go to OMJ's thread and run the RUU.exe for instructions:
http://forum.xda-developers.com/showthread.php?t=2658910
read the instructions under the image on the page...
If you want to flash the modified firmware you need (S-OFF), then you would follow these instructions:
I downloaded 4.06.651.4..
then renamed 4.06.651.4.zip to "firmware.zip"..
then moved firmware.zip to 'where-ever fastboot & adb are installed'..
then open command prompt in that folder..
then rebooted to bootloader..
plug phone through USB port, phone should say FASTBOOT USB
cmd: "fastboot oem rebootRUU" (without quotes of course)
cmd: "fastboot flash zip firmware.zip"
cmd: "fastboot reboot" (to reboot)
Hope this helps!
predator1584 said:
If you have a (S-ON) device you can go to OMJ's thread and run the RUU.exe for instructions:
http://forum.xda-developers.com/showthread.php?t=2658910
read the instructions under the image on the page...
If you want to flash the modified firmware you need (S-OFF), then you would follow these instructions:
I downloaded 4.06.651.4..
then renamed 4.06.651.4.zip to "firmware.zip"..
then moved firmware.zip to 'where-ever fastboot & adb are installed'..
then open command prompt in that folder..
then rebooted to bootloader..
plug phone through USB port, phone should say FASTBOOT USB
cmd: "fastboot oem rebootRUU" (without quotes of course)
cmd: "fastboot flash zip firmware.zip"
cmd: "fastboot reboot" (to reboot)
Hope this helps!
Click to expand...
Click to collapse
The OMJ thread says its for 4.06.651.4. I have 3.04.651.2. Is that a problem or can I still use it?
Kev1jm2 said:
The OMJ thread says its for 4.06.651.4. I have 3.04.651.2. Is that a problem or can I still use it?
Click to expand...
Click to collapse
The 4.06.651.4 RUU is the same as taking the OTA but...it will wipe your device
I would suggest getting s-off before you go any further it will save you headaches down the road.
Kev1jm2 said:
The OMJ thread says its for 4.06.651.4. I have 3.04.651.2. Is that a problem or can I still use it?
Click to expand...
Click to collapse
no luck with the s-off way. got a file size error in cmd. trying the s-on version now.
Nope, got another error. Something about using an incorrect ruu. Bootloader is locked now though...And now its unlocked again. going to try OMJ's tool with the 3.04.651.2 ruu
OMJ's tool worked when my software version matched the tool's version. getting the OTA now. Apparently you cant jump software versions.
Thanks for your help.
Kev1jm2 said:
no luck with the s-off way. got a file size error in cmd. trying the s-on version now.
Nope, got another error. Something about using an incorrect ruu. Bootloader is locked now though...And now its unlocked again. going to try OMJ's tool with the 3.04.651.2 ruu
OMJ's tool worked when my software version matched the tool's version. getting the OTA now. Apparently you cant jump software versions.
Thanks for your help.
Click to expand...
Click to collapse
I did not have to relock my phone to RUU it for a repair at HTC. If you run into trouble just reapply your token.bin file to re unlock dev mode and try again. I agree though S-OFF is the way to go if you can sort it out.

[Q] htc one m7 ul soft bricked, no recovery, s-on, bootloader relocked

Hi, i know i'm an idiot. someone please help me
i have an htc one (m7)
unlocked bootloader (wroked fine)
tried rooting (worked fine)
installed custom recovery
tried flashing a custom rom, my nephew pressed the power button and the computer shut down.
now i have an expensive brick to play with.
have been looking for an ruu file to flash via hassoon's toolkit but i have found nothing but broken files.
CID: HTC001
modelid: pn0710000
Bootloader: relocked
S-on
No recovery installed. (error comes up when trying to flash a new one via fastboot cmd)
Please help! :good:
darrylu8 said:
Hi, i know i'm an idiot. someone please help me
i have an htc one (m7)
unlocked bootloader (wroked fine)
tried rooting (worked fine)
installed custom recovery
tried flashing a custom rom, my nephew pressed the power button and the computer shut down.
now i have an expensive brick to play with.
have been looking for an ruu file to flash via hassoon's toolkit but i have found nothing but broken files.
CID: HTC001
modelid: pn0710000
Bootloader: relocked
S-on
No recovery installed. (error comes up when trying to flash a new one via fastboot cmd)
Please help! :good:
Click to expand...
Click to collapse
The PC has nothing to do with flashing a rom ... what really happened
clsA said:
The PC has nothing to do with flashing a rom ... what really happened
Click to expand...
Click to collapse
it was while i tried to flash via the toolkit. was an error message came up, (can't remember what it said)
i just need to find a way to get s-off while my phone has nothing on it. theres no recovery (option is there though!)
i have bootloader/fastboot access. read somewhere that i have to relock the bootloader to flash an ruu. but others say i need s-off and the bootloader doesn't matter. its getting quite frustrating lol
darrylu8 said:
it was while i tried to flash via the toolkit. was an error message came up, (can't remember what it said)
i just need to find a way to get s-off while my phone has nothing on it. theres no recovery (option is there though!)
i have bootloader/fastboot access. read somewhere that i have to relock the bootloader to flash an ruu. but others say i need s-off and the bootloader doesn't matter. its getting quite frustrating lol
Click to expand...
Click to collapse
Yeah calm down ...
ditch the toolkit and just install fastboot/adb
use the zip below to make a fastboot folder in c:\
we'll be working from their
I'll post the steps you need to get your phone up and running
clsA said:
Yeah calm down ...
ditch the toolkit and just install fastboot/adb
use the zip below to make a fastboot folder in c:\
we'll be working from their
I'll post the steps you need to get your phone up and running
Click to expand...
Click to collapse
Unlock the bootloader at HTCDEV
then from fastboot USB
Flash recovery TWRP 2.6.3.3
http://techerrata.com/browse/twrp2/m7
fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
fastboot erase cache
fastboot reboot-bootloader
then sideload this Rom to your phone
http://www.androidrevolution.org/downloader/download.php?file=Android_Revolution_HD-One_31.6.zip
TWRP / Advanced / ADB Sideload - swipe to sideload
From PC adb / fastboot folder
you use
adb sideload name-of-rom.zip
make sure the rom is in the same folder as adb / fastboot

HTC One Stuck on Bootloader

I've accidentally erased everything on my HTC One, including the ROM I had on there and the ROM install file. I am now stuck in the Bootloader screen and only options I have are to enter TWRP v2.6.3.3. Is there a way that I can flash a ROM via USB in the Bootloader? I've tried resetting my phone and it comes up with the HTC logo on the white screen and won't boot.
return to stock rom
Chaos Water2 said:
I've accidentally erased everything on my HTC One, including the ROM I had on there and the ROM install file. I am now stuck in the Bootloader screen and only options I have are to enter TWRP v2.6.3.3. Is there a way that I can flash a ROM via USB in the Bootloader? I've tried resetting my phone and it comes up with the HTC logo on the white screen and won't boot.
Click to expand...
Click to collapse
Restart from scratch find the ruu.exe for your phone make sure it has the right specs of your phone (android,sense,and service provider) once found follow these instructions
1.) Go to Fastboot
2.) Run the commands
fastboot oem lock
fastboot reboot-bootloader
fastboot oem rebootRUU
3.) Run the RUU
The first command locks your bootloader (allowing RUU), the third command allows the RUU to run on your phone without having to actually boot all the way (normally it just boots into this screen for you).
This will put you back to ur stock Rom when rooting again make sure to make backups of everything or you will have same problem again
Make sure you have all the updated drivers for your computer
Chaos Water2 said:
I've accidentally erased everything on my HTC One, including the ROM I had on there and the ROM install file. I am now stuck in the Bootloader screen and only options I have are to enter TWRP v2.6.3.3. Is there a way that I can flash a ROM via USB in the Bootloader? I've tried resetting my phone and it comes up with the HTC logo on the white screen and won't boot.
Click to expand...
Click to collapse
adb works in custom recovery, you can push, sideload, or OTG a ROM to your phone,
check the Frequently Asked Question sticky page 3
smokeytime420 said:
Restart from scratch find the ruu.exe for your phone make sure it has the right specs of your phone (android,sense,and service provider) once found follow these instructions
1.) Go to Fastboot
2.) Run the commands
fastboot oem lock
fastboot reboot-bootloader
fastboot oem rebootRUU
3.) Run the RUU
The first command locks your bootloader (allowing RUU), the third command allows the RUU to run on your phone without having to actually boot all the way (normally it just boots into this screen for you).
This will put you back to ur stock Rom when rooting again make sure to make backups of everything or you will have same problem again
Make sure you have all the updated drivers for your computer
Click to expand...
Click to collapse
A RUU.exe file only requires the bootloader locked if S-ON. When the bootloader is locked, the RUU is executed with a double click in Windows. There is no need to do the other steps in 2, they are only needed if the RUU is a zip file. Here are the steps for flashing RUU.zip:
In bootloader/FASTBOOT USB, flash it:
fastboot oem rebootRUU
fastboot flash zip ruu.zip
fastboot flash zip ruu.zip <- yes TWICE, the first one will report “failed flush again”, the second one will succeed.
fastboot reboot-bootloader
that is true
majmoz said:
A RUU.exe file only requires the bootloader locked if S-ON. When the bootloader is locked, the RUU is executed with a double click in Windows. There is no need to do the other steps in 2, they are only needed if the RUU is a zip file. Here are the steps for flashing RUU.zip:
In bootloader/FASTBOOT USB, flash it:
fastboot oem rebootRUU
fastboot flash zip ruu.zip
fastboot flash zip ruu.zip <- yes TWICE, the first one will report “failed flush again”, the second one will succeed.
fastboot reboot-bootloader
Click to expand...
Click to collapse
That is true method is similar but this is how I got my phone to return to stock be for I could go anywhere else I tryed reflashing a recovery it didn't take I even tryed flashing the ruu.zip through fastboot it always failed on me since I couldn't go any further than that I searched other methods of flashing ruu that's what I came across and it worked for me also if you have s-off this usually turns it back on it did for me on step 2 not all of those steps are needed but the last one is what gets the phone ready to receive the info from the ruu.exe being run on a computer

Categories

Resources