yashsingh1/xdaforums huggingface dataset:
[One (M8) Android Development] Cozmikk:
HTC One M8 Error while flashing RUU

Hello. I am not sure if I am the only one with this issue but here it is.

I have a Verizon HTC One M8. Here is the condition:

NOT rooted

NO OS installed

Stock recovery installed (Can't flash a custom recovery)

S-ON

LOCKED bootloader

Here is some other useful information:

HBoot-3.19.0.0000

Radio-1.14.20.0930

OS-6.21.605.3

Okay, so it is very possible that there is no hope for this phone, but I still feel like there could be. In the state that it is in, I have assumed that I could just flash an RUU so that I would return to stock. This wouldn't work. Every time I would try to flash it through fastboot on the device, I would get part of the way through flashing and then it would say:

(bootloader) signature checking...

FAILED (remote: 12 signature verify fail)

I have been told that this could mean that the that I have downloaded is possibly corrupt. This seems to not be the case as I have tried downloading it 3 different times. I have also checked the MD5 and they match. I have also tried flashing the RUU by using the executable version. This as well doesn't work. When I try to flash, It gets near to the end of the process and then fails with the error [132] stating that I need to find a RUU that matches my firmware (You can see this in the video linked below). The problem with this is that the RUU that I am using seems to match my firmware. Here is a copy of the txt document that is located within the rom for the RUU.

DelUserData:0

modelid: 0P6B20000

cidnum: VZW__001

mainver: 6.21.605.3

btype:1

aareport:1

hbootpreupdate:12

DelCache:1

DelFrp:1

Seeing the mainver number leads me to believe that this will work on my device. Feel free to link me to the proper RUU if this is wrong.

One other problem is that in order to install a recovery, I need access to adb. I don't have access to adb as I can't turn on USB Debugging because my device doesn't have a OS installed on it. If you have any suggestions or solutions to my problem, please let me know! Thanks!

Here is the link to the video of the RUU error: https://www.youtube.com/watch?v=9aKecZuhWl0&authuser=0

This error happens when attempting to flash RUU through executable file.
[One (M8) Android Development] xunholyx:
WTF dude? Did you not read the op? Obviously not.

This isn't a help thread for your random issues. This is a firmware development thread.

Is the RUU you are referring to offered here?

No matter.

No OS? Easy fix. Download a ROM and place it onto your extSD. Flash it. Problem solved
[One (M8) Android Development] Cozmikk:
Sorry for the issue. Is there a way that this could be moved to where it belongs?

The RUU that I had used is specifically made for devices with S-On. Here is the link: https://www.androidfilehost.com/?fid=24438995911975667

For the response about flashing a rom:

I don't have a custom recovery (as stated above) so I can't flash a custom rom.

---------- Post added at 05:26 AM ---------- Previous post was at 05:25 AM ----------

Sorry for the issue. Is there a way that this could be moved to where it belongs?

The RUU that I had used is specifically made for devices with S-On. Here is the link: https://www.androidfilehost.com/?fid=24438995911975667

For the response about flashing a rom:

I don't have a custom recovery (as stated above) so I can't flash a custom rom. Unless there is a way to flash a rom through the stock recovery, I am not aware of any possible way to flash one.
[One (M8) Android Development] Black-FR:
Don't know, which version the RUU contains.

You should ask it in the thread, where you found it.

But the latest Verizon RUU, could be found here:

http://www.htc.com/us/support/rom-downloads.html

For further questions, you better start a thread in the q/a forum or check the Verizon sub forum.

Cause you can't use any of the files, which are provided here in the thread.

Edit:

I forgot, Verizon doesn't offer RUU's, on the US page. (At least it seems like that)

Then you should take a look at the Verizon sub forum.

You would need to find the RUU, which matches with your main version.

Gesendet von meinem HTC 10
[One (M8) Android Development] Cozmikk:
I have checked the thread for the RUU and the OP there has said that he was going to retire and wouldn't be on there anymore.
[One (M8) Android Development] Behold_this:
You can update Verizon devices using HTC Sync. You can also retrieve the ROM zip from your temp folder before commencing the flash.
[One (M8) Android Development] Sneakyghost:
I'm terribly sorry but there's no Verizon support here.
[One (M8) Android Development] znayver:
HTC_001
[One (M8) Android Development] Einwod:
This thread is about AT&T firmware, you need to be looking at international. There are lots of threads dealing with international version and also where to find it. You need to be S-OFF to follow this thread as it states in the first post.
[One (M8) Android Development] Behold_this:
No it's not! This thread is about all GSM firmware and is exactly where he should be.
[One (M8) Android Development] znayver:
Tnx [MENTION=4174733]Behold_this[/MENTION] :)
[One (M8) Android Development] xunholyx:
Mmmmmmmmmm no. It's more 401 firmware than anything else. [MENTION=1102297]Sneakyghost[/MENTION] doesn't usually cover any US carrier firmware (until recently) because the RUUs are readily available on HTC's US website.

But yes, S-Off is necessary for these firmware packages.
[One (M8) Android Development] Einwod:
My bad then, but the title reflects AT&T firmware 6.20.502.5. Or am I wrong here again???
[One (M8) Android Development] Kratos90:
The title always just reflects the latest pack he made... So latest one was ATT, if he makes a x.xx.007.xx tomorrow the title will reflect that... And yes I made up that region code
[One (M8) Android Development] nasrunefendi:
Dear All,

i need your help for my m8 dual 0P6B68000 back to stock, last rom 4.30.401.18...all ruu i fund all for 0P6B64000 hiks

C:\Users\Nasrun\adb>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.24.30336021.13G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 4.30.401.18

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

(bootloader) serialno: HC528WM00815

(bootloader) imei:

(bootloader) imei2:

(bootloader) meid: 00000000000000

(bootloader) product: m8_dugl

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B68000

(bootloader) cidnum: HTC__J15

(bootloader) battery-status: good

(bootloader) battery-voltage: 0mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: 1cd7c7b4

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.027s
[One (M8) Android Development] xunholyx:
Flash the stock ROM and recovery that you can find in this thread
[One (M8) Android Development] mannem_lnr:
Issue

hi, i have got an issue with my HTC M8 upgrade. I have AT&T HTC M8 unlock phone(was on Kitkat Version) and using it on T-mobile. i have put my friend AT&T sim and downloaded OTA and install it. After installation is done, my phone is struck with HTC logo. I tried to do side load with HTC support andriod 6 download RUU files, it is not working and got struck at updating.. (1/1) sending.... phase. i am not sure what do now. I dont have any back up or recovery of my phone. Below are the details. Could you please help me

< waiting for device >

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 4.0.U605761@60220A

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 6.20.502.5

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

(bootloader) serialno:

(bootloader) imei:

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul_ca

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B12000

(bootloader) cidnum: CWS__001

(bootloader) battery-status: good

(bootloader) battery-voltage: 0mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: 205bdca3

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.095s
[One (M8) Android Development] karamghumaan:
hii there it could be odd BUT I AM

NOT ABLE TO CHANGE MY MID ON THE "android-info.txt"

as i trying flash it comes up with msg

error 42

on my htc one m8 sprint. I am using WINRAR to open zip file.
[One (M8) Android Development] Sneakyghost:
I said very clearly that using 7zip is recommended, as some archiving programs do not zip properly.
[One (M8) Android Development] crimsonfog:
First time posting but need clarification.

So I'm on a custom ROM (HD Revolution) on my M8. I'm having issues with LTE and receiving calls or text ever sense they have enable HD voice in my area. I believe this is because I have older radio software and have not got an update due to being custom. I believe this firmware update process may fix that. I know from my research that my radio is at least 1 version maybe 2 behind. As it is now I have to keep my phone locked to 3G, not terrible but not ideal. I've read up and down the forums and this post and have seen answers that dance around what I'm wanting to know but just don't get to the point. What I need to know is if I flash with the NO WIPE firmware through the process in post 1 will my phone "theoretically" just boot right back into my custom ROM like nothing ever happened? I feel like this what I'm getting out of the posts but I just need to be sure. I have too much to rebuild if I lose my ROM. I really cant afford hours of headaches, I got kids for that.

Thanks in advance for any insight and I can add more if needed.
[One (M8) Android Development] Einwod:
The "no wipe" firmware will not wipe your internal storage. However, you MUST be S-OFF to use it and I suggest you make a backup of everything and save it externally or at least to your external SD card.
[One (M8) Android Development] ahmed.ismael:
if you are on at&t you should call your service provider and disable HD voice call ( some conflict between HD and LTE )

or some thing like that

it have been discussed before
[One (M8) Android Development] Sneakyghost:
The no wipe lets your phone boot right up again, like you said, theoretically. Sometimes, that's not working out quite as expected, but yeah, usually works.

It may or may not fix your network switching. There's no guarantee for that. The issue with VoLTE and HD voice is pretty complex and fixing that is usually a mix between having the right firmware and having the right files and settings in the ROM.

I know from the team venom work that that is very painful in many cases. So, we usually advise AT&T customers to have it disabled, since we more often than not have problems getting it to work.
[One (M8) Android Development] PippoX3:
Missing OS after...

Hi [MENTION=1102297]Sneakyghost[/MENTION], sorry to bother you... M8 international S-OFF, supercid, just updated with "M8_6.12.401.4_WWE_TWRP2870.zip" (which flash TWRP2870 too).

Immediately after update, in bootloader and adb getvar all, shows all the correct info.

But after the boot and reboot to recovery. It miss the OS line where should show "(bootloader) version-main: 6.12.401.4".

It's second time that happens. Already tried some time ago. Re-Flashed firmware. After reboot or start recovery (dunno), it erase OS line version.

Any tip? Thanks a lot.

PS. And with TWRP 3.0.2 got the warning about carrier partition, unable to mount... pretty sure with TWRP 3.0.1 wasn't.

Anyway seems all working.
[One (M8) Android Development] Einwod:
It's a known fact that older versions of TWRP had the bug that caused the OS version to be missing. Flash a latest version of TWRP and then reflash the firmware ONLY. That should solve the problem.
[One (M8) Android Development] PippoX3:
Yep. Of course, after that issue I flashed latest TWRP. But eventually (since firmware itself cointain recovery.img to flash during batch) I'll try to flash latest TWRP immediately after firmware update. Thanks.

Update: Tried. Nothing changed. Immediately after firmware update, getvar has OS line info. Flashed latest TWRP and has OS line info.

After run recovery and back on fastboot, OS line wasn't more... LOL!

BTW seems only a cosmetical bug.
[One (M8) Android Development] FreddieP786:
Guys I need some urgent help. I have two issues, the first is probably the most confusing. When I try to do a wipe or factory reset in TWRP I keep getting a "cannot mount /cache " or "cannot mount /data" error. I am not sure how to resolve this issue. I did get pass it once by pure luck, and when my ROM loaded (latest stock developer edition) I had no Wifi or Data.

Can someone please help me?
[One (M8) Android Development] Einwod:
Go into settings and mount data in TWRP. The wifi/data issue is usually a firmware problem. The results of fastboot getvar all will give us a lot more information about your device. Remove serial and IMEI numbers before posting.
[One (M8) Android Development] stantudor:
Hello,

Tried to update the rom with the latest official one and ended up with error 155 and stuck on "security fail! ruu" screen .Can only enter twrp.

What can I do?

The software status is modified/unlocked.

Thank you!
[One (M8) Android Development] Einwod:
Did you read the OP? It states there: - 155 seems to indicate different things. It can mean: 1.) You need to relock bootloader (If S-ON); 2.) You cannot run the RUU/FUU because the software versions of ROM, Firmware and RUU/FUU don’t match. Relock the bootloader. But first, save everything you need OFF your device to a PC. You will lose everything updating by manual RUU and unlocking the bootloader again.
[One (M8) Android Development] stantudor:
Ok, I will try and relock it.

Thanks!
[One (M8) Android Development] stantudor:
Any way of relocking without being s-off?
[One (M8) Android Development] Sneakyghost:
No. Simply do:

fastboot oem lock

or

htc_fastboot oem lock

depending on which fastboot you are working with.

done.
[One (M8) Android Development] stantudor:
Did the relock, now it says relocked but it doesn't go further than that fastboot/hboot screen, doesn't go to recovery or factory reset.

Tried flashing RUU_M8_UL_M60_SENSE70_MR_BrightstarUS_WWE_6.12.1540.4 but with no succes.

What next steps should I take?
[One (M8) Android Development] Einwod:
What key combination/commands are you giving the device to get to recovery?
[One (M8) Android Development] stantudor:
Power on+down volume .

Now I'm stuck on HTC white screen after trying to flash a new zip and giving the factory reset command.
[One (M8) Android Development] Einwod:
As stated in the first post: - 12 signature fail (unknown yet but safe to reboot)

Reboot back to bootloader, then RUU mode and try again. Are you flashing the correct RUU.zip?
[One (M8) Android Development] stantudor:
Flashed the one in this tutorial https://www.youtube.com/watch?annot...&feature=iv&src_vid=uS00UfTs6Y8&v=qfCxKnhJzfA

Can't reboot with the down vol+power combo, it's stuck. It doesn't even power off.
[One (M8) Android Development] Einwod:
And how do you know what RUU that is?
[One (M8) Android Development] stantudor:
I don't, blind trust I suppose.

Anything I can do with it now or should I use it as a paperweight?

Thanks again!
[One (M8) Android Development] Einwod:
You are trying to flash an RUU.zip file that he doesn't even tell anyone what device model it is for.

---------- Post added at 19:03 ---------- Previous post was at 19:00 ----------

Post the results of fastboot getvar all after removing your serial and IMEI numbers.
[One (M8) Android Development] stantudor:
I'm not trying anymore, I flashed it, rebooted in recovery mode, selected factory reset and got stuck in htc boot screen(the one with the green htc logo and powered by android). Is there anything I can do at this point if thevol down+power doesn't work or it's just bricked?
[One (M8) Android Development] Einwod:
You need to hold the power button for at least 15 - 30 seconds sometimes to actually power off the device. I also think you are getting fastboot and adb commands mixed up. Fastboot only works in fastboot mode, which is pretty simple. ADB only works when the device is booted up and sometimes in recovery mode, so make sure you know what commands you are issuing to the phone in it's different states.
[One (M8) Android Development] stantudor:
I held the power button for 2min and nothing happened.
[One (M8) Android Development] Einwod:
I'm out of ideas now, sorry.
[One (M8) Android Development] stantudor:
Managed to enter in fastboot after multiple attempts. What should I flash?

Tried some of the ones in the link on the first page of this thread but I get signature error..
[One (M8) Android Development] stantudor:
I attached the requested info
[One (M8) Android Development] Einwod:
Go to this thread and follow the instructions there. http://xdaforums.com/htc-one-m8/general/htc-one-m8-european-signed-ruu-0p6bimg-t2911563/page86
[One (M8) Android Development] stantudor:
Will try it thank you!
[One (M8) Android Development] Einwod:
This one definitely has it. Follow closely the instructions. Everything is in first 5 posts. http://xdaforums.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860/page203
[One (M8) Android Development] mrrocketdog:
https://m.youtube.com/watch?v=rsPa8QgGGkc

and thats all i got to say about that.

err on the side of kindness
[One (M8) Android Development] King_root:
So if I flash one of those NoWipe zips, then nothing (like system, data) will be wiped and I can boot into system right after?

And btw for some reason my in my bootloader screen, the "OS- " part is blank. I'm pretty sure I'm in lollipop firmware...
[One (M8) Android Development] xunholyx:
It is blank because of an older version of TWRP that had that bug. Even if your TWRP is updated, the version-main/OS will remain blank until you flash new firmware.

So: make sure your firmware is updated, flash the no-wipe firmware, and you will have new firmware with nothing wiped and a version-main/OS that isn't blank anymore.
[One (M8) Android Development] vladimir.jz:
hello, i'm S-OFF , i remember to change to DEV-EDITION (super CID) in order to take OTA updates , i remembre too than i change te MID , to match whit the CID, then i now have this:

(bootloader) modelid: 0P6B12000

(bootloader) cidnum: 11111111

whit this i cat take OTA and update to last htc-mm firmware, but now i need to re-flash because the sound tweeks of S.ROM leave whit out sound for other AOSP roms (lol). .. and the question is... ¿ i must to return to my original CID / MID (Mexican Carrier) , o i can take the firmware than match whit mi current CID/MID (Dev) ? .

Thanks
[One (M8) Android Development] ahmed.ismael:
you can flash the firmware without changing any thing ( any GSM firmware as the supercid will pass the mid check )

There is no future OTA ( and it's not needed for s-off device )
[One (M8) Android Development] krepsz:
I have a problem with sensor hub sector.I cant flash firmware and i cant flash just the sensor hub img file.35 ruu partition not support img Im using the img was passt to my device.Any idea?
[One (M8) Android Development] wastedkid:
I am reflashing to M8_6.20.502.5_ATT_TWRP3020_NoWipe.zip and for some reason i cant get Hboot to finish. It keeps giving me error 90 no matter what i do.
[One (M8) Android Development] ahmed.ismael:
when you have the error repeat the flashing command again immediately

here it is ( just copy and paste from OP )
[One (M8) Android Development] wastedkid:
This has been done. It when i boot into twrp now it says cant mount cache and carrier.
[One (M8) Android Development] ahmed.ismael:
,,,,,,,,,,,,,,,,it's normal just flash something and those errors should be gone
[One (M8) Android Development] Sneakyghost:
Cache and carrier partitions probably get wiped by the firmware pack, which in this case means erased, which means no file system, which means they can't be mounted.

Cache can just be formatted in TWRP with ext4 filesystem (I believe) and carrier gets fixed at some stage of flashing stuff anyway. I wouldn't worry too much about that.
[One (M8) Android Development] caretaker01:
probably a noob question but here it goes:

I have an s-on m8 running custom roms on an lollipop bootloader, will it make any differance if i upgrade the bootloader to the latest version acording to the OTA update? is there any reason to do that giving that i have no issues running any custom rom at the moment? thx....!
[One (M8) Android Development] K4R33M:
Hi,

My question is the same, how to root HTC ONE M8,

However, I installed a Custom WOLLA.SENSE7.MM.V3 using your link:

https://xdaforums.com/htc-one-m8/development/progress-fuu-m8-t2813792/

What is the best/safest method to root now.

Thank you
[One (M8) Android Development] redpoint73:
Your question has nothing to do with this thread (flashing firmware). And you question has been answered elsewhere (please don't post the same question over and over to different threads).
[One (M8) Android Development] edge540T:
I have this error, not seen on the thread.

c:\adb>fastboot flash zip firmware.zip

target reported max download size of 1826418688 bytes

sending 'zip' (55656 KB)...

OKAY [ 2.700s]

writing 'zip'...

FAILED (remote: not allowed)

finished. total time: 2.710s
[One (M8) Android Development] Sneakyghost:
-check if you're in the correct flashing/boot mode (refer to page one)

-check if your phone is S-OFF
[One (M8) Android Development] edge540T:
Sorry, it's soff and scid, fastboot twrp flash works and other adb command too.

edit pd: I'm trying to upgrade firmware from a stock rom and old firmware
[One (M8) Android Development] Sneakyghost:
Please check your flashing/boot mode.

Images can be flashed in bootloader mode, zips can only be flashed in fastboot mode
[One (M8) Android Development] edge540T:
Done, you mean this

run Command Prompt

>to check

adb devices

adb reboot-bootloader

fastboot getvar all

>to flash

fastboot oem rebootRUU

fastboot flash zip firmware.zip (if error, type again, see screen bar progress)

fastboot flash recovery.img

fastboot reboot

I'm rusty :silly:
[One (M8) Android Development] Sneakyghost:
Sorry I've been in a training seminar all day. I meant check in post one that you're using the correct flashing mode. If you have tried download mode and it still gives you that error I'm out of ideas. Let me explain why:

I've lately stepped back from XDA and invested my time into "real life" instead and I've kind of forgotten half of what I once knew because it doesn't matter to me anymore, so I'd kindly ask you to go to the general section of the M8 forum and ask there. There's plenty of people dedicating their time to helping other people out.

I've always tried to keep my threads short and concise, so people would not need to read through so much crap and I'd like to keep it that way. Meaning, if my hints can't solve your issue, it would be better to take it to the general Q&A.
[One (M8) Android Development] edge540T:
Don't worry, it's working properly now, in the way I've updated drivers and original usb cable found. thanks.
[One (M8) Android Development] dhrjbhtt0:
Hi everyone, I have a Sprint m8, with Super CID 11111111 and S-OFF.

I'm currently on the latest Sprint firmware, which is 6.20.651.3.

What I wanted to ask is can the m8 be converted from one carrier to another carrier device.

I read somewhere on xda that on a device with s-cid:11111111 and S-OFF too any RUU or ROM can be flashed, regardless of what carrier device it is.

So right now, when I try to flash a T-Mobile or AT&T rom from TWRP, the device just reboots into the bootloader, which I guess is the aftermath of flashing a different carrier's rom.

So what if I flash a different carrier's firmware itself, will it work, and will I then be able to flash that carrier's ROMs.

Or will it just brick my device.

Here's the link to the thread that states what I said above:

https://xdaforums.com/showthread.php?t=2652288

Thank u:)