yashsingh1/xdaforums huggingface dataset:
[One (M8) General] raksati:
i'm S-OFF on HTC Europe, CID VODAP405 3.29.161.5 but i need to restore all to stock (firmware, rom, kernel, recovery, data, app, carrier customization, ...) Can I use these file or do I need specific CID file? Can I get same result using Nandroid backups?
[One (M8) General] ducted:
Worked fine for me with an M8 European (unlocked & S-OFF), I just copied the 3.28.401.6 version to my SD-Card, renamed it to 0P6BIMG.zip and rebooted to bootloader.

I had the 3.28.401.7 firmware already installed and the RUU downgraded automatically to 3.28.401.6, then I applied the 3.28.401.9 OTA manually.

Thank you very much, [MENTION=2588346]djluisbento[/MENTION]! :highfive:

PS. To all who can't copy the file due the size trough the usb cable just using copy & paste method in Windows, enable the USB debug mode and you should be able.

Cheers! :good:
[One (M8) General] jmkhenka:
I flashed M8_UL_K444_SENSE60_MR_HTC_Europe_3.28.401.6_Radio_1.21.21331147A1.19_2G_20.63.4196.01_release_398024_signed

but now i have 3 green dots down left on the screen (below the virtual buttons), the leftmost green dot (or line of dots really) flashes when the SD-card is reading the other two is fixed green. Or these dots change color.. now they are purple.

Is this really a final rom and not some developer version?

edit: these dots seeme to be in the recovery and during boot to. I think this has something to with the android L version that came out - a engineering bootloader or somesuch. I will flash back a older hboot and firmware to se what happends.
[One (M8) General] 10rdan:
Did it erase your sd card in the process ?

The reason I ask is because it states in the thread about converting TO gpe to remove sd card because it'll be erased.

Cheers
[One (M8) General] BlueEyedDev:
It erase the internal sd card
[One (M8) General] ducted:
Only the internal memory is wiped, not the external sd card.
[One (M8) General] 10rdan:
Ok, thanks. Wonder why you're told to remove sd card when converting to gpe using that method.

Sent from M8
[One (M8) General] pierreammoun:
Bootloader directly ?

Dear gurus

I converted my htc m8 to GPe and was dissatisfied due to radio not working...

I tried to flash a custom rom from recovery (sense ROM) and messed up the phone.

Now it boots only with the Google Logo. Or I can go to bootloader.

From what I understood here if I download the RUU then I can

Go into fastboot

type

fastboot oem rebootRUU

fastboot flash zip the RUU zip file and I am back to Sense ?

Is that correct ?

Thanks for confirming..
[One (M8) General] snebojsa:
Yes, that's correct. Or, easier method, rename zip you downloaded to 0P6BIMG.zip, put to ext sd card and reboot to bootloader.
[One (M8) General] pierreammoun:
Thanks for the info. I did it and now I am back with Sense. But I thought I would be now "OFFICIAL".

It found a new update (Software update) but then when it finished the downloads it said "we found that you are using a modified blablabla...and can not update.

Do u think it is because of the custom recovery ? If yes from where can I download the right official recovery ?

my info is now the following

CID 11111111

s-off

and android version 4.4.3

software number 2.22.1540.4

build number 2.22.1540.4

thanks
[One (M8) General] :
To the author of thread: many apologies, I was stupid and didn't read all. It works, but from external sd-card, not internal one. Even OTA to 3.28.401.9 went without problems. BTW internal memory will be wiped out through the process, external one stays intact.
[One (M8) General] cadialex:
You shouldn't be SuperCID to use the update :) Try with another CID and try to apply it again ^^
[One (M8) General] pierreammoun:
What about the recovery ? I am fine with the one that is being installed by the RUU ? Or there is no Recovery installed when I flash RUU ?

I am at lost here !
[One (M8) General] :
Flashing this RUU means flashing stock recovery in the same time. For example, a few minutes after flashing I ran OTA update to latest 4.4.4 version (which is impossible, if you are using TWRP or Philz).

You may flash custom recovery via fastboot afterwards.
[One (M8) General] snebojsa:
When you flash ruu, it wipes everything from phone and revert back to stock, including recovery, splash screen, etc... You have to write back your original cid and good to go for otas. Check on first page is your cid listed on cid list. Your mid have to be "modelid: 0P6B10000".
[One (M8) General] pierreammoun:
I changed my CID to HTC__001 but got the same message...

My status is

HTC__001

HBOOT 3.18.0.0000

RADIO 1.19.213000

S-OFF

Software Number 2.22.1540.4

Android Version 4.4.3

It says that there is a software update 3.28.1540.5 - 235.9MB

but then once downloaded , it says again that they found that I am running a non stock version and that in order to blablabla... can not update !!

Which CID shall I use ? is it s CID issue ?
[One (M8) General] snebojsa:
I don't understand something...

Are you flashed first or second ruu from op?

If you flashed first ruu successfully you would have hboot 3.16 and radio 1.14.2133156.UA24G, software 1.12.401 .17.

If you flashed second ruu successfully you would have hboot 3.19 and radio1.21.21331147A1.19, software 3.28.401.6.

You don't have either... I assumed you are s-off?
[One (M8) General] pierreammoun:
I am S-OFF

and I am Flashing the following

RUU_M8_UL_K44_SENSE60_MR_BrightstarUS_WWE_2.22.1540.4_Radio_1.19.21331147A1.09G_20.57.4196.01L_F_release_387460_signed_2
[One (M8) General] snebojsa:
That is not from first page of this thread, that is from another thread. It is for Developer Edition and for MID 0P6B12000.

Go to first page, download HTC_M8_UL_K444_SENSE60_MR_HTC_Europe_3.28.401.6_Radio_1.21.21331147A1.19_2G_20.63.4196.01_release_39 8024_signed.zip (second one) and try that.
[One (M8) General] pierreammoun:
Is there any mirror to this download ? I tried many times , it always fail at the end...

One other question. what is the "Safest" CID I should put in order to get the updates ? I am now 11111111

Thanks.
[One (M8) General] pierreammoun:
The download link is corrupt. I have tried to download this 3 times...and each time around the end (few sec. remaining) it fails..

Any mirror please ?

Thanks
[One (M8) General] :
In my case I ran HTC_M8_UL_K444_SENSE60_MR_HTC_Europe_3.28.401.6_Ra dio_1.21.21331147A1.19_2G_20.63.4196.01_release_39 8024_signed.zip on SuperCID (11111111). Then a few minutes later, after setting my account and preferences, OTA asked me for update to 3.28.401.9. I repeat - on SuperCID. OTA went without problems. Maybe european version goes better. I'm on S-OFF and with unlocked bootloader.
[One (M8) General] pierreammoun:
Download corrupt !!

The download link is corrupt. I have tried to download this 3 times...and each time around the end (few sec. remaining) it fails..

Any mirror please ?

Thanks
[One (M8) General] :
Hm, I downloaded yesterday with no problems. I can provide a link, when I'm home from work (5 PM CET).
[One (M8) General] pierreammoun:
Would really be grateful if you could send me another link !!!!

Thanks in advance !

---------- Post added at 10:33 AM ---------- Previous post was at 10:32 AM ----------

Would really be grateful if you could send me another link !!!!

Thanks in advance !
[One (M8) General] iJekyll:
Mine is corrupted too. Downloaded 4 times already and still...
[One (M8) General] snebojsa:
How do you mean "corrupted"? If you try to open zip file, you can't because it's encrypted.

http://xdaforums.com/showpost.php?p=56151903&postcount=11

The file have 1.52GB, I just downloaded it without any problems using Firefox. Maybe you can try another browser...
[One (M8) General] :
Exactly, people do not open it, just change the name to 0P6BIMG.zip and just transfer to external (yes, external) sd-card. The first sign in name of the file is 0, not O. Avoid to leave double zip in file's name. Should be exactly 0P6BIMG.zip, not 0P6BIMG.zip.zip.
[One (M8) General] iJekyll:
Well, now I feel stupid lol. The file is really 1.52GB, but when I open the zip file, I see only few files and only 100mb tops.

When I try to open some of the files or extract them, that's the time it says "corrupted".

By "encrypted" you mean I can't extract the files neither see all of them?
[One (M8) General] snebojsa:
Correct.
[One (M8) General] iJekyll:
Cool, thank you all!

I really think this thread should also be at Development section. I've been looking for "the most official" FULL RUU and couldn't find it anywhere. Just by accident I looked at the general section.
[One (M8) General] :
Uploaded. Link https://mega.co.nz/#!cEViTCRK!p2TlkFmnxBO478vHKkBlmpLzNC0eR7VhCGxYD7Nhutg
[One (M8) General] pierreammoun:
I finally managed to get the download. I renamed it and pushed it to the sdcard2

then I went to fastboot and it detected it and did the update.

Everything was great till I got a message that there is an update. 3.28.409.1

I said yes to the update...and then AGAIN..it said "you are running a modified blablabla..."

I thought the whole issue behind all the hassle we are going through was to go back to 100% Stock...

What is still missing in the process ? Do I need to re-change the CID from 11111111 to ?????? which CID would work ?

Thanks for the help guys.

---------- Post added at 04:19 AM ---------- Previous post was at 03:31 AM ----------

Another issue I have is that I don't have recovery ! When I try to go to recovery (fastboot reboot recovery ) I get the red triangle !!

What I want is to go back to FACTORY SETTINGS. How ?
[One (M8) General] :
Just press Volume Up and Power in the same time to enter the stock recovery. BTW are you running Sense firmware also?
[One (M8) General] iJekyll:
Do I still need to change the name of the zip file if I want to flash it with fastboot (fastboot oem rebootRUU)?
[One (M8) General] :
Nope, already changed. Just transfer to external sd-card and restart too bootloader. Flashing via fastboot is NOT required. You'll see a few green lines of text, than monit to update the system. Press Vol Up to update, press Power on the end to reboot.
[One (M8) General] iJekyll:
Thanks for the reply, but I don't think you understood me right.

What I meant is that I want to flash it via the fastboot, not the external sdcard. I wanna do it with the fastboot commands (fastboot oem rebootRUU --> fastboot flash zip [nameOfTheFile].zip). Therefore I ask if I need to change the name of the file if I want to flash it that way.
[One (M8) General] tominozh:
The command you write there just says it all [nameOfTheFile].zip. So no you don't have to change the name, but can if you want to.

Anyway you won't be able to flash it through fastboot. It won't flash. The file is too big. It only works from external SD card as far as I can remember. Just try and see [emoji4]
[One (M8) General] pierreammoun:
I did all the steps and Now I am on track !

I also rooted the phone and installed twrp recovery.

I will be able to get OTA right ? coz I could not check since I am now on 3.28.401.9 (which I assume is the latest..)

Thx
[One (M8) General] snebojsa:
You want to go back to 100% stock, and cid 11111111 certainly is not one of the stock cids. If you don't remember you cid, try one from the OP, you have the list.

That is not the issue, that is stock recovery and it should be like it is, when you go back to stock. That is FACTORY SETTINGS:)

When you flash via fastboot the name itself doesn't matter, but is recommended that should be simple, to avoid typo errors, like rom.zip, or 123.zip or whatever you want.
[One (M8) General] iJekyll:
What?? Seriously? I can't flash it through fastboot? since when does it matter the size of the file? The OP gives instructions about fastboot flash:

" Go into fastboot

type

fastboot oem rebootRUU

fastboot flash zip zipfile.zip "

Then why is it not possible?
[One (M8) General] tominozh:
OK. Maybe I'm mistaken. Just try and let us know. ☺
[One (M8) General] :
Using 06PBIMG.zip is faster than using fastboot. F.e. for Europe you can only RUU Google Play Edition ROM. Any Sense ROM requires restoring in custom recovery or flashing with custom recovery (like 3.28.401.7 odexed.zip from Android Revolution HD). Hence '0P6' saves time. CID HTC__032 is updated through OTA.
[One (M8) General] Dominique96:
Hello, I have converted my HTC One m8 to GPE. Now I want to go back to stock sense but when i try to flash through hboot it loads the zip and then gives me ´´wrong zipped img, press power to reboot´´ . Ive changed my cid to HTC__001 and the mid to 0P6B10000 . Before converting to gpe my phone was vodafone branded with a cid : VODAP102. Could that be a problem ? I want to get updates from htc and not vodafone... If anyone could help please
[One (M8) General] snebojsa:
Are you sure you not renamed zip file to 0P6BIMG.zip.zip? That is common error.
[One (M8) General] Dominique96:
When I renamed it to 0P6BIMG Hboot didnt find it cause it was searching for the name 0P6BDIAG so I renamed it to that and it isnt 0P6BDIAG.zip.zip . It only has one .zip extension
[One (M8) General] snebojsa:
The file should be renamed to 0P6BIMG, not 0P6BDIAG.
[One (M8) General] Dominique96:
When it is named 0P6BIMG Hboot doesnt recognize the file and doesnt load it. Is checks my sd card for 0P6BDIAG
[One (M8) General] snebojsa:
You definitely doing something wrong.

Make sure that the first character in the name is 0 (number zero), not the letter O.

If you are on Win7, go to My computer, organize, folder and search options, view, and uncheck hide extensions for known file types, and then you be sure there is just one .zip, not .zip.zip in file name.

If nothing helps, try to re-download file.
[One (M8) General] Dominique96:
to me it looks like the problem is with hboot which searches for a file named 0P6BDIAG
[One (M8) General] snebojsa:
Hboot always searches if there is something on ext sd card to flash, so if it doesn't see anything that means that is something wrong with the file itself.

You put the 0P6BIMG.zip ON EXT SD card, right?
[One (M8) General] Dominique96:
yeah i did put the file on the ext sd card
[One (M8) General] caxio:
no problem whit my s-off rooted and supercid, i simply put 0P6BIMG.zip in my sd card reboot in bootloader the update autostart, now have HTC_M8_UL_K444_SENSE60_MR_HTC_Europe_3.28.401.6_Ra dio_1.21.21331147A1.19_2G_20.63.4196.01_

no more vodafone.de rom inside my phone. thanks for ruu

and when is restart, i update direct whit ota pushed by htc to 3.28.409.1.

Now i come back to HTC no more nexus for this year
[One (M8) General] seadersn:
401.9 :D
[One (M8) General] :
External sd-card only, root folder. And delete this file after setting your preferences in Sense.
[One (M8) General] Dominique96:
is there any other way to go back to sense ? I cant seem to get this working

---------- Post added at 05:03 PM ---------- Previous post was at 04:42 PM ----------

did I maybe download the wrong file ? ( M8_UL_K444_SENSE60_MR_HTC_Europe_3.28.401.6_Radio_1.21.21331147A1.19_2G_20.63.4196.01_release_398024_signed )

Do I need this one ? HTC_M8_UL_K44_SENSE60_SECURITY_HTC_Europe_1.12.401 .17_Radio_1.14.2133156.UA24G_20.18h.4096.03L_relea se_356030_signed
[One (M8) General] joeh258:
I got a question

But, what about flashing off the internal storage I know how to off the SD card now, but my SD card is corrupt?
[One (M8) General] Tetsumi06:
OP states S-Off with European CID to flash this. What about the _SECURITY_ version? Will that flash on S-On phone if it's returned to stock?
[One (M8) General] Dominique96:
I got it to load the file but Im getting an error close to the end which looks like this:

(1) SYSTEM -Fail-UZ

Image unzipping fail!

Update fail!

Device halted due to Large Image update fail!

Press <POWER> to reboot.

Now everytime I boot the device it automaticaly goes into bootloader mode and under the date it has a red banner saying !! Image Update FAIL !!
[One (M8) General] cadialex:
I have nearly the same issue. Instead of UZ it says PU but the rest of the message is the same
[One (M8) General] iJekyll:
I really don't understand why you people insist choosing the method of putting the file in external storage.

I find it way easier and more comfortable doing it with fastboot commands.
[One (M8) General] von86:
Hey guys, hopefully someone can shed some light on this.

I converted my HTC one M8 to GPE ([RUU] M8 Google Edition Conversion. 4.4.4 - RUU Zip Non-Rooted) just fine.

I also changed the MID and CID to conform with the HTC GPE version just for the sake of it.

so right now my HTC one looks like this:

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.18.0.0000

(bootloader) version-baseband: 1.14.21331931.LA02_2G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 2.12.1700.1

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

(bootloader) serialno: -taken out just cause- :angel:

(bootloader) imei: -taken out just cause- :angel:

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B17000

(bootloader) cidnum: GOOGL001

(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: 6e0f5a3d

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.042s

Now I would like to have the option to switch back to SENSE if needed, for warranty purposes or if I ever sell the thing.

I tried the following to see if I could get there, but with no success;

- installed TWRP

- installed SU

- changed MID to 0P6B10000

- changed CID to HTC__001

- wiped and restored

- then tried flashing HTC_M8_UL_K444_SENSE60_MR_HTC_Europe_3.28.401.6_Ra dio_1.21.21331147A1.19_2G_20.63.4196.01_release_39 8024_signed.zip

(using fastboot oem rebootRUU / fastboot flash zip original name.zip and altered 0P6BIMG.zip)

Now, I don't have an extSD card available atm. and I tried flashing this the same way i flashed the GPE RUU first, i keep getting the code 32 error.

Then, I tried renaming the file to 0P6BIMG.zip with no success, still same error shows up.

I've noticed someone here talking about the RUU_M8_UL_K44_SENSE60_SECURITY_BrightstarUS_WWE_1.54.1540.10_Radio_1.16.21331931.LA11G_20.31A.4145.02L_release_372510_signed_2.exe

And thought I'd give that one a try, but I'm not sure which MID and CID i need to alter it to and whether it will work or not since the EURO version doesn't either.

Have I missed a step? is an extSD absolutely necessary? seems strange to me that it would be, since the GPE RUU went fine with no problems.

I've reverted my HTC back to GPE with the getvar info above for now.

Sorry for the long post but i thought i'd put in as much info as i could think of for now
[One (M8) General] seadersn:
when i remember correctly, there were size problems with the full ruu zip, which means, it was too big to be flashed via fastboot method. i did it via external sd then, and that went well, flawlessly.

you've got the possibility to borrow a card from someone? looks like it's the only way for you :)

btw: you can change your mid in recovery, too. so next time it's only necessary to boot custom recovery (flashing not needed) with a simple

fastboot boot name.of.recovery.img

do your mid change then and just flash the ruu, no other steps needed (beside cid changing, of course) ;)
[One (M8) General] Dominique96:
You have to get yourself an external sd card and put the file on the root of it named 0P6BIMG. First you will have to change your cid and mid though. MID should be 0P6B10000 and cid some european like HTC__001. Then, with the file on your sd card you will enter the bootloader and hboot will search for 0P6BIMG and flash it. I keep getting an error during the flashing process but other users here say it worked without problems for them so try it out for yourself and see.
[One (M8) General] von86:
Yeah, that's what I was afraid of. I'll head downtown and snatch myself an sd card. Thanks for the swift reply fellas!
[One (M8) General] :
There is another solution. If file doesn't want to copy to external sd-card mounted in phone (showing some copy errors), dismount sd-card, take out and mount in another device. For example I'm using FiiO X1 music player. Copy 0P6BIMG.zip to sd-card mounted elsewhere. Then take out the card and mount again in a phone. And the rest is the same - reboot to bootloader and start the update.
[One (M8) General] sindrefyrn:
This is great. Thanks.

If I'm S-off, will I lose it when flashing this?
[One (M8) General] seadersn:
no :)
[One (M8) General] iJekyll:
Can't flash it through fastboot because the file is too big? first time I've heard something like this. Since when?

Is there anyway to pass it and flash it through fastboot anyway? I'm really not a fan of the external storage method.
[One (M8) General] seadersn:
no :(
[One (M8) General] Dominique96:
does anyone know how to fix this

(1) SYSTEM -Fail-UZ

Image unzipping fail!

Update fail!

Device halted due to Large Image update fail!

Press <POWER> to reboot.

?
[One (M8) General] sherbibv:
Can you guys help pls?

I have the following variables:

[IMG="INFO"]http://s23.postimg.org/iad212uez/getvar_all.png[/IMG]

Currently my bootloader is showing the following status:

Software Status : Modified

UNLOCKED

I am S=On as you can see.

Can I flash this firmware from sd?

Thanks !
[One (M8) General] knudsen81:
I dont have a sd card but will it work with otg usbstick?
[One (M8) General] :
nope, buy an external card, even 8 gb is good enough.
[One (M8) General] Sneakyghost:
You'll be fine. Not sure about lock status though. When going via RUUmode, a relock is required. If it fails from SD, relock. Should be fine then.
[One (M8) General] :
Sorry if this has already been answered, I don't have an external card for my phone and I'm getting the error that the file is too big.

Is there anyway to flash this without using an external card?

EDIT: Sourced an SD Card, however when it finds the image in HBOOT it just says Wrong Image and stops or something.

EDIT 2: Used the other download in the OP, seems to be working now.
[One (M8) General] :
to delete
[One (M8) General] modros:
even funny, I made a transition date back to stock, with what you find here and now that I was on a custom, and now fail to do it again stock
[One (M8) General] Tamil15:
Need help!!

hey guys

i have htc one m8 GPE -UNLOCKED- S-OFF -CID-11111111

mid-OP6B1200

when i try to change mid it gives me error

C:\>adb shell

shell@htc_m8:/ $ echo -ne '\x30\x00\x50\x00\x36\x00\x42\x00\x31\x00\x30\x00\x30\

x00\x30\x00\x30' | dd of=/dev/block/mmcblk0p5 bs=1 seek=16384

\x00\x30' | dd of=/dev/block/mmcblk0p5 bs=1 seek=16384 <

/dev/block/mmcblk0p5: cannot open for write: Permission denied

1|shell@htc_m8:/ $ exit

exit

need help...

thank you
[One (M8) General] pedyvirus:
Anyone tried thia on s-on?

As i read some where you can flash official ruu's signed by htc on s-on phones.

Is anyone tried this please tell me because i really need to s-off and i cant use sunshine because its not possible to send money to dev's in anyway in my country
[One (M8) General] von86:
By the look of it, you don't have su installed/active. if you've installed supersu you need to grant the shell permissions so after the "adb shell" command type "su" then the MID code.
[One (M8) General] Sneakyghost:
Of course. a RUU is HTC's official service center update method. Its signed, so hboot will accept it, because it has the right key in it.

The rule is: on an S-ON phone, you can flash a RUU if the following conditions apply:

- CID match

- MID match

- Software on phone is older or equal - the RUU will refuse to run if the phone's software is newer.

- Bootloader is locked.
[One (M8) General] Tamil15:
C:\>fastboot flash zip 0P6BIMG.zip

error: cannot open '0P6BIMG.zip'

y am getting this error ??

help needed..
[One (M8) General] Tamil15:
Me also got the same problem

what should i do now i have changed my mid from 0P6B1200 to 0P6B10000 and cid from 11111111 to HTC__001

any tips what should i do ??