yashsingh1/xdaforums huggingface dataset:
[Verizon HTC One (M8)] kerryh:
deleted

---------- Post added at 09:31 PM ---------- Previous post was at 09:30 PM ----------

Some background: Up until this morning when another member pointed me in the direction of a good read I was unclear on the difference of a RUU, FUU, firmware and ROMS. I am still not sure I understand but at least I am aware that there are differences. I never messed with an FUU because I had never heard of it before. I knew there was a difference in ROM and firmware but what I thought was that FW was the "framework" of the way hardware and software (the rom) interacted and that ROM was just the software or UI. I knew that the software (rom) got written in only some, not all, of the partitions - I thought there were like 7, not 48 .

My point is that I am not sure what has happened. I have flashed so many files I don't know where I am at right now. I have 95% of the time had successful flashes with minimal adb and fastboot. started having issues when I flashed S.ROM by sundream a few days ago. This really got bad yesterday when I tried to flash Revolution. Not sure whether is was that or the HTC adb/fastboot I installed yesterday. All I know right now is no thing will flash in fastbootRUU mode except small files like vzwm8lfirmware.zip . RUU files are a definite no go. Problem I have with that is I have had many many successful flashes in the past, so it's not the version of fastboot. The error is RUU mode is "failed, not enough bytes, no error" but the file size is lower than the limit size. barely by like 100,000 bytes, but still lower. I did flash an hboot, but I can not remember if it was before or after the attempted RUU. This is all a result that began with trying to flash REvolution ROM. I was on a 4.4.4 Sinless rom and was updating the FW to be compliant with REV43 FW 5.0.1. Other member suggested flashing a kenel right after the ROM. I must have tried ever one of them that were out there...hypernova, elite, flarport, beyondstock, reg stock. you name it. my mind is still reeling from the frustration of trying to figure this out.

One guy suggested uninstalling fastboot and adb and refreshing it. Truth is. I don't even know where to go from here.
[Verizon HTC One (M8)] dottat:
Would you be open to a team viewer session with me to clear this up?
[Verizon HTC One (M8)] kerryh:
yeah, sure. What's a team viewer?

Also, maybe thi would help you understand my challenges. http://xdaforums.com/showthread.php?t=2694917&page=2693#post62143122
[Verizon HTC One (M8)] dottat:
A free app you install on your PC. When you have it installed and open pm me your id and password.
[Verizon HTC One (M8)] Cremnomaniac:
Regarding the ADB file.zip linked in the OP:

I've acquired a HTC One VZ to replace my HTC Inspire 4G. I had already setup ADB for the Inspire, but it seems I should upgrade/replace the ADB version I have. I'm wondering if the files you suggest are better to use than say "Minimal ADB and Fastboot" or the "15 seconds ADB Installer".

I tried to use your files in place of my original adb.exe and fastboot.exe but something didn't work as the HTC One isn't recognized. Maybe I need to update the drivers as well.

Just trying to clarify things. Thanks for the help.
[Verizon HTC One (M8)] dottat:
You simply unzip the folder in the op and use that folder as your new working adb/fastboot directory. It doesn't need installed and yes it is better than the ones you mentioned. For example those older ones simply cannot flash a signed ruu at all. They don't know what to do with a l@rge zip formatted ruu.
[Verizon HTC One (M8)] sjpritch25:
Hopefully we will get 5.1 soon
[Verizon HTC One (M8)] denpad2010:
im on the 4.4.4 so can i download the 5.0.1 and update via fastboot using memory card???
[Verizon HTC One (M8)] -4ndr01d-:
my phone was: software status: modified - relocked - s-on

used the 5.0.1 FUU successfully

now my phone is: software status: official - relocked - s-on

is there any way i can get the 'relocked' back to 'locked' at my current state?
[Verizon HTC One (M8)] dottat:
Only if you can s-off again.
[Verizon HTC One (M8)] -4ndr01d-:
ok, thanks . my other phone is

software status: modified - unlocked - s-off

will running the s-off_5.0.1_fuu(from the other thread) get me to software status:official - unlocked - s-off ??
[Verizon HTC One (M8)] dottat:
It should it but if it doesn't you can use the s-on one. Are you looking to return that to stock too?
[Verizon HTC One (M8)] -4ndr01d-:
no do not want to return to stock on this one...my replacement phone was unlocked/s-off'd using the new kingroot/sunshine method and left me with ***modified - unlocked - s-off***

the modified part is what i want to get to official .... kind of OCD about it
[Verizon HTC One (M8)] dottat:
There are ways to edit that out. But the minute you start flashing other stuff it will show modified. If it's s-off and unlocked it IS modified and changing that won't fool anyone.
[Verizon HTC One (M8)] -4ndr01d-:
yea I was just hoping to get to where i was with my old phone ***official - unlocked - s-off***

ill try the s-off fuu and see what happens later today ... if anything that should just return me back to stock rom with unlocked and s-off still right?
[Verizon HTC One (M8)] BenRad:
I'm here because I need to send my phone back in, and I've been all over the forums and now I'm confused...

I flashed a stock unrooted rom.

Ran the echo -ne '\x00\x00\x00\x00' | dd of=/dev/block/mmcblk0p2 bs=1 seek=33796 command.

Phone locked, all looked good.

Then I ran the S-ON command and now I've got

TAMPERED

LOCKED

Security Warning

I guess I did it in the wrong order? Should I Sunshine to s-on again?

I'll keep reading, but if anyone could help, I'd be very happy.

Thanks.
[Verizon HTC One (M8)] dottat:
Just run the s-on ruu now.
[Verizon HTC One (M8)] BenRad:
That did it! Thanks, you have rocked my world.
[Verizon HTC One (M8)] dottat:
Latest s-on ruu options are posted.
[Verizon HTC One (M8)] StarfishP:
I have a question,

So i'm trying to fix my plagued only on 3g problem. Currently I'm s-off rooted on an AOSP rom. If I run any of these RUUs, will my internal hd be wiped? And also will I lose root/s-off?
[Verizon HTC One (M8)] dottat:
No it will not wipe. However, you have to wipe data to go from aosp to sense anyhow.... And you likely need to factory reset using stock recovery to get back data
[Verizon HTC One (M8)] rhys100:
I am trying to get my firmware from 3.16 to 3.19 so i can flash the latest CM nightly

I am currently S-ON

I am currently on Skydragon 5.1 Firmware base: 4.04.1700.4

I have tried flashing 5.01.zip and using the .exe but all fail.

What is the quicker method for me to upgrade to 3.19?

I am currently downloading latest google play stock from but I don't think thats going to work?
[Verizon HTC One (M8)] dottat:
If you are s-on, you also need to have a locked boot loader to flash these. Are you locked?
[Verizon HTC One (M8)] rhys100:
my boot loader is unlocked?

Would the faster process be to S-off? or lock bootloader than try the install again?

---------- Post added at 11:25 PM ---------- Previous post was at 10:41 PM ----------

I used sunshine to S-off and now flashing the S-off versions... DOTTAT_VZWM8_S_OFF_SF_5.0.1_RUU.zip - thanks
[Verizon HTC One (M8)] crono9977:
Hi, is anyone else not able to open the .zip files. I've downloaded a couple files but I can't open any of the RUU zip files. I just get "can't open archive"/"Zip file is invalid" errors. Thanks.
[Verizon HTC One (M8)] dottat:
You can't open a signed encrypted ruu without the right tools. That said, what are you looking for?
[Verizon HTC One (M8)] crono9977:
Oh ok, I was just wondering if that's how it was supposed to be. I'm using the .exe to update but it seems to be stuck at sending update file (10+ min). I tried copying the zip file over but it says cannot copy item, so I'm not quite sure what the problem is.
[Verizon HTC One (M8)] dottat:
Flash the hboot first. Then reboot and run the ruu again.
[Verizon HTC One (M8)] smokawhat:
The Ruu exc is stuck at 3/8.. I did not run the hboot first.. Is it safe to unplug my phone from the computer? Will this cancel the exc? Then I'm assuming I need to run the 5.1 hboot first then the exc...

Thanks
[Verizon HTC One (M8)] dottat:
Safe yes. I would to that and then repeat.
[Verizon HTC One (M8)] smokawhat:
Also I'm a little confused..

What do you mean by this "Make sure you download to this software/firmware combo using my other pre-rooted version first!!!!!"

Also on the steps you said to do in a different thread are different then the steps here

"Simply boot phone to twrp.

Open adb shell on your phone and run the following command

echo -ne '\x00\x00\x00\x00' | dd of=/dev/block/mmcblk0p2 bs=1 seek=33796

Exit

Exit

Adb reboot-bootloader.

***verify now locked.

Now run the applicable s-on ruu for whatever os/firmware you are current on from here ...http://xdaforums.com/veri...605-2-t2883845

When that completes you may need to factory reset to boot.

You will be locked. Fully stock. No red text. No supersu. Once all is verified you reboot to boot loader fastboot mode and turn s on with

Fastboot oem writesecureflag 3"

And here you say to do the s-on first then run the RUU..

I'm lost..

This is what I've done:

Phone started with: rooted, s-off, viperone, TWRP, 4.17.605.5

Simply boot phone to twrp. Done

Open adb shell on your phone and run the following command done

echo -ne '\x00\x00\x00\x00' | dd of=/dev/block/mmcblk0p2 bs=1 seek=33796 done

Exit done

Exit done

Adb reboot-bootloader. Done

***verify now locked. Phone said **LOCKED**

Ran the DOTTAT_VZWM8_S_ON_5.0.1_SF_RUU.exe

And this is where it froze at 3/8....

What did I do wrong and what are the rest of my steps to finish?
[Verizon HTC One (M8)] piyushkohli97:
will flashing these s on my device?
[Verizon HTC One (M8)] dottat:
Nope.
[Verizon HTC One (M8)] klevismartini:
make a full factory reset to the vrz M8

hi, i updated my vz m8 with your lollipop ruu and it works but it doesnt make the factory reset as always the ruu do?

can you please let me know how can i update my vz m8 as the sprint m8?

---------- Post added at 11:36 PM ---------- Previous post was at 11:31 PM ----------

so you mean that i need to factory reset before i flash the ruu?

how is possible that the ruu doesnt delete even the app in the phone? even the wifi password as all the ruu do?
[Verizon HTC One (M8)] sjpritch25:
Just curious

I updated to the latest OS version. I"m soff and everything. In bootloader, OS says 4.17.605.5 (4.17.605.9) is this correct?
[Verizon HTC One (M8)] dottat:
Doesn't sound like your firmware got flashed properly. You could simply flash the firmware zip at this point to correct that if everything else is OK.
[Verizon HTC One (M8)] sjpritch25:
which firmware should i flash? 4.17.605.5? I don't see one for the stagefright version.
[Verizon HTC One (M8)] sjpritch25:
Its fixed. The ruu didnt complete the first time. I ran it again & thats it
[Verizon HTC One (M8)] dragontology:
Hey [MENTION=3472611]dottat[/MENTION], if I want to RUU back to 4.4.4, and I'm S-OFF and on Verizon, this is what I want to 0P6BIMG.zip flash in hboot, right?

I know it won't have stagefright patched and won't be the latest version, but if I wanted to this is what I would use, right? Just asking because the filename is so long and refers to the international version (as well as Verizon).

Also, all your 5.0.1 RUU zips say S-ON, is that intentional? I know you have the S-OFF ones in the Development forum. Just thought it was odd, the blue linked ones as you say are S-ON, but the other ones say it too. I'm getting your 5.0.1 stagefright-patched RUU from the Development thread, was just confused.
[Verizon HTC One (M8)] dottat:
The s-on ones will flash on an s-on phone. They are signed/encrypted and are not rooted. That's the difference. None of my file names refer to international variant. Also, if you want to downgrade that far you will likely need to flash the matching hboot and reboot first.
[Verizon HTC One (M8)] dragontology:
Got it. I saw WWE in the file name and remembered that that was used by the international variant.

So to RUU back to KitKat I would need to flash the KK hboot first? And the file I quoted, is that an S-ON RUU or can I use that on S-OFF and stay that way?
[Verizon HTC One (M8)] dottat:
S-off are the ones from dev. S-on ones are in general. Does that help?
[Verizon HTC One (M8)] dragontology:
It makes sense, but I only saw 5.0.1 files in the Development forum. I now see KK has its own thread. So that's what I need.

Now, I don't need to flash hboot first if I do a RUU, right? Because RUU does everything as I understand it.
[Verizon HTC One (M8)] dottat:
You may depending on how far of a version jump you do.
[Verizon HTC One (M8)] Prayrithtc:
android version=4.4.4

sense version=-6.0

software version=3.31.512.2

htc sdk api level 6.25

pri version-2.87_002

prl version-00000

kernal version 3.4.0-g3e2305b and@ABM103 #! SMP PREEMPT

Baseband version-1.09.20.0926

build number-3.31.512.2 CL395691 release-keys

will the lolipop version work for me ?
[Verizon HTC One (M8)] dottat:
I don't know what software you are currently running but it's not Verizon. Is your phone a Verizon phone ?
[Verizon HTC One (M8)] Prayrithtc:
Verizon is not stated anywhere on my phone ,but when i connect my phone to my pc the htc sync manager shows the symbol near the device "verizon wireless"
[Verizon HTC One (M8)] dottat:
Can you show me the output of

Fastboot getvar all

X out your serial and imei
[Verizon HTC One (M8)] Prayrithtc:
BOOTLOADER ;

******locked*******

M8_WLV PVT SHIP S-OFF

CID-11111111

HBOOT-3.19.0.0000

RADIO-1.09.20.0926

OpenDSP-v46.2.-00564-M8974_FO.0811

OS-3.28.605.4

eMMC-boot 2048MB

Sep 30 2014,01:16:07.90023198
[Verizon HTC One (M8)] pure_player52:
i keep getting ERROR[170]: USB CONNECTION ERROR with option 1 and i cannot get my phone to transfer the .zip file so im kind of screwed.

i was on 4.4.4 stock managed to root and then use sunshine to s-off i installed TWRP v2.8.5.0 tried to upgrade to the 5.0.1 RUU and idk how but it didnt fully install and got stuck on the HTC logo screen now i cant access the SD card on the phone.
[Verizon HTC One (M8)] dottat:
Try a different USB port. Make sure device manager shows your phone as an HTC device and not a generic Android device.
[Verizon HTC One (M8)] iPedrow:
I'm on 5.1 GPE H9 ROM

Got lot of data / wifi issues. I saw there's a solution http://xdaforums.com/verizon-htc-one-m8/general/verizon-m8-3g-fix-t3162362

I downloaded 4.4.2 RUU but I'm not sure if I can restore everything in my nandroid backup after flashing RUU

Can I backup everything and then restore everything? or it will corrupt the firmware or something else and I'll be having same issues AGAIN?

Just wondering, bc I did the 5.0.1 RUU, then restore from stock recovery but it didn't work.
[Verizon HTC One (M8)] dottat:
What's the harm in trying?
[Verizon HTC One (M8)] schneid:
I wouldn't. Your issues might reside in the Nandroid. RUU then Factory Reset from STOCK Recovery. I'd then do a CLEAN install to avoid recreating the gremlins. Once there, do a Nandroid of the fresh clean install that you can always go back to. Then start messing with things again. Fix it til it breaks.:laugh:

Another thing. You cannot restore from STOCK recovery. You must now re-root and TWRP.
[Verizon HTC One (M8)] dottat:
yes.. however the issues typically aren't in the system partion. Stock recovery reset actually restores radio nv settings to the golden config.
[Verizon HTC One (M8)] eriknors:
Hey [MENTION=3472611]dottat[/MENTION] does this firmware get rid of the stagefright bug 6602?
[Verizon HTC One (M8)] Frag Mortuus:
Hey Everyone. I just attempted to install the 5.0.1 RUU zip. I was on Cyanogenmod 12.1 Snapshot from 9/1/15. So, I downloaded the 5.0.1 RUU and renamed it accordingly. I rebooted into the boot loader and it automatically started installing the RUU file. However, now I'm stuck at the Verizon logo. I'm not sure how to proceed. My biggest issue is that I bought a new phone and Verizon is expecting this phone back soon.

Any idea of how to fix this issue?

Thank you in advance.
[Verizon HTC One (M8)] dottat:
Factory reset from the boot loader menu.
[Verizon HTC One (M8)] dottat:
Not all of it.
[Verizon HTC One (M8)] Frag Mortuus:
Thanks man. I did that and it booted up fine. I sincerely greatly it.
[Verizon HTC One (M8)] red_castle:
Hey Everyone.

I just attempted to install the 5.1 RUU. Now I'm stuck at the Verizon logo.

It's my bootloader

***Sofware status Official***

******locked*******

M8_WLV PVT SHIP S-OFF

HBOOT-3.19.0.0000

RADIO-1.12.20.1211

OpenDSP-v47.2.2-00564-M8974_FO.1024

OS-4.17.605.9

eMMC-boot 2048MB

Aug 11 2015, 22:31:04.0

Factory reset and wipe cache doesn't help me. ((( When i'm in recovery, phone display's me

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)

Write host_mode success

handle_cota_install: Can't mount /sdcard, 1 times

handle_cota_install: Can't mount /sdcard, 2 times

handle_cota_install: Can't mount /sdcard, 3 times

handle_cota_install: Can't mount /sdcard, 4 times

handle_cota_install: Can't mount /sdcard, 5 times

Any idea of how to fix this issue?

Thank you in advance.
[Verizon HTC One (M8)] dottat:
Those are all normal. How long did you let it sit at the red logo? First boot can take a good while.
[Verizon HTC One (M8)] red_castle:
First boot take already about 3 hours((((
[Verizon HTC One (M8)] dottat:
What method did you use to flash?
[Verizon HTC One (M8)] red_castle:
Option 1- download and extract 5.0.1 RUU exe from head of topic.

Then run Aruwizard.
[Verizon HTC One (M8)] dottat:
You don't need to extract it. It should simply run.

Can you install team viewer on your PC and shoot me the id / passcode via pm so I can help you out?
[Verizon HTC One (M8)] oze_no:
Hi dottat.

I had previously asked his problem once and had received a reply. I do not know now was able to downgrade to 4.4.2 S-ON from 5.0.1 S-ON?? Can you just give me the okay, I thank you very much ....
[Verizon HTC One (M8)] dottat:
No you cannot. Won't work. Why 4.4.2? Please don't tell me you want that version to try firewater on your phone
[Verizon HTC One (M8)] oze_no:
Thank you. The current version is 5.0.1 Ver 4.17.605.9 S-ON, I just want to downgrade 4.4.v. Is there a way to solve the problem of me :confused: :confused:
[Verizon HTC One (M8)] dottat:
Only if you s-off
[Verizon HTC One (M8)] oze_no:
Thank you answer me. I waited until the situation resolved as S-ON :good:
[Verizon HTC One (M8)] dottat:
It won't be solved. You want to downgrade that far you must be s-off.
[Verizon HTC One (M8)] oze_no:
I understand want to downgrade must S-OFF, but now I can not get S-OFF :(

*** Software status: Official ***
*** LOCKED ***
M8_WLV PVT SHIP S-ON
HBOOT-3.19.0.0000
RADIO-1.12.20.1211
OpenDSP-v47.2.2-00564-M8974-F0.1024
OS-4.17.605.9
eMMC-boot 2048MB
Aug 11 2015,22:31:04.0
[Verizon HTC One (M8)] dottat:
Yes you can

http://xdaforums.com/showthread.php?p=62844617
[Verizon HTC One (M8)] dag079686:
Need help

Ok so I have had this soft bricked M8 for VZW for quite some time now as their was not an RUU out to fix it. When it boots it goes right to the bootloader and will not go any further. I'm on 4.2.2 and I am S-ON. I attempted the ARU wizard and I get an error about the side by side config not being correct. I have tried to flash the RUU in fastboot and no mater what file I choose it gives me an error. Not sure where to go from here or if I should just try the memory card method. Any help would be appreciated.
[Verizon HTC One (M8)] dottat:
Team viewer time?
[Verizon HTC One (M8)] dag079686:
That would be awesome
[Verizon HTC One (M8)] dottat:
Install it and pm me the id and passcode
[Verizon HTC One (M8)] Prasath1234:
I used this RUU on my Verizon HTC one M8 I was able to get lollipop but there is lot of battery drain like 3% per hour .Plz help me to solve this .
[Verizon HTC One (M8)] dottat:
That's not what this thread is about. Have a good day.
[Verizon HTC One (M8)] zakaziky:
deleted
[Verizon HTC One (M8)] craichead:
I'm also having trouble with "ERROR [170]: USB CONNECTION ERROR". Device Manager shows "HTC Android Interface". I'm on Windows 10. I've tried two different computers with two different USB cables. Any suggestions?
[Verizon HTC One (M8)] dottat:
Install HTC sync. Then uninstall it and leave the USB drivers installed.
[Verizon HTC One (M8)] craichead:
Unfortunately, I've tried that, too with the same result.
[Verizon HTC One (M8)] dottat:
In device manager attempt to manually update the driver for the phone and point it towards to program folder path where the drivers are located.
[Verizon HTC One (M8)] craichead:
Assuming they're in C:\Program Files (x86)\HTC\HTC Driver\Driver Files\Win8_x64, I have the following options:

androidusb.INF

htcnprot.inf

htcrndis.inf

HtcVComV64.inf

WPDMTPHW.INF

Do you suggest a particular one?
[Verizon HTC One (M8)] dottat:
Try the first one. Should show as an HTC device in device manager once a driver is loaded.
[Verizon HTC One (M8)] craichead:
It says "My HTC" in Device Manager. I tried it again after pointing it to that driver, but I got the same result. I'll try it on the other PC and see what happens.
[Verizon HTC One (M8)] dottat:
Windows 10 is wacky.
[Verizon HTC One (M8)] craichead:
I ended up installing just the drivers from here and that seemed to do the trick. :)
[Verizon HTC One (M8)] HATIM RBC:
My HTC dont start

Hello,personaly i dont understand your method.

Please help me to understand her easely,with picture for example.

Thanks
[Verizon HTC One (M8)] KanadeTsubaki:
Downgrade 5.0.1 to 4.4.2

Sorry, I can make downgrade from 5.0.1 to 4.4.2 just flashing the hboot in the sd and then flashing the firmware 4.4.2? and that alone is?

It is verizon and I'm s-off bootloader locked.

Sorry for my English, I used a translator.
[Verizon HTC One (M8)] dottat:
Yes you can downgrade that way.
[Verizon HTC One (M8)] Greatdane:
I am on 4.4, H boot 3.19.0 S-OFF with locked boot loader.

Can I just update using your method?
[Verizon HTC One (M8)] andybones:
Yes you can. :)
[Verizon HTC One (M8)] KanadeTsubaki:
Thank you very much if I worked, I did answer me before, I was desperate haha

You know if I can flash the firmware TWRP also gets into a locked bootloader sd even if? ?

Sabes si puedo flashear TWRP asi como se mete el firmware en una sd aunque tenga bootloader locked? ?
[Verizon HTC One (M8)] sig1985:
what is the difference between '5.0.1 RUU exe with stage fright patch' and '5.0.1 RUU EXE (single exe don't unzip)' ?
[Verizon HTC One (M8)] cntryby429:
There was a small ota update which patched the stageright vulnerability but didn't upgrade to a new version of android. Dottat provides them all in glorious thoroughness. I can't think of any reason to flash the earlier non-stagefright-patched version over the patched one.
[Verizon HTC One (M8)] thetwiztidfreak:
If I am already running 4.17.605.5 with S-off and I flash 4.17.605.9 am I gonna lose s-off and twrp or will it be fine?
[Verizon HTC One (M8)] dottat:
Won't lose s-off or unlock status. Will have to flash the latest twrp and then supersu.zip though (but nothing stopping you from doing so)
[Verizon HTC One (M8)] thetwiztidfreak:
Cool thanks for the fast reply
[Verizon HTC One (M8)] filya96tmn:
The problem with installing

Help me! ' When you try to update the htc one m8 verizon through the RUU, so here stupidly hangs nothing proiskhodit? all the drivers in the order sees the phone.
[Verizon HTC One (M8)] simcityreal:
Congrats...,working fine With HTC One M8 CDMA......

Congrats...,working fine With HTC One M8 CDMA......
[Verizon HTC One (M8)] marballfire:
Hey all. I apologize in advance if this isn't an appropriate place for this question, but I'm on the VZW M8, Unlocked, S-Off, rooted, and trying to revert back to stock unrooted in order to take the upcoming marshmallow OTA. Is simply flashing this RUU enough to be able to take the OTA, or do I need to do something more?

Thanks in advance.
[Verizon HTC One (M8)] dottat:
Uploading latest S-ON files now....