yashsingh1/xdaforums huggingface dataset:
[Verizon HTC One (M8)] bonbon363:
Encryption

My phone is showing Deycrypt Storage window because i have flashed AOSB Rom last night and I cant revert the cid to VZW_001 to do an RUU

Anyone knows if the encryption is preventing me from reverting to VZW_001 CID?

Also anyone knows of a way to do RUU with Super CID 11111111?
[Verizon HTC One (M8)] dottat:
Super cid should allow any to flash. What failure do you get when you try?
[Verizon HTC One (M8)] bonbon363:
Thanks for response but i've tried method 2 and it didnt work at first so i have assumed that the cid is preventing it..

Trying Method 1 now,, looks like it is doing its thing.

will update post
[Verizon HTC One (M8)] dottat:
Is your sd card formatted as fat32? If you didn't see it at least try it's probably that or a filename issue.

Lemme know how option 1 goes.
[Verizon HTC One (M8)] bonbon363:
I've tried to formatted the SD FAT32 unders windows 7 and it didnt work, but both the windows and the phone sees it and can write to it just fine so i've left it alone.

Edit: I am looking at the Verizon Boot Screen, i am so happy , I used to hate this screen so much lol.

I flashed TWRP recovery too.

Everything went well, getting the setup wizard now.

Thanks so much for confirming that Supercid is working with RUU or i'd have still looking on the internet for an encryption bypass

When i booted into recovery i get an image of a phone with big red exclamation point. i had to kick out with Power-Vol+ then phone boots like normal.

Do i need to reflash TWRP?

Phone does say S-off and Unlocked
[Verizon HTC One (M8)] berndblb:
Yes
[Verizon HTC One (M8)] jascolli:
Method two just worked like a charm for me. Thank you for this!!! It saved me big time.
[Verizon HTC One (M8)] T4rd:
See this thread.
[Verizon HTC One (M8)] electric turd:
First of all, Thank you for posting these!!! I just went through the whole encryption thing with CM....not fun btw. Anyway, I went the #2 option and everything worked great. To my surprise when my phone booted back into stock sense it was still rooted with SuperSu still installed. I was really happy about that. With Supersu on there I was able to Flashify TWRP and restore my backup pre Encrypt.

Is SuperSu supposed to be there when the phone boots back up or was mine just a luck of the straw?
[Verizon HTC One (M8)] dottat:
It's supposed to be. In the op I explain it's prerooted for your immediate enjoyment.
[Verizon HTC One (M8)] electric turd:
Ohh I see, I saw pre-rooted but i mis read it and thought it was PRE ROOT. LOL
[Verizon HTC One (M8)] detdaddy:
Saved my ass the other day. Thanks so much brother.
[Verizon HTC One (M8)] TenderloinShadow:
So I feel like I've definitely read this answer in this thread already, so please don't flame me. I'm new to HTC devices and RUUs, and they seem to work differently than Odin or RSD Lite. I've also never used Fastboot before (again, first HTC device) and I just want to be 100% sure I'm clear on this. I'm a flashaholic, but I know from experience I want to know how to use this RUU as my safety net in case I screw anything up.

1) The RUU file doesn't get moved to the phone. It's just placed in the ADB directory.

2) Fastboot. All I know about it is that it's a special mode in the phone's bootloader menu. Do I have to do anything special on my computer to access it, other than issue the ADB commands?

3) I saw someone say that S-Off will remain after running this. So, to confirm, the bootloader will remain unlocked after running this? Will root also remain?

4) That whole thing about reboot to flush. Does that mean that repeatedly through the process, we will have to reboot and restart the process in order to install different components? How will this work, exactly?

Anything else someone who's never used an RUU before and only done this with Odin or RSD Lite would need to know? Things that are different?

Thanks.
[Verizon HTC One (M8)] berndblb:
Absolutely love it that you are looking for the way back before you even start to flash this phone!! It proves you have been around the block. Most people wonder how to get back to stock AFTER they screw up~ Laugh!

It will get flashed to the phone in fastboot mode

You will have to install ADB, fastboot and the drivers for this phone on your PC to be able to S-off and unlock. So everything you need to flash the RUU should be in place in case you need it. Google the terms, there are a few good tutorials on ADB and fastboot here on XDA.

Yes and yes

Don't know - didn't have to use it yet. Thank God. :D

Not really... ADB and fastboot is just a different way to connect/flash stuff to your phone. It's very valuable to learn basic fastboot and ADB commands since it works on any Android device. It's a little more pedestrian than Odin or RSD lite since it doesn't package all the tools you need to save your as*, but once learned, it's way more powerful.
[Verizon HTC One (M8)] TenderloinShadow:
Awesome thank you so much. I will definitely read up more about fastboot. I do know how to use ADB already, but I've never used it with fastboot, so I'll read up on that.

As for the reboot to flush stuff, anyone else able to chime in? I just want to understand this process completely before I flash anything, because I know myself: I flash a lot of ****, and sooner or later I'll brick this phone and need to use the RUU to fix it.
[Verizon HTC One (M8)] dottat:
if it asks that...simply re-run that previous command. sorta like Windows updates...can't update files in use.
[Verizon HTC One (M8)] aer0zer0:
So has anyone used this to set bootloader locked, S-ON, and look stock, then send it to HTC for repair, receive it back, and then try to use firewater to re-SOFF, bootloader unlock? i had a miserable time making it work. Finally after 4 hours, i was able to get firewater to run..... But im good again, thank you [MENTION=3472611]dottat[/MENTION]
[Verizon HTC One (M8)] aer0zer0:
[MENTION=3472611]dottat[/MENTION], would there be any chance you would make a stock ruu with no root and stock kernel base
[Verizon HTC One (M8)] dottat:
this is 100% stock. go to su app and go to settings. then choose the full unroot option seen here.
[Verizon HTC One (M8)] aer0zer0:
I have done that, problem is it reappears on reboot

---------- Post added at 11:15 AM ---------- Previous post was at 11:14 AM ----------

I can full unroot, then reboot, and it reappears
[Verizon HTC One (M8)] dottat:
do you have a custom recovery still installed?
[Verizon HTC One (M8)] aer0zer0:
All stock from the RUU. Was going to unroot, bootlock, and SON TO sell it
[Verizon HTC One (M8)] dottat:
you could always mount system in Twrp before that and use the built in file explorer to remove su from system/app. just do it in the right order so you have what you need to turn s on and lock.

I will strongly caution you that a lot of users have bricked this phone trying to do that. Best to just leave s off.
[Verizon HTC One (M8)] rmd0311:
Any luck. I'm thinking of unloading it as well. Right now thinking just Ruu and get rid or hide SU. Leaving it SON. Will possibly lock...
[Verizon HTC One (M8)] dottat:
If you guys are selling them just leave them s off. Won't hurt anything and it's possible someone might appreciate that detail.
[Verizon HTC One (M8)] Tigerstown:
Just wanted to say thanks fastboot work great as I got new RED m8 an my kid got my silver one. It took me longer to find stupid stock splash screen then the whole RUU process. Also I didn't have any problems removing su an it staying gone. ??
[Verizon HTC One (M8)] rmd0311:
Can the stickers fix be done with fastboot as well in RUU mode, trying to get back to full stock so flashing TWRP is not really an option.

I guess I can do a one time boot of TWRP just for that, using the fastboot boot xxxxxx.img.

Just curious.
[Verizon HTC One (M8)] dottat:
Twrp only. Won't work with stock recovery.
[Verizon HTC One (M8)] rmd0311:
Does RUU fastboot allow for a one time boot of a custom recovery, a la stock Android? I have done that with my Nexus devices.

It's fastboot boot xxx.img with other devices... Would that work here?

Thanks for this, by the way. Awesome just awesome. As an FYI, I too was able to remove SuperSU with the UNROOT and Remove option within the app. No issues, will leave S-OFF and Locked.

Like you said, may be a welcome addition...
[Verizon HTC One (M8)] aer0zer0:
curious, it didnt re-appear after rebooting?, i did full unroot, no dice, it just keeps re-appearing on reboot for me. I also did cleanup mode. Im going to re-RUU tonight and see if it is something in the installl
[Verizon HTC One (M8)] dottat:
Make sure if it asks you to reflash you do so...
[Verizon HTC One (M8)] Tigerstown:
No it was never there. I removed supersu from the zip before running RUU. That'd what I did anyways.

Also I didn't have to reflash either.
[Verizon HTC One (M8)] dottat:
In order to do that with the ruu zip you would need an app to mount/edit an img file if using Windows.
[Verizon HTC One (M8)] Tigerstown:
I use Linux an I had no problem doing this. As RUU went fine an there was no su when her phone booted.
[Verizon HTC One (M8)] aer0zer0:
well, hmmmmm, i reRUU'd and i can i uninstalled like clockwork...... whelp...
[Verizon HTC One (M8)] lucky_strike33:
I have ruu, locked and s on but can't get super user to fully unroot. Should I be ok for warranty exchange or should I try to go back to s off and uninstall super user??
[Verizon HTC One (M8)] dottat:
so the minute you s on you re-enable write protection. that protects the su app too lol. I would personally leave it as is...Will app manager allow you to disable su?
[Verizon HTC One (M8)] lucky_strike33:
I haven't tried that but I did do unroot from the su app but after reboot it comes back. I doubt app manager will work. Thanks for the reply.
[Verizon HTC One (M8)] hill180:
So if my goal is to go back to stock (leaving s-off).

RUU restore

TWRP Install

Install Stickers via TWRP

Boot to system remove root

Install Stock Recovery

Boot to system and wipe.

(is the HTC Backup app on the stock htc one m8?)
[Verizon HTC One (M8)] dottat:
Not on vzw. The intl one yes
[Verizon HTC One (M8)] hill180:
are you referencing the HTC backup app?
[Verizon HTC One (M8)] dottat:
Yes sir. Everything else looked about right
[Verizon HTC One (M8)] yakayu:
If I currently have SuperSU installed, will I need to uninstall it before I flash this?
[Verizon HTC One (M8)] dottat:
Nope..
[Verizon HTC One (M8)] yakayu:
What further steps will I need to do to go to completely stock at this point?

I need to return my phone to HTC and I don't want them to know anything.
[Verizon HTC One (M8)] lucky_strike33:
I did the advanced exchange and what I did to get back to completely stock is ruu , locked boot loader and s on. The order has been completed. U should be fine.
[Verizon HTC One (M8)] bigdogbosdroid:
Woohoo!!!!!

Was flashing a new ROM and during the TWRP wiping sequence, I got an error and figured out it was a corrupted cache. I couldn't get past the HTC boot screen, no matter what I did.

This saved my bacon. Thanks for this!!!!
[Verizon HTC One (M8)] dottat:
Had you tried fastboot erase cache while in fastboot mode?
[Verizon HTC One (M8)] mrgoodpaul:
How exactly did yoy go about relocking and obtaining s-on. Im having the hardest time finding a thread with that in them
[Verizon HTC One (M8)] dottat:
See post 197 in this thread
[Verizon HTC One (M8)] lucky_strike33:
I followed this method http://xdaforums.com/showthread.php?t=2745257

Let me know if you need further assistance.
[Verizon HTC One (M8)] regspy:
Requre RUU for a device stuck in bootloader with S-ON...
[Verizon HTC One (M8)] dottat:
Sorry. Non exist. You need encrypted and signed ruu for that. How did you end up there?
[Verizon HTC One (M8)] regspy:
Bummer! i wanted to go back to stock so after a RUU, unrooted, relocked my bootloader and S-ON. I rebooted to recovery and did a factory reset. Now all the device does is boot up to the H boot screen and says TAMPERED, LOCKED and SECURITY WARNING.
[Verizon HTC One (M8)] dottat:
Back to stock to return or sell?
[Verizon HTC One (M8)] regspy:
neither, wanted to get OTA updates. Should try a bounty to get a Verizon RUU leak or any solution for getting S-ON, locked devices back to life.

can't get s-off from fastboot, ADB doesnt work in bootloader state, its locked so no custom recovery, damn!
[Verizon HTC One (M8)] dottat:
Ok so for future reference....You could have been unlocked and s off and have gotten ota. You could have gotten ota with this very ruu. Stock recovery and untouched system is all you need.
[Verizon HTC One (M8)] regspy:
absolutely, learnt my lesson the hard way :)

i doubt there will ever be an encrypted RUU leak for m8
[Verizon HTC One (M8)] dottat:
Well....You might get lucky. You have stock recovery right? If so put the last update zip we got on your sd card. Boot into stock recovery and try to flash it.
[Verizon HTC One (M8)] regspy:
hmmm sounds like a plan, let me search for that update zip
[Verizon HTC One (M8)] dottat:
Runandhide05 posted a thread titled ota captured. Look for that.
[Verizon HTC One (M8)] jake.99x3:
Hey guys I seem to be stuck in a loop when trying to RUU back its stuck at <bootlader> [RUU]Uz,system,#
[Verizon HTC One (M8)] dottat:
The count looks like it's looping but it's not. The count is for each folder it's flashing in system. Leave it go longer.
[Verizon HTC One (M8)] Tigerstown:
A motnh ago or so When I ran ruu to give my daughter my silver m8 it took 475 seconds. At 1st I was worried but then I came here an seen dottat posted the output for us an it said something like 460+ seconds.
[Verizon HTC One (M8)] jake.99x3:
Yeah thanks I let it keep going and it finished. My fault for being impatient :D.
[Verizon HTC One (M8)] TylerG3:
So I am trying to get back to stock sense uprooted, s on boot loader locked, and tampered/unlocked flag gone. If I put this ruu on my ad card, then wipe all my data/cache etc. And flash the ruu, this phone will be like I took it out of the box? Am I right or wrong? Sorry guys still a bit of a noon at this.. Thanks!
[Verizon HTC One (M8)] lucky_strike33:
No this ruu will only bring it back to a stock Rom. It will not s on or lock your bootkoader. You need to follow this guide. http://xdaforums.com/showthread.php?t=

Any questions just pm me. I have done this before with no problems.
[Verizon HTC One (M8)] aer0zer0:
in hboot, when the ruu is processing, there is a status bar in the top right corner, running vertically, thats what i watch for
[Verizon HTC One (M8)] xsteven77x:
The HTC backup app says for ATT customers only. Does it work for us?
[Verizon HTC One (M8)] dottat:
The one I have on Android file host indeed works on all vzw HTC phones running sense 6 roms
[Verizon HTC One (M8)] reaper420:
Gotta say thanks for this. It seems to have fixed all my phone issues
[Verizon HTC One (M8)] studiorat:
OPtion 2 worked
[Verizon HTC One (M8)] dottat:
If option one failed your pc probably didn't have the almost two gigs free needed to perform the ruu
[Verizon HTC One (M8)] Vcek:
what are the chances of hard-bricking my phone if i flash this on an m8_whl (sprint phone) which is already s-off
[Verizon HTC One (M8)] dottat:
I wouldn't recommend it. However, this phone does seem pretty tough to brick properly.
[Verizon HTC One (M8)] Vcek:
ok if i flash radio.img only from the bootloader, will it mess up the other partitions ?
[Verizon HTC One (M8)] dottat:
Not if you use the radio zip files found in other threads.
[Verizon HTC One (M8)] Duckman_UF:
Dang it.....Stuck in RUU on the TWRP flash. The Image flashed fine with no reboot necessary. I'm not sure what to do?? Not sure if I pull the plug if I can get back in the bootloader to try again??? Little help!!
[Verizon HTC One (M8)] dottat:
Did you Fastboot reboot?
[Verizon HTC One (M8)] Duckman_UF:
I got it...No, couldnt do it progress bar was stuck command window was stuck on the file it was tring to load. Tied it twice and it stuck in the same place both times. I finally just Flashed the Main RUU image file and maually flashed TWRP with flashify. Forgot I posted this lol. Got it fixed pretty quick.

BTW.....dont forget to uncheck Fastboot in the settings>power menu or you wont be able to manually boot into recovery.
[Verizon HTC One (M8)] aer0zer0:
did it solve your problem
[Verizon HTC One (M8)] Duckman_UF:
Nope, I still cant load any GPE ROM....freaking Pi$$/ng me off lol
[Verizon HTC One (M8)] aer0zer0:
thats unbelievable :silly:
[Verizon HTC One (M8)] Duckman_UF:
I know....I'm about ready to fry this thing and get a new one. I just sent Santod a log to look at maybe he can figure something out. I Guess Ill be going back to AOSP/AOKP stuff until its fixed or whatever.
[Verizon HTC One (M8)] Vcek:
Flash the entire firmware over again(from bootloader or ruu) and reflash the custom recovery then install your rom

You might lose your data
[Verizon HTC One (M8)] Duckman_UF:
I've tried it already.....I have a thread over in the troubleshooting section. Man, you wouldnt believe everything Ive done. Nothing seems to fix this issue.
[Verizon HTC One (M8)] Scott:
Where is your thread. Let me take a look
[Verizon HTC One (M8)] Duckman_UF:
Thanks Scott, Between this thread a several other various threads I've tried a lot of stuff. Not to mention several PM's with Santod. I use your stuff all the time and like it but I cant get yours to load either. Yours and a couple others always hang up on "trimming system files" Check out the thread and see if you see anything. Appreciate any help I can get!

http://xdaforums.com/verizon-htc-one-m8/help/flashing-problems-t2834991
[Verizon HTC One (M8)] dottat:
Have you tried letting the stock rom fully boot after ruu and then booting to stock recovery and factory resetting and booting back up once more to then flash Twrp and your gpe rom?
[Verizon HTC One (M8)] silver04v:
Sounds like a good idea for sure. Stock recovery will clear up a lot of stuff.
[Verizon HTC One (M8)] Duckman_UF:
No, I have not. I'll try it though. I'll say this, Scott has me try and wipe the Data partition in TWRP and it would not wipe. It just ran forever until I eventually did a V batt pull.. I'll try it though. I really think something is hosed on this device.
[Verizon HTC One (M8)] Scott:
Yeah, thats a good idea...

I was trying to wipe i manually with TWRP and it sat for like what, an hour+!!!

I think the data partition is corrupted in some small way...

Trying with stock recovery can usually fix a lot of little things
[Verizon HTC One (M8)] berndblb:
TWRP 2.7.+ does a secure erase. That can take 90 min...
[Verizon HTC One (M8)] Duckman_UF:
I'll give it a shot around noon.

Well, I guess that explains that.
[Verizon HTC One (M8)] Duckman_UF:
I'm doing this now....I let the RUU reload settle, then booted back into Hboot and selected factory reset. The Icon is showing a Phone with two half circle arrows and an arrow pointed downward in the middle of them. This doesnt look like any factory reset screen ive ever seen and it been sitting here for quite a while. Any ideas??
[Verizon HTC One (M8)] dottat:
That sounds normal to me. Give it a few.
[Verizon HTC One (M8)] Duckman_UF:
Any ideas Scott??
[Verizon HTC One (M8)] dottat:
This device was never encrypted right?
[Verizon HTC One (M8)] Duckman_UF:
OK...but it's been about 20 minutes?? Ive never had one take that long. (other devices) I'll try to be patient though lol!

---------- Post added at 12:12 PM ---------- Previous post was at 12:12 PM ----------

Correct
[Verizon HTC One (M8)] spartandawgs_03:
Just RRU'd yesterday and factory reset to take care of some battery issues and yes that is normal. Just let it do its thing and it will reboot after.
[Verizon HTC One (M8)] Duckman_UF:
Copy, Thanks...Just never seen a device take this long before

You would think they would have an animation or something moving/ progress bar
[Verizon HTC One (M8)] spartandawgs_03:
Yeah I thought that was wierd to the icon as a whole when I factory reset yesterday but my phoen stayed on that screen for a good couple of minutes then it rebooted. Everything went fine after. The factory reset takes care of a lot of problems located deep within the system that a custom recovery just cant touch.
[Verizon HTC One (M8)] Duckman_UF:
I'm working on about 35 minutes....???? My luck
[Verizon HTC One (M8)] dottat:
Odd.....

If it never completes you probably have bad hardware. Strange though.
[Verizon HTC One (M8)] Duckman_UF:
I wonder why it works so well with AOSP or Skyfall? Really weird. It's still just sitting here doing nothing as far as I can tell. No animations. It would be difficult to get HTC to replace it I think if it's working lol...But not for my (Our) purposes. I want something I can flash like normal. I'm not sure what to do here. I think it's sat long enough. Spartan said his only sat for a coulple mins.
[Verizon HTC One (M8)] dottat:
Do they flash /data files on flash?
[Verizon HTC One (M8)] Duckman_UF:
I can flash AOSP/KP, skyfall and a couple others with TWRP. I can restore Nandroids also. It just seems to be GPE and a couple others like Wicked, cleanrom...IDK...It must be a hardware issue

---------- Post added at 12:41 PM ---------- Previous post was at 12:38 PM ----------

Not sure what you mean by data files...I just go in TWRP and do an advanced wipe selecting the top 4 boxes and flash the ROMS clean.
[Verizon HTC One (M8)] santod040:
No they do not.

Aosp roms never flash data files.

Maybe the rare off-breed custom one-off rom might.

But typically no, Aosp does not install anything to the /data partition.
[Verizon HTC One (M8)] Duckman_UF:
Is there any way to correct a corrupted data partition?? I either have to get this thing fixed or I need to figure out a way to return it for a new one. This all happened suddenly a while back. Business as usual and then BAM. Ive been sitting here trying this factory reset for about an hour. It's pretty apparent its either froze or just not going to work. Should I just Vpull and RUU again for now? Have to go to work in a couple of hours.

I mean, does everyone agree? it's been an hour and 12 miutes?? Long enough or could it be repairing something? If there is a chance its fixing the partition I'll let it run but if its just hung up I would really like to get it funtional again. It's the only comms I have here lol

---------- Post added at 01:12 PM ---------- Previous post was at 12:50 PM ----------

Great.....cant even get to the boot screen now.

---------- Post added at 01:22 PM ---------- Previous post was at 01:12 PM ----------

No matter what I do it boots to the factory reset sceen....Hboot will not come up at all or at least I cant get it to. Should I return it to HTC? I dont have insurance on it. Thoughts? I'm phoneless now.
[Verizon HTC One (M8)] dottat:
Factory reset screen or ruu mode screen? Did you try a hardware button forced reset?
[Verizon HTC One (M8)] Scott:
Thats waaaay to long for standard factor reset.

Thats what I said A while aog. I think his data partition is corrupted. I was hoping the true factory reset would get him going again but... As you can see...

If you are on Verizon you can call them and tell them its just stuck on that screen. They shoudl replace it because the phone is less than a year old. They can fed ex you one and you can get it for Monday.

Do you have another phone you can use in the meantime?
[Verizon HTC One (M8)] Scott:
Oh, you think maybe he is actually in download mode???
[Verizon HTC One (M8)] dottat:
Tried to help someone brick an m8 once. It finally would only boot to ruu mode...lol
[Verizon HTC One (M8)] Scott:
Hmmm...

Yeah, I feeling that his phone is done for.