yashsingh1/xdaforums huggingface dataset:
[One (M8) Q&A, Help & Troubleshooting] Sneakyghost:
Hello Sir,

i am not quite sure what to think of this. Your MID and CID should be ignored by the firmware.zip, since you are already on SuperCID.

The only explanation i would be able to come up with is your slightly unusual MID 0P6B63000 which is an Asia-HK-CHT M8y - quite possibly your hboot prevents the flash to that model because its incompatible with GSM firmware.

You could try to change your MID too, Guides are available somewhere in the M8 forum (don't have the link at hand). However, since i have no information regarding compatibility, i would be careful forcing International M8_UL M8n firmware on your M8y device. Theoretically, it should be compatible, but there simply isn't enough information available to say for sure.

You could also open the android-info.txt inside the zip and add your MID to the existing MID in there (One MID per line) and then re-zip the package and try to flash that. Instructions on how to edit your android-info.txt safely are in my main thread in Post #5.

Sorry i cannot do more for you at this time.

Here is a spreadsheet with the info on the different models i have: https://docs.google.com/spreadsheet...pShfYNFAfSe-imhhqtVfeMPVDA/edit#gid=295705769
[One (M8) Q&A, Help & Troubleshooting] Sneakyghost:
nevermind
[One (M8) Q&A, Help & Troubleshooting] Learner00:
ERROR 155

I was running on Viper 2.5.0 Sense 4.4.3 Firmware 2.22.401.5 CID HTC_038. I wanted to upgrade the firmware of my phone from 2.22.401.5 to 3.28.401.9. I followed all the steps except for making my phone S-OFF. The FUU shows error 155 again and again. Now I got no firmware on my phone. Even tried flashing update of 2.22.401.5 back, but no use. How to I flash a firmware on my phone? or How do I turn my phone S-OFF as I cannot connect my phone to the PC? Phone stuck on silver Htc logo screen when connected without any progress bar. And security fail RUU when disconnected. Please help. Am I doomed?
[One (M8) Q&A, Help & Troubleshooting] Sneakyghost:
You're not doomed. You are just messing with sh!t you obviously shouldn't.

My Firmware Thread says very clearly you need to have S-OFF and most obviously, if you had only researched a little more, you would have seen that none of those firmwares out there can be flashed onto an S-ON phone except if its original HTC signed zips.

So, you gotta flash a RUU now. An original RUU. Thank god there is that Portuguese guy who leaked a 3.28.401.6 to the public. Its only the zip, not the whole RUU. But you can download that zip, rename it to "rom.zip" and place it into my FUU folder (C:\Android\Com) and then run the FUU with that FULL RUU zip again. Its signed! It will flash on your device!
[One (M8) Q&A, Help & Troubleshooting] Cremulator:
Firmware Flashing Failed

Hey everyone,

I have just tried to flash the firmware M8_3.28.401.9_WWE_FullStock_rename_to_ROM.zip on to my S-Off One M8 using the Android_Tasker_1.2.2_M8.exe

Its a developers edition HTC One m8 from Taiwan.

Previously I was running Venom ViperOne 1.8.0 ROM.

I was following these instructions:

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

I got an error message FAIL51 partition update fail

This is the cmd contents:

I haven't rebooted the phone, its still on the HTC logo screen with the green bar with an exclamation in a triangle at the end of the bar.

Not sure what steps to take next. Any advice would be helpful :)

thanks!

EDIT: added screen shot

[IMG="Screen Shot"]https://dl.dropboxusercontent.com/u/311230/IMG_20141206_212932.jpg[/IMG]
[One (M8) Q&A, Help & Troubleshooting] steffenb4711:
ok guys, maybe you can help me out, i `am at the end of the tunnel for my knowledge.

so, i could get normal ota updates thru htc before, but unfortunately not anymore

i didnt change anything since the last update i could get wich was 3.28.401.6

the 3.28.401.9 update wont install , it starts and then at about a quarter the red triangel thing pops up.

i tryed flashing the "Combined, NoWipe ZIP" but i get errors on three images

(bootloader) start image[sbl1-2] unzipping & flushing...

(bootloader) [RUU]UZ,sbl1-2,0

(bootloader) [RUU]UZ,sbl1-2,100

(bootloader) signature checking...

(bootloader) verified fail

(bootloader) ..... Bypassed

(bootloader) current_image_number=6

(bootloader) start image[sbl1-3] unzipping & flushing...

(bootloader) [RUU]UZ,sbl1-3,0

(bootloader) [RUU]UZ,sbl1-3,100

(bootloader) signature checking...

(bootloader) verified fail

(bootloader) ..... Bypassed

(bootloader) current_image_number=7

(bootloader) start image[sbl1-4] unzipping & flushing...

(bootloader) [RUU]UZ,sbl1-4,0

(bootloader) [RUU]UZ,sbl1-4,100

(bootloader) signature checking...

(bootloader) verified fail

(bootloader) ..... Bypassed

(bootloader) current_image_number=8

funny thing is it says vers 3.28.401.9 after "getvar".

when i look into the phone it still says 3.28.401.6
[One (M8) Q&A, Help & Troubleshooting] pagoweb:
Error while flushing sbl images are normal... Every flash i made had similar errors. Look more closely to your output ans you'll see that one sbl image got flushed...
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
Using RUU mode, you may have to flash it three or four times to get it all to install.
[One (M8) Q&A, Help & Troubleshooting] AshenCold:
It's ok to install the international firmware version (3.28.401.9) over the Verizon model? Or this is simply wrong/not possible.

My phone is unlocked, S-OFF and got Super-CID if that helps.

Im running firmware 3.28.605.4 at the moment.

Thanks for reply in advance
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
Yes, it is simply wrong. Don't do it.
[One (M8) Q&A, Help & Troubleshooting] tommyknocker_007:
Type password to decrypt storage??

OK, so I decided I wanted to update my phone today to GPE 5.0.1 It is a HTC One m8 that I bought through Wind Mobile. One of the first things I did when I bought the phone a few months ago was to convert it to GPE 4.4.4, going through S-OFF and setting cid to 11111111

So today, the first think I did was to make a nandroid backup. Then I downloaded the GPE 5.0.1 ROM and installed it. I found I wasn't getting wi-fi, and after some googling realized my firmware must be out of date. So, I restored my backup. Then I figured I should update my TWRP first to be compatible with the firmware, so I upgraded to version 2.8.1.0 (coming from 2.7.0.2). TWRP installation went fine. Then, I installed firmware version 3.28.401.9 (coming from 2.12.1700.1) I chose the version Combined, NoWipe ZIP's. I used Method #1 described in this thread. Everything looked like it worked. I did a smug fist pump.

However, when I rebooted, I got the message 'Type password to decrypt storage'. I have never set a password before! Panic! I rebooted into recovery with the idea of doing a factory reset. That didn't work, so I tried to install the GPE 4.4.4 ROM without success. See screenshots. The common problem seems to be that it can't mount data. I tried doing that in recovery (mount=>data) but when I press the screen, although I get haptic feedback, the box does not get xed.

I also can't restore my nandroid backup.

Any ideas? I don't want to make things worse by randomly pushing buttons...hopefully someone here can help me get my phone back!
[One (M8) Q&A, Help & Troubleshooting] ULAMSS5:
Sneaky, will you be making 4.16.1540.8 available as a FUU? Or will you skip this and wait for .401.?

Also, just to confirm: I'm S-OFF, unlocked, and SUPERCID(originally 044/ .707.), been using your 3.28.401.9 FUU for a while without issues. Will it be okay for me to RUU to 4.116.1540.8 from here?
[One (M8) Q&A, Help & Troubleshooting] Sneakyghost:
Yea i'll do all my sh! forsure - i got most stuff here and the 1540 (Dev Edition) has a RUU anyway. You can use that. No need for a FUU then. I'll make a FUU from it if you guys want, assuming some still have slow internet and don't want to download a full RUU.

However, my situation is as follows: i re-build my entire machine and everything vital is still missing, including my VM with Linux which i need to decrypt the dev edition RUU. So that will happen last.

I have some partial and some full Lolli firmwares here, but either they're outdated versions which i won't be using because i know about newer ones coming for release date or they are incomplete,manipulated and we all know i don't create packages from sources i cannot verify.

I will only do a FUU from something so definitely untouched that it will be 100% safe (as safe as HTC can make it).

I already said that on my firmware threads in the past: i won't do frankenbuilds thrown together from various different firmware packages anymore like i used to do. Too much that can go wrong with those, even if they flash fine on my phone.

Until i get around doing something proper, you'll be in safe hands with the usual suspects (check Maximus ROM / Llabtoofer) for current releases, he usually has stuff early).
[One (M8) Q&A, Help & Troubleshooting] hchastain008:
Confused

I tried flashing the 4.16.1540.8 firmware to my HTC One M8 and got the "Error 99 Unknown." After this I'm clueless on what to do. I need the firmware to be update in order to flash ViperOne rom to my phone. What happened? Do I need to relock my bootloader? If so that would be a pain in the ass as I just unlocked it. And if I relock it, how do I even fix the problem?

I'm such a noob at this and I need so much help here.
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
Error 99 is because you are S-On.

Copied and pasted from the first sentence on the OP:

Since all M8’s can have S-Off, (and ONLY if you get S-Off!) we can also update the Firmware without the need of HTC’s OTA’ or RUU.....
[One (M8) Q&A, Help & Troubleshooting] hchastain008:
Since I am a noob how do I get S-Off?
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
Well seeing as how you are still on the stock ROM, gaining S-Off should be easy for you. You'll need to use Sunshine S-Off. It costs $25, but you don't pay if it doesn't work. Gaining S-Off will give you a TON of freedom with your phone, and make it really easy to update your firmware, plus make it possible to install mods such as the Harman/Kardon audio mod that is only officially available on Sprint. It just makes everything so much simpler, and is TOTALLY worth the $25.

You can get Sunshine S-Off by clicking this link.
[One (M8) Q&A, Help & Troubleshooting] digix2000:
Firmware 4.16.401.9 and hbootpreupdate

Hi. I updatet my firmware and installed a new ROM.

I have tried to figure it out but with no luck. But is hbootpreupdate: 11 always the same? I am wondering if i missed anything with previous updates.

C:\sdk>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.25.214500021.06G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 4.16.401.9

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

(bootloader) serialno: xxxxxxxxxxxxx

(bootloader) imei: xxxxxxxxxxxxxx

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B10000

(bootloader) cidnum: HTC__Y13

(bootloader) battery-status: good

(bootloader) battery-voltage: 0mV

(bootloader) partition-layout: Generic

(bootloader) security: off

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: 3aa067db

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.046s

C:\sdk>
[One (M8) Q&A, Help & Troubleshooting] Sneakyghost:
I haven't quite figured out what hboot preupdate means. Its not an increasing number. It somehow determines how the hboot needs to be flashed. This line is in each android-info.txt of each firmware zip and its always 3, 12, 11, sometimes numbers in between.

Its parameters.

I am sure beaups and the guys behind the S-OFF hacks have a fair understanding of what it does. I originally thought it might be important to understand its function but since i have changed to a strategy of NOT messing with firmware packs (speak: frankenbuilds) i doubt this needs any special attention. As long as firmware packs are put together with HTC's originally intended composition, no changes need to be made here.

Should you ever decide to flash a hboot solo, like if you want to flash a modified hboot, make sure the accompanying android-info.txt has the hboot preupdate number set which the exact same unmodified hboot came with (e.g. don't use another android-info.txt or change this number). Reason: it might be a crucial parameter, it might not be. We just don't know here. Playing it safe means don't touch it.

What you posted is what it says in your /misc partition and either telling you which hboot preupdate parameter was used with the last flash (likely) or which parameter the next update should use.
[One (M8) Q&A, Help & Troubleshooting] prootc1:
Hi try to flash this firmware by FUU mode and the "155 error", then i try to S-OFF my device but get always the "Open CID fail" and can´t get S-OFF...

Can anyone help?

I´m using a IC Lollipop ROM but my wi-fi still not work correcly and i need to flash firmware to S-OFF...
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
You need a stock or near stock ROM for S-Off. Flash the Maximus HD ROM and try to S-Off again. A lot of users have had success that way.
[One (M8) Q&A, Help & Troubleshooting] Jaxellis:
Anyone know the differences between 4.16.401.9 and 4.16.401.10? I already had 4.16.401.9 flashed then a few days later here comes a new one :P just wondering if it is beneficial to update it again to .10? or just to keep it at .9
[One (M8) Q&A, Help & Troubleshooting] shinsukyun:
Installing firmware

Am I correct in saying that I need to relock the bootloader before I flash a firmware?

How do I go about doing this?

Also, Do I need to unroot or anything before I flash the firmware?

If anyone could help, I would be grateful

Thanks
[One (M8) Q&A, Help & Troubleshooting] TenMaKo:
Hi.

I can't understand what happens.

My phone was running fine with 4.16.401.9 and now I updated to 4.16.401.10 (tried both manual and fuu methods with 2 different firmware sources) it gets stuck on the HTC logo on reboot.

Flashing 4.16.401.9 back doesn't solve my problem :/

Can someone plz tell me what should I do ? Would flashing the full wipe zip help ?
[One (M8) Q&A, Help & Troubleshooting] Sneakyghost:
Probably used the full stock wipe version then :laugh:

ROM is gone. Reflash the ROM.

[EDIT]

(it would be enough to reflash your ROM's kernel probably, just so you know what happens: your ROM is still there but now with a stock kernel and also the /data partition wiped, which essentially means your ROM is gone, or well, correctly put: your apps and settings are gone, so reflashing your ROM is by far the easiest way to get back up and running).
[One (M8) Q&A, Help & Troubleshooting] TenMaKo:
Ok. I restored an old backup and it worked.

Seems you were right. I was pretty sure to have downloaded a no wipe zip but I probably didn't pay attention enough.

Thx for the help !
[One (M8) Q&A, Help & Troubleshooting] jafalex:
Hello friends :) My Firmware version is 3.28.709.6. I amm on S-ON. And I want to manually flash 4.16.401.10 RUU.

My model id: 0P6B11000

My cidnum: HTC_621

Is it required flashing only x.xx.709.x RUU? Or I can flash any RUUs which I want? Sorry, I am on new in Htc One M8 :) Thanks in advance!
[One (M8) Q&A, Help & Troubleshooting] Sneakyghost:
You can't use this firmware with S-ON. If you want to change from Asia-HK to Europe/WWE you will need to set your phone S-OFF and make it Supercid.

How to get SuperCID is explained in my Dev Thread at page 1 i think and S-OFF you can get over where the Sun is always shining...

You don't need to relock your bootloader when flashing THIS firmware from me because it is not HTC signed, you will need to set your phone S-OFF and SuperCID and when you have done that, relocking is NOT a requirement anymore.

Relocking only applies to S-ON phones and full HTC RUU's.

"Unrooting or anything" is referring to things in the ROM. The ROM is not Firmware.

A RUU would be both ROM and Firmware and it would wipe everything on your phone and have you start over. It would remove everything you had previously on your phone except the S-OFF hack, that always stays because it takes place in a partition that never gets touched by anything. So, naturally, a RUU would unroot your phone, but you would not need to unroot your ROM first.

When flashing my or any other firmware, it will flash a few partitions of the phone which are not related to the system partition. Since a "root" is happening in /system, it will not be removed by any firmware flash. Not even by my FullWipe Firmware (the only thing that does not wipe is the system partition).
[One (M8) Q&A, Help & Troubleshooting] prootc1:
Hi there,

I already try with Maximus HD ROM and keep get error 155... can´t get s-off.

Is there any way to do this, because firewater don´t work more.

Regards
[One (M8) Q&A, Help & Troubleshooting] jafalex:
Thank you for asnwering friend! So, if got SuperCID, it is required to change model id too? Cause, my model id isn't match with the Europe/WWE firmware :rolleyes:
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
That's right, Firewater doesn't work any more. You are getting error 155 because you are not S-Off.

I didn't say flash the firmware with Maximus HD, I said try getting S-Off with it.

You need to use Sunshine for S-Off. It is the only way now. Get it here: http://theroot.ninja/

It cost $25 but is totally worth it.

---------- Post added at 01:18 PM ---------- Previous post was at 01:13 PM ----------

Yes. You need to change it to 0P6B10000. Instructions on how to do so are here.
[One (M8) Q&A, Help & Troubleshooting] Sneakyghost:
That is not correct.

Once a phone has been set S-OFF and SuperCID, the MID will be ignored. SuperCID achieves that. It lets the phone ignore both CID and MID requirements.

A change of MID is not requried usually.
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
I should have known that. My MID is 120000.

**bangs head against wall**
[One (M8) Q&A, Help & Troubleshooting] Tetsumi06:
FUU Failed....

Hoping someone here can help me - managed to get my phone into a condition where I can't even get it back to stock, let alone flash new firmware.

The details I can manage to dig out:

[FONT="Courier New"]
fastboot getvar all
version: 0.5
version-bootloader: 3.19.0.0000
version-baseband: 1.19.21331147A1.09G
version-cpld: None
version-microp: None
version-main: 2.22.401.5
version-misc: PVT SHIP S-ON
serialno: SH43WWM*****
imei: ***************
imei2: Not Support
meid: 00000000000000
product: m8_ul
platform: hTCBmsm8974
modelid: 0P6B10000
cidnum: HTC__001
battery-status: good
battery-voltage: 0mV
partition-layout: Generic
security: on
build-mode: SHIP
boot-mode: FASTBOOT
commitno-bootloader: df77f8b7
hbootpreupdate: 11
gencheckpt: 0
[/FONT]

Bootloader shows:

[FONT="Courier New"]
[U][*** Software status: Modified ***][/U]
[COLOR="Magenta"][U][*** UNLOCKED ***][/U][/COLOR]
[COLOR="DarkOliveGreen"]M8-UL PVT SHIP S-ON
HBOOT-3.19.0.0000
RADIO-1.19.21331147A1.09G
OpenDSP-v38.2.2-00542-M8974.0311[/COLOR]
[COLOR="Red"]OS-2.22.401.5 (3.28.401.7)[/COLOR]
[COLOR="DarkOliveGreen"]eMMC-boot 2048MB
Oct 10 2014,00:20:35.14326[/COLOR]

[COLOR="Red"][U][FASTBOOT][/U][/COLOR]
[/FONT]

Every few months I look up what new flash methods are out there and give them a try. The FUU for .401.10 failed with the util showing an error: 155 security
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
The 155 security is because you are S-On. You need to be S-Off. It says that in the OP, first sentence.

If you want to get S-Off, you can do so here: http://theroot.ninja/

It costs $25, but is totally worth the price. It gives you a lot more freedom with your device, like being able to flash firmware easily. ;)
[One (M8) Q&A, Help & Troubleshooting] Tetsumi06:
Went for the signed .10 FUU as it was listed as the only option for S-ON devices
[One (M8) Q&A, Help & Troubleshooting] Pumpino:
I'm trying to flash my Telstra branded Australian M8 with the generic European firmware. It's rooted and is s-off (thanks to Sunshine). The cidnum is TELST001. Will this prevent it from working? If so, how do I change this?

\platform-tools>fastboot flash zip 0P6BIMG_M8_UL_L50_SEN

SE60_MR_HTC_Europe_4.16.401.10_Radio_1.25.214500021.06G_20.68.4196t.01_F_release

_417809_signed.zip

target reported max download size of 1826418688 bytes

sending 'zip' (1536838 KB)...

OKAY [ 60.248s]

writing 'zip'...

(bootloader) zip header checking...

(bootloader) shift signature_size for header checking...

FAILED (remote: 32 header error)

finished. total time: 62.488s
[One (M8) Q&A, Help & Troubleshooting] Sneakyghost:
It is not quite clear what 32 is. Look here for what I've had to say about it so far: http://xdaforums.com/showthread.php?p=54097333

That isn't overly helpful in your case. But do try those two options:

1.) Rename the zip to rom.zip

2.) Download my firmware package 4.16.401.10 (any of the two versions will do), open it with 7zip (yes, that), delete everything in it but the hboot and android-info.txt, then try to flash that (only the hboot). Should that work, run the encrypted RUU.zip again right after.

Please report if any of that is successful, so I can better up my OP advice.

Thank you.

Mobile Post
[One (M8) Q&A, Help & Troubleshooting] Pumpino:
I tried renaming the ROM. That didn't help. I downloaded it again. That didn't help. I should note that I've also changed the CID and MID to what they should be for the European version.

I downloaded your 102MB file for 4.16.401.10_WWE_Full_Stock. I extracted hboot_signedbyaa.img and android-info.txt. I ran fastboot flash zip hboot_signedbyaa.img and encountered the same error 32.

This is really frustrating. I just want to have stock Lollipop on here and get rid of the carrier branding. I wouldn't have spent $25 on Sunshine to get s-off had I known it wouldn't work. :(
[One (M8) Q&A, Help & Troubleshooting] Pumpino:
If I'm unable to get it to work, would flashing a Nandroid backup of 4.16.401.10 for HTC__001 from http://xdaforums.com/showthread.php?t=2701376 be successful? If so, would having the CID and MID changed mean that I'd receive OTA updates as if it was really a European handset?
[One (M8) Q&A, Help & Troubleshooting] Sneakyghost:
You need to OPEN the zip with 7Zip, extract NOTHING. You just select everything that is NOT the hboot and NOT android-info.txt and hit DEL on your keyboard. Then you close the ZIP. Leave only those two files in there.

Then run:

fastboot oem rebootRUU

fastboot flash zip <nameof.zip>

fastboot reboot-bootloader

Then launch the RUU again.

And why in Gods name did you change your MID and CID? Usually you are perfectly fine just doing superCID

fastboot oem writecid 11111111

[EDIT]

I forgot to ask: when you tried flashing the RUU.zip, did you put the phone into RUUMode first? or did you just go into regular fastboot mode and tried flashing it there? Because that will fail. You need to boot it into RUUmode first. See command outlined above.
[One (M8) Q&A, Help & Troubleshooting] Pumpino:
Thanks for the reply. It was late here and I totally misinterpreted your suggestions re. 7-zip. Once I try flashing your zip with just the two files, are you suggesting I then flash my original zip, or your zip in its entirity?

I changed the CID and MID because other threads suggested this was necessary to change the firmware and still have OTA updates from a different region. What exactly is superCID?

Yes, I definitely ran fastboot oem rebootRUU each time before flashing.

Thanks again.
[One (M8) Q&A, Help & Troubleshooting] Sneakyghost:
Ok i am not entirely sure the MID/CID change is required for OTA's to work, but i would think no, superCID should suffice.

Regarding your zip vs. mine: just do whatever you deem fit. If you are going to flash a custom ROM afterwards, it really doesn't matter. If you want a full stock system, flash that RUU.zip.