yashsingh1/xdaforums huggingface dataset:
[One (M8s) General] crowdofone:
Thanks to Voidzero for the instructions.

One thing I learnt from my own experiences is it seems that you can only flash a RUU that matches the CID of your phone (unless a phone is S-Off in which case you can change the CID)

The cid of my m8s was: VODAP001 which meant that the only file that worked for me was the Vodafone UK one over at https://ruu.lalleman.net. It was not possible to use any of the standard HTC Europe ones.

I also had to uncompress the RUU and copy just the rom.zip to the sdcard which I renamed to 0PKVIMG.zip in order for it to flash successfully.

I also found it hard to run fastboot commands, it would just hang saying 'waiting for device'. To get this to work I had to boot into bootloader mode (Hold power and Vol Down) for this to work.

Ps. My reason for doing this was bought a m8s secondhand and it would not upgrade to Marshmallow. The OTA updater would say 'Install Now' but when rebooting it would shutdown, sometimes requiring I hold down Power + Vol Up + Vol Down for a minute in order to get it to start up again. Also not possible to Factory Reset it as would merely shut down without actually resetting the phone.

From reading this forum it seems like perhaps someone flashed a recovery meant for the standard M8 and flashing the original stock RUU fixed this (as it overwrote the recovery). Once the stock RUU was installed it allowed me to upgrade to Android 6 normally.

Hope this helps others with similar problems.
[One (M8s) General] GombaFelho:
I really need some help guys, since I've been unable to find a proper solution on my own.

First of all I unlocked the bootloader because I couldn't get the MM update (don't know why, bought my phone second-hand), everything went fine, then installed a wrong TWRP recovery, thought the M8 and M8S are the same, figured it out they aren't . Here is the list of the things that I've done :

-Unlocked bootloader

-Wrong recovery

-A bunch of wrong recoveries flashed

-Tried the stock M8 recovery (didn't worked out)

-Found this thread, relocked the bootloader, now I can't unlock, cause when I get to that point where I accept the terms of unlocking the bootloader, my phone shuts down and do nothing (I think that's the impact of the wrong recovery, cause it can't factory reset my phone)

I would be very happy if you guys could work something out .
[One (M8s) General] marius88cc:
Can someone explain what just happened to my m8s, i flashed some months ago: "0PKVIMG_M8_QL_UL_M60_SENSE70_MR_HTC_Europe_2.10.401.1_Radio_1.0.U20410.1@60201_20.05_018_F_release_479349_combined_signed" , to revert to stock, all was fine, status official, re-locked, s-on.

Yesterday it restarted to recovery and had status modified , re-locked and security warning , today again auto restart and it would not boot just rebooted directly into fastboot. recovery says :

handle_cota_install: install cwpkg to /cache/cota/cwpkg.zip

handle_cota_install: install cwprop to /cache/cota/cw.prop

e:Fail to open file: /sys/devices/platform/android_usb/host_mode

write host_mode error

handle_cota_install: can't mount /sdcard

it would not boot , just reboot directly to fastboot

i connected via fastboot , did fastboot reboot, still into recovery, and second time it booted.

Can someone shed some light on what happened ?
[One (M8s) General] funjai:
Hi guys,

I tried to do this last night and in the middle of update process, my phone shuts down, and now I can't turn it on again..

Any idea what went wrong?

Thx
[One (M8s) General] marius88cc:
I need help on this problem urgently, can someone help ?
[One (M8s) General] brunkonjaa:
Hi all. Small update.... I had cm12 on my M8s, s-on... After months of fighting with it I decided to chance going back to stock. I've downloaded RUU Europe ttps://ruu.lalleman.net/HTC_M8S%28QL_UL%29/RUU/RUU_M8_QL_UL_L50_SENSE60_HTC_Europe_1.16.401.1_Radio_1.0.U20410.1G50408_15.00_016_F_release_436156_signed/

Connected the phone to PC, fired up the exe file inside the downloaded RUU, followed instructions on screen (click continue, OK, install), and by the time I loaded dishwasher I had a brand new stock M8s.

Reboot once your done with initial welcome screen and set up. Then reboot again just to on the sure side, and give your phone breathing time.

After second reboot I opened up settings, about, software updates:

1. First it gave an option to update Sense.

2. Click update, and when done reboot.

3. Again into settings, about, software updates. Now it offered first half of update for Marshmallow. Click install!

4. After it boots up, back to settings, about, software updates, and it will show second half of update for Marshmallow.

5. Click install.

6. Reboot.

7. Reboot again to let it breathe.

8. HTC Dev unlock.

9. Install TWRP, 2.8.7.0.

10. Rebooted normally.

11. Powered off and used key combo to enter recovery (it wasn't overwritten by stock recovery).

12. FULL BACKUP!!!!!!!

13. Install Superuser zip - it has to be latest beta.

14. ALWAYS CLICK "DONT INSTALL SUPERUSER" IF PROMPTED BY TWRP WHEN TRYING TO REBOOT THE DEVICE. It will say that Superuser wasn't detected on your system and that Root isn't available - you just installed it and its just fine.

15. Greenify everything, xposed, min mini guard to block all ads, plus MOAAB.

This phone is like a rocket now, super fast, with amazing battery endurance.

Thanks everyone for all your posts, it is very very much appreciated!!!!!!!
[One (M8s) General] Grinninga:
Hello.

I searched up a RUU, did all like the instructions said..

After the screen where everything is unpacking...

after that the "flashing" screen came then the image fail came..

Why? Any suggestions?
[One (M8s) General] brunkonjaa:
Probably wrong RUU.
[One (M8s) General] fraggz99:
Hi there, if someone here has a Vodafone UK M8s and knows how, could they get the RUU for Marshmallow/sense 7? I cannot find an RUU for this version anywhere
[One (M8s) General] brunkonjaa:
Hi, my phone was Three Network (used to be O2) Ireland. European RUU prior to Marshmallow worked for me, so maybe European Marshmallow RUU will work for you.

If you have a spare phone give it a try. If you don't, I wouldn't.
[One (M8s) General] mastro7712:
Please can I have the download link of Europe_HTC 1.11

The link in the next post doesn't work....

I have this model and charatteristics :

M8QL_UL PVT SHIP S-ON

HBOOT- 3.19.0.0000

RADIO 1.0.U20410.1@60201

OS-

eMMC-boot 2048MB

May 4, 2016, 16: 16: 47.0

Please... Help me!!!!
[One (M8s) General] brunkonjaa:
Have you tried https://ruu.lalleman.net/HTC_M8S(QL...10.1G50311_15.00_016_F_release_430101_signed/

---------- Post added at 07:00 PM ---------- Previous post was at 06:59 PM ----------

Or this https://ruu.lalleman.net/HTC_M8S(QL...10.1G50311_15.00_016_F_release_430101_signed/
[One (M8s) General] snowballuk:
Hi, can someone confirm that I am trying to flash the right file please?

My M8S is S-ON > Relocked

my getvar output gives me:

"(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.0.U20410.1@50408

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main:

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

(bootloader) serialno: HTxxxxxxxxxx

(bootloader) imei:

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8ql_ul

(bootloader) platform: hTCBmsm8939

(bootloader) modelid: 0PKV10000

(bootloader) cidnum: O2___001

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

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

(bootloader) mfg-name: 0001fastboot"

I have downloaded and renamed this file:

RUU_M8_QL_UL_L50_SENSE60_O2_UK_1.11.206.1_Radio_1.0.U20410.1G50408_15.00_016_F_release_434688_combined_signed.zip

to 0PKVIMG.zip and put it in the SDCARD root folder

However the bootloader is still refusing to flash the file. Have I missed something here?

Snowball uk
[One (M8s) General] brunkonjaa:
Why don't you try running .exe file from the PC with your phone connected?
[One (M8s) General] igravious:
I have an m8s from CarPhoneWareHouse Ireland attached to Three Network Ireland and the thing has gone and bricked itself. Not once, but twice! First time was in warranty. This time is out of warranty. Super annoying. I'm going to try to flash it with:

0PKVIMG_M8_QL_UL_M60_SENSE70_HTC_Europe_2.10.401.1_Radio_1.0.U20410.1@60201_20.05_018_F_release_479349_combined_signed.zip

sudo ./fastboot -s xxxxxxxxxxxx getvar all

gives me

version: 0.5
version-bootloader: 3.19.0.0000
version-baseband: 1.0.U20410.1@60201
version-cpld: None
version-microp: None
version-main: 2.10.771.1
version-misc: PVT SHIP S-ON
serialno: xxxxxxxxxxxx
imei: yyyyyyyyyyyyyyy
imei2: Not Support
meid: 00000000000000
product: m8ql_ul
platform: hTCBmsm8939
modelid: 0PKV10000
cidnum: H3G__001
battery-status: good
battery-voltage: 0mV
partition-layout: Generic
security: on
build-mode: SHIP
boot-mode: FASTBOOT
commitno-bootloader: 0b9a12e3
hbootpreupdate: 11
gencheckpt: 0
mfg-name: 0001

Wish me luck!
[One (M8s) General] igravious:
What combination worked for you? I'm in the same situation. I'm also in Cork too btw!
[One (M8s) General] mobilescooby:
I think I have some posts documenting the process later on in the thread. It worked for me a couple of times. I'll see if I can dig it out and send it to you.
[One (M8s) General] brunkonjaa:
Hi! I'm in Kilkenny. Look a few posts back and you'll see my post on what worked for me. same phone locked to 3Network. It really was a amazingly simple process! Just look up the post and download mentioned files and follow the same steps. I had my phone restored to full stock within 15 minutes. Slainte!
[One (M8s) General] igravious:
This is how far I get.

My phone says,

"!! Image Update Fail !!"
Checking
Wrong Zipped image!

Not only that, when I go into recovery

adb shell

says

unauthorized

.

And trying the roms directly I get the infamous image files are too large message.

Honestly, at this point I have rung up HTC, and they tell me it is still under manufacturer's warranty so off it goes to Fónfix or SBE in Dublin.

I have wasted a whole day trying to un-b0rk this phone. Grr.

*sigh*
[One (M8s) General] brunkonjaa:
Sorry to hear that. Just before you send the phone back, have you tried running exe file found inside RUU download with phone connected to PC? PC does it all as long your bootloader is relocked.
[One (M8s) General] igravious:
I don't have a Windows PC. Thanks anyway. I only have a laptop running Linux. So I sent it off via the carrier to get fixed . I would have liked to have figured it out myself. I forgot to relock it, I hope they don't penalize me for that! Fingers crossed!
[One (M8s) General] Danil-Chirkov1998:
Hello can you help me ? I have the HTC one m8s cyclical reboot
[One (M8s) General] bashme:
Hi guys.

I need your help please!

I have read every page on this forum and still no further with the Stock update for HTC One M8s.

As far as i know, my modelid: 0PKV10000 and cidnum: ORANG001.

Therefore, i chose to download: 0PKVIMG_M8_QL_UL_L50_SENSE60_Orange_UK_1.11.61.2_Radio_1.0.U20410.1@50408_15.00_016_F_release_431629_signed

Please correct me if the Stock/CID/MID is incorrect.

1. I downloaded the zip file according to my CID/MID from the following location:

> ruu.lalleman.net > HTC_M8S(QL_UL) > Firmware (Expert) > Firmware Crypted (Original HTC)

0PKVIMG_M8_QL_UL_L50_SENSE60_Orange_UK_1.11.61.2_Radio_1.0.U20410.1@50408_15.00_016_F_release_431629_signed

2. I renamed the file name to 0PKVIMG.zip and then copied on to my formatted (FAT32 & exFAT) SD card.

3. I powered off my phone and inserted the SD card.

4. I then booted into Bootloader.

5. Fastboot AC was showing and HBOOT highlighted, I pressed Power button and it started reading the SD card.

I selected Vol Up for Yes to start Update process, and then everything on the screen was automatic.

I have taken 4 photos (attached) of the automatic update process. (excuse the poor quality photos due to light).

At the very end of the update process, you can see that the update has completely failed.

I read somewhere on the forum that within the zip file there is a rom file. Unfortunately the zip file does

NOT

contain the rom file. It only contains the following files:

android-info.txt

boot_signed.img

cache.img

dzdata_16g.hdr

dzdata_16g.img

dzdata_32g.hdr

dzdata_32g.img

Listed below is my Bootloader & getvar info:

*** Software status: Official ***

*** LOCKED ***

M8QL_UL PVT SHIP S-ON

HBOOT-3.19.0.000

RADIO-INVALID_VER_INFO

OS

eMMC-boot 2048MB

Aug 13 2015,21:18:08.0

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: INVALID_VER_INFO

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main:

(bootloader) version-misc: XA SHIP S-ON

(bootloader) serialno:

(bootloader) imei:

(bootloader) imei2: Not Support

(bootloader) meid:

(bootloader) product: m8ql_ul

(bootloader) platform: hTCBmsm8939

(bootloader) modelid: 0PKV1****

(bootloader) cidnum: ORANG001

(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: 42756eb7

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

(bootloader) mfg-name:

all: Done!

finished. total time: 15.964s

Please let me know if i have done something incorrectly.

Where do i go from here?

Your help is greatly appreciated.

;)
[One (M8s) General] bashme:
Can anyone help please?

:(
[One (M8s) General] brunkonjaa:
Have you tried running exe. file from inside the RUU and following onscreen instructions?
[One (M8s) General] bilal.fanatic:
Try a different RUU. And due to the large size the file sometimes get corrupted while downloading or copying so you might try again.
[One (M8s) General] shirozuki:
Hello!

I have a problem with my One M8s, which I described today in the "Can't apply updates, Status 7 error" thread.

Can anyone provide partition images with current MM for CID:T-MOB009? Seems like a last chance to get my M8s running again :(
[One (M8s) General] bashme:
Hi brunkonjaa.

Thanks for replying.

There is no .exe file within the RUU. It only contains the following files:

android-info.txt

boot_signed.img

cache.img

dzdata_16g.hdr

dzdata_16g.img

dzdata_32g.hdr

dzdata_32g.img

;-/

---------- Post added at 05:35 PM ---------- Previous post was at 05:31 PM ----------

Hi bilal.fanatic.

Thanks for replying.

From my understanding, i should only be flashing the correct file for my CID/MID, right?

Anyway, i tried the European file, can't remember the exact error, but it was like 'CID incorrect'.

;-/
[One (M8s) General] Rayeez PM:
the link to the firmware is expired
[One (M8s) General] bilal.fanatic:
I need RUU. The link is dead.
[One (M8s) General] Jurius24:
Hello everyone! I am new here and my english is not so good :) but I need help. I bricked my phone, I change file system in twrp to f2fs, and recovery won't open. No OS, and Bootloader is S-on, CID TMOB101. How can I back up EXT4 file sytem.? I tried relock and flashstock rom with ruu. But nothing. Stops "sending 0/8" and nothing happens. I would be very happy for any help. And to all Happy New Year!
[One (M8s) General] jeroen_13:
You need the HTC Fastboot and not the universal ADB Fastboot: https://ruu.lalleman.net/HTC_M8S(QL_UL)/Tools/Fastboot/
[One (M8s) General] Jurius24:
Hello everybody! I thank you. But I got it.
[One (M8s) General] rburns42:
I have exactly the same issue, when I open the zip I only see 7 files:

android-info.txt

boot_signed.img

cache.img

dzdata_16gb.hdr

dzdata_16gb.img

dzdata_32gb.hdr

dzdata_32gb.img

Thing is, they total much less than 2GB so I'm obviously missing something... any help appreciated
[One (M8s) General] Meki13:
Cant relocked the bootloader

Hi

when I try to re-lock the boot loader via command prompt by typing "fastboot oem lock " it shows only " waiting for any devices" , for the rest it doesn't do anything. What did I do wrong?

How long does it take to re lock the fastboot? Is it instant?
[One (M8s) General] Thijs_Rallye:
Use HTC_Fastboot as stated numerous times. (even a few posts above this one ;))
[One (M8s) General] Meki13:
I downloaded the HTC_fastboot, it doesn't load it says its missing "adbwinapi.dll". What do :confused:?
[One (M8s) General] Thijs_Rallye:
Put it in the folder with the rest of the ADB stuff.
[One (M8s) General] Meki13:
You mean, put it in the same folder of the Android SDK platform-tools? And then hold Shift and right-click inside the folder Choose “Open Command Window Here”?
[One (M8s) General] Thijs_Rallye:
Yes, putting it in that folder should to the trick normally. As for your shift right click I don't know, I use the oldskool dos way to get where I want. Make sure you have administrator rights with the cmd window.
[One (M8s) General] testujemy.soki:
htc_fastboot oem lock didn't relock my bootloader, just restart :(
[One (M8s) General] Rackers:
Hi all,

I've got an M8S that is stuck in a boot loop. It was running 5.0.1 and wanted to update to 6.0. That update failed and the phone would be reboot back into Android fine. I decided to factory reset to see if that would get the update to work but the phone just bootloops after running the Optimising Apps screen.

I don't know what to do next because I cannot find an RUU to match my system or an OTA that'll work unless I'm just doing something wrong.

OS is 1.21.161.1

Fastboot returns the following;

Do I need to change my CID to a European one to get that RUU running?
[One (M8s) General] portachking:
Hi, I'm in Ireland too (Vodafone) and trying to get back to stock. I'd love some help.

None of the RUU's I've tried so far have worked. I have relocked my phone and MD5Sum's match, but I get

I have tried the following RUU's so far:

0PKVIMG_M8_QL_UL_L50_SENSE60_HTC_Europe_1.11.401.1_Radio_1.0.U20410.1@50311_15.00_016_F_release_430101_signed.zip

and

0PKVIMG_M8_QL_UL_L50_SENSE60_Vodafone_UK_1.11.161.1_Radio_1.0.U20410.1@50408_15.00_016_F_release_430447_signed.zip

Copied them to SD, renamed them, etc, but get the above error. I have tried to follow [MENTION=3029183]mobilescooby[/MENTION]'s guide but the Google Drive link is down so I have no idea what File 1 was. I'm downloading File 2 now.

Any help would be massively appreciated. Right now, I have no phone and that is driving my family bananas! :p ;)
[One (M8s) General] brunkonjaa:
If you right click unzip that ruu, you should find ruu.exe

Double clicking it you will start the process and just follow instructions.

---------- Post added at 03:16 PM ---------- Previous post was at 03:04 PM ----------

Or if you want, send me the phone by An Post to kilkenny and I'll fix it for you. I can pm my address if you decide to do so. :good:
[One (M8s) General] brunkonjaa:
I've used RUU in said manner 6-7 times so far on my M8s, every time I screwed something up. Simply running RUU, and 20 minutes later phone software as new as when it came from the shop.
[One (M8s) General] portachking:
Pardon my ignorance, but when I try to extract the zip files, nothing happens. When I open them I only see the following:

I have tried IZArc and 7Zip. 7Zip won't even open the files. What am I doing wrong?
[One (M8s) General] brunkonjaa:
See the "...aruwizard.exe...." ? That's the file you double click and follow instructions.
[One (M8s) General] brunkonjaa:
Any luck??
[One (M8s) General] portachking:
Hey, I haven't tried! Honestly, I was happy to get CM12 working again and haven't tried since, though something was wrong with the Gapps package I used because of a bunch of those apps are not working right (ARM64 Stock for 5.1, clock crashes immediately, Gboard crashes when I launch preferences, etc). I am holding out for CM13 now that it appears to be on the horizon, but if that doesn't work out i'll try this agin.

But just to make sure.... Do I download the RUU from this directory: https://ruu.lalleman.net/HTC_M8S(QL_UL)/Firmware (Expert)/Firmware Crypted (Original HTC)/

or this: https://ruu.lalleman.net/HTC_M8S(QL_UL)/RUU/

Page one of this thread made it seem like the first one and that was where I downloaded the files that I couldn't open.
[One (M8s) General] brunkonjaa:
I don't know but no harm in trying both of them. It took me a good few tries, initially when I first decided to go back to stock.
[One (M8s) General] osorgec:
i get the error: device halted due to large image update fail. What should i do?
[One (M8s) General] McBad:
Any chance someone could help me here?
[One (M8s) General] brunkonjaa:
Has anyone achieved s-off? I couldn't find any info.....
[One (M8s) General] voidzero:
No. S-Off is unavailable, but also unnecessary.
[One (M8s) General] voidzero:
Yes: don't install Pandora! It's out of date, unsupported, not a ROM but a mod, and we know nothing about it (srsly). Use Sense, or use the LineageOS ROMs - which are actual ROMs built from scratch - I have provided together with [MENTION=6052895]root-expert[/MENTION], made possible thanks to the generosity of people who donate. Those are your only two options. Sense 6 or 7, or Lineage 12.1 or 13 (14 is on the way).

Cheers :cowboy:
[One (M8s) General] brunkonjaa:
Cid H3g 001. I need ruu. Anyone? Please and thank you.
[One (M8s) General] brunkonjaa:
So, I've used ruu many times. But I've never downloaded firmware from ruulaleman..... there's crypted and decrypted firmware. Silly question follows: what is the difference between ruu and firmware downloads, and what is firmware download used for? I tried googling but to no avail.....
[One (M8s) General] brunkonjaa:
So, after many attempts to Ruu the phone (ruu wizard correctly recognizes the phone as M8S, attempts to reboot it to download mode but phone simply reboots to "...Your phone is encrypted, please enter password......") I've tried google to find latest firmware H3g__001 but unfortunately it's nowhere to be found. I've tried almost every ruu file from ruu/lalleman.net as a renamed 0PKVIMG.zip placed on SD card. Some files were outright refused due to incorrect CID, and some were stopped due to something called large image something, i can't remember exactly. Phone doesn't have usb debugging enabled, and bootloader cannot be unlocked by using HTC-dev - the process of unlocking goes perfectly, i get the screen that asks to press volume up and then power button to confirm unlocking of bootloader, and then phone reboots to "...your phone is encrypted.....".

I reboot manually to hboot and message still shows SOFTWARE STATUS: MODIFIED

LOCKED

HBOOT 3.19.0.0000

RADIO 1.0.U20410.1@60201

OS 2.10.771.1

eMMC boot 2048MB

Apr 22 2016, 12:28:26.0

I'm clueless now. Please help me with any info if you can.

Thank you.
[One (M8s) General] brunkonjaa:
I've tried different usb cables and slots, I've fully updated win 7, I've tried removing all drivers and tried universal naked driver, HTC driver, google driver, even tried to run ruu in safe mode. I don't know if there's anything else left to try. Phone itself ain't that important, or data on it. What matters is that I am facing a problem and I'm trying to solve it and it's driving me mental. Quick question : i know that pc's have a way of uploading or attempting to Sideload bios which is called "cold upload" or emergency bios upload or something like that. Basically, you turn of your PC, you have a USB key with your bios file renamed to certain name plugged in, you press certain combo on keyboard, press power button and bios gets upload gets reset/uploaded and installed. Any previous encryption or password gets removed and new installation of the operating system can commence. Is there anything in Android world that would be equivalent of it?

Something that would allow completely erasing/formatting device, not to factory settings but completely wiping everything and immediately flashing new kernel on a device ? Question might be stupid, but I simply don't know what to do anymore.