yashsingh1/xdaforums huggingface dataset:
[Verizon HTC One (M7)] tpierce67:
This is what i get when i try to flash a customer reovery

C:\Fastboot>fastboot flash recovery ope

sending 'recovery' (8504 KB)...

OKAY [ 1.156s]

writing 'recovery'...

(bootloader) signature checking...

FAILED (remote: signature verify fail)

finished. total time: 1.987s

I need to find a way to unlock the bootloader. I'm stuck in bootloader mode.

---------- Post added at 02:15 PM ---------- Previous post was at 02:07 PM ----------

my bootloader screen reads

tampered

relocked

security warning

M7_WLV PVT SHIP S-ON RH

I'm not sure what happened since yesterday but I left my office it still read S-Off. I tried to install Rummrunner but since I can't enable USB debugging it won't flash.
[Verizon HTC One (M7)] 123421342:
Use your unlock token
[Verizon HTC One (M7)] tpierce67:
Thank you for the reply. I used rummrunners method for unlock and S-Off. My HTC One is a Verizon model and not unlockable on the HTCdev website. so I don't have a token.
[Verizon HTC One (M7)] jntdroid:
[MENTION=2984057]tpierce67[/MENTION] - did you try the echo command he mentioned a few posts back to get it to read unlocked again? Edit: I think it just now clicked (re-read through for the 3rd time) why you probably weren't able to run that command... no custom recovery, no rom, no adb...

[MENTION=1915413]bmt626[/MENTION] - so I take it SuperCID isn't necessary before running this?
[Verizon HTC One (M7)] bmt626:
Nope I left my Cid as vzw
[Verizon HTC One (M7)] kobusestas:
Does this only work if you have the unlock token? or are you able to use this method if you used RumRunner Method to get S-Off?
[Verizon HTC One (M7)] bmt626:
I would assume both but I only used rumrunner I don't have an unlock token
[Verizon HTC One (M7)] kobusestas:
And it worked for you without having the unlock token? My goal is to simply have the option to return to S-ON stock Locked in case I ever needed it. I used RumRunner to unlock my device.
[Verizon HTC One (M7)] skinney:
I was able to do this without issues.. but It's showing tampered and I have no custom recovery?

Am I screwed for now? Or is there anything additional I can do? PC won't read it.. and it won't boot..

I have the option for recovery but it kicks me back out to fastboot..
[Verizon HTC One (M7)] tpierce67:
The Echo command is an ADB command and I can't get that far. I'm running out of options.
[Verizon HTC One (M7)] jntdroid:
[MENTION=1915413]bmt626[/MENTION] - thanks again for this... I'm about to run it, but have one random, anal question... do you see any reason at all that I would need my sim in and the phone activated for this to work? I can't think of one, but just wanted to throw it out there to make myself feel better before running this :)
[Verizon HTC One (M7)] webbyz:
When I go through this and do fastboot flash zip Rom.zip I get an error back saying:

load_file: could not allocate 1206550528 bytes

error: cannot load 'Rom.zip': Not enough space

How do I free up enough space to transfer the file to the phone?
[Verizon HTC One (M7)] kdj67f:
I would say to delete or transfer about 1.5 Gb of pictures or music from memory. Is your memory full?
[Verizon HTC One (M7)] scotty1223:
Try:

Fastboot erase cache

While in ruu mode
[Verizon HTC One (M7)] webbyz:
Tried it. Same error. And I have 12GB free of data so I am not sure why it is saying that I don't have enough room. Do I need to format a partition to wipe out the existing ROM?
[Verizon HTC One (M7)] scotty1223:
Hmmm. Try prior to entering ruu mode. I've had that error before,I was pretty sure clearing cache fixed it. Maybe in some combination of some unplug/replug and rebooting the bootloader fastboot reboot-bootloader
[Verizon HTC One (M7)] mjs31:
Ok, during the echo part I get "dd" is not recognizable as an internal or external command? Am I not supposed to put that in there?

Update: When I use fastboot devices it shows my device is connected. When I then try adb shell it says device not found...at a loss on this one.
[Verizon HTC One (M7)] scotty1223:
yes,you need to copy that command exactly.

you need to be in an adb shell,with root access. i.e.,you need to have a # prompt in your cmd window

adb shell

then if your prompt changes to a $

su
[Verizon HTC One (M7)] mjs31:
Not sure what is up. I do not have the # but rather >. I am rooted, it says unlocked and S-off. Fastboot devices returns the device but adb shell just says device not found

UPDATE: Disregard....I am an idiot ;)

---------- Post added at 07:15 PM ---------- Previous post was at 06:50 PM ----------

I am getting the following error with the RUU though. FAILED [remote: 32 header error].

I have retried over 10 times
[Verizon HTC One (M7)] mjs31:
Anyone know what caues the Failed (remote: 32 header error)?

I keep getting this when trying to fastboot flash zip Rom.zip

I have tried on both windows 7 and Mac and even downloaded the RUU again. Keep getting this error

update: I have a feeling size does matter. I just noticed that all of my complete downloads for the RUU are a different size and none are the listed size. Not sure why I am not getting complete downloads on any computer.

Last Update: was able to get a complete download by using a different browser. No issues since then so all good to go.
[Verizon HTC One (M7)] Kyndrai:
I have OS-1.10.605.15. Will the .10 signed RUU still flash or am I wasting my time downloading it?

EDIT: I tried it and it worked!
[Verizon HTC One (M7)] webbyz:
Still no luck. Still have the same error due to lack of free space. Again still a lot of room free, so I am not sure what the issue is. The Locked/Unlocked flag would not affect this would it?

Any other thoughts on things to try?
[Verizon HTC One (M7)] Kojoez:
The link is broken

The link for the RUU is broken and says the account is permitted all i want to do is be able to go back to stock and update my phone but i keep entering my custom recovery and nothing happens help....
[Verizon HTC One (M7)] GrayBoltWolf:
Thanks a bunch for this. Helped me get my phone back to stock so I could send it in for the blown speaker.

BTW though, update the OP with this link to the decrypted RUUs for other users: http://flyhalf205.com/index.php?dir=RUU
[Verizon HTC One (M7)] dva010:
If I am currently on santods odexed debloated. 15 rom with. 15 firmware. Can I use this guide to get back to stock locked s-on with the. 8 signed RUU.

Thanks in advance guys
[Verizon HTC One (M7)] scotty1223:
yes. but id recomend to leave s off,unless you have to send it in for legitimate warranty repair. even then,id personally leave it s off,in case they send the same device back.
[Verizon HTC One (M7)] dva010:
Sweet. I'm trying to do a full factory reset. Been having major issues with 4G just not working at all. Can I just flash the RUU and not lock bootloader, as well as keep s-off?
[Verizon HTC One (M7)] scotty1223:
Yep. Just run the RUU, then do a factory reset from hboot
[Verizon HTC One (M7)] dva010:
Possible to just use Flashify to flash the RUU or do I absolutely have to do fastboot?
[Verizon HTC One (M7)] scotty1223:
No idea what that is. I would recommend to use fastboot
[Verizon HTC One (M7)] dva010:
Only reason I ask is because I cannot get my computer to recognize my phone in fastboot. Windows 8.1 is causing some issue for a lot of people, including myself
[Verizon HTC One (M7)] scotty1223:
Yep... since phone crap is 95 percent of what I do with my computer, I stayed with Windows 7 :p
[Verizon HTC One (M7)] Tigerstown:
Ubuntu is your answer . Windows is trash . Just my opinion..ubuntu has yet to fail me one time ever.

sent from my JAVA CARD S-OFF FAUX HBOOT BLUE HTC ONE! using the XDA premium app.
[Verizon HTC One (M7)] dva010:
May have to give it a shot
[Verizon HTC One (M7)] kdj67f:
I have ubuntu and win7. Never a problem with either and I'm beginning to like Linux better for a daily driver every day. Like Scotty, 95% of my computer usage is for phone stuff.
[Verizon HTC One (M7)] jbh00jh:
I used flashify to do this and it worked fine and I had no problems.

Sent from my Galaxy Tab 10.1
[Verizon HTC One (M7)] undagullu:
how long does it usually take to send the zip? I've been stuck at sending 'zip' <117872 KB>... for about 30 minutes now. Getting a bit worried.

---------- Post added at 04:51 AM ---------- Previous post was at 04:41 AM ----------

i ended up exiting out, going back into the bootloader, and doing it with flashify. Thanks jbh00jh
[Verizon HTC One (M7)] jessbowring:
You used it to flash back to lock stock?
[Verizon HTC One (M7)] jbh00jh:
Used it to flash the stock img

. Zip file.
[Verizon HTC One (M7)] jessbowring:
Can I just flash my stock unrooted backup, lock boot loader and s-on? I have to send my phone to repair the camera and don't want to give them reason to deny the repair.
[Verizon HTC One (M7)] GrayBoltWolf:
Just follow the steps, otherwise you will still have a custom recovery which is a really obvious giveaway.
[Verizon HTC One (M7)] scotty1223:
Are they repairing your device,or sending you a new one? If they are repairing and returning yours,I personally would leave s off.
[Verizon HTC One (M7)] nexusisneecesary:
Could I use a terminal emulator to return to s-on?
[Verizon HTC One (M7)] scotty1223:
No.
[Verizon HTC One (M7)] jessbowring:
They are repairing and returning mine,I won't take a refurbished. I'd like to leave s-off since I had it done on Sonics java card.
[Verizon HTC One (M7)] scotty1223:
In that case,I would leave s off. Phones did legitimately come this way,so finding it does not prove you messed with it,especially if you flash this ruu and have stock Rom and recovery,and a locked bootloader.(not relocked)

Make sure you run the command o lock the bootloader before running the ruu,as you do need root access.
[Verizon HTC One (M7)] jski711:
ok i need to relock my device as im sending it back due to a blown speakers..... not happy about taking a refurb but i don't have a second phone. i've been trying to figure out which RUU to download from this site. http://www.flyhalf205.com/?dir=RUU%2Fm7vzw aslo as far as where to put it do i put this right into the platform tools folder of sdk? thanks a lot for the help!
[Verizon HTC One (M7)] GrayBoltWolf:
Use the 605.10 RUU. Place it where fastboot.exe is for simplicity and rename it to RUU.zip so you don't have to type out the whole name.
[Verizon HTC One (M7)] jski711:
ok last question. should i use the decrypt.zip or the signed.zip. also what is the difference between them. Thanks again!
[Verizon HTC One (M7)] GrayBoltWolf:
Either one. I used the decrypted.
[Verizon HTC One (M7)] notdead52752:
No matter what I keep getting device offline, the replacement I got from Verizon shows up online but my other HTC One doesn't show up onlin on ADB
[Verizon HTC One (M7)] gti2756:
I need to return the phone. I tried doing this but I am getting "FAILED (remote: 90 hboot pre-update! please flush image again immediately)". I have retried about 10 times and it's not working.

Ok I got it working by not following the instructions?

I kept retyping "fastboot oem rebootRUU" for the second try just like it says to "retype". This time I just retyped only "Fastboot flash zip Rom.zip" and it seems to be working now.
[Verizon HTC One (M7)] karn101:
You misread the instructions.

Your phone was still in RUU mode, so you only had to 'fastboot flash' again. If your phone was booted out of RUU mode, then you were supposed to type in the 'fastboot oem rebootRUU' command.
[Verizon HTC One (M7)] rcastell:
This will come in handy! Thank you.
[Verizon HTC One (M7)] drblast:
can find the RUU page

the link to the RUU page isnt working is there a new one? or am i missing it
[Verizon HTC One (M7)] santod040:
It's still in post #2 of my stock thread we were just in, as mentioned earlier.
[Verizon HTC One (M7)] ethanova:
I've installed Ubuntu 12.04 LTS and installed adb and fastboot, and even go-mtpfs for mounting. After running "adb reboot bootloader" my phone comes up in fastboot usb mode, but fastboot devices wont return anything. I can't get it to work. Any ideas?

As a side note, I saw a post earlier about getting a phone repaired instead of getting a refurb. Are the refurbs they send really that bad? How long do fixes take?

Thanks everyone
[Verizon HTC One (M7)] GrayBoltWolf:
For some reason adb works fine but I have to run all fastboot commands as sudo. Give it a try.
[Verizon HTC One (M7)] kdj67f:
I run 13.10 and also have to run as sudo.
[Verizon HTC One (M7)] ethanova:
That worked! I never would have thought of that. Thanks!
[Verizon HTC One (M7)] Thefireballkid:
Stupid Question

But where does the MD5 come into play? i dont see where we enter it or anything like that?
[Verizon HTC One (M7)] GrayBoltWolf:
The MD5 is a checksum of the file used to compare what you downloaded with the original file. You can use MD5 checker apps or a program on your computer to compare.
[Verizon HTC One (M7)] jski711:
thanks for the write up. this was the easiest time i've every had doing just about anything through adb. Mad props on perfect directions. thanks again.
[Verizon HTC One (M7)] luigi311:
Does this still work after the latest ota?
[Verizon HTC One (M7)] GrayBoltWolf:
It should.
[Verizon HTC One (M7)] sockaplaya14:
EXACTLY WHAT I NEEDED! Thanks!
[Verizon HTC One (M7)] ajgates92:
This is perfect! Thank you so much for this!
[Verizon HTC One (M7)] elyhlapetina:
I am using a Mac.

When I get to flashing to RUU, I get an error message in terminal that says Rom.zip cannot be opened.

When I unzip the file, it opens a folder with the original name of the file.

What am I doing wrong?

Thanks!

EDIT: Using android 4.3

EDIT: 2

I got it to flash, but I keep getting caught at this error/....

Macintosh-2:~ elyhlapetina$ Fastboot flash zip /android/RUU.zip

target reported max download size of 1528475648 bytes

sending 'zip' (1176765 KB)...

OKAY [ 46.062s]

writing 'zip'...

(bootloader) zip header checking...

(bootloader) zip info parsing...

(bootloader) Read zipped android_info fail

FAILED (remote: 24 parsing android-info fail)

finished. total time: 46.365s
[Verizon HTC One (M7)] geeibara:
You said this doesn't work for the current OTA. Does this apply to my situation?

I had AOKP kitkat nightly from 12-30-13, and it failed.

Currently I am waiting for help from the troubleshoot forums. http://xdaforums.com/showthread.php?t=2599610

Care to give some insight on how to fix this?
[Verizon HTC One (M7)] GrayBoltWolf:
I think my post was wrong. Probably thought I was in the rumrunner thread. If you are s-off this should work just fine.
[Verizon HTC One (M7)] hotelmrrsn:
Worked perfectly, thank you so much!
[Verizon HTC One (M7)] WELCOMETOOCEANIA:
So my screen is broken, not cracked, just apparently some hardware issues, maybe loose wiring or something. Verizon is replacing it under warranty but I have to get S-ON and back to stock without a screen by the time I need to send it back. Anyone have any tips that would make this easier?
[Verizon HTC One (M7)] Gizmoe:
This process is actually pretty easy. There is no simpler way. It's just 3 steps. Re lock boot loader. Flash ruu via fastbootRUU. Then write secure flag. It may seem complex but it's not.
[Verizon HTC One (M7)] WELCOMETOOCEANIA:
Okay, thanks. I won't be able to try until tomorrow due to my laptop both being Windows 8 (which apparently fastboot has problems with) and having only USB 3.0. But hopefully I'll be able to get to fastboot without seeing what I'm doing. And then I'm not sure if there's any way to confirm everything was done right without looking at the screen.
[Verizon HTC One (M7)] scotty1223:
Leave the secure flag off. That's where everyone is screwing this up. Just follow the directions a couple times up to that point,then just leave it off.

"Fastboot getvar all" can confirm firmware and main version. That's about as good as you're going to get.

I'd be pretty inclined to not even worry about a broken screen. They're not real likely to fix the screen so they can check to see if your rooted ;)
[Verizon HTC One (M7)] WELCOMETOOCEANIA:
I:\Root_HTC_One_Verizon>Fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 1.54.0000

(bootloader) version-baseband: 1.12.42.0731

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 1.10.605.8

(bootloader) version-misc: PVT SHIP S-ON

(bootloader) serialno: FA39ES903550

(bootloader) imei: 990004282337207

(bootloader) meid: 99000428233720

(bootloader) product: m7_wlv

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0731000

(bootloader) cidnum: VZW__001

(bootloader) battery-status: good

(bootloader) battery-voltage: 3994mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: RUU

(bootloader) commitno-bootloader: dirty-97af273845

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.137s

Did I get it?

Edit: I can actually tell that I'm stock for one reason only, the volume button sounds. This is all I have to look at on my phone.

http://i.imgur.com/yyYGzwV.jpg

That or a black screen. Thanks for all the help, I think everything worked out great.
[Verizon HTC One (M7)] Sheldor1967:
So, what if I run the latest but leave it S-off

I was thinking I may run the 2.10.605.1 RUU and lock it but keep S-off... Think there's any chance that HTC will leave it that way? I'm sending it back in for the Camera to be fixed.

Or, should I avoid the latest update? I figure it doesn't matter because they will update it anyways, at least that's what others are reporting...
[Verizon HTC One (M7)] Gizmoe:
They won't even touch it if they see it's been tampered with unless you pay full price for repairs. S off voids your warranty. You need to s on and lock bootloader.
[Verizon HTC One (M7)] brholt6:
Not true. Another guy sent his in S-off and just got it back S-off. I highly regret not doing the same now.
[Verizon HTC One (M7)] Sheldor1967:
I have also seen others post that HTC simply restored their device to stock s-on and did the repair and sent it back...

I did do the latest RUU and locked it. As of now it says Locked but not tampered and S-off... I will decide in the morning whether to S-on or not...

I kind of feel that if there is any chance at all of getting it back s-off, I want to try...
[Verizon HTC One (M7)] brholt6:
If I could do it over again...no way I S-Off.
[Verizon HTC One (M7)] jessbowring:
soff

i sent mine with soff....they left it soff and repaired my camera without issue
[Verizon HTC One (M7)] Gizmoe:
Well that's pretty lucky. If they where paying attention and noticed s off it would not have ever gotten fixed until you payed them. I'm sure there are some techs who would turn a blind eye but you know some are self appointed officers of the rules. Not worth the risk IMO unless you really aren't concerned with your warranty.
[Verizon HTC One (M7)] brholt6:
Actually I just found this. There is no reason you shouldn't send your phone in S-Off. There is NO risk as it does not ruin your warranty. I only wish I would have found this sooner.
[Verizon HTC One (M7)] scotty1223:
devices coming back s-on were prolly damaged to the point of needing a new motherboard. unfortunately ive found theyre not turning s off for you just becasue you sent in an s off device :mad:

however simple screen/camera/vol rocker/other hardware repairs that dont need the motherboard replaced it likely comes back just as you sent it.

we as root users are among the minority. while we like to think of ourselves as rebel outlaws,its probable that techs doing phone repairs just plain dont care and dont try and catch anyone in the act of anything.

thats absolutely not true. phones do legitimately come s off,and its existance is not an indicator of the phone beeing modded or tampered with.

if i had a warranty claim,i personally would:

-restore stock cid,mid

-change lock flag to locked(not relock bootloader with oem lock)

-run stock ruu

-ota to current release

-not worry about s off

an s off device in a locked state and running current,unmolested firmware is fine.
[Verizon HTC One (M7)] Sheldor1967:


Thanks!, Mine is just the camera, so I have some hope it will stay s-off. I basically decided that the purple tint was a bigger issue to me then losing s-off might be. I am a total shutterbug and the camera has been the only disappointment about this phone. If I can take better pictures with it, it will help. Especially since I foolishly signed up for the Edge program! I am paying for the phone twice!
[Verizon HTC One (M7)] Gizmoe:
That's good to know. I always heard that any state outside of stock including s off voids ones warranty. I guess my assumption was wrong.
[Verizon HTC One (M7)] jessbowring:
They didn't change mine. The rear camera and upper board was changed in my phone, but I got my phone back with soff still. And now back up and running venom and snapping pics like crazy. Very happy with my results.

Soff does not void warranty. However, do not use any of the faux locks. Set it back to stock locked and leave soff. Good to go
[Verizon HTC One (M7)] Sheldor1967:
This is the outcome I am hoping for! Fingers crossed, they will get it today...
[Verizon HTC One (M7)] tomwatez:
Is therea mirror with the signed RUU's out there?
[Verizon HTC One (M7)] Gizmoe:
They are not allowed on xda anymore I'm assuming per HTC's request.
[Verizon HTC One (M7)] kosoyyyyy:
help!

I ordered goofone with China, CWM mode in this phone with Chinese characters and set a bad firmware or crooked hands in Chinaman =)

Phone when connected to the PC is defined as the HTS

My experience flashing phones small, explain and tell me that it is better to install a phone with details please
[Verizon HTC One (M7)] Gizmoe:
Just follow OP. It's as detailed as it needs to be.
[Verizon HTC One (M7)] lancasterv3:
Quick question, I am sending my One back for camera repair no plans of returning to s-on just locked boot-loader and .15 RUU all that being said what RUU should I use signed or decrypted? I am guessing it would be the signed but I would rather check with people more knowledgeable than myself. Thanks in advance.
[Verizon HTC One (M7)] Gizmoe:
Decrypted is the only one available that I'm aware of. Decrypted will work just fine. Where did you find a signed one?

---------- Post added at 11:58 AM ---------- Previous post was at 11:50 AM ----------

The link in OP is missing a bracket

http://xdaforums.com/showthread.php?t=2437436
[Verizon HTC One (M7)] lancasterv3:
http://xdaforums.com/showthread.php?t=2485319 its in the second post, thanks to Santod and Flyhalf for providing the links. Is there any difference since both are available?
[Verizon HTC One (M7)] Gizmoe:
I would use the decrypted RUU and flash via RUU mode after you relock the bootloader. It will make everything complete stock including recovery but will leave you with S-Off. That's the state you want it when sending it back. The other version by santod is a rooted stock version to be flashed via custom recovery.
[Verizon HTC One (M7)] selayan:
That's weird. I went from 1.10.605.8 to 1.10.605.15 using the .15 signed RUU. Anytime I would try and run a decryped RUU it would not work. It would get stuck at "sending..." I would need to unplug the phone and turn it off then back into fastboot. Is there difference between signed and decrypted and locking the bootloader? Assuming I'm not super CID but am S-Off and boot loader unlocked, it should not matter what RUU is used correct?

Also, if you want the stock recovery on there you have to flash that before you lock the bootloader?
[Verizon HTC One (M7)] Gizmoe:
Where did you get a signed RUU? Just to be clear you have an encrypted RUU exe file that runs from windows? Also an RUU will replace everything to stock including recovery. Are you sure you are not talking about a stock rom that's been posted in the dev section?

Typed on an S-Off HTC one via rumrunners