yashsingh1/xdaforums huggingface dataset:
[One (M8) Android Development] cuiltheory:
Well, I wanted to use the most recent RUU, so that I can take the new ota. However, it will not let me today, although it worked fine yesterday. That is what is wrong, and until I can find more information as to why all of a sudden, my phone will not take the flash, I am speculating, because that is about all that I can do. Also, I have been hacking these devices since the mytouch 4g, and I have never seen the hboot skip partitions. Maybe its a coincidence, or something new with the one series? Also, have my meid all zero's is normal? I don't have another device laying around to referrence check, but... And finally, I am speculating that the European ruu.zip that I previously flashed, (0P6BIMG_M8_UL_M60_SENSE70_MR_HTC_Europe_6.12.401.4_Radio_1.29.214500021.12G_20.72.4196t.01_release_464360_signed) is the reason why I cannot flash the tmobile ruu now.

Other than that, my phone is fine. I just wanted to get back to stock, so that I can get the ota update, just to try it out. If that seems so vexing to you, then feel free to disregard my future questions, because I could do without that dismissive tone, considering that I might have bought a phone that had its meid zero'ed because the guy probably didnt pay his bill. Again, speculation, but this speculation appears to have some weight.
[One (M8) Android Development] xunholyx:
If you have 6.xx firmware, you won't be getting an OTA.

And yes, hboot has been 3.19 since Android 4.4.4

And MEID will be 00000000000 unless you have a CDMA (Sprint/Verizon) device.
[One (M8) Android Development] cuiltheory:
Ok, thanks for the information. I was under the impression that the newest firmware had a newer bootloader than 3.19. That is a misunderstanding on my part. So, now what I would like to know, is why I cannot use the ruu without getting the error 159 message. I have s-off and super cid. I tried locking my bootloader and trying it, then I unlocked my bootlader and tried the ruu. No luck. Again, my phone works, but I just wanted to try out the factory marshmallow rom from tmobile, to compare it to what I am running now, but that would require4 stock recovery, and rom at the very least, correct? I just used it yesterday, and I made no changes whatsoever to my computer, or the file placement for the ruu. Any ideas on what would cause the error 159 message, which basically says that I am trying to use the wrong ruu for my device. Thanks again for your prompt reply.
[One (M8) Android Development] mrrocketdog:
[MENTION=4365706]cuiltheory[/MENTION] , i found this piece of thread , but i believe you already have these points covered. just thought maybe something might jump out.

from all i have read , yes youre correct ; stock recovery , stock non-rooted rom.

http://xdaforums.com/htc-one-m8/help/marshmallow-ota-update-questions-t3296765/page2

srry dont have more. :)

"err on the side of kindness"
[One (M8) Android Development] Sneakyghost:
errrr.... again... non-issue, mate.

It isn't new. HTC has since always and ever shipped its devices equipped with identical parts from different vendors. I even remember my HD2 having been shipped with 3 screens. That leads to firmware including adjusted drivers for each variant, since HTC won't be shipping like a million different RUU's.

So, I am explaining it again, assuming you missed my last answer:

SBL is secondary bootloader. There are 3 images for it but only one gets flashed. That is so since I can remember back HTC Android phones.

TP is touch panel. Two drivers for two different Digitizers the phone comes with at random. If both bypass, they had been flashed before. See my last post on the matter, a few pages back.

And so forth. There is a reason behind every "bypassed" and the only thing that should matter to you is the END status: "successful" - just that one word.

The RUU Image Error could hypothetically be a serious f*ck up of your firmware by flashing the WWE RUU over the TMUS device, but honestly, I haven't heard of that happen before, and a zero incident count in my mind makes it a rather unlikely scenario - I'd rather think of something simple that has been overseen. I talked to a good old TMUS tester buddy of mine and he confirmed he has been flashing RUU's back and forth between WWE and TMUS withou tever having a problem.

You might even need to swap out cables. I had severe issues through defective ports and cables around xmas last year. It is nothing mysterious. Did you ever try to manually fastboot flash the zip included in the RUU.exe?

You know that you can obtain the zip inside the RUU when it launches, from your windows temp directory, right?

If directly fastboot flashing it (see instructions at the beginning of the thread) fails, you can try the SDCard method you already mentioned before. That method is safer faster and often works when RUU and fastboot both don't work.

[EDIT]

Try this RUU: TMUS 6.20.531.5 HTC Download Server - it is TMUS Marshmallow. Phone should actually accept it.
[One (M8) Android Development] DROITURK182:
Removed
[One (M8) Android Development] exocetdj:
just seen THIS from [MENTION=4542027]skulldreamz[/MENTION]

Will this work for all firmware zips in theory????

seems a much quicker way than messing around with adb commands (useful for noobs i suppose)
[One (M8) Android Development] mattman83:
It works as long as it's named correctly and has the right contents. Signature/mid/cid checks still happen and has the same restrictions as flashing from fastboot.

Used to use this method regularly on my old desire for changing hboots around (silly old phone you had to change partition sizes for different types of roms).

M.
[One (M8) Android Development] exocetdj:
hehehe same here mate, i had a lot of fun with that phone :laugh::laugh::laugh:

2 different sd cards, each with a different hboot, was going from my daily driver to the ICS beta to try it on the move
[One (M8) Android Development] guyd:
Thanks Sneaky!

After having hard bricked my previous M8 doing a firmware update via rebootRUU mode, I am happy to say your instructions and firmware zip worked perfectly! Greatly appreciated!!!
[One (M8) Android Development] Behold_this:
To answer your question quickly, yes, of course it would work. Just remember if the zips you are flashing are not signed you will still need s-off, and the firmware zips must be packaged the same way described in this thread with appropriate android-info file, and then named properly (name should be "device model prefix"IMG.zip in this case 0P6BIMG.zip) . This is not a new way of flashing firmware, in fact it's one of the oldest ways to do it.

[MENTION=1102297]Sneakyghost[/MENTION] and I have discussed this method on several occasions and when last we spoke, he chose to leave that method out of his thread. I will let him speak for himself if that is still his position.
[One (M8) Android Development] exocetdj:
Very good info and neither way is better IMHO, the way i described above would only be more useful for changing on the fly, i.e away from your pc.

The way sneaky has laid it out is basially idiot proof anyway so people will be better off doing it in his prescribed way until the info in that other thread is updated at least. :good:
[One (M8) Android Development] Behold_this:
Well said
[One (M8) Android Development] exocetdj:
variety is one of the things that makes xda :good:
[One (M8) Android Development] Sneakyghost:
Yes this is the old HTC method. It was there whenever a device had an external SDcard. You can even see bootloader scanning for that image whenever you switch from fastboot to bootloader...

I know quite a few people preferring that method.

I prefer the FUU or Fastboot Zip method however.

For now, this is a matter of preference, the sdcard method might be slightly safer because it removes the usb connection errors altogether, Other than that, i don't trust my sdcard, it keeps unmounting itself, so i believe with my card, the usb method is safer :D

preference...

Unfortunately, no, it is by far not idiot proof. It is the way HTC does it but people still manage to brick.

Just to inform everyone out there reading this: I know of a (very) recent brick situation that again seems to involve partial firmware flashing.

I can only repeat myself and discourage anyone from flashing separate firmware parts on the M8 and also possibly with the late hboots on the M7.

For this sole reason, i will NOT offer separate hboots in any form anymore and i am also thinking of removing my NoWipe versions due to several potentially important files missing, particularly the files that cause the wipe, dzdata, are not cleared from doubt yet and might be required in some cases. I have not decided on these NoWipe packages yet as i am not knowing enough facts.

RebootRUU is in no way unsafer or safer than the FUU because its exactly the same. If you had used that zip with my FUU, i guarantee you the same had happened. The M8 has some brick risk that seems considerably higher than on previous phones (I see a lot more people bricking their phones than on e.g. the Ville or even the M7.

You guys gotta be very careful and keep in mind this phone is a sensible biatch. Treat it well, feed it with correct packages only.

Last night, i actually overread the link you provided. Thank you, Garmig. Appreciated!

The thing is, i don't get whats it saying there, particularly i don't get how recovery is involved in putting the version string into the /misc partition. I have to find out, and in the meanwhile, flash that test recovery and see if it heals my /misc partition (which i doubt, as it also survived FullWipe firmware flashes that restored a stock recovery - the OS line remained empty though).
[One (M8) Android Development] meleelord:
I have not noticed any issues with the no wipe versions. I've been using them since the M7. In regards to hboot I only update it when there is complete new firmware, as I think it is best practice. I don't like too much mixing and matching myself.
[One (M8) Android Development] Sneakyghost:
What you say.... that's what it's all about... keep all images on same software generation like htc did, don't leave out vital ones, especially hboot, and the risk will be lowest. Frankenbuilds and part flashes seem to be more dangerous lately.

[MENTION=2977387]donmarkoni[/MENTION] when you pulled that image, which base was the ROM you where running at that time? 1.54.401.5?

[MENTION=1131176]Garmig[/MENTION] when you pulled that image, which base was the ROM you where running at that time? 1.57.531.7?

asked different: are those version numbers i found in your /misc's identical to the ROM base you use? Or do they reflect the last firmware you flashed/got the phone with?

Disregard. I understand this now. How to restore OS version without modifying misc and big thanks at [MENTION=4513061]cschmitt[/MENTION] who actually figured it out (i just verified that this works lol):

1: Flash stock recovery

2: Flash a firmware package without TWRP including no or stock recovery but no custom).

Cause lies within recovery (what i never thought - thanks at [MENTION=1131176]Garmig[/MENTION] for pointing me there) and the fix needs to be implemented in recovery. Nothing we can do. Especially since re-flashing TWRP deletes the line in /misc again)

i also flashed a firmware with virtual, fake version number in android-info.txt to see if the OS line is being read from there and then injected into misc via recovery and i was right regarding this: my OS line now shows the fake version number (nice to fool around people lol - don't abuse!)
[One (M8) Android Development] exocetdj:
Defo sd card method on the move as I don't have a laptop built into my head lol , pc method at home, as my phone will always be connected and its easier not having to rename the fookin zip lol :cowboy:
[One (M8) Android Development] Redshark976:
I have a german tmobile unbranded one m8.. Is there an easy way to flash a EU rom? I have a LTE signal logo instead of a 4G logo and iT irritaies me.. An easy way? I am unrooted and stock
[One (M8) Android Development] Sneakyghost:
This thread doesn't work for stock, minimum requirement is S-OFF.

Besides, even tho this is off-topic here, changing the signal icons requires root, that requires unlock.

So I guess you better go back to some beginners guide in the general section and once you're S-OFF, you can come back here and put your phone to superCID and flash any firmware and ROM you want. Easiest would of course be ViperOne, which lets you choose your favorite signal icons :D

mobile post... lazy typing...
[One (M8) Android Development] guyd:
Sneaky, I can confirm that the recompiled twrp from migascalp works, and the OS version is no longer blanked out!

I flashed his TWRP img first and then flashed your firmware update 401.10, and the OS version on my device now stays visible in bootloader after using twrp to nandriod.
[One (M8) Android Development] Sneakyghost:
yeah talked to [MENTION=4513061]cschmitt[/MENTION], he pointed me to [MENTION=4258433]mdmower[/MENTION] who fixed it finally for HTCOneM7 here and i spoke to Dees_Troy on irc who pointed out that mdmower submitted the required code change into their Gerrit already on July 16th. I went there and looked (LINK and its already merged. So the next version of TWRP will be having this issue fixed.

Book closed.
[One (M8) Android Development] Behold_this:
2.22.1540.3 firmware - dev edition 4.4.3, signed and unmodified:

http://d-h.st/03U
[One (M8) Android Development] exocetdj:
can i link this in my guide? it won't wipe sd contents if s off i suppose?

thanks :)
[One (M8) Android Development] Sneakyghost:
Look inside the zip. It got no encryption. If the DZDATA files are not in there, it doesn't wipe. If they are in there, you can delete them, but better use 7zip because that works best. Be aware that after modifying the original HTC zip, it loses its signature. It will then not be suitable for S-ON devices anymore.

mobile post... lazy typing...
[One (M8) Android Development] exocetdj:
Thanks man, s off is required for my guide anyway :good:
[One (M8) Android Development] cuiltheory:
Thanks sneaky ghost, I did miss your first explanation. That is my fault, as I just broke my hand the other day, and the pain+meds is awfully distracting. I sincerely appreciate it though.
[One (M8) Android Development] Behold_this:
http://xdaforums.com/one-a9/development/decrypt-ruu-ruu-decryption-script-htc-t3282562
[One (M8) Android Development] Einwod:
You run the RUU file from your computer. You will find the contents in the temp folder on your PC.
[One (M8) Android Development] Sneakyghost:
What? You lookin for this? https://www.androidfilehost.com/?fid=24438995911974010

Can be flashed using fastboot, its still signed and encrypted as HTC had it. I didn't decrypt it.

Now that [MENTION=2605798]nkk71[/MENTION] and [MENTION=1162986]Captain_Throwback[/MENTION] have that wonderful tool, everybody can basically do that themselves anyway.
[One (M8) Android Development] Sneakyghost:
Seriously, for basics, please refer to Q&A. THere's guides and helpful people there, really. I am just through 3 pages with basics for someone else. This so isn't a support thread.

I am going to bed. I can't look at it without loosing my temper again. Not now. Thanks.

[EDIT]

Just connect the darn phone grrr....
[One (M8) Android Development] Sneakyghost:
See that thing, marked red, now? Make any sense together with what the other guys posted?
[One (M8) Android Development] cuiltheory:
Oh come on! You can't possibly lump my repetitive questions in with this stuff? Sorry, I have to take 50mg of hydrocodone daily for a broken hand, so attention to detail has not been the greatest. Atleast I read through your thread enough to not make a specific promise without acting on it...that being said, go grab a beer, its on me;)
[One (M8) Android Development] Kratos90:
I see you've posted numerous times so I'm going to offer you some advice. Google is your friend and even in the last couple of weeks the OP of this thread has given directions on what all needs to be removed although on a different thread, but since Google is hard, I'll spoon-feed you... Read....http://xdaforums.com/showpost.php?p=65538906&postcount=1031

Now I've seen you ask this question about no red text HBOOT; please do not ask about that anymore as it simply tells everyone who's actually read this thread or searched that you either didn't care to read or don't care to respect the wishes of the OP. Yes, him or someone else could hex edit the HBOOT for you and remove it but none of us in this thread is going to. Why you may ask, simply because we think the couple seconds you see the red text is not worth the complications and damage you could cause by removing it (you can read or search this thread for reasons/explanations).

Likely there's someone who has already done it around the forum somewhere, or you can wait until someone eventually does it. If you would like to take the risk on your own then simply Google search instructions (they're fairly simple) but again I recommend against using them. I've used them in the past and nothing bad has happened to my device, but everyone is not that lucky, better to be safe than sorry and we have learned more since then.

Anyway, I hope I helped you, good luck, and I do appreciate you trying to learn to do your own firmware package, learning to do stuff on your own is always good.
[One (M8) Android Development] DROITURK182:
Sorry for all the posts just got a little click happy, first time doing this. But thanks for the link, read it but still not sure what to delete going to leave it up to someone that knows what there doing. By the way be careful flashing that firmware zip it wiped my phone, but of course just restored my backup and all good with new firmware. I've been on lollipop firmware for the last three months with the GPE MM ROM and really was looking forward to MM firmware on T-Mobile to go with it, and see any improvement before my work week started tomorrow. Sorry for all the posts again. :highfives
[One (M8) Android Development] jeanxx:
Anyone have the new radios from this RUU yet?
[One (M8) Android Development] Sneakyghost:
For FullStock remove:

- system.img

For NoWipe remove:

- boot.img

- dt.img (if present)

- ramdisk.img (if present)

- recovery (replace with TWRP.img)

- dzdata_*.img (all)

- dzdata_*.hdr (all)

- sp1 (splash - cuz some people have their own splash screens)

- apppreaload.img (if present)

For both: keep the android-info.txt with the largest number of commands inside it (there are several android-info-txt files inside the original RUU.zip - some are called stuff like "backup_android-info.txt" or similar. Just grab the one that has all commands and if necessary, rename it to plain "android-info.txt").

NoRed Hboot:

- as pointed out before, I chose to not provide those anymore and I also expect people visiting this thread to respect this and do not promote NoRed hboots, or any hex edited hboots for that matter, as the attached risks are much higher than with anything else. It can brick your phone in an instant if just ONE thing goes wrong, even one single bit edited the wrong way can kill the phone if you're unlucky. So, just to confirm Kratos90's statement: none of that here, please. There is other fame hungry folks who will gladly do it for you for a simple thanks clicky.

(Tell you a little secret: my M7 firmware thread from back in 2013 has precise instructions on how to do it - I never deleted them. You might feel adventurous and just learn how to do it).
[One (M8) Android Development] DROITURK182:
[MENTION=1102297]Sneakyghost[/MENTION] thanks for the reply, and explaining what I need to remove in the firmware. For someone learning how to do this for the first your guidance is appreciated. Went ahead and removed my posts to clean the thread. Thanks again.
[One (M8) Android Development] Sneakyghost:
Recent additions​

​

Downloads in Post #1.

Created and tested by [MENTION=4624131]Kratos90[/MENTION]. Thank him for the work.
[One (M8) Android Development] :
[MENTION=1102297]Sneakyghost[/MENTION], I can't find the latest dev edition stock firmware in the downloads. 6.12.1540.4 full stock firmware precisely. Where can I get it from ?
[One (M8) Android Development] Sneakyghost:
I don't think I've ever bothered to make it. There's a RUU on HTC.com, you know that? Do you want me to make those?
[One (M8) Android Development] :
yeah but it's a full stock RUU and it's too much of a hassle to run that exe just to get the firmware only. I'm using custom rom and I just wanted to upgrade the firmware. If you can make one, that would be awesome. Thank you.
[One (M8) Android Development] cez10:
guys im on european htc one m8 4.16.401.13 S-ON CID HTC-032 am I safe to adb flash this ??
[One (M8) Android Development] Kratos90:
I will look into it and if I have time to do it I'll ask him to make it available for you, just so you know full stock as you can see in the OP will do a bit more than just update firmware partitions and it will certainly wipe your internal sdcard etc. keep that in mind.

It is not polite to ask on multiple threads, especially one's that have many common users, but no as you can see this thread is for S-Off devices only, you as an S-On user can only flash signed firmware. The OP has posted one a while ago that should work for you give it a try...6.12.401.4 signed RUU.zip courtesy of Sneakyghost.
[One (M8) Android Development] cez10:
okay thanks and sorry kind of confused as was away from xda for a couple of months..
[One (M8) Android Development] :
OK. Thanks a lot. Are there stock firmwares without wipe?
[One (M8) Android Development] Kratos90:
The no wipe firmware is without wipe.
[One (M8) Android Development] Sneakyghost:
Developer Edition 6.12.1540.4 added upon request

:laugh:

Recent additions​

​

Downloads in Post #1.

Created and tested by [MENTION=4624131]Kratos90[/MENTION]. Thank him for the work.
[One (M8) Android Development] epsix:
I'm have a problems transfer file to internal or ext SDcard.

And when i use fastboot to flash i get this error.

fastboot oem rebootRUU

fastboot flash zip ruu.zip

target reported max download size of 1826418688 bytes

error: cannot load 'fuu.zip'

can any help? I'm soff supercid and my mid is correct.
[One (M8) Android Development] :
Thank you so much [MENTION=4624131]Kratos90[/MENTION] and [MENTION=1102297]Sneakyghost[/MENTION]
[One (M8) Android Development] Saroj11488:
Hi, I m on MM rooted 6.15.720.2 firmware.

Can I restore latest GPE firmware via recovery
[One (M8) Android Development] Sneakyghost:
Survey for moving on to M10 yes/no

I made a google docs Survey. I want to know how many people are intending to come along to the M10.

So, to have a good statistic, I mainly want to know: of the existing M7/M8/M9 users, who will be moving to the M10?

The interesting aspect will be the ratio of Yes/No. Will HTC loose customers again, even among the die-hard fans? Or will it gain again.

I hope to get some insight. Maybe, if you find statistics interesting, you might want to answer at least the first question. I left the others open. Only question 1 is mandatory.

Survey Link​
[One (M8) Android Development] mrrocketdog:
@ Sneaky-4-ever :cool::thumbup:

saved my ass more times than i care to admit !!

"err on the side of kindness"
[One (M8) Android Development] xunholyx:
No. You can't flash firmware via recovery.

Run the GPE RUU to resize your partitions and convert your device.
[One (M8) Android Development] Spud37:
Should i go by what phone it is, or what carrier i have. For example I have a Dev Edition of the phone but use T Mobile. Also Are any of the zips just TWRP flashable?
[One (M8) Android Development] mrrocketdog:
please , allow me :) ;

you should post results of fastboot getvar all but remove your IMEI and SERIAL # as this is personal/sensitive data and hopefully someone will be able to help you.

"err on the side of kindness"
[One (M8) Android Development] broim kaskus:
very usefull DEV, thanks a ton.