yashsingh1/xdaforums huggingface dataset:
[Verizon HTC One (M8)] dragontology:
So... I might have a hosed data partition again.

I did the RUU back in, I think, March? Since then I went from stock rooted (included in OP), CleanROM, Adrenaline, and then Viper. Things were going good. I got the urge to try GPE again, and things were acting up (Verizon widget wouldn't load, Google Play books wouldn't open (the books themselves), so I figured, okay, I'll just restore my Venom Nandroid. Tons of red text, unable to mount Data. This is why I RUU'd before. I though I fixed it. TWRP is saying it can't mount an encrypted partition, but I never encrypted it.

Nothing can write to data, so I have Venom installed, but it won't boot (I guess because data is hosed?) so I guess I'm soft bricked? Not too worried since I've been here before.

Last time it happened, the RUU said it failed and I got the four !'s, so I flashed HBOOT as directed and re-RUU'd, and it worked. Seemed to fix it. I'm wondering, maybe it didn't? Maybe the Sense ROMs just didn't tick it off, and the GPE ROM did?

I'm gonna RUU again (and flash HBOOT and RUU again if need be) but am I barking up the wrong tree? Could I have a hardware failure I need to address with HTC and/or Verizon? I'm about a week from owning this phone a year, so it should still be covered, more or less. I mean, I know S-OFF/root voids warranties, but I wonder if they'll fix it if it's a serious issue. Anyway we'll see how it goes.
[Verizon HTC One (M8)] Schedonnardus:
so, does Option 1 take awhile to load? I'm going on 15 mins here, still on the Hboot screen. The progress bar has stopped moving with just a sliver to go, with no errors or anything listed on the screen. keeping my fingers crossed that it is eventually completes.
[Verizon HTC One (M8)] dottat:
Flash the hboot separately (but using the exact same method) first..

Please download and flash the L hboot from here.

https://www.androidfilehost.com/?fid=95916177934537709
[Verizon HTC One (M8)] Schedonnardus:
updating now thanks! The tether .zip, is that flashed in hboot as well?

---------- Post added at 10:39 AM ---------- Previous post was at 10:26 AM ----------

once the update completed i had the following on my Hboot screen (i'm leaving out the parts that were successful:

[3] userdata - fail pu

[4] bootloader - fail pu

[8] sbli (8) - bypass

[13] TP - bypass

Partition update fail

update fail

press power to reboot

I rebooted, and now "Android is updating"

Searching through the thread, i cannot find exact references to my problems, but it sounds like i should "fix partitions?" Folks are saying to use TWRP, would CM recovery work as well? is there anything else that i should do?

Sorry for all the noobish questions. I appreciate all the help here in the thread, and for your putting together the RUU!
[Verizon HTC One (M8)] dottat:
No that will be flashed in twrp
[Verizon HTC One (M8)] smokawhat:
help

will this unroot my phone?

Current Phone Setup:

HTC One M8

Rooted (Suesu)

S-off

Andriod 4.4.2

HTC Sense 6.0

ROM ViperOneM8 1.8.0

TWRP 2.7.1.0

Kernel 3.4.0.g2e0a4a7
[Verizon HTC One (M8)] dottat:
No. It's pre-rooted.
[Verizon HTC One (M8)] smokawhat:
ok thanks!

how/where do I run this zip and at what point of the process?

"Tweaks zip to unlock tether/disable max password wipe/enable music channel"
[Verizon HTC One (M8)] dottat:
After you flash the ruu you will need to flash twrp. Then use twrp to flash that zip if you want those tweaks.
[Verizon HTC One (M8)] smokawhat:
ok and last question:

"Optional If you wish to flash a custom recovery before leaving RUU mode you can. This is helpful if you have relocked for any reason as you CAN flash a recovery using this method while locked (since s-off). Download the ruuM8TWRP_2_8_5.zip below and place it in your working fastboot/adb directory. Once in place, issue the following command. "

when you say "before leaving RUU mode" what do you mean by this? will this be obvious when im in the adb after running the install?
[Verizon HTC One (M8)] dottat:
If you flash the ruu via fastboot you can simply flash the twrp zip mentioned there immediately after the ruu without rebooting. Then you will boot up with twrp and stock rooted software. Let the Rom boot up once and then reboot to twrp and flash the tweaks.
[Verizon HTC One (M8)] smokawhat:
Great! thanks you so much.. almost done getting the download, going to fastboot it soon!

---------- Post added at 02:17 AM ---------- Previous post was at 02:03 AM ----------

if im going to flash ViperOne newest ROM, should I not use this, but use http://xdaforums.com/showthread.php?t=2723159

if I go that route is it only going to update my firmware (which is all I need to flash the new Viper rom)?
[Verizon HTC One (M8)] dragontology:
Viper is what I use; I can confirm that you can flash Viper after RUU'ing and flashing TWRP.

Basically, for Viper your phone needs to have the 5.0.1 firmwares. They're included in the RUU.

Viper is great. Hope you enjoy it. I think it's safe to say that it's the most feature-rich Sense 6 ROM available. The others (Adrenaline, CleanROM, NuSenseSix) go for lean and mean, and they do it well, but if you want more features than you know what to do with, you want Viper. VenomPie does FC once every day or two whether you use it or not (I don't), but it's the only problem I've found.
[Verizon HTC One (M8)] smokawhat:
Got it, thanks.

FYI, I successfully loaded just the firmware, TWRP, Viper, and then flashed the tweaks for the "10 attempts" lockscreen thing, and then changed the code in the system to get rid of the wifi nag. Uploaded my Titanium backup and was good to go! Thanks everyone for the info and making it easy! My phone is sure running smoother :)
[Verizon HTC One (M8)] Schedonnardus:
weird, so every time i reboot, i get the "android is updating" window and it reinstalls apps that i had uninstalled previous to reboot. kinda odd. Has anyone else seen this before?
[Verizon HTC One (M8)] dottat:
Usually that means there are multiple folders with the same apps installed in /data/app. Usually one has a number appended to it.
[Verizon HTC One (M8)] Schedonnardus:
thanks, that was it
[Verizon HTC One (M8)] carm01:
IF you don't want to have to go through all that every time , you need to set the owner of the data/app folder to system and group to system:

http://xdaforums.com/showpost.php?p=61378573&postcount=6

This will resolve it permanently
[Verizon HTC One (M8)] dottat:
Hah. I just came back here to post this same thing tonight. Thanks for beating me to it. This really applies to any rom and experiencing the issue.
[Verizon HTC One (M8)] carm01:
NP, I made a flash-able zip for this and I tested it by setting root as owner on all subs via root explorer and then flashing this and it set all the permissions back system owner/group.

I will post it here and let you take a look at it to see make sure all is good ( i believe it is ) , if not I will pull it.

I also noticed and changed sbin to xbin as sbin does not exist in system order to get this to work?
[Verizon HTC One (M8)] darthnix:
Do we have to flash the L hboot before we use this program? Or do we just flash it if the phone gets stuck?
[Verizon HTC One (M8)] dottat:
If you get stuck is fine. As long as you know that ahead of time.
[Verizon HTC One (M8)] darthnix:
Sorry, I don't really understand what you wrote. So I only have to flash it when I'm stuck?
[Verizon HTC One (M8)] darthnix:
I'm only asking because you have a spelling error, so I want to make sure I understand what you were trying to say.
[Verizon HTC One (M8)] darthnix:
No really, there is a spelling error, and I'm not sure what you mean.

I need to know before I **** up my phone.
[Verizon HTC One (M8)] dottat:
You asked an either/or question. I answered with the fragment that occurred after your "or". What doesn't make sense?
[Verizon HTC One (M8)] darthnix:
When I label the file "0B6IMG.ZIP" and put it on my SD card, Hboot recognizes it, but it gets stuck. Thankfully I can do the simulated battery pull and it didn't break anything on my phone, but does anyone have a solution for this?
[Verizon HTC One (M8)] dottat:
Yes.. flash hboot first. Then do ruu.
[Verizon HTC One (M8)] MotoTurbo:
just did an ruu and going in to recovery to do a factory reset and get these messages at the bottom of recovery.

E: missing bitmap oem_unlock_bg

code -1

E: missing bitmap oem_unlock_bg_yes

code -1

E: missing bitmap oem_unlock_bg_no

code -1

everythings fine with my m8 just curious if any1 can shed some light on these, cant remember if these were displayed when i updated to lollipop
[Verizon HTC One (M8)] dottat:
Someone else posted this a while back. It's normal. No factor.
[Verizon HTC One (M8)] Kidinferno2113:
Hey Dottat, first off, I want to thank you for all that you do here. I was using your 4.4.2 build for quite some time, but I made the jump to 5.0.1 the other day, and I am having a slight problem. Every time I reboot the phone, it "upgrades" about 38 apps, and then after boot, Google Play says I have about 50 app updates. However, all of my texts, game data, etc is all there. Is there something I did wrong? Thank you for your time.
[Verizon HTC One (M8)] MotoTurbo:
You did nothing wrong just a "bug" I guess in lollipop? It's been mentioned a lot. Go look in /data/app and you will see a bunch of folders for the same app. Delete all but the most recent for each app. And run this command in terminal emulator after

su

cd /data/app

chown -R system:system

That's how I go about fixing this problem other solutions exist

Sent from my One M8
[Verizon HTC One (M8)] JellyKitkatLoli:
[MENTION=3472611]dottat[/MENTION]; do you know if RUU/FUU fixes this http://xdaforums.com/verizon-htc-one-m8/general/lte-band-7-2600mhz-finally-guide-t2992523 back into the defult verizon ones?
[Verizon HTC One (M8)] dottat:
I doubt it. When you manually edit nv radio settings you have to manually revert them.
[Verizon HTC One (M8)] JellyKitkatLoli:
Aw man, Could you help me out with this? Just tell me the stock ones, if it isn't big of a bother, I did write them down however I think I got confused.

I don't mind waiting hehe

Thanks in advance even if you can't help out
[Verizon HTC One (M8)] dottat:
I would.....if I still ran an m8. My m9 likely is different. Possibly someone in that other thread can give you the values?
[Verizon HTC One (M8)] JellyKitkatLoli:
Alright thanks, and I believe I've fixed it, I believe I was in panic due the fact some of the values already had the GSM variant values so it confused me, and secondly is that after I stopped using mobile data my phone would just drop connections entirely and even go to UMTS, I believe this is becuase it was trying to capture a non existant 4G

Now I can freely drop mobile data and it will go to HSPDA instead of dropping signal to naught.

Seems like RUUs aren't a magical fix for everything :D
[Verizon HTC One (M8)] stefwall:
enquiry

why am i getting that fancy writing for the image version
[Verizon HTC One (M8)] dottat:
Well this is probably the third time I have mentioned this.

The exe is expecting to read an encrypted file. The custom ruu is not. Therefore when it reads the text file it doesn't know to display the plain text field and instead displays the characters as if decrypted.
[Verizon HTC One (M8)] mattie_49:
If I download the standalone zip in the op that's the latest Verizon firmware . and I can RUU this through my laptop correct.?
[Verizon HTC One (M8)] dottat:
Yes you can with the HTC version of fastboot.
[Verizon HTC One (M8)] hfam:
Hi dottat,

Thanks for all the hard work, and for all the assistance out here!

I've read about the entire thread here, and saw the above exchange with a gent who has about the same sitch as I do, Verizon M8 stock 4.4.2 rooted, S-Off, no system hacks etc.

If I read the above, it makes sense, but I want to confirm I've got it right, and hopefully get a link to the 5.0.1 RUU S-On you referenced but I can't seem to find anywhere:

- Grab 4.4.4 S-On firmware from link above

- Flash recovery.img from zip file to remove TWRP from current setup

- Accept OTA to 5.0.x or whatever it throws at me (I'd prefer to just then flash your 5.0.1 RUU S-On)

- Re-install TWRP and SuperSU

- I now have my updated phone to 5.0.1 official, rooted, still maintain my S-Off (even though I flash a 5.0.1 S-On img, and all my apps and data are still intact?

That would be absolutely brilliant if I'm reading this correctly.

Can you please confirm I've got it right, or point out where I've got it wrong, and if you'd be so kind, repost a link to the 5.0.1 RUU S-On package you refer to?

After 40+ pages of reading, I was resigned to having to refresh all data on my phone, etc, but then came across this bit and thought it would save me a bunch of time if I'm understanding correctly and I could keep my data, restore TWRP partition and root afterward! :)

Thanks eternal brother, I sure appreciate any and all assistance you can provide!!

hfam
[Verizon HTC One (M8)] dottat:
Flash this http://xdaforums.com/showthread.php?t=2883845

Then twrp

Then supersu.zip
[Verizon HTC One (M8)] hfam:
Heya dottat,

Thanks for taking time to respond so quickly! My apologies, when I clicked that link previously, I hadn't scrolled down to see all the other version links you'd posted in that thread and assumed it was just the 4.17.605.5 files below. I see there are many versions there!

Just to confirm, I'm downloading the 5.0.1_S_On_RUU.exe file. My phone currently has Clockwork 6.0.4.8 for the recovery partition.

If I just go ahead and fire up the .exe file and follow the prompts as you've indicated, it will:

- blow away the custom recovery partition and replace it with the stock recovery

- update my phone to 5.0.1

- not overwrite proggys/data/etc

- maintain S-Off so I can install TWRP and re-root with supersu?

Sorry for the n00b style questions/confirms, but unlike you whip smart guys, I only do these occasionally when needed and it's been a while. Want to make sure I'm not overlooking something or walking into a wall. :)

Thanks again for everything brother, will definitely donate for the assistance and brilliant work once I get this updated!
[Verizon HTC One (M8)] dottat:
Yes. You pretty much got it covered.
[Verizon HTC One (M8)] hfam:
Thanks again dottat for the quick reply!

Well, I've got it downloaded, plugged in my phone, fired it up, and the initial screen indicates that it is indeed your 5.0.1 S_On RUU, but it says:

Caution: Installing this update will delete all the information and data on your phone. We recommend that you review the ReadMe first for important information before continuing.

Below that it, it says:

During the update, the Firmware Update Utility will:

- update the Firmware on your Android phone.

I'm really sorry again for the n00bish question(s), but the point of doing this particular one was so it doesn't wipe the data and info.

Did I grab the correct file? I downloaded: DOTTAT_VZWM8_S_ON_5.0.1_RUU.exe

Is it indeed going to wipe the data and info?

I'm sorry brother, but I'm now completely lost on how to proceed without wiping the data/info. Any assistance would be greatly appreciated.

Thanks again!
[Verizon HTC One (M8)] dottat:
It won't wipe. The ruu zip itself determines whether a wipe will occur. This one will not.
[Verizon HTC One (M8)] hfam:
I love you man! :) Thanks eternal for the lightning quick confirmation, here we go! I'll report back with undoubted success!

**UPDATE** Success!! Perfect update (outstanding work on the packaging of the exe, soooo easy!!), fastboot updated TWRP (used 2.8.5, thought I read to use this one), updated SU, and it's running great!!

Sent ya a donation brother, enough for some beers or maybe a pizza delivery. Thanks again for everything, you're a true gem!
[Verizon HTC One (M8)] gaurika:
Guys, did any of you had problems with keyboard language download? Google play keeps telling me that "Your device isn't compatible with this version". Is it related to Lollipop Sense not compatible? Is there any solution to this?

Verizon HTC One M8, S-off, rooted, latest RUU.

Thanks!
[Verizon HTC One (M8)] wkr.mky:
Is this correct?

I'm trying to RUU, add TWRP, and Firmware today. Or should I reboot after each, or use the SDcard method?

fastboot oem rebootRUU

fastboot flash zip DOTTAT_VZWM8_S_OFF_5.0.1_RUU.zip

fastboot reboot-bootloader

fastboot flash ruuM8_TWRP_2_8_6L.zip

fastboot flash VZWm8Lfirmware.zip

fastboot reboot

Also thank you dottat for all your work! Much appreciated. :good:
[Verizon HTC One (M8)] dottat:
Firmware is included in ruu so that step would be redundant but yes.
[Verizon HTC One (M8)] wkr.mky:
Thanks again dottat!
[Verizon HTC One (M8)] -4ndr01d-:
ok, so im having a 4g issue. i cannot pull 4g anymore, nothing has changed ...just one day realized i dont have 4g

everything is up to date (OS, firmware, radio etc for verizon)

ive done everything short of a factory rest/ruu ...even got a new sim card (hoping this isnt a hardware issue)

im s-off and bootloader unlocked

[MENTION=3472611]dottat[/MENTION] so for option 1, I download the standalone zip, rename and place on sdcard. ..that will RUU me back to stock? keeping s-off and unlocked status?

given that I'm on the latest hboot/firmare/etc do i need to flash the L hboot as well mentioned before option 1?
[Verizon HTC One (M8)] dottat:
You could simply stay on whatever rom you are on and flash stock recovery and do a factory reset and test that first.
[Verizon HTC One (M8)] -4ndr01d-:
yea, that didnt do the trick ... I have a replacement coming in. is there a way to go back to fully stock? i dont care about going back s-on (but would be a plus) ... just locked bootloader without the "tampered"
[Verizon HTC One (M8)] aedv:
I'm selling this phone so I'm trying to return it to factory. I followed directions here and am running stock recovery/stock lollipop. I then turned S-OFF. Now I'm trying to unroot and I can't get anywhere. Using the unroot feature inside of SuperSU does nothing. No response, even following a reboot. SuperSU continues to live on. I've tried Universal Unroot, and that didn't work either. Thoughts?
[Verizon HTC One (M8)] dottat:
You turned s off or on?
[Verizon HTC One (M8)] aedv:
My bad, I turned S-ON. Sorry.

Steps:

Flash the stock pre-rooted RUU in this thread using SD card method. <= successful

Lock bootloader. <= successful

Turn S-ON. <= successful

Unroot??? <= where I'm stuck

My booloader now shows ***LOCKED*** in pink, but Software Status: Modified (not official). M8_WLV PVT SHIP S-ON
[Verizon HTC One (M8)] dottat:
So now if you flash the matching s on RUU it will remove root
[Verizon HTC One (M8)] aedv:
Would you please point me to where I would find such a file?
[Verizon HTC One (M8)] dragontology:
Running RUU again. Takes forever to do it right (RUU, userdata fails, ROM boots, rename 0P6BIMG.zip to ROM.zip, reboot to bootloader, factory reset, ROM boots, rename it back, reboot to bootloader, RUU again) but so worth it. If only there were a faster way.

For clarification, why are [8] SBL1 (8) Bypass-S and [13] TP Bypass? Everything else is OK.

After the first RUU, it had to optimize 220 apps. That seems high. After the factory reset, it was 280, and now, after the second RUU, it's 280 again. I think what happened is, the first RUU got the PU failed or whatever on userdata... and the ROM I came from before plus user installed apps equaled 220 apps, while with the Verizon bloat there's 280. But that can't be right, can it?

To clarify, the RUU mode TWRP flashable... Can that be flashed by renaming it to 0P6BIMG.zip, or only fastboot oem rebootRUU? EDIT: 0P6BIMG.zip mode flashable confirmed, awesome!
[Verizon HTC One (M8)] Bad Bimr:
So doing this RUU will get my phone back to 100% stock w/root. Will I loose S-Off or the unlocked Bootloader?

Currently on a Custom Sense 4.4.4 ROM. I want to go to 100% pure stock before I start tinkering again.

Thanks

BB
[Verizon HTC One (M8)] dragontology:
No and no. I've RUU'd five times now, and I have never lost S-OFF. The bootloader isn't locked. Have you ever unlocked yours? I've only rooted and gained S-OFF. Never did anything to the bootloader. International users, I believe, can unlock the bootloader and flash stuff while S-ON. But I think if you're S-OFF you don't need to worry about that.
[Verizon HTC One (M8)] Resputan:
Dottat, i sent you a message but wanted to post here as well.

I tried updated my phone that is s-off and rooted from 4.4.2 to 5.0.1. I flashed the hboot from this thread first then ran the exe. It kept getting stuck at sending and after a few restarts run through then failed around 95%. Now all I can get on my phone is the exclamations in the four corners, nothing else. When I check ADB it doesnt list my device and trying to flash the hboot from there again doesnt work. Here is my info that you asked someone else for that I hope might be helpful:
[Verizon HTC One (M8)] dottat:
Since you are in ruu mode you need to flash the 5.0.1 lollipop hboot zip. I can tell from your getvar output you flashed a really old hboot.
[Verizon HTC One (M8)] Resputan:
Man youre quick, I came back to edit my post and already had a reply.

Before I saw your reply though I ran the exe a few more times just to see if it would go any further and this last time it went to 100% and the phone is booting up now and optimizing the apps.

With that being said, and taking your last comment in to consideration with the really old hboot i flashed, what should be my next steps? I was going to run the exe again since I had so many issues getting it to take this last time, should I flash a new hboot still? The one in the op?
[Verizon HTC One (M8)] dottat:
If everything in the exe successfully flashed you now have the new hboot and everything. So you should be good to go. That old hboot would have been your culprit.
[Verizon HTC One (M8)] tier1dc:
I used the RUU here and got the following errors

3. user DAta Fail-PU

4. PG2FS_SPCustom Fail-PU

9. TP Bypass

partition update fail!

update fail!

my versions are as follows

HBoot - 3.19.0.0000

RAdio 1.09.20.0926

OS-3.28.605.4 (4.17.605.5)

and now I have the 4 Warning signs in the corner....
[Verizon HTC One (M8)] dottat:
Re-run the ruu. Bypass is ok. Pu means you need to run it again.
[Verizon HTC One (M8)] tier1dc:
that worked. just letting HTC sync restore my stuff now.

got a little freaked out there for a minute. thanks for the quick responses. Very much appreciated.

:good:
[Verizon HTC One (M8)] tier1dc:
Not having any luck with TWRP updating in App. Is there another way to go about loading the update the 2.8.5 img file?

used flashify. sorry.
[Verizon HTC One (M8)] dottat:
If you keep trying you will likely need too ruu again. Twrp manager sucks because it often flashes to the wrong partition. Manually flash recovery via fastboot.
[Verizon HTC One (M8)] tier1dc:
thanks so much for the quick responses. Awesome that you would help. Just one last question;

Does the old "EnableDefualtTether_2.21.605.2_VZW.zip" still work with 5.0.1? or is there a new one?
[Verizon HTC One (M8)] dottat:
Lemme double check that
[Verizon HTC One (M8)] dottat:
Use this one buddy...

https://www.androidfilehost.com/?fid=24052804347801368
[Verizon HTC One (M8)] tier1dc:
Yes! thanks. It totally blows my mind that VZW can legally get away charging a monthly fee for a built in phone feature.

thank you very much. your threads are awesome. cheers.
[Verizon HTC One (M8)] dragontology:
Because when you tether, you're making use of a second data plan that does not at all count against your main one, so you have to pay for that, too. /s

Just kidding, it's because they're greedy. US Cellular, and probably others, do it too. Completely stupid. But that's why we root our phones. And, why I think what Motorola is trying to do, with the Moto X Pure, by selling phones directly to consumers, is so important. Sure, it's $400 to start, but if you want a Samsung Galaxy or iPhone two storage sizes higher, you're paying $400 on contract. Or a Samsung Edge or iPhone Plus with one storage size higher. There are people paying $500, $600 for a phone after subsidy! So for Motorola to sell the whole phone for $400, and get out from under carrier involvement... I really hope it works out well and others join in.