yashsingh1/xdaforums huggingface dataset:
[Sprint HTC One (M8)] gunfromsako:
Ok so im having a weird issue... the 4.20 RUU flashed fine but i keep getting an error with the 4.25 RUU...

ERROR [131]: CUSTOMER ID ERROR

One of these error messages will appear when you use the wrong RUU to do the update. The RUU will check if the Model ID and Language ID are compatible with the Android phone. Make sure you use the correct RUU to update.

E:\SDK\platform-tools>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.09.20.0119
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 4.20.654.10
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno:
(bootloader) imei:
(bootloader) imei2: Not Support
(bootloader) meid:
(bootloader) product: m8_whl
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B70000
(bootloader) cidnum: SPCS_004
(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: 6400afe2
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.031s

E:\SDK\platform-tools>

All those values seem to be in order so i dont know why i would be getting that error. Im on Windows 8.1 with the latest htc sync drivers only installed.

This is the file I have. "RUU_M8_WHL_L50_SENSE60_SPCS_MR_Sprint_WWE_Harman_4.25.654.14_Radio_1.09.20.0209_NV_SPCS_1.52_003_release_426233_signed_2"
[Sprint HTC One (M8)] OMJ:
yeah that's strange, I don't see anything that stands out as to why it would fail...only thing I could suggest is changing CID to SuperCID, then try again....or extract the rom.zip from the RUU, change name to 0P6BIMG.zip, copy to ext sd & flash from bootloader.
[Sprint HTC One (M8)] gunfromsako:
Super CID was going to be my next step but this was really frustrating me yesterday. I also thought about flashing through bootloader but [MENTION=1162986]Captain_Throwback[/MENTION] and I kinda have the same theory about once you break the encryption on a RUU, it isn't quite the same... Probably just in my head, but oh well. I'll try supercid tonight and if that fails I'll try via bootloader as a last resort. Thanks OMJ.

Edit: I guess extraction won't break then encryption... Not sure what I was thinking. I just really prefer using a RUU than any other way.
[Sprint HTC One (M8)] Captain_Throwback:
Yeah I was about to say . . . when did I say that?

The SD Card method is 100% valid and some instructions directly from HTC have used it as an update method. I'd never say that that method was no good (though I have had a few zips that refused to fully flash).
[Sprint HTC One (M8)] OMJ:
and he's back.... :)
[Sprint HTC One (M8)] Captain_Throwback:
I won't be around as much.

I'm handing off projects and going on an actual vacation, so I definitely won't be online over the next couple of weeks. But I still get quote and mention notifications so I pop in if I see them.
[Sprint HTC One (M8)] gunfromsako:
You didn't... I think it was on the EVO LTE, and we were talking about firmware not ruu's.
[Sprint HTC One (M8)] 63sammo1:
You will be missed!

Enjoy....
[Sprint HTC One (M8)] truchosky:
hi people, how to "downgrade" a s-on m8 harman 4.25.x to any previous RUU?, always fail the bootloader, error 140 on RUU utility or error "FAILED (remote: 12 signature verify fail)" on fastboot
[Sprint HTC One (M8)] Sloth:
Cannot be done without s-off.
[Sprint HTC One (M8)] truchosky:
the only way is throw sunshine ?
[Sprint HTC One (M8)] Sloth:
Only s-off method? Yes Sunshine is the only option right now.
[Sprint HTC One (M8)] truchosky:
a backup throw twrp will work ?, i mean "downgrade" to 4.4.4 using backup
[Sprint HTC One (M8)] OMJ:
That will only restore 4.4.4 OS, not firmware
[Sprint HTC One (M8)] truchosky:
ok, it is possible to downgrade the OS from 5.x to 4.4.4 with s-on ?, with twrp backup ? or any other method ?
[Sprint HTC One (M8)] OMJ:
yes, but you'll still be using 5.x firmware...what are u trying to accomplish with the downgrade?
[Sprint HTC One (M8)] truchosky:
is for install bad boyz 2.4 + sim unlock, cause on android 5.x + another bad boyz the command "am start bla bla " (to start api to unlock phone) doesnt work
[Sprint HTC One (M8)] OMJ:
I guess it's worth a try but it probably wont work....might have to bite the bullet & pay for sunshine, it's worth it!
[Sprint HTC One (M8)] jefesala:
Try this:

- Restore a Kit kat Backup (TWRP recomended)

-Flash the modified "HtcOMADM_SettingsPlugin_SPCS.apk" and HtcOMADM_SPCS.apk" http://xdaforums.com/showthread.php?t=2491840

Works in a S-on
[Sprint HTC One (M8)] PAKOS-:
downgrade htc m8 hk

is it possible to downgrade htc one m8 hk from badboyz 5.0.2 to Sprint_M8_HK_Stock_Rooted_3.30.654.2_Deodexed ?
[Sprint HTC One (M8)] Magnum_Enforcer:
Yes, just flash the ROM in recovery.
[Sprint HTC One (M8)] Jokesterwild:
im s-off and rooted. I just flashed 0P6BIMG_Sprint_HTC_One_M8_Harman_4.25.654.14_RUU

which seemed to work fine as is. Then i tried flashing the newest Venom rom and its like I dont have a rom installed when i reboot after it says its successful.

Just reboots into Hboot. Going to try a different rom or two. not sure why its not working.

---------- Post added at 05:28 AM ---------- Previous post was at 05:20 AM ----------

Never mind, I updated TWRP and the Venom rom install worked flawless!
[Sprint HTC One (M8)] PAKOS-:
while flashing rom

I tried 2 times but i am stuck in the start at logo written (android)?:(
[Sprint HTC One (M8)] OMJ:
probably because your firmware doesn't match...if s-off, flash the same firmware....if s-on, u need to ruu, or flash ROM u came from
[Sprint HTC One (M8)] pillopoulos:
I'm s-off,can I flash the firmware without losing my root and my custom recovery?
[Sprint HTC One (M8)] OMJ:
yes, choose modified version w/o recovery
[Sprint HTC One (M8)] pillopoulos:
I'm about to flash the file that is without recovery and boot via Hboot with my ext_sd card. Will it affect my rom or my files?
[Sprint HTC One (M8)] pillopoulos:
When I do the process it says: "no image or no image"...
[Sprint HTC One (M8)] PAKOS-:
yes u can

first make back up than flash it.

---------- Post added at 03:10 PM ---------- Previous post was at 03:06 PM ----------

first badboyz rom is more advance with sense 7 or 6.I tried 5.0.2 with sense 6 and 5.0.1 with sense 7 but in sense 6 no dolby surround sound option?And can i add harman kardon sound too?Currently i am using htc m8 HK with badboyz 5.0.1 sense 7.
[Sprint HTC One (M8)] 63sammo1:
Rename file to 0P6BIMG.zip
[Sprint HTC One (M8)] pillopoulos:
I have done all of that.
[Sprint HTC One (M8)] 63sammo1:
In the past I had messed up by using O instead of 0

Just a thought.
[Sprint HTC One (M8)] pillopoulos:
I changed the "O" with zero but I get the same error

Στάλθηκε από το 831C μου χρησιμοποιώντας Tapatalk

---------- Post added at 06:22 PM ---------- Previous post was at 05:27 PM ----------

Edit: finally it did the installation but still I have the old firmware... Why?

Στάλθηκε από το 831C μου χρησιμοποιώντας Tapatalk
[Sprint HTC One (M8)] 63sammo1:
Your base/firmware has changed.

Your build number doesn't change until you flash an updated build/Rom
[Sprint HTC One (M8)] pillopoulos:
So how can I check that it really changed?

Στάλθηκε από το 831C μου χρησιμοποιώντας Tapatalk
[Sprint HTC One (M8)] 63sammo1:
Settings/about/software/more. Baseband/radios, 109 20 0209

I think that's the latest.
[Sprint HTC One (M8)] ckvisme:
For checking firmware look at your boot loader screen

From powered off state-

Press and hold volume down then power-

wait a few seconds and boot loader will appear. Look where it says OS (for example I'm on Sprint and mine reads :

OS 4.25.651.14) .

It will also show your radios, unlocked, s-off, etc.

The info listed under settings is the info for whatever custom rom you are using. ?
[Sprint HTC One (M8)] pillopoulos:
Yeeeessssss!!!!!! I'm so happy!I finally managed to have the latest firmware![emoji2] [emoji2] [emoji2] [emoji2] [emoji2]

Στάλθηκε από το 831C μου χρησιμοποιώντας Tapatalk
[Sprint HTC One (M8)] ckvisme:
Lol, it is a good feeling ?
[Sprint HTC One (M8)] 63sammo1:
Was trying to keep it simple, if I'm not mistaken radios are part of your firmware, no? Baseband/radios?

Radios were included in the last update. So Baseband changes, Rom version does not. Please correct me if I am wrong.
[Sprint HTC One (M8)] ckvisme:
Yes, yes and honesty not sure.. I just know that the info under settings dosent necessarily reflect the firmware you are actually on.

Example: if I want to upgrade my firmware I'm going to look at the OS number listed in my bootloader and Hboot number to help find the corresponding RUU or modified firmware zip.

You my be correct that the baseband version listed under settings is accurate but my understanding was that the info under settings was based on the rom version and not your actual firmware etc.
[Sprint HTC One (M8)] Gus194:
If I flash the 0P6BIMG RUU does it still erase my stuff/inter al memory? Thanks!
[Sprint HTC One (M8)] ckvisme:
Yes...unless your just flashing modified firmware.. I believe it does ...
[Sprint HTC One (M8)] EarlyMon:
I believe you'll find on a Sense rom that the radio and PRI values from the main settings are correct.

Otherwise the rest of it is coming from the rom exactly as you say. (Which I know you don't need confirmation, I just don't want to confuse anyone new to this.)

If the following is in the thread, please forgive, I'm on my phone, it's HoneyDo morning -

NOTE IF YOU WERE ON AN OLD SYSTEM AND FLASHED THE LATEST UPDATE -

You may get stuck on the white HTC screen - don't panic.

If you s-off updated via the sd card, remove it.

In any case, power reset with volume up + power, re-enter bootloader with volume down + power.

Navigate to RECOVERY.

Insert sd card, mount it from TWRP, then delete the 0P6BIMG.zip file.

Go to your nandroid restore and restore just the boot image, reboot, profit.

The 4.25 firmware-only zip with just recovery removed includes boot - watch what your firmware update does while it's happening for this sort of thing and you'll know what to expect and what to do.

If you got into this without a nandroid backup you've just learned a hard lesson but you're not stuck. FASTBOOT USB mode and fastboot flash the boot.img from your current rom to get going again.

Avoid the situation by getting the firmware without boot and recovery to preserve what you have during your updating ok, just as OMJ indicated earlier.

Hope this helps! (And sorry if it's a repeat.)

PS - when needing to run the RUU, if the system is completely corrupted the OS version won't always show up in the bootloader, but the radio version will, and you can go by just that. Not as easy or strictly proper as ckvisme points out but will work for you in most cases.
[Sprint HTC One (M8)] ckvisme:
Thanks [MENTION=2682748]EarlyMon[/MENTION], I wasn't sure about what info under settings menu reflected firmwares accurately. Lots of great info. ?
[Sprint HTC One (M8)] Captain_Throwback:
Basically all you need to remember is that the "OS" line in bootloader reflects the "mainver" value from the android-info.txt file of the last thing that was flashed via HBOOT or fastboot. Sometimes you'll notice that number doesn't match what's in Settings because you may have flashed firmware separately from the ROM.

The "Software Version" line item in Settings ALWAYS pulls from the ROM's build.prop under /system. So it doesn't care what firmware you've flashed; it'll always match your ROM.

Either value can be manually changed in order to confuse your firmware situation. However for most people, the baseband/radio they're on will match the firmware package it came from. Radio firmware *should* be flashed with all of the other corresponding firmware from the same software version. That makes using the baseband a more reliable method to identify your current firmware, which is why I always listed the radio version that accompanied a specific software version in my firmware thread ;).

I have seen a thread for the M8 with recovery-flashable radios, which write directly to the radio partition using dd. That may cause a disparity between firmware/baseband versions and is not typically recommended for two reasons:

Radio firmware typically works the best when paired with the other firmware from the same software with which it was distributed. The gains from using mismatched firmware combinations are rarely outweighed by the losses.

It's highly unsafe to flash radio firmware via dd while in recovery. That's one of the more volatile partitions, and if something happens mid-flash, you'll most likely be left with an expensive paperweight. The bootloader has safety features built into it that make radio flashing less risky. It is MUCH safer and reliable to flash any/all firmware that way.
[Sprint HTC One (M8)] EarlyMon:
Check out the big brain on Cap'n!

(No seriously many thanks for clearing that all up.)

QFT.

I'm on my way back to Lollipop, I like to get the firmware first and then the rom.
[Sprint HTC One (M8)] horace_p:
Need Help....

I need to upgrage from version 2.16.651.4 (4.4.3) to 4.25.651.14 (lolipop), but my phone is already unlocked for gsm, s-off, rooted, super CID, unlocked boot.

I receive OTA popup for upgrade but i dont whether is its safe for upgrade...

Can anyone tell me how to upgrade to lolipop
[Sprint HTC One (M8)] EVOuser94:
Flash Firmware for what you want, flash the GSM variant of what you are getting, If you lose your SIM unlock find out if the firmware you are about to flash has SIM unlocking capabilities
[Sprint HTC One (M8)] horace_p:
First I need to flash Firmware or RUU?

Does OTA upgrade brings any issue after s-off, rooted, super CID, unlocked boot...
[Sprint HTC One (M8)] EVOuser94:
It doesn't matter, you are S-off. RUU will make you have to reflash Recovery, and gives you a Stock unrooted ROM. So you would be downloading something the size of a finished rooted ROM, I personally only suggest RUU if firmware flashes and Clean ROM flashes don't fix your errors, problems. Firmware is the upgrade, you would be taking with an OTA, as long as you have a supported ROM for your firmware you should be In the clear
[Sprint HTC One (M8)] torankusu:
New to Sprint M8 H/K

Hi all,

So I'm coming from an HTC evo LTE, phone was solid for the past 3 years. I decided to upgrade and I got a HTC m8 H/K edition.

Phone came with v2.16.654.4. I already rooted it and unlocked bootloader. Info:

***UNLOCKED***

M8_WHL PVT SHIP S-off

CID-SPCS_0004

HBOOT-3.18.0.0000

Radio-1.08.20.0612_4

0S-2.16.654.4

So what do I do to accomplish the following:

1. Update to the latest everything for sprint, without loosing s-off, unlocked bootloader and ROM that comes rooted. (is there any issues or features with newer hboot?)

I'll appreciate if someone can point me to the right set of steps or ZIPs to flash from the 1st post of this thread.

Regards.

UPDATE:

I went to OMJ's bad boyz rom Thread.

Flashed latest firmware fastboot zip (no boot & recovery option) Twice. The 4.25.654.14 firmware one.

Flashed latest Bad boyz sprint htc one m8 sense 7-v1.0.

Everything looks good besides no WiFi feature. I'm using a H/K edition phone. ***started having ramdom reboots then bootloop after 5-6 hours.*****

Update2

Wiped and flashed bad boyz sense 6 v3.4, still same Wi-Fi issue not starting up. will try a different rom and report back.

Should I run the RUU? if so what would i be loosing besides root.

Update3:

wiped and flashed stock rooted 4.20.654.15 and still no wifi, something got messed up going from 2.xx roms to 4.2x.xxx

ran Ruu and wifi works now.

Update4

RUU fixed it. you'll lose recovery and root but not unlocked-s-off bootloader.

Flashed latest twrp for htc m8 through adb - fastboot commands. (used minimal adb install)

Twrp asked if I wanted to install SU which I did.

Now that I have recovery I'll try flashing "bad boyz sense7" rom from OMJ and company.

Will report back.
[Sprint HTC One (M8)] codyray324:
Is it safe to downgrade and if so what ruu would I need to go back to 4.4.4? I prefer the HK edition.
[Sprint HTC One (M8)] OMJ:
yes, as long as you are s-off...last 4.4.4 RUU for HK was...

RUU_M8_WHL_K444_SENSE60_SPCS_MR_Sprint_WWE_Harman_3.31.654.2_Radio_1.08.20.0916_NV_SPCS_1.52_003_release_403246_signed_2
[Sprint HTC One (M8)] codyray324:
Can it be done from the phone like the new RUU? Or do I need to do it from a computer. It's downloading as a .exe
[Sprint HTC One (M8)] OMJ:
yes, the exe requires a pc...it doesn't look like I ever uploaded a 0P6BIMG version...it's easy to get, but u need a pc
[Sprint HTC One (M8)] deedeebulldog:
I am stuck updating (3/7). I know someone had this issue in an earlier post and rebooted and started the ruu again and it worked. I am on my 3rd attempt and still no luck. Any advice? I am going to try it on another pc to rule that out.

Thanks.

It seems that usb 3.0 was my problem. All is good now
[Sprint HTC One (M8)] pillopoulos:
Hi, I've finally figured out what is wrong with my cell and I couldn't reach LTE signal in my area. My carrier supports only the 2600mhz band and my cell reaches only the two previous bands. After watching some forums, I tried to reach through the phone's dialer, after pressing ##3282# , the menu of the phone's bands editing, but it doesn't do anything. Can you give me an idea or a different solution?

Στάλθηκε από το 831C μου χρησιμοποιώντας Tapatalk
[Sprint HTC One (M8)] edios123:
[MENTION=506238]OMJ[/MENTION] I'm getting error 170, USB connection error. Phone is HK... Please help.
[Sprint HTC One (M8)] drewtorrespr:
Did "Format Data" to clear up some issues on my phone with Bad Boyz v3.4

So i decided to try and flash this firmware thru the bootloader on my M8 H/K phone:

4.25.654.14 Modified Firmware....removed recovery (fastboot flashable): https://www.androidfilehost.com/?fid=95916177934552838

Now it picked it up and applied it, where it says 'OS' on the bootloader screen it says 4.25.654.14. Now i flashed v3.4 again got the phone booted up and the whole nine but wanted to make sure the firmware stuck. Go back in the bootloader but now it says nothing after OS. Any reason why, am i flashing wrong, do i need to ruu to make it stick, is the firmware even the right one for my phone, or should i be using the Sense 7 version of Bad boyz?
[Sprint HTC One (M8)] EVOuser94:
It is just because you have modified firmware, it is nothing to worry about, if you RUU it will fix because it has stock firmware inside.
[Sprint HTC One (M8)] drewtorrespr:
So no need to RUU then or Do the RUU? the reason i ask is because i could have sworn the WIFI on my phone had taken a performance hit going from KK to Lollipop.

---------- Post added at 04:14 PM ---------- Previous post was at 04:10 PM ----------

i think your gonna kick my ass for this, now that you mention this, and i didnt think of it....im still using twrp v2.7.0.2....possibility that may be messing up my flashes
[Sprint HTC One (M8)] Captain_Throwback:
That's definitely why your OS line is blank, if nothing else.
[Sprint HTC One (M8)] drewtorrespr:
Thanks Dog...you the bomb. try updating twrp and giving it another go.
[Sprint HTC One (M8)] edios123:
Can anybody please help me? I get error 170 usb connection error while trying to RUU. HK version here.
[Sprint HTC One (M8)] The Fer-Shiz-Nizzle:
Did you reboot to RUU mode? Are the fastboot drivers installed properly? USB3.0 ports usually cause problems, so make sure you are using a USB2.0 port.
[Sprint HTC One (M8)] edios123:
Forgive my ignorance, but how do I reboot to RUU mode? Fastboot drivers are installed properly. But I can't seem to install HTC drivers. It says my OS isn't supported. Windows 10.

The device gets detected though.

I'm S-OFF.
[Sprint HTC One (M8)] The Fer-Shiz-Nizzle:
With the command: fastboot oem rebootRUU

Windows 10 is probably the problem. I think you have to change a setting to force allow the installation of unsigned drivers. I can't help you with that though, I'm on Win 7.

You could also use the 0P6BIMG.zip version of the RUU to load it from an sdcard via the bootloader.
[Sprint HTC One (M8)] edios123:
I too think so. But unfortunately, I can't install Windows 8/7 right now. :(

Can you give link to that zip? And that won't have any problem with the OS right? Also is that zip completely stock? I need to flash stock to make my GPS work again. Currently it doesn;t work on any ROM I tried, so I think I need to have a lock with the stock ROM. Or is there any other way to fix it?

Phone is HK model.

Thank you so much for your help.
[Sprint HTC One (M8)] The Fer-Shiz-Nizzle:
The 0P6BIMG.zip is right under the RUU's in the OP of this thread.

Assuming you are having the GPS lock problem on AOSP/CM ROMs, yes you probably need to flash a Sense ROM, get a GPS lock, and flash back to CM. This is how I solved that problem as well.

You can flash the RUU, but you don't have to. You can simply flash any stock-based ROM to achieve the same thing.
[Sprint HTC One (M8)] edios123:
Nope, I'm having GPS lock problem with Sense based ROMs itself. :eek: Does that mean its a hardware issue?

I got the device used, in great condition. But he didn't mention anything of this sort. He was an XDA user as well.
[Sprint HTC One (M8)] The Fer-Shiz-Nizzle:
Hmm. That's unusual. If you are on a stock ROM right now, you can try going to the dialer and enter ##GPSCLRX# It will ask you for a password, enter your MSL code. (Try MSL Reader if you don't know your MSL code)

This will reset the GPS. If this does not fix your problem, then I would try the RUU/zip.

Good luck, hope it works for you
[Sprint HTC One (M8)] drewtorrespr:
Cap its fixed...you were right. I just needed to update Twrp.
[Sprint HTC One (M8)] pillopoulos:
Hi, I have flashed this firmware to my HTC m8 h/k sprint edition but it can't seem to find 3g/4g signal. Can I flash other firmware which support international bands or am I gonna brick my phone?
[Sprint HTC One (M8)] EVOuser94:
Flash the correct RUU for your phone model/region... This is a RUU for US Sprint models
[Sprint HTC One (M8)] pillopoulos:
Can you suggest me where to find it? I'm in Greece but I thought that the right thing was to put the firmware that the phone should have. If I put another firmware, will it work to different bands? International bands to be accurate?
[Sprint HTC One (M8)] EVOuser94:
Do you have the American model of the M8 or the International model? If American is it CDMA(Sprint) or GSM? This RUU is specifically for USA Sprint(CDMA) models. You can try to look on the International HTC ONE M8 thread which doesn't have the prefix Sprint/Verizon/etc.

As far as firmware goes you should only flash firmware for your particular model with some exceptions (Harmon/Kardon files)
[Sprint HTC One (M8)] pillopoulos:
It's the CDMA model, the American (sprint). Is there any way of flashing a firmware that will have my device working in international bands? I'm s-off.
[Sprint HTC One (M8)] EVOuser94:
You will have to SIM unlock it most likely, but yeah its possible, check up on that term and search the international thread for help on that matter. I'm inexperienced with it, sorry