yashsingh1/xdaforums huggingface dataset:
[Verizon HTC One (M7)] cmlusco:
http://vzw1files.dyndns.org/ADB/miniadb.zip
[Verizon HTC One (M7)] Chilidog:
Will these instructions still work right now?
[Verizon HTC One (M7)] GrayBoltWolf:
Yes. Ruu might be different though.
[Verizon HTC One (M7)] Chilidog:
Couldn't I just lock and s-on and then flash signed ruu?
[Verizon HTC One (M7)] GrayBoltWolf:
Any signed RUU is probably fake, because we aren't allowed to host a signed and encrypted RUU.

Might as well just RUU, and then S-On.
[Verizon HTC One (M7)] Chilidog:
Well santod has some so I'm sure they are real.
[Verizon HTC One (M7)] gomorrah:
Santod's RUU's work great. I just used the latest signed one to RUU my One cause I have to send it back since I got an M8. This process and his RUU worked perfectly.
[Verizon HTC One (M7)] Chilidog:
It shouldn't say tampered after this right?
[Verizon HTC One (M7)] GrayBoltWolf:
After the whole process is finished, no.
[Verizon HTC One (M7)] Chilidog:
Awesome this worked like a charm.
[Verizon HTC One (M7)] BygSii:
Thinking about going locked and s-on so I can get my purple hue and watercolor camera issues fixed. This 4.4.2 that we speak of, is there anyway to run a wireless tether app? I have the unlimited data, and need wireless tether to use my iPad at work, and ironically part of my job is to sell Verizon phones. I can either A. Keep my phone the same and enjoy S-Off Unlock and Root access with wireless tether through Foxfi and enjoy just about everything. B. S-on and Lock to send to HTC to have my camera fixed, and htc will most likely change out the main board in my One and give me 4.4.2 with a functional camera but no WiFi Hotspot. Or 3. Sell what I have with accessories for probably around $450 and use that towards a One Maxx or M8. What are your thoughts XDA forums? I get my "backup" phone a droid razr Maxx next week, so I'll be fine without a HTC Phone for a couple weeks.
[Verizon HTC One (M7)] scotty1223:
You don't need to go s on for warranty. Phones came s off,so its existance does not mean you modified it.

Go back to locked and stock,and send in your phone s off.
[Verizon HTC One (M7)] BygSii:
So I will be perfectly fine, by just flashing official 4.3, official kernel, radios, and locking my bootloader, but keeping it s off? Sounds good. Do they replace the aluminum casing? I have a small ding or two on mine. Anyone get any type of wireless tether to work on 4.4.2? I really would love that option. Just sucks whenever I take a picture of memories and it's ruined by this purplish hue and these watercolor like lines. I guess a perfect camera is more important to me than wireless tether. If wireless tether doesn't work on 4.4.2, and that's the case, once my htc one is sent back perfect, I'll probably sell it and use that money towards a htc one maxx with a bigger screen, so I don't have to take my tablet with me to work.
[Verizon HTC One (M7)] cmlusco:
Yes you should be fine. As for tethering, you can easily get it working on 4.4.2 by flashing this file. http://vzw1files.dyndns.org/MODs/Enable_Native_Hotspot/Enable_Native_usb-wifi_tethering_4.4.2.zip
[Verizon HTC One (M7)] scotty1223:
should be. i personally would never turn s on for warranty work
[Verizon HTC One (M7)] brymaster5000:
MODS - [MENTION=990284]TonyStark[/MENTION], or other. Can we make this a sticky? Good to have this guide.:good:
[Verizon HTC One (M7)] BygSii:
There definitely needs to be a better guide to all of this. Perhaps a video explaining everything? I'm sorry, but I haven't messed with anything on my phone since back in September. All I know is that I'm S-Off, unlocked, rooted, running custom recovery TWRP, with a Custom Rom "NuSense", I might have a custom kernel from a previous Rom, and I might also be running a custom radio from a previous Rom. I wish their was a one step solution to getting my phone S-On, locked, and with original kernel, and factory settings, with official software. One bad step and it could lead to disaster! I've read through a lot of the post, but every phone is different. I'm sending my HTC One in to get the camera fixed later this week. I just don't want to screw anything up. So far I have backed up my phone on htc sync manager, backed up my messages with the message backup, and made a backup on TWRP just in case, and backed up my videos and pictures to google drive or google+. I don't know, any advice for me before I get lost into this World for the next five or so hours? With the possibly of getting trapped for days and days on this website? Lol.

I also don't want to accidentally get the "tampered" on my screen. :eek:

I also tried finding a VZW M7 RUU for an offical firmware, can't find it anywhere without it having a broken link.
[Verizon HTC One (M7)] scotty1223:
there doesn't really need to be a better guide... You guys just need to STOP turning s on,as this is where all the prollems arise.

There is a one step solution:

-enter the adb command to lock the bootloader while your still rooted,if needed

-run the ruu

Ok,that's actually 2 steps if you need to lock the bootloader,but the important aspect is that the ruu eliminates all the custom aspects,and makes you 100% stock except s off.

Listen folks... There are zero advantages to being s on. Zero,zip,nada.none! There are plenty advantages to being s off,and it will not affect your ability to be stock and accept OTA updates,and as I've said about 600 times in this and other threads,it does not indicate you've messed with the phone,as they did legitimately come that way. IMO its completely unnecessary to s on for warranty,and I would nevr do it.

S off is an extreme priveledge. Once you've got it,you need to hold on,cause you may not get it back.
[Verizon HTC One (M7)] BygSii:
Lets just say, that I bought an HTC from somebody, and my Windows 8 laptop does not have ADB or the files to run any commands, what do I do?

The only ruu I found today is a broken link. And there were like four of them. Named something like 10.26.1.2 and 20.26.1.2. I didn't see anything that looks like that on my bootloader.
[Verizon HTC One (M7)] scotty1223:
a couple options:

-install adb on your current setup

-install a dual boot on your current pc with an older windows OS or linux so that adb install is easier

-install adb on a spare desktop or laptop

-borrow a an older pc or laptop to install adb on. the drivers and adb files are small and unobtrusive

dont forget you can always simply leave the bootloader unlocked it really only needs to show locked if you need to send it in for warranty claim.

if none of these are possible,you may want to think twice about having a rooted phone,its difficult to imposible to have a rooted device these days and not have access to adb/fastboot

i dont know where youre getting those numbers. as long as an ruu is for m7_wlv,youre good to go. flashing an older ruu just means more OTAs until the phone is current. the build numbers are how the ruus are distinguished from one another and what is on the phone. the build number is not displayed in bootloader,only in settings/about phone in the booted OS,or in the ouput of fastboot getvar all or fastboot getvar mainver

you didnt look very hard apparently,as i cound working links just by going back a couple pages in this thread ;)

santod has signed and decrypted versions in this post: http://xdaforums.com/showpost.php?p=46506621&postcount=2

i know for sure this one is working,im downloading it now: http://goo.gl/JEkyCk
[Verizon HTC One (M7)] GrayBoltWolf:
Making a couple videos now. One of installing the ADB and Fastboot drivers for Windows 8, one for going S-On, and one for going S-Off and installing CWM recovery.
[Verizon HTC One (M7)] Chilidog:
Although not necessary, that is awesome for you to do that.
[Verizon HTC One (M7)] dstr72:
I just wanted to say thanks! for this thread. Had to send my One in for camera module replacement so I ran through this before shipping. Luckily they sent me back a brand new (or really like new refurb) phone with 4.3 so I was able to get back to S-Off and unlocked with firewater. Win-win in my case.
[Verizon HTC One (M7)] BygSii:
So I believe I've flashed the RUU to get phone to run stock android. When i try to "LOCK" the bootloader, by typing in the beginning of code that starts "adb shell", i get the message "device not recognized" what am i doing wrong? Everything looks good, even CID is VZW__001. I'm Unlocked and S-OFF. I'm just having trouble getting it to say "LOCKED".
[Verizon HTC One (M7)] scotty1223:
here are some basic adb troubleshooting steps(win 7 or older- sorry im unfamiliar with win 8+)

troubleshooting connectivity issues:

*make sure you have changed to your adb/fastboot directory!

*make sure usb debugging is enabled(checkmarked) to use adb in the OS

-try a reboot of the PC

-try different usb cables and ports

-dont use a usb hub

-dont use usb 3.0

-make sure nothing capable of comunicating with the phone is enabled and running. htc sync,pdanet,easy tether,and even itunes have all been known to cause issues.

-windows 8 has been known to have issues. try a windows 7 or older machine

failing the above,

-i use these drivers for fastboot and adb(donwload and run as admin): http://downloads.unrevoked.com/HTCDriver3.0.0.007.exe (mirror)

failing that,try manually updating the drivers in the following manner:

-put the phone in fastboot mode(select fastboot from the hboot menu)

-open device manager on the PC

-plug in phone,watch for it to pop up in device manager.

-update drivers with device manager,pointing the wizard to the

extracted

driver download folder from above

note that you can check the connectivity of the phone,and make sure drivers are working by in the following manner:

-open cmd window. change to directory containing adb/fastboot utilities

-

adb

with the phone in the booted OS,usb debug enabled,enter:

adb devices in a cmd window

-

fastboot

with phone in fastboot(not hboot!),enter:

fastboot devices in cmd window

in either case,a properly connected phone with working drivers installed should report back the phones serial number.

also,hopefully you have not allready run your ruu,as you need to be rooted to run the lock command. if you have,then youll need to reroot if you want to be locked
[Verizon HTC One (M7)] BygSii:
I read through all of the troubleshooting issues, and I think I'm only missing one thing. When i go to LOCK my bootloader, after SU and root installed, it says.

C:\Android>adb shell

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

error: device not found

going to remove htc sync

Edit: Updated - Nope. It didn't work.
[Verizon HTC One (M7)] GrayBoltWolf:
Ok, here are those videos:

http://xdaforums.com/showthread.php?t=2703585
[Verizon HTC One (M7)] dynofrk666:
I'm also getting this error:

target reported max download size of 1514139648 bytes

load_file: could not allocate 1262168019 bytes

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

I just checked and there's 18gb of free space available on the phone, I tried the "fastboot erase cache" command from both RUU and Fastboot mode but neither seemed to fix it. Anyone have any ideas on how to get around this error?
[Verizon HTC One (M7)] TonyStark R.I.P.:
Already listed in the Roll up, in Development:good:
[Verizon HTC One (M7)] tigerscorp21:
Thank you for the videos

Very helpful
[Verizon HTC One (M7)] mzrdisi:
So, I've tried every possible solution to the whole Windows hates fastboot mode and won't work via USB.

Basically 1.54 hboot hates life and I can't get it to play nice with Win 8.1

So I'm assuming my only choice is to do a more drawn out process of running a live usb stick of ubuntu or something.
[Verizon HTC One (M7)] GrayBoltWolf:
This thread might help a lot: http://xdaforums.com/showthread.php?t=2703585

Watch the first video to get drivers working, then the second for a visual tutorial of relocking.
[Verizon HTC One (M7)] mzrdisi:
Yeah, I actually was using this as a last ditch effort and following the instructions still gave me the same error. Device Enumeration Failed. I'm running the latest 8.1 update that is supposed to fix that problem.

I'm using a few different work computers now to see if I can get it going...
[Verizon HTC One (M7)] jcw122:
Will I have to re-install app my apps and whatnot after this process? Just wondering if there's any sort of data/app preparation that I should perform beforehand. Thanks.
[Verizon HTC One (M7)] GrayBoltWolf:
Of course. The RUU wipes everything.

But, why do you want to to go stock and then reinstall everything? Usually people relock to get warranty repairs and whatnot.
[Verizon HTC One (M7)] jcw122:
I'm locked out of the GOOD app because of root, and thought it was the best way to unroot. I also do not have stock recovery, so as far as I am aware, I need to get back to that as well to get back to stock.
[Verizon HTC One (M7)] cmlusco:
There are apps and mods that can hide root status from other apps.
[Verizon HTC One (M7)] jcw122:
Last time I checked those solutions weren't working for GOOD, but now they appear to be updated! Thanks for the reminder. :good:
[Verizon HTC One (M7)] jdog94:
i rooted with weaksause and used firewater for s-off and flashed custom recovery.....everything else it stock ....rom kernel modem ect all unchanged ....is this my best best to return to stock???
[Verizon HTC One (M7)] jdog94:
the link to the ruu in the op is dead .....i found some here http://xdaforums.com/showpost.php?p=46506621&postcount=2 but im not sure what i should use

my software number is 3.11.605.1
[Verizon HTC One (M7)] jdog94:
success thanks
[Verizon HTC One (M7)] dagrx8:
Error 22

I was getting an error 22 trying to flash RUU. Not sure exactly why, but downloading another RUU did the trick. I'm posting this in case anyone else runs into the same error.

Thank you BMT626 and thank you Santod040(many times over) and thank you GrayTheWolf - all very incredible work.

My bottom mic is shot and sending it to HTC for repair. Hopefully everything is covered under warranty. I still have 1 year left on contract and need this phone to last.
[Verizon HTC One (M7)] WhiteBoyMcFLY:
PAIN

For some reason, this looks like more of a pain to accomplish than getting the phone s-off... Here goes nothing...
[Verizon HTC One (M7)] nicholi2789:
Quick question: Will the "fastboot oem writesecureflag 3" command work on an S-OFF Verizon HTC One M8? Just curious because I just recieved a CLNR from Verizon and am trying to return my old one as close to stock as possible. I already flashed stock recovery, factory reset, un-rooted, and re-locked it. All that is left is the S-OFF that shows on the bootloader screen. Or should I even worry about that?
[Verizon HTC One (M7)] VA_Joe:
Which one did you use?
[Verizon HTC One (M7)] dagrx8:
For me - I used the 2.10.605.1 Decrypted RUU on that post. It restored 4.3 on my phone and then it went through the OTA to 4.4.2.

Just so you know where I was coming from, I kept my phone stock through the 4.4.2 OTA update and then I used weaksauce and firewater. From there I had TWRP 2.7 recovery and santod040's Nusense 6.0 M8 port. Once I used the right RUU, I was able to follow the instructions to a T - everything worked great. With the wrong RUU, i got the error I posted about above.
[Verizon HTC One (M7)] jdog94:
i used 2.10.605.1 Decrypted RUU

from http://xdaforums.com/showpost.php?p=46506621&postcount=2
[Verizon HTC One (M7)] nicholi2789:
Can anyone answer this question for me? I don't wanna try it and mess something up, I don't see why it would I just wanna be sure. I'm a novice to HTC devices. Always had Samsung before. Thanks
[Verizon HTC One (M7)] brymaster5000:
Try [MENTION=3437245]scotty1223[/MENTION]. He's the wiz.

Sent from my Lunar Ecliptic One.
[Verizon HTC One (M7)] Gizmoe:
Yes that's the whole point of the command is to change s off to s on. Though the fastboot commands may be different for the 8. Would be better asked in the correct section IMO. But it's already been verified that you don't need to return the device to s on. Just reset the lock status to locked and you are good to go. HTC won't penalize you.
[Verizon HTC One (M7)] Ianxcom:
I bought an s-off htc one on swappa and i have been trying to return it to s-on unrooted. I havent used adb in over a year and every time i go on to try and follow these instructions it keeps telling me that the server is out of date and it wont locate my device.

What would happen if I just hboot the encrypted RUU?
[Verizon HTC One (M7)] scotty1223:
Don't turn s on.
[Verizon HTC One (M7)] Ianxcom:
Would it hurt my phone or just turn it back to stock with s-off?
[Verizon HTC One (M7)] scotty1223:
Nope. Not one bit. That is exactly what I would do, if I wanted to be stock
[Verizon HTC One (M7)] Ianxcom:
Thanks! First HTC phone since the t-bolt so its all coming back now.

---------- Post added at 07:24 PM ---------- Previous post was at 07:10 PM ----------

Oh one more thing. if I flash the 2.10 ruu can i ota update? or is there the newest ruu around somewhere?
[Verizon HTC One (M7)] cmlusco:
The newest ruu is not available to us. You can just take the ota to get it.
[Verizon HTC One (M7)] Ianxcom:
I mean if I'm s-off but everything else stock including recovery.
[Verizon HTC One (M7)] Gizmoe:
The ota won't reset s off status so you will be fine. It will require complete stock phone though as you said you have. If it's been modified in any way it will fail installing the update.
[Verizon HTC One (M7)] awareunlikeu:
Best way to return to stock if returning phone to carrier?

so is this the best approach if returning phone to carrier? has anyone attempted
[Verizon HTC One (M7)] ian99rt:
Please help revert back to stock

My 3 month old verizizon HTC one which I rooted using rumrunner_m7wlv_1.10.605.10 recently refused to connect to the wireless carrier (does not say SIM card is missing, tried shimming SIM card, phone needs to be returned).

Anyways my phone is S-OFF but the bootloader does not state it is "tampered". I do get the HTC boot screen stating its in developer mode though.

Anyways here are my phone details that need to return to stock for warranty:

Android Version: 4.2.2

HTC Sense Version: 5.0

Software Number: 1.10.605.10

HTC SDK API Level: 5.42

Hboot 1.54

Kernel:

3.4.10-g0f6357d

root@abm030 #1

SMP PREEMPT

Baseband version: 1.12.42.0906

Build number: 1.10.605.10 CL221778 release-keys

I did downloaded the RUU: m7wlv-jb-3.4.10-0f6357d.zip but still pretty lost how to install the RUU, lock the boot loader, and get S-ON?
[Verizon HTC One (M7)] GrayBoltWolf:
http://xdaforums.com/showthread.php?t=2703585

Watch the second video.
[Verizon HTC One (M7)] ian99rt:
Thanks! Its clear now except as I wade thru the 13 pages of posts I cannot find a link to the working-unencrypted RUU. Link?

I've found a few "stock" RUUs that match my software number in .zip format (one is 99.8MB "m7wlv-jb-3.4.10-0f6357d.zip").

Can I simply use use one of these RUUs although I don't know if they are encrypted or not?

Sorry for all the noob questions, just desperate to get a working phone again.

---------- Post added at 10:56 AM ---------- Previous post was at 10:52 AM ----------

Nevermind found it through the 2nd videos description THANKS!
[Verizon HTC One (M7)] AzureSkye:
Not Enough Space error

I keep getting this error when trying to flash the rom from the Stock m7vzw thread. I need to get back to stock for a warranty repair and I've tried erasing the cache and then the entire phone and nothing is working. Help? I can flash the firmware back and forth, but that's not very useful right now. I've also tried the encrypted RUU, but that gave me the same error....

target reported max download size of 1514139648 bytes

load_file: could not allocate 1262168019 bytes

error: cannot load 'PN07IMG_M7_WL_JB_50_VZW_2.10.605.1_DECRYPT.zip': Not enough space
[Verizon HTC One (M7)] Zwitterion:
Out of curiosity, why do you lock the bootloader before flashing the RUU? I've read that this doesn't need to be done, but will obviously follow your fantastically helpful tutorial anyway. Just thought to ask.

Thanks!
[Verizon HTC One (M7)] cmlusco:
You only need to relock it if your going to use a signed ruu. If using a decrypted one, it is not necessary. A signed ruu will not flash with the bootloader unlocked.
[Verizon HTC One (M7)] GrayBoltWolf:
This. ^

And that the video is how to go S-On as well as lock the boot loader.
[Verizon HTC One (M7)] scotty1223:
If you are s off,it doesn't matter what ruu you use,signed or unsigned will install fine on an unlocked bootloader.
[Verizon HTC One (M7)] FabiSFDK:
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)] brymaster5000:
Hit the thanks button by accident...

Shouldn't matter what method you used.

Sent from my Lunar Ecliptic One.
[Verizon HTC One (M7)] AzureSkye:
Can nobody help me? I need to get the camera fixed. I saw that someone in the thread posted about the same error, but nobody explained how they fixed it.
[Verizon HTC One (M7)] thatsricci:
I'm just catching up on this thread... but are you putting the phone into RUU mode first?

fastboot oem rebootRUU

fastboot flash zip rom.zip

fastboot flash zip rom.zip (yes you have to do it again after the first flash finishes)

fastboot reboot
[Verizon HTC One (M7)] AzureSkye:
F:\Device Backups\HTC One\HTC One Toolkit - Squabbi - 3.1.2>fastboot oem rebootR
UU
...
(bootloader) Start Verify: 0
OKAY [ 0.050s]
finished. total time: 0.053s

F:\Device Backups\HTC One\HTC One Toolkit - Squabbi - 3.1.2>fastboot flash zip R
om.zip
target reported max download size of 1514139648 bytes
load_file: could not allocate 1262168403 bytes
error: cannot load 'Rom.zip': Not enough space

F:\Device Backups\HTC One\HTC One Toolkit - Squabbi - 3.1.2>fastboot flash zip R
om.zip
target reported max download size of 1514139648 bytes
load_file: could not allocate 1262168403 bytes
error: cannot load 'Rom.zip': Not enough space

F:\Device Backups\HTC One\HTC One Toolkit - Squabbi - 3.1.2>

That's exactly what I get when I try to flash either the encrypted or decrypted RUU
[Verizon HTC One (M7)] GrayBoltWolf:
Well, make sure you have at least 2 GB of free space on your phone.
[Verizon HTC One (M7)] AzureSkye:
The whole phone has been reset and I have about 20+gb. I've been through that little song and dance. Quick question: would flashing the Stock Odexed zip and the Stock Bootloader Img achieve the same effect as flashing either of the full stock roms?
[Verizon HTC One (M7)] GrayBoltWolf:
Kinda. Visually it should be the same.
[Verizon HTC One (M7)] AzureSkye:
*grump* Good enough for a warranty repair of the camera? I still don't get why the RUU won't flash :(
[Verizon HTC One (M7)] GrayBoltWolf:
I think that the stock rom has Santod's name in there somewhere.....
[Verizon HTC One (M7)] AzureSkye:
Oh balls. Well, hopefully they don't check that deep. I'll try flashing the RUUs again after a flashing the Stock Recovery

Edit: Well, that didn't help much, but the big red warning text has gone away. I hope this is good enough
[Verizon HTC One (M7)] edisonalvarez:
help

I need to send my phone back to warranty and was looking to use this to return it to tstock. When I follow the links to download the un-crypted RUU, it shows that thread as being locked. I did some light searching and so far several other ooptions and thread regarding returning the phone to stock have also been locked. Im curious to see if there are any safety issues regarding all this. Can anyone provide any help pr links to return the phone back to stock cheers :)
[Verizon HTC One (M7)] brymaster5000:
Use santod's stock Rom/radio/firmware thread. He has ruu's at the bottom of his second post.

Sent from my Lunar Ecliptic One.
[Verizon HTC One (M7)] dottat:
There's also the kit Kat one I posted that has root for use of the commands needed to turn it back fully.
[Verizon HTC One (M7)] edisonalvarez:
Thank you gentlemen...much appreciated