yashsingh1/xdaforums huggingface dataset:
[One (M8) Android Development] Saikat.mondol1:
I'm sorry. I realized my mistake once nkk mentioned the RUU link. Sorry for causing you guys heaps of trouble. I'm not much experienced in these stuffs so made mistakes. Thanks for all the help though. [MENTION=2605798]nkk71[/MENTION] [MENTION=1102297]Sneakyghost[/MENTION] [MENTION=830797]ckpv5[/MENTION]

I now know, I've to use which RUU and which fastboot. One last help would be really appreciated.

Where to put the Ruu file? In the same folder as htc_fastboot.exe?

And do I have to add "htc_ " before every command? like "htc_fastboot oem lock"?

Sorry again for all the trouble. :(
[One (M8) Android Development] Sneakyghost:
You can rename the htc_fastboot.exe and then only type fastboot every time but that would break the fastboot options in my batch tool...

You can either 1.) drop the zip in the fastboot folder or 2.) navigate to the zip folder in command prompt or 3.) add adb and fastboot to your path variables and then shift-right-click on the folder where your zip is and pick "open command prompt here"....

The methods are many. Easiest for beginners is the first method.

If you own an sdhc card (not sdxc) you might want to consider the sdcard method for you (which isn't covered here but might be easiest for you). For that you need to rename the zip to 0P6BIMG.zip and put on root of sdcard and then just boot into bootloader. Not sure, I hardly ever use that method. There's a thread for it though with the details.
[One (M8) Android Development] Saikat.mondol1:
Thanks. I'll try it. Hopefully I'll succeed in getting 6.14.401.4 firmware or successfully kill my phone. Anyway, thanks again for all the helps even though my stupidity caused you guys so much trouble. :)
[One (M8) Android Development] and.u:
Doing this, I will only update my firmware, don't I? Nothing will happen to the Rom Installed on it?
[One (M8) Android Development] Einwod:
Have you read the very first post? It contains this:

- FullStock Wipe ZIP/FUU: this type of zip also re-flashes the /data partition with HTC’s DZDATA files (meaning you lose everything on your internal SDCARD). Also replaces the Kernel, Ramdisk, recovery and Splash1 with latest stock images! The /system partition will not be touched. (Else this would be a RUU, not a FUU). Phone will NOT boot after using this! Be sure to put a ROM onto your EXTERNAL SD before proceeding with a FullWipe ZIP! Else you can also ADB push a ROM in recovery mode after fastboot reflashing a recovery.

- Combined NoWipe ZIP/FUU: this type of zip updates basic firmware partitions, does not touch the /data partition, leaves kernel, splash and ramdisk alone. Recovery will be replaced with current TWRP.Phone will boot normally after using this.

What part don't you understand?
[One (M8) Android Development] Sneakyghost:
The "I haven't considered reading the initial posts being a good idea" part or the "I don't have time for that tl;dr crap please feed me" part.
[One (M8) Android Development] Haykoki:
Hi,

I try to flash my phone to 6.12.401.4 but i get error like this

C:\Android\com>htc_fastboot flash zip firmware.zip
sending 'zip'... (41749 KB) OKAY
sending time = 2.807 secs
writing 'zip'... (bootloader) zip header checking...
(bootloader) zip info parsing...
FAIL99 unknown fail
FAILED (remote: 99 unknown fail)
Execution time is 3(s)

I try M8_6.12.401.4_WWE_TWRP2870 and M8_6.12.401.4_WWE_FullStock for flash. But nothing changed.

Fastboot getvar ALL results :

(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.22.21331147A1.29G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 3.28.401.9
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: HTXXXXXXXXX
(bootloader) imei: XXXXXXXXXX
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B10000
(bootloader) cidnum: HTC__M27
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: df77f8b7
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
Execution time is 9(ms)

How can i fix this problem ?

sorry for my poor english
[One (M8) Android Development] Einwod:
You are S-ON. You can only flash a signed firmware not modified as these files are. I suggest going to stock and taking OTA updates. After you can flash a custom ROM.
[One (M8) Android Development] Forsaked:
Please remove your Serialnumber and IMEI from your post like i did in the quote for your own security!
[One (M8) Android Development] Saikat.mondol1:
[MENTION=1102297]Sneakyghost[/MENTION] here are the screenshots. The file might be corrupted :(
[One (M8) Android Development] Einwod:
The file is not corrupt. Why are you trying to extract it? You flash it as a complete file.
[One (M8) Android Development] zolika1:
I apologize to everyone but still touches me something in relation to this latest version of androids 6.12.401.4 I installed the Ruu zip file but it still bothers me that the R 6.12.401.4 OTA say that there is still boot img file differs . I had a problem during the call that I have robotic voice or simply phone is mute can not hear anything I can think that this is one of the bugs. My phone is intact and not to touch anything that unlocked etc. because of guarantee. My question is is there a way to get that boot img file flas and I do not have any problems after much! Sorry my bad english!
[One (M8) Android Development] Einwod:
If you are so desperate to have it, go back to the version before and retake the OTA to Marshmallow. Go here and find your previous version along with recovery and follow the instructions carefully.
[One (M8) Android Development] 1aladdin1:
how can I check whether a xxxFirmware.zip is signed or not?
[One (M8) Android Development] Einwod:
If you are S-ON, try to flash it. If it works, it's signed. If it doesn't, it's not.
[One (M8) Android Development] Sneakyghost:
:laugh:

Was just gonna say...

Or try to extract and fail with a "corrupt" message cuz any usual archiver has trouble recognizing HTC's signature.
[One (M8) Android Development] Haykoki:
Thank you Einwod. But i S-OFF my device before. I'm confused.
[One (M8) Android Development] Einwod:
Being S-OFF you can flash any firmware you like, signed or not.
[One (M8) Android Development] K4R33M:
HTC one M8 (EU) - Graphical Bizarrerie behavioural !

Hi,

I have a Brand New HTC One M8 Unlocked Officially (Europe Edition), After I Installed this Firmware

It went smoothly and correctly since I've followed the steps sharply. After some days; some graphical problems started to occur

(e.g: attached )

sometimes as shown and sometimes the screen just turn black/grey (but it looks it is on) and the mobile is running, ringing and when I click the screen, its working, this happened 2 times now in a week, although now the phone is working well.

Any advice is appreciated.
[One (M8) Android Development] Sneakyghost:
Impressive. And you reckon my firmware did that? Is that what you are saying? Certainly you have searched XDA, then Google and found very little or even nothing similar? I bet you did not find much. And I am almost 100% certain that what you find will be users telling other users its a hardware damage.

You can RUU your phone back to 100% stock and I bet it will still happen. In fact, yes, do that. Grab a RUU, just any, and flash it. Run the phone bone stock for a little and see if it still comes up. If it does, sure as hell hardware damage.

But I am very much inclined to say that even without you running stock. Seriously.

And the faint, thin connection you see to my firmware packages, well, yea. There is a risk. Always. Any flash process can corrupt essential partitions and kill your phone. That is why I have a disclaimer in place, educating you about the attached risks.
[One (M8) Android Development] nkk71:
Interesting, but... not very accurate.
[One (M8) Android Development] shaboobla:
Not sure if this is useful, but I pulled the firmware zip out of my ota. I cross posted this to the update thread but since this is all about firmware, I thought I'd link it here as well.

CANADA TELUS_WWE_6.13.661.9

For CID TELUS001

Firmware:

https://www.androidfilehost.com/?fid=24399994186368791

Taken from this OTA on my device:

https://www.androidfilehost.com/?fid=24399994186368800
[One (M8) Android Development] Sneakyghost:
I can only make one of my packs if I have a full RUU though - either the previous software version which gets updated by this OTA, or this very OTA version as RUU, or just any older RUU from Telus + every OTA that followed that old RUU.
[One (M8) Android Development] shaboobla:
Ahh bummer. Apologies for clogging up your thread. I'm not a dev like you skilled folks here, so I thought that I'd try to contribute as best as I can haha.
[One (M8) Android Development] Sneakyghost:
I'm not skilled. I zip firmware. Anyone who is able to read and learn one, two, three things can do that. But thanks for the compliments.

You can hunt for these files though if you want and link me. I'll see to it then.
[One (M8) Android Development] K4R33M:
HTC one graphical problem, is it Hardware or Software?

Thank you for your answer, but, Why so serious? Could you show me in any way that I meant your firmware or your explanation responsible, don't get offended please!

I'm asking about this particular problem, I'm trying to make sure if it is a hardware or software problem?

Something else, when the screen goes off (gray) and the phone is working, even rebooting does not solve this (nothing appear, even the White welcome screen with HTC one Logo don't appear But I can hear the starting sound)

Any help is appreciated
[One (M8) Android Development] Sneakyghost:
What is it you didn't understand about running a RUU and seeing if it happens on a totally stock phone? Only way to find out if its hardware or software. It won't do it on stock if the hardware is ok.
[One (M8) Android Development] Leon:
Is there firmware for HTC CID__32 without the red text ? Cuz im little confused and not really into firmware stuff.
[One (M8) Android Development] xunholyx:
There isn't one on this thread, but you could search XDA. I'm sure there are some out there. Or you could hex edit the hboot on your own.

There are risks with the edited hboot though. Better to live with the red text.
[One (M8) Android Development] Sneakyghost:
Yea that was lucky. pg2fs failed, which is the partition where the security is, I believe. And dzdata, which reformats internal data, failed as well.

I reckon that was bad blocks on your NAND. Lucky you were able to flash it successfully at last.

It happens to random units out there. I have seen that happen on all HTC's I have owned right back to the original XDA.
[One (M8) Android Development] mbnaeem:
Although, the firmware upgrade was successful, the ROMS I have flashed after have all been quite laggy and apps freeze quite often. At this point I think I give up with Sense roms and am thinking of converting my phone to GPE using this guide: http://xdaforums.com/showthread.php?t=2708589.

Based on what you said previously, do you think it is safe to do so? Is there any precautions I should take.

Any advice will be greatly appreciated.
[One (M8) Android Development] Sneakyghost:
No idea. I'd probably flash around more firmware and observe how the phone deals with that. Particularly, I'd use the sdcard method a couple of times just to eliminate bad transfers (ports, cable, drivers are all plenty of extra error sources). If the phone runs well with a RUU flashed via sdcard method, it'd rather not be a hardware related problem. If it shows the same bad performance after running a RUU zip, that'd rather indicate a warranty case with HTC.

Running GPE to work around those issues isn't a solution I would personally favor, simply because it has that stale taste of avoiding problems. Not my cup of tea.
[One (M8) Android Development] martin.pros:
worng firmware for HTC one m8

Hi guys ,

I accidently install wrong firmware on HTC one M8 - I installed for one plus.... now the phone is tottally dead...i was trying to hold power button and vol.up or down but nothing happened....even when I plug it in the power , its no reaction....is it possible to somehow fix it....please let me know

thanks
[One (M8) Android Development] Kratos90:
Sorry but the only possible option you may have is to find a repair shop that does JTAG services and see if they can help you, you probably have a brick unfortunately
[One (M8) Android Development] Sneakyghost:
That's somewhat off-topic mate. Seriously. What can we do if you buy the wrong phone? Sprint is a CDMA device with some 3G capabilities but I think its lacking frequencies necessary in some countries.

Whatever it is exactly, you cannot flash GSM radios from the other models to a CDMA phone. So I cannot help you here.

It clearly says no Sprint or Verizon support here too, besides CDMA and GSM being completely incompatible.
[One (M8) Android Development] anshu2015:
A video please

I have an at&t unlocked htc one m8 with s-off, unlocked bootloader, rooted, twrp-3.0 and current rom is Viper one m8 4.6.1.

Can any please post a video no how to upgrade to 6.12.401.4 from old firmware. I am a beginner at this and do not want to brick my phone. My english is not that good, so can anyone please upload a video on how to do it. It will be much easier for people like me.

Thanks
[One (M8) Android Development] Einwod:
Why do you want this firmware? Your device is AT&T, that alone should tell you that you are not totally compatible with European ROMS. If you follow instructions it is no problem to flash firmware. Start at the beginning and read. Use your eyes and read, read, read.
[One (M8) Android Development] jxcorex28:
2 methods -

1.Fastboot flashing the fw

OR

2. Renaming the FW zip you've downloaded (0Pb6IMG.zip), root of sdcard, then booting into bootloader, and while in hboot it goes through the process of flashing the firmware.

Fastboot method - you need ADB

Once installed:

Fastboot flash zip (name of firmware file)

Ex.

Fastboot flash zip 6.XX.XXX.XX.zip

(Do it twice) then reboot

I'm sure I forgot something, but you can literally find hordes of information online

I find it kind of silly that you could of rooted your phone, and got S-off, and not know how to adb flash a file

Anyways not here to judge...
[One (M8) Android Development] xunholyx:
This isn't correct.

It's 0p6bimg.zip
[One (M8) Android Development] anshu2015:
41 Wrong Model ID

I am trying to upgrade to newer firmware version 6.12.401.4 using the Method #2: Fastboot/RUUMode ZIP’s method. I am using at&t htc one m8, unlocked bootloader and s-off. I am getting error 41. Can i simply change mid in the android-info.txt from 0P6B10000 to 0P6B12000 to eliminate the error. Do i have to change the cid as well? my current cid is cws_001. I am trying to install this firmware : 6.12.401.4

https://www.androidfilehost.com/?fid=24369303960687123

fd2f94c10100c652a2f7172868c9ae2e

m8_ul	TWRP 2.8.7.0	International
[One (M8) Android Development] jxcorex28:
I'm superCID (CID : 1111111) I can't remember if it's 7 or 9 1s, but you can search that..

I changed my MID months ago using a thread I found through google search

Hboot engineering MID HTC one m8,and it should be the first link provided through google.

After you've changed CID/MID then proceed with fastboot flashing through adb .... That's what I did, and I can't flash any firmware I choose.

Just gotta do the research on your own. I can't hold your hand,lol

---------- Post added at 07:54 PM ---------- Previous post was at 07:45 PM ----------

Here's a link to the hboot engineering thread I mentioned. I forgot I subscribed to the thread

http://xdaforums.com/showthread.php?t=2708581

[how to] change your MID without an eng bootloader

I haven't changed my CID since I s-off'd and that was nearly 2 years ago, so you'll have to find the info yourself.
[One (M8) Android Development] X46X:
Hi, I have to reflash the firmware because my bluetooth not working corectly. I'm S-On so the firmware wipe my phone. Can I make a TWR backup, flash firmware and restore backup? Or there is something which is firmware related in that backup. So if I restore it I restore something from firmware too? If you you know what I mean.. Thank you
[One (M8) Android Development] Sneakyghost:
Errr... firmware does not flash on S-ON phones.

I am rather sure you mean a RUU. A RUU would flash on an S-ON phone, provided its an MID and CID match...

And yes in that case you can do a TWRP backup and then flash TWRP back after the RUU and restore the backup. But why would you want to do that anyway? A Bluetooth issue will never be a firmware issue. It never has been anyway. It will rather be an issue with your ROM. And if you do not clean flash that ROM but rather restore that, you will also restore your Bluetooth issues...

And by the way, I believe this is the wrong thread since your issue will most likely not be a firmware issue. And even if it was, this thread is still about my firmware zips and not about troubleshooting HTC issues.
[One (M8) Android Development] X46X:
I have Xiaomi MiBand and if I want to pair it in bluetooth devices, it told me that I have a wrong pin (I did not enter any pin). But it works well in Xiaomi MiFit app where I can it pair too(so it can't be band issue). I ask on it in viper thread before, someone told me that it is a firmware issue and I must reflash firmware. Yes I did clean install and I have latest ROM and Firmware.
[One (M8) Android Development] mrrocketdog:
ok , but this is firmware thread for the htc m8. check Xiaomi firmware thread.:good:

"err on the side of kindness"
[One (M8) Android Development] Sneakyghost:
Batch Tool version 1.2.7 added

Small update to my BatchTool: Version 1.2.7 for the M8 now includes latest recoveries (Stock 6.12.401.4 and TWRP 3.0.0-1).
[One (M8) Android Development] X46X:
I know, I have to reflash firmware/RUU because I'm S-On - but I cant find it. I can't flash unmodified firmware if I'm S-on?
[One (M8) Android Development] Sneakyghost:
Ok don't drag this out like this. Have some proper, structured info.

- What phone are you exactly wanting to flash? Your Xiaomi or your M8 from your signature?

--> If Xiaomi, please be advised, again, this is the wrong thread, please leave and search for a Xiaomi forum.

--> If M8, please proceed.

- If you want firmware flashes, you need to S-OFF first.

--> Please proceed to SunShine support team. They have a website with IRC and Ticket System here: http://theroot.ninja

- If you want to flash a RUU and remain S-ON:

--> Please proceed to a RUU thread, since this thread is solely about my firmware zips, which do NOT apply to S-ON phones.
[One (M8) Android Development] cuiltheory:
Issue upgrading bootloader

All of the information on the first page is very dense, and I will have to re-read it it to fully comprehend. However, in the meantime, I would like you to look at these attachments, please. I can't for the life of me update the bootloader, and if I understand right, it might have to do with my meid? Its all zero'ed out. Please advise on my next step of recourse. Thanks.
[One (M8) Android Development] Einwod:
Remember you must flash firmware twice. All meid are full of zeroes.
[One (M8) Android Development] cuiltheory:
I did reflash, with both firmware packages ( red text removed, and unmodified), as well as an ruu. If the meid is ok, what do you think is causing the bootloader to fail the signature test, an the update being bypassed?

---------- Post added at 06:17 AM ---------- Previous post was at 06:14 AM ----------

If anyone can lead me to any threads, articles or instructions on any remedies, please post them here, I would greatly appreciate it.
[One (M8) Android Development] Einwod:
It could possibly be your mid number. It doesn't match for the firmware. There is a thread to change it. http://xdaforums.com/showthread.php?t=2708581

What was your original cid number?
[One (M8) Android Development] cuiltheory:
I don't know, because I bought the phone off of swappa already s-off'ed. And there was no sticker on the back. It Is t-moble branded. Want me to screenshot the information in the settings?
[One (M8) Android Development] Einwod:
I think you'll find that is the problem. Find a T-Mobile firmware and flash it. There'll be no problem with it.
[One (M8) Android Development] Sneakyghost:
The flash was successful according to your log.

[Edit]

There's info on why two of three sbl images get bypassed somewhere in the first five posts of this thread.

Also, the fact that tp images got bypassed only means they've been flashed successfully before and are already up to date. TP does not get reflashed if it has been updated before, unlike the other images.
[One (M8) Android Development] cuiltheory:
Ok, I will go back to the tmobile ruu. and report back. Ironically, the tmobile ota for marshmallow starts today. So I will have more info to contribute for anyone else in the future that has this issue.
[One (M8) Android Development] DROITURK182:
Does anybody have that new T-Mobile firmware yet? It should be 6.20.531.5
[One (M8) Android Development] xunholyx:
Actually, MEID isn't all zeros on CDMA phones (Sprint/Verizon). It shows the same numbers as IMEI, minus the last digit, with CDMA.
[One (M8) Android Development] cuiltheory:
Well, I just tried two separate(tmobile) ruu's that I just used a few days ago, with no problems, and now I am getting error messages saying that I need to download the right rom for the device. Can I zip the ruu.exe and throw it on my sd card and force an update?
[One (M8) Android Development] Kratos90:
What exact error message, did you try running it in fastboot?
[One (M8) Android Development] Einwod:
If the error is 155, you need to lock the bootloader.
[One (M8) Android Development] cuiltheory:
Error [159] Image error

The rom update utility cannot update your android phone. Please get the correct ROM Update Utility and try again.

---------- Post added at 08:04 PM ---------- Previous post was at 07:32 PM ----------

I am fairly convinced that there is something wrong with my device, probably from flashing the European RUU to obtain marshmallow. So since I cannot even RUU my device now, Can I zip the exe file and place it on my sd card? Would that even make a difference? I am starting to get skeptical that even a zip file will work.
[One (M8) Android Development] cuiltheory:
I tried to use just a firmware package to update through my sd card. It worked, but again, there were partitions that were bypassed, more importantly, my bootloader remained unchanged. If ruu's won't take anymore, and I can't update the bootloader, where do I go from here? I really would like to flash the marshmallow firmware (using venom rom android six with baseband 1.29 and hboot 3.19), but I don't see it happening right now.
[One (M8) Android Development] Kratos90:
What do you keep talking about? Things are supposed to be bypassed, you already had marshmallow firmware since yesterday, you could've simply flashed viper on 6.12.***.* that you had yesterday and chosen default on install, what bootloader update are you expecting, your device was fine, do you actually understand what you're doing? There's no T-Mobile marshmallow firmware for the M8 yet iirc.
[One (M8) Android Development] xunholyx:
OS in bootloader isn't 6.xx.xxx.xx? Hboot will be the same as 4.4.4 and 5.0 (3.19)