yashsingh1/xdaforums huggingface dataset:
[One (M8) Q&A, Help & Troubleshooting] Big-Bonsai:
I'm a very new android user, so please forgive my ignorance.

I'm using a sim unlocked AT&T M8 outside USA with a different carrier. Right now, the bootloader is Locked, CID is 11111111 and S-OFF. I've downloaded the official marshmallow RUU for the unlocked version of m8 from htc website.

I follow the install instructions until the update actually starts. Then it stops after about 10-20 seconds and shows Error 155: unknown error and enters into the recovery steps (in the RUU).

Can someone please help me out with this? I will never receive the OTA's since I'm not using an AT&T sim. So RUU is the only other option left. Thanks a lot in advance.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
What's the Marshmallow RUU no. that you downloaded ? I see only 4.28.502.8

To run a Marshmallow RUU, you need to install its matching firmware first. If not you'll get that error 155
[One (M8) Q&A, Help & Troubleshooting] Big-Bonsai:
Thanks for the reply. The RUU i downloaded is RUU_M8_UL_M60_SENSE70_MR_BrightstarUS_WWE_6.12.1540.4_2.exe.

My current software information is:

Android - 5.0.2

software number - 4.28.502.2

HTC SDK API Level - 6.55

Baseband version - 4.0.U605611@50319A_40.45.C33065.00_F

Build number - 4.28.502.2 CL511189 release-keys

In the bootloader, it shows "software status: Official"

Do you think the RUU i downloaded is incompatible with my phone?
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
It is the wrong RUU for your device. 6.12.1540.4 is for the Dev Ed model. You have regular AT&T. I don't think AT&T has released the Marshmallow RUU yet, but when they do, the RUU will be 6.xx.502.x The 502 part is what you need to look for.
[One (M8) Q&A, Help & Troubleshooting] Big-Bonsai:
Okay, that made it clear. Thank you very much. Cheers! :o
[One (M8) Q&A, Help & Troubleshooting] akshaypallath99:
need firmware!!

i have aunlocked (outside US) harman kardon edition (sprint) hTC one m8 (831C) and have the same issue though i have the correct RUU. Can you help me with correct firmware?

its currently running on kitkat 4.4.2

thanks in advance!
[One (M8) Q&A, Help & Troubleshooting] ahmed.ismael:
for sprint device take a look to this thread ( read it carefully )

https://xdaforums.com/showthread.php?t=2729173
[Sprint HTC One (M9)] creamac:
I use it Spring M9 with sim unlock (Turkey Gsm) my phone restart normal, but always spring activation screen. solution?..... and this phone revert international edition (software), Is it possible... thank you
[One (M8) Q&A, Help & Troubleshooting] nkhaira:
Hello!,

I have been waiting forever for this marshmallow update and was happy that I finally got the notification yesterday.

After I download the update I go through the unzipping update phase, and then after a while I get hit with the HTC Android System Recovery Page, where I error messages such as oem_unlock and such, then at the the end it says update aborted. From there I can choose to reboot phone and I have a bunch of other recovery related options.

I am not sure if I should try to factory reset my phone or anything like that at all. My Phone is not modified at all, no root or anything so this all seems very odd. Not sure If there is maybe another better way to update that might work.

Thank You
[One (M8) Q&A, Help & Troubleshooting] pipsbyphi@gmail.com:
I'm in the exact same boat as you. Downloaded twice, start the install and it failed twice, just as you described.

Hope they fix it
[One (M8) Q&A, Help & Troubleshooting] Rally187:
My wife is getting the same issue, will come back and update if we figure anything out.
[One (M8) Q&A, Help & Troubleshooting] AndrewJC:
I'm having exactly the same issue—tried the download twice, it unzips, then goes into the updater and then aborts. The first time it started installing automatically OTA, then the second time I tried to do the "update AT&T software" link in settings and it downloaded again. But after the second failure, I tried to run it again and it told me that my software was up to date and I could check again in 24 hours. Go figure.

I don't know how much free space is required to do this update? It's a gigabyte download, so that means it must need at least that much more to unzip itself; I'm not sure how much I have, but I THINK it should be enough.
[One (M8) Q&A, Help & Troubleshooting] nkhaira:
Thanks

Alright good to see I am not the only one here. It just seems odd because my phone has not been modified, rooted, etc, at all. I am currently on the phone with HTC Customer Service hoping maybe they can provide with some help here.

Will update.

Thanks.
[One (M8) Q&A, Help & Troubleshooting] nkhaira:
Update

Alright, so I just got off the phone with a HTC Representative. So he took me to the HTC Android System Recovery Page.

Steps:

1) Hold power button

2) Press restart

3) As soon as you see the HTC logo, hold the down volume button

4) If done correctly you should be met with a white screen, from there go down to recovery and press power button

5) Within a minute, you should be greeted with black Android System Recovery Page

6) From there click Wipe Cache Partition

7) After that is done, go to reboot system now and once in android again, download update.

I am currently downloading the update, and am hoping that this works. If not the HTC rep. said call back in again.
[One (M8) Q&A, Help & Troubleshooting] hi_sidd:
I had to make some more space (close to 18 GB free on a 32 GB phone) for the update to install. Try removing apps, their caches, old photos/ videos. That should help.
[One (M8) Q&A, Help & Troubleshooting] AndrewJC:
That seems like a ludicrous amount of required free space. For a one gig download, I can't imagine that it could possibly need more than three for the download AND the expanded part (that would be a 50% compression rate), with another two for the installed files at the most, though in reality it would be less because it's surely going to be overwriting files in the system. I've got about eight gigs free on my phone after clearing out the cache, so I'll know tonight (after having to wait for the 24 hour period before I can check again) whether it's a free space issue.
[One (M8) Q&A, Help & Troubleshooting] TheeKidd:
not alone anymore

Very happy to find this thread. Ive tried a half a dozen times to update my M8 only to suffer the same fate as the rest of you. I contacted a friend who manages a AT&T store for advice and the best he could come up with was try the update without the micro SD card. That did not work. Very frustrating since like the rest of you I have been looking forward to this update for some time. Hopefully together we can find a solution.

---------- Post added at 08:54 AM ---------- Previous post was at 08:13 AM ----------

I have not had to wait the 24 hours, I've been able to download the update again as soon as the previous attempt failed.
[One (M8) Q&A, Help & Troubleshooting] AndrewJC:
I tried again this morning, this time wiping the cache immediately before downloading the update, and it failed again. Same error. I think I might just go to a store and have them update it from there. Does anybody know if they need to wipe the device in order to do that?
[One (M8) Q&A, Help & Troubleshooting] shpope:
Same issue here

I've tried three times now and get the same error:

E:missing bitmap oem_unlock_bg
(Code -1)
E:missing bitmap oem_unlock_bg_yes
(Code -1)
E:missing bitmap oem_unlock_bg_no
(Code -1)
E:Find no math PARTITION: for package path @/cache/recover
/block.map
Finding update package
Opening update package
E:failed to map file
Installation aborted.

It would be great if someone actually got their update working.
[One (M8) Q&A, Help & Troubleshooting] Rally187:
yea were in the same boat not rooted or anything. We tried wiping the cache and redownloaded still nothing.
[One (M8) Q&A, Help & Troubleshooting] AndrewJC:
I tried again after freeing up more space—I think it was somewhere around 13 GB free on my 32GB model—and it just... worked. I have no way of knowing if it was because I freed up space or just a fluke in the download. I have more free space available now than before I downloaded the update, so the whole thing is baffling to me. Maybe it was just that the fifth time was the charm, who knows.
[One (M8) Q&A, Help & Troubleshooting] shpope:
Finally worked for me

I had the same experience. I freed up space so I had more than 13GB free and it worked. Previously I had around 11.5GB free.
[One (M8) Q&A, Help & Troubleshooting] goldmaple:
Signed up just to confirm that freeing up space is what worked for me, as well. Two failed attempts today before I came here looking for answers, with free space just under 12 GB. I freed up more, bringing it to a little over 15, and bam! The update finally took.
[One (M8) Q&A, Help & Troubleshooting] Shadowwrath5:
Hey guys I posted this under the HTC Reddit page I guess I should have made a thread here. I fought with at&t and HTC for this update. For whatever reason you need about 16-18gb free in order to update. From what people where telling me that method only was working about 80% of the time. If you want to be sure backup everything and perform a hradware factory reset and you should be able to get the update. Now I am not sure as I can't really check but I think at&t had pulled the update a day ago as people were telling me they couldn't get the update anymore after a reset. At&t might have pulled it down to fix the problem but if you factory reset (and make sure you still have 16-18 gbs free after the reset) you will get the update. Source: i have marshmallow running from day one. Good luck guys
[One (M8) Q&A, Help & Troubleshooting] jdxda:
4x fails...then opened up phone memory to >13GB by moving movies pics etc to sd card.

redownloaded OTA update...

worked!

The key clearly is having the headroom to unpack the zip. (and whatever else the space is needed for)
[One (M8) Q&A, Help & Troubleshooting] Shadowwrath5:
I would still recommend people just factory reset if they can. The phone will run smoother and the chance for any bugs will be significantly reduced. Besides nobody knows the exact space needed. I tried with 13gb and it didn't work. Others tried with 16 and couldn't get it to work. If you have the time to sit around downloading the update over and over and testing storage space be my guest. However if you can I seriously would just factory reset
[One (M8) Q&A, Help & Troubleshooting] eitak.:
can't factory reset when the phone refuses to back up =(
[One (M8) Q&A, Help & Troubleshooting] IkkeHTC:
Thanks for the comments and tips above. With 16.3 GB available, tried to update the OS multiple times. Every time update failed at above mentioned error message (from shpope). After removing another 2.9GB, I was able to successfully update the OS. Pretty amazing ATT did not catch this simple to test glitch (maybe they assume everybody has a fresh or factory reset device) ... so much after "extensive testing" and being one of the last carriers make the OS update available.
[One (M8) Q&A, Help & Troubleshooting] Shadowwrath5:
They arent testing anything. They are adding bloatware and putting in backdoors for their company.
[One (M8) Q&A, Help & Troubleshooting] wjp123:
I was having the same problem. I had tried the update four times with the same result each time. Failed the install saying it could not find the file.

I followed the instructions listed above to use the system recovery menu to clear the cache partition.

It worked for me and completed the update.
[One (M8) Q&A, Help & Troubleshooting] TheeKidd:
lol

I tried to manually install the update yesterday, no go.

This morning I tried again and my phone said up phone's software is up to date, it's not.

This has been a disaster and will probable have me looking elsewhere when I am in the market for a new phone.
[One (M8) Q&A, Help & Troubleshooting] innoman:
If it says the phone is up to date, that probably means the update has been taken down. I'd imagine they are working pretty hard to resolve the issue, and they don't want to inconvenience more customers with the same issue so many are seeing. I did notice that the release notes of the update released just before Marshmallow stated "New FOTA enhancement – support for 1GB+ file size (OMA DI Client Update)."--maybe there was an issue with that client?
[One (M8) Q&A, Help & Troubleshooting] elehman3:
Finally got the update to download and install. Did the clean cache from the boot menu first. Then I moved all I could off the internal storage to the SD card and uninstalled a few of the bigger apps such as Facebook, and a few of the games I've haven't used in months. This gave me about 16GB of free space. I also had well over 35GB free on my 64GB SD card. Anyway, let it download, unzip, reboot, and took about an Hour to install. So far so good. Let google play store update all the installed apps and reinstalled FB, and the others I deleted. It did crash a few times going through some of the things, but I let it recharge, and rebooted.

Did notice ATT added some more bloatware. Great, just disable them and moved on...

elehman3
[One (M8) Q&A, Help & Troubleshooting] pipsbyphi@gmail.com:
My update failed several times. I ended up freeing up >16g of space, moving most things to my sd card...this allowed the update to take place.

So, freeing up near 17g of phone space allowed the upgrade for me...thanks all!
[One (M8) Q&A, Help & Troubleshooting] ecalexand:
Finally worked

Well on the fourth try I finally got the update to work. I followed the advice of the other posts and moved all of my pics and music to my SD card. It's crazy that the phone needs to be almost half empty for the 1GB update to work. The whole process took a little over an hour.

Good luck.
[One (M8) Q&A, Help & Troubleshooting] K21112S:
This worked for me Thank You!
[One (M8) Q&A, Help & Troubleshooting] Junglist954:
I tried 3 different times to install the update but it kept failing. I had about 17GB of free space which should be more than enough room but I decided to clean up some more space to see if that would help. With 19.5GB free I tried the installation again and it worked!
[One (M8) Q&A, Help & Troubleshooting] rsuarez74:
I need Help

I tried installing MM update manually like 5 times past couple of days with no luck. It keeps getting stuck "Updating (2/2)SENDING...." -updating the ROM on your Android phone..." when nthis has happened the past couple days I've been able to pull the plug and try again... but this time after I flashed the MM firmware as suggested in this post it started to hang again at the same point (install step 2/2 still hanging) but this time when I tried to pull the plug it wouldnt restart. just stuck on the white HTC logo screen. So I had no choice but to try to run the ruu.exe again. Any ideas guys this is getting very frustrating and now even worse because I cant strartup my phone now... Please help
[One (M8) Q&A, Help & Troubleshooting] mmark27:
This is a mega old thread, but I have this problem now (bought it as a WiFi only device for a kid) and I can't get it to manually update to MM using the proper RUU. Just hangs on the sending....... help?
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
Relatively common issue. RUU can be pretty quirky with all the possible PC setups. Try another USB port (USB 2.0 works better with RUU than USB 3.0), try another cable. Try another PC if possible. Make sure phone is in bootloader-fastboot mode.
[One (M8) Q&A, Help & Troubleshooting] mmark27:
It must be the USB2 > 3 because my fancy laptop is all USB3! Good to know. I'll try it tonight on a different machine. Was driving me bonkers! thank you!!!
[One (M8) Q&A, Help & Troubleshooting] mmark27:
Alright, this is complete madness. I've tried on 3 different computers with several different HTC cords and all have been USB2.0 ports trying several different ports. I've redownloaded the RUU file multiple times so it's not a corrupt download. It still hangs on the "Updating...(1/1) Sending..........." for all eternity. I just eventually unplug the cord because it never moves (after several hours in one case). The software on the Fastboot menu now says the updated 6.20.xx.x, but when the phone boots up, it's still Android 5.0.2 and not 6.1 like it should be.

Are there any other suggestions? This is driving me bonkers and wasting so much time. Can I side load the RUU on to the device and update from the Recovery?
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
Try flashing the firmware 6.20.502.5 using fastboot as described in the following, then try the RUU again: https://xdaforums.com/showpost.php?p=67123738&postcount=7

Your bootloader says either LOCKED or RELOCKED (either is okay, as long as it's not UNLOCKED, which will only work if you are s-off) near the top of the screen?
[One (M8) Q&A, Help & Troubleshooting] mmark27:
Yes, it is LOCKED S-on, OFFICIAL SOFTWARE.

I ran through the steps on the link you provided. All went according to plan (fastboot commands for the firmware flash). However, I'm now back on the RUU.exe installation step and again, stuck on the "Updating...(1/1) Sending....." for the last 20 minutes. I'll just let it sit here and work as I have to be away from my computer for a few hours. Unlikely anything will change. What the in world is going on with this thing? I know the USB port works fine because the adb commands went through.

I really do appreciate your help on this. Thank you very much.
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
Strange. Since you've tried multiple computers and cables, I'm tempted to say it's an issue on the phone's side.

You can't flash the RUU by recovery, exactly. But if you have a MicroSD card and USB card reader, you can:

1) Look for a file named ROM.zip in your Windows Temp folder (when you run the RUU executable, it dumps ROM.zip to the Temp directory).

2) Copy and rename it to 0P6BIMG.zip

3) Put the file on the SD card on the main directory (not inside any folders)

4) Insert card into phone, and reboot to bootloader. Hopefully, it will auto-detect the RUU and install it.

Personally, I've tried the above method, but could never find RUU in the Temp folder, or anywhere else on the PC. So YMMV with this trick. Your other option is to try to find the RUU in zip format posted somewhere on these forums.

EDIT: Corrected above to say "ROM.zip" (in red font above). I mistakenly typed "RUU.zip" previously, which is wrong.
[One (M8) Q&A, Help & Troubleshooting] mmark27:
I can't find the zip either on the computer or on the forums. I could just push the zip with fastboot and/or the OTA zip file, but I'm coming up empty for either of those. I'm trying YET another computer again, but I'm betting this one will be derp too. Here's what the phone software status looks like. Again, if I boot the phone up, it's android 5.0.2 and not 6.x. I'm just going to send this back to Amazon. What a terrible phone.

Software Status: Official

LOCKED

M8_UL_CA PVT SHIP S-ON

HBOOT-3.19.0.0000

RADIO-4.0.U605761@60220A

OpenDSP-v56.2.2-00593-M8974_FO.0126

OS-6.20.502.5

eMMC-boot 2048MB

Apr 14 2016,19:39:46.0
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
Please refrain from insulting a device that is beloved by many here. Many (Dozens? Hundreds?) were able to update by RUU using the methods I described. So maybe there is a defect with your particular device.

But please don't toss out insults just because you can't get it to work. And don't make me regret trying to help you.
[One (M8) Q&A, Help & Troubleshooting] mmark27:
easy, easy. I meant my device. No offense to you or anyone else. Frustrated over here to say the least.
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
Been trying to see if I can find the zip format RUU (which I can't find) but it did make me realize I made a mistake in my advice, and you should be looking for ROM.zip in the Windows Temp folder, not RUU.zip. Not sure if that will help or not (I couldn't find ROM.zip it the Temp folder when I've tried).

---------- Post added at 01:51 PM ---------- Previous post was at 01:45 PM ----------

Just FYI, it's somewhat more complicated than that. My understanding, you can't force an OTA on this device unless you have s-off. Plus, the fact the firmware (OS number in bootloader) is updated, but the ROM (system partition is not), I'm not sure if the OTA will install or not (may fail version check).

If you can find the RUU in zip format, you can't push it with the regular fastboot. The file size is too big. You can use the specialized htc_fastboot (which can handle the larger file size), which I can point you to. Or the SD card trick will work. But it's irrelevant, if we can't find the zip file RUU, anyway.
[One (M8) Q&A, Help & Troubleshooting] mmark27:
Right, there's a log file that's output that directs towards the Temp folder of the admin user on the machine where it's pulling zips from....However, that folder is empty (and no hidden folders in it) even while the software is running. So I really don't know what to do. And now the device won't boot back up, stuck on the HTC One screen. I'll hunt down the older firmware zip if I can, I'm sure that's the conflict now.
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
You can't flash an older version number firmware or RUU ("downgrade") with s-on.
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
I downloaded the RUU.exe and am extracting the rom.zip from it right now. I'll upload it and give a link when I'm done.
[One (M8) Q&A, Help & Troubleshooting] mmark27:
AWESOME
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
Download this

Rename it by deleting everything in the name of the .zip except for 0P6BIMG (and .zip of course)

Place that onto your extSD (it has to be formatted to FAT32 ~ if your card is 32gb or less it probably already is)

Boot to bootloader and it should detect the file. If it doesn't, select hboot

Follow the onscreen prompts (vol up to confirm the flash, power button to reboot when it's finished ~ super easy)

After the flash is complete, remove the renamed .zip from your extSD. If you don't it'll try to update again every time you boot to bootloader.

Good luck!
[One (M8) Q&A, Help & Troubleshooting] mmark27:
I'll work on this tonight when I can get my hands on some microSD cards. Thank you so very much.
[One (M8) Q&A, Help & Troubleshooting] mmark27:
Oh heavens to Betsy, it worked!! Thank you so very much!!
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
No problem :)

Glad I could help
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
Nicely done, and thanks for stepping in.

How did you find (or extract) the ROM.zip? I can never find it, when I've tried to do it.
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
https://xdaforums.com/chef-central/android/tool-universal-htc-ruu-rom-decryption-t3382928