yashsingh1/xdaforums huggingface dataset:
[One (M8s) General] kubagod:
@ Paul

Same happened to me. I'm running non-branded Europe's ROM, The phone is not rooted, bootloader locked, no custom recovery or any changes to official firmware as so far I didn't need to make any changes to it. The current soft was flashed by HTC service after "loss of IMEI issue" two monhs ago.

I contacted HTC Poland and they suggested trying emergency mode first, and factory reset second. None helped (and it is even worse now as I lost HTC keyboard - it is installed but you can't make it appear - using google keyboard instead).

Right now - for the second day- I'm trying to flash the phone with any official software but the phone either says the image's too big, or trying to use RUU of the same software version I have on my phone the wizard says I can't overwrite with the same version of soft.

Generally I think something must be wrong with the latest OTA update if my 100% legal phone can't accept it.

I've read similar stories about Nexus phones unable of getting 6.0 update (the same log as in your picture) but in all cases the phones were not in "factory state". In case of one8s it seems that the question whether the phone is modified or not is not relevant. Must be something else but so far nobody found an answer what it is.

If I succed in flashing any 5.02 firmware and then updating to 6.0 I'll let you know. If I can't - I"ll (do what I used to do with all my former Samsung phones =) root the phone use TWRP and wait till 6.0 is available for download.

Kuba G.
[One (M8s) General] paul-planlos:
That's interesting. I forgot to mention that my m8s was

at "Regenerisis" in Poland too due to a permanent black screen after normal restart of the phone (appeared 1 month after purchase) . They changed the main board (got new IMEI) .
[One (M8s) General] kubagod:
@ Paul

(xda doesn't let me quote as I never needed to post here and I am not allowed to quote yet)

The same service that flashed my phone. In fact I was surprised that they decided to reflash the phone, as I had read that my "IMEI problem" had to to something with mainboard rather then software) but I accepted the repair as the phone is still covered by warranty. (It is my first HTC so I am affraid of lossing it - in case of Samsung phones I flashed them on the third day after purchasing, as I was always sure I would never need a visit to service). That is why I wrote the guy at HTC Poland that I expect a new phone rather than repair...
[One (M8s) General] kubagod:
No way of flashing the phone with any 5.02 firmware (suppose I had a custom recovery i could but I need a warranty...)

I think I have the last 5.02 firmware and if I had older ROM, or CyanogenMod I could do it on "factory state" phone.

I am woiting for the 6.0 to be available for download from the web.

Kuba G
[One (M8s) General] ppaajjaa:
Regarding Status 7 error you get:

Verifying current system...
/dev/block/bootdevice/by-name/system has been remounted R/W
reflash device to enable OTA updates
E:Error in @/cache/recovery/block.map
(Status 7)
Installation aborted.

It happens if the first 4096 bytes of your system partition don't have the same hash as is defined in the update package.

For example the update "OTA_M8_QL_UL_L50_SENSE60_HTC_Europe_1.21.401.1-1.16.401.10_release_472133zm79yqgd82kgst6n" defines that SHA1 hash of "/dev/block/bootdevice/by-name/system" partition must be

9c3c762110824aadcf45153731a37bd43f975325 or 1e02876e3a39c24330edb015c2d889d7ba282b64.

If you download the first 4096 bytes of your system partition:

dd if=/dev/block/mmcblk0p45 of=/sdcard/system.img bs=4096 count=1
adb pull /sdcard/system.img .

and calculate SHA1 hash of it, it should be the same as one of the two above.

If it is, it means that you have M8s system partition of version 1.16.401.10 and you are safe to update to 2.10.401.1 (Android 6.0).

If not, the system partition was changed (remounted, somehow else changed) and you need to reflash the system partition back to original.

I wrote about the error on page 45.
[One (M8s) General] paul-planlos:
I'm on Android 6 now!

First I unlocked bootloader via htcdev, flashed this twrp from ruu.lalleman.net : twrp-recovery-2.8.7.0-m8s-qlul

and did a backup. Then I relocked the bootloader again.

(I wanted to be able to go back if the T-MOB RUU puts me to simlock.. nobody could answer that)

I executed this RUU from ruu.lalleman.net

RUU_M8_QL_UL_L50_SENSE60_TMO_DE_1.13.111.2_Radio_1.0.U20410.1G50408_15.00_016_F_release_431489_signed

After that there was no simlock, no T-Mobile bootlogo or sound, just one little T-Mobile related app but It can be deactivated. (Mobilbox Pro)

All is working fine now!
[One (M8s) General] Hand Shandy:
This is the issue I'm having.

My M8S is on Three network in the UK, and is locked and unrooted.

What RUU do I need to flash please?
[One (M8s) General] dedy66:
Hello, i saw on ruu.lalleman.net the OTA update for our phone. I have rooted, unlocked version of 5.0.1. How can i install the update. I need to relock and then what ? Install the zip`s with ADB ?
[One (M8s) General] ppaajjaa:
Well I had a backup of system.img, so I reflashed just the system partition. RUU reflashes more partitions.

You can download RUUs here.

Currently there are several UK RUUs.

Check your CID and fingerprint by connecting your phone to PC and running:

adb shell "getprop ro.cid"
adb shell "getprop ro.build.fingerprint"

According that you can find right RUU.

---------- Post added at 05:14 PM ---------- Previous post was at 05:09 PM ----------

You need to reflash the System and Recovery partitions back to original ones and relock your phone. Then just download OTA and install it.
[One (M8s) General] patlun:
where can i find system.img
[One (M8s) General] ppaajjaa:
You can get it from:

1. your own backup

2. decrypt it from RUU

3. download it from ruu.lalleman.net (already decrypted firmware)

Safest way for normal users is to flash all firmware by RUU since they don't need to unlock their phone.
[One (M8s) General] patlun:
:\fastboot>fastboot flash zip fw.zip

sending 'zip'... (1070819 KB) OKAY

sending time = 58.032 secs

writing 'zip'... (bootloader) signature checking...

FAIL12 signature verify fail

FAILED (remote: 12 signature verify fail)

Execution time is 130(s)

any idea what wrong
[One (M8s) General] dedy66:
Can you please tell me what is the easiest way to do it ? If i flash RUU, i don`t have to do anything than to update the phone from the system update ? Also my phone is bought from NL but it`s neverlocked. I can flash the last version of RUU for Europe ?

LE: I searched a little bit on google and i saw i can flash any RUU is my phone in unlocked. It is right ? Also i installed CID Getter and the app says i have CID HTC_031, and the CID_ID.txt says it`s for this version. Sorry for bothering.
[One (M8s) General] kubagod:
Did you use the RUU with the same firmware version that you had on you phone? I tried to do so (with the locked bootloader and I was "told" I can't upgrade using the version I have already installed). Does unlocking and relocking again fix this problem?
[One (M8s) General] paul-planlos:
My old firmware was one 1.13.111.1 and the RUU has 1.13.111.2.

I think only unlocking with s-off and supercid will solve your problem.
[One (M8s) General] ppaajjaa:
locked bootloader?
[One (M8s) General] kubagod:
Unfortunately there's no newer software for my phone (apart from Marshmallow OTA that can't be installed) so I decicded to try install current soft again via TWRP. First try unsuccesfull due to md5 issue. Right now trying again.

Edit: Tried both versions of TWRP and 2 roms. Every time i get" E:Zip signature verification failed...!"message.

Any idea what to do next. Unchecking "Zip file signature verification" doesn't help. TWRP just reloads to "home"
[One (M8s) General] ppaajjaa:
Yes, if you have S-OFF. No, if you just unlocked your bootloader.

If you flash the phone by RUU, it overwrites all the phone partitions (recovery, system, bootloader, modem etc.), resets all your data and you end up with original HTC ROM. So you can then download OTA and install it without problems. It overwrites several partitions again and you then get clean Android 6.0 ROM from HTC. Don't forget to backup all your data otherwise you going to loose it.

HTC_031 is CID for HTC Europe, so you can download for example HTC_Europe_1.16.401.10 RUU from ruu.lalleman.net. See the CID_ID.txt, there's your CID, so it's RUU for your phone. It also contains system image having right fingerprint.

---------- Post added at 09:36 PM ---------- Previous post was at 09:21 PM ----------

Check your CID and/or Fingerprint:

adb shell "getprop ro.cid"
adb shell "getprop ro.build.fingerprint"

See RUUs on ruu.lalleman.net. Every directory contains CID_ID.txt file which lists all the supported CIDs. Find yours.

If your CID is not there, you need to find it somewhere else. You can also change your CID to super one and then you can flash whatever RUU you want. However, it requires S-OFF.
[One (M8s) General] dedy66:
Another, i think stupid question. If i leave the phone in the current state, with TWRP and locked bootloader, i can do "reset phone" from settings or from TWRP ? I want to give it to my girlfriend, and she doesn`t need Android 6, only to give it empty
[One (M8s) General] kubagod:
Shall I "fastboot flash system system.img"? My doubt is because of a .img size. Is that possble without zipping the file?
[One (M8s) General] marius88cc:
Hi, sorry if it isn't obvious to me but are you saying that you are on marshmallow and rooted ? can I still use El-Conkistador method ? doesn't it need it's own version of TWRP ? and about the root ? just install su from store after unlock and twrp?

Thanks !
[One (M8s) General] paul-planlos:
Yes my HTC One m8s is at marshmallow and unlocked with twrp-recovery-2.8.7.0-m8s-qlul installed. (still cid T-MOB101) For root I just have to install su. ( I prefer the twrp-method)
[One (M8s) General] natdavid:
Can we get opinions here, from those that have successfully upgraded to Marshmallow and rerooted, whether there's any benefit in doing so, or will they be reverting to Lollipop?
[One (M8s) General] matt1257:
hi would it be possible for anybody to get me a nandroid backup for the m8s because i need to go back to stock and the RUU doesnt work
[One (M8s) General] burleanu:
U can use the system.img file and recovery from the stock unlocked versions. I used so.

Flash system.img in twrp recovery (in unlocked bootloader first) and after that you lock bootloader and after you flash firmware.zip and you get stock state. In recovery mount system read only! And use vers 3.0... Link in other page.

Take care with version 1.16.401.10 (all, ruu, 0pkvimg and 0pkvimg_unlocked) I still think is corrupted, I used 1.16.401.1 and after I get the update from HTC to 1.16.401.10.

Now I'm waiting for HTC to send the update to MM.

I could update to step 1 update but the step 2 is not getting in (something wrong inside also).

Step 2 it updated me the firmware but couldn't patch the system and it reboots, resulting in a "frozen" phone with HTC logo.

I had to downgrade the bootloader because of that and do all the procedure again.

To be able to flash an older firmware (aka downgrade bootloader) I explain in other page the command.

Respect!
[One (M8s) General] matt1257:
hi does anybody know what would cause the stock ruu not to install after installing cm12.1 because i want to get to stock. i have flashed stock recovery and locked bootloader but i get the error where it tells me to get the correct image for my device. i know its the correct one because i have used it before.
[One (M8s) General] burleanu:
More details with the error and what you have done, like version, CID/MID.

Procedure you followed.
[One (M8s) General] matt1257:
the version i used was RUU_M8_QL_UL_L50_SENSE60_Vodafone_UK_1.11.161.1_Radio_1.0.U20410.1@50408_15.00_016_F_release_430447_signed.

my CID is vodap001

MID: 0PKV10000

i ran the update utility and when it gets past sending it comes up with "error [155] unknown error please get the correct update utility and try again"
[One (M8s) General] DIE HARKE:
Hello folks,

I saw there is marshmallow out for the m8s. After checking for ota updates my device still shows that it is up to date.

When I run the fastboot command getVar all for my device I got the following informations:

version: 0.5

version-bootloader: 3.19.0.0000

version-baseband: 1.0.U20410.1@50408

version-cpld: None

version-microp: None

version-main: 1.13.111.11

version-misc: PVT SHIP S-ON

serialno: FA58WYS00453

imei: 358031063605177

imei2: Not Support

meid: 00000000000000

product: m8ql_ul

platform: hTCBmsm8939

modelid: 0PKV10000

cidnum: T-MOB101

battery-status: good

battery-voltage: 0mV

partition-layout: Generic

security: on

build-mode: SHIP

boot-mode: FASTBOOT

commitno-bootloader: e31b162e

hbootpreupdate: 11

gencheckpt: 0

mfg-name: 0001

I wanted to ask you guys if there is a way of getting Android 6 to my device and if so what exactly I have to do.

Thanks in advance!
[One (M8s) General] burleanu:
Have you tried to rename rom.zip to 0pkvimg.zip and to place it in the root of the sdcard and flash via bootloader?

Look if like that you still get the errors. Maybe your file is corrupted.

Maybe bad connection to USB.

Your bootloader is locked?

For MM try to restore myfiles with TWRP.

Copy, rename your backup, and replace them in one of your backup, maybe they will boot up.

You can't flash the firmware.zip file because is for different cid version.

Maybe this can be your problem too for the errors you get when you try to flash stock.

Check first inside the rom.zip file in Android file if you find your cid.
[One (M8s) General] OmikronIE:
Any chance anyone could upload a RUU for the Three network (CID: H3G__001) or even a nandroid backup. Very stuck at the minute, would really appreciate it. Or does anyone know what else I can do. I wiped the system partition, I had made a backup but I lost it. So right now I'm stuck, none of the RUUs listed will work because none of them are for three and it doesn't seem to be possible to get s-off on the M8s to change the cid. I looked at sunshine, I would have happily paid the 25 quid but it says it is not compatible with my firmware. Any have any ideas?
[One (M8s) General] matt1257:
does anyone know where I could find the ota update for vodaphone please because its not listed
[One (M8s) General] Valeriy01:
I'm currently on android MM, can I get root? Without downgrade to lollipop? Thanks in advance.
[One (M8s) General] marius88cc:
I decided to unlock and root, but first I want to be sure that I have the correct stock kernel and recovery,

current kernel = 3.10.49-pref-g1e26a48a , I found m8qlul-3.10.49-g6be0435, is this right ?

and recovery 1.16.401.1. even do i'm on 2.10.401.1 .

Will use twrp-2.8.7.0-m8s-qlul - i noticed here https://basketbuild.com/devs/Captain_Throwback/One (M8S)/Recovery that there is a twrp-3.0.2-1-m8ql recovery, is that newer ? has anyone tried it?

Is this correct ? will i be able to revert to stock with these file ?

Or does the RUU load everything (system,recovery,boot) ?

Someone please confirm.

Thanks in advance !
[One (M8s) General] A_1st:
Added Marshmallow Europe Rom

0PKVIMG_M8_QL_UL_M60_SENSE70_MR_HTC_Europe_2.10.40 1.1_Radio_1.0.U20410.1@60201_20.05_018_F_release_4 79349_combined_signed.rar
[One (M8s) General] Thijs_Rallye:
The RUU will revert everything back to stock. Bootloader has to be locked prior to running the RUU though.

Here some additional info: http://xdaforums.com/showthread.php?t=2251800

I've RUU'd my phone once after I botched the Bluetooth, but I've used the .exe file downloaded from the link in the OP.

Thijs
[One (M8s) General] DIE HARKE:
Nevermind got the update notification today.
[One (M8s) General] eltasmanico:
Is it possible to flash this Rom like a custom Rom via TWRP? Is the .zip inside of the .are or will I have to repack it as a .zip after downloading it?

Sorry for asking so much but if this would work it would be much easier for me than relocking the phone and change back to stock recovery
[One (M8s) General] A_1st:
no u can't flash it from twrp , cuz it is stock

just relock ur bootloader

extract rar u will find .zip in it :)
[One (M8s) General] eltasmanico:
Thank you for answering so quick

Just another little question: will I be able to reunlock the bootloader again after flashing?
[One (M8s) General] saifsalee:
need RUU for Model : M8_UL Build : 4.18.708.12 CID : HTC__622 HBoot : 3.19.0.0000 MI

bootloader) version-cpld: None(bootloader) version-microp: None
(bootloader) version-main: 4.18.708.12
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: HT44MWM04307
(bootloader) imei: 352090060*******
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B63000
(bootloader) cidnum: HTC__622
(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: 3aa067db
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!

i m looking for RUU for this can any one help me for this
[One (M8s) General] A_1st:
yes u can
[One (M8s) General] marius88cc:
HELP! i did a nand backup (sd as internal so backed up on internal storage) and now i can't find it, and it does not show in twrp's restore but internal memory is almost full.

Need quick advice, the backup was before root so i'd prefer finding it and copying it on my pc.

Thanks !

*Never mind, i found it. I also flashed twrp-3.0.2-1-m8ql but it did not work, just restarted after trying to enter recovery.

Custom kernel does not work for 1.16.401.1 does it ? mine is not booting with 1.11.401.2 kernel, so no s-off ? any suggestions ?

Can't get root to work and phone is overheating + trotting. don't want to change to much from stock, just to get root..
[One (M8s) General] shirozuki:
Hi!

Do you know where can I obtain the TMO_PL version of this RUU? This one I cannot flash because of the CID error.

Thanks!
[One (M8s) General] fraggz99:
how do I install the custom kernel? Im running the cm12.1 rom
[One (M8s) General] bewajah:
HELP need Ruu

htc m8si ql tuhl

version: 0.5

version-bootloader: 3.19.0.0000

version-baseband: 1.0.U20409.1@

version-cpld: None

version-microp: None

version-main: 1.01.91405.3

version-misc: XB SHIP S-ON

serialno:

imei:

imei2: Not Support

meid: 00000000000000

product: m8ql_tuhl

platform: hTCBmsm8939

modelid: 0PKV20000

cidnum: HTCCN701

battery-status: good

battery-voltage: 0mV

partition-layout: Generic

security: on

build-mode: SHIP

boot-mode: FASTBOOT

commitno-bootloader: bfa567b9

hbootpreupdate: 11

gencheckpt: 0

mfg-name: 0001

thanks in advanced
[One (M8s) General] pati610:
Here's another method that worked for me when nothing else did:

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

It's very easy to implement based on the great RUU's on this site!

---------- Post added at 12:29 PM ---------- Previous post was at 12:25 PM ----------

I had to relock the bootloader to get my RUU's to take!
[One (M8s) General] pati610:
6.0 w/ TWRP and SuperSU *check*

I'm delighted to be able to confirm that it is indeed possible to come out of this long, cumbersome, dark tunnel (screwing up, reverting to stock, fighting for root access) holding a rooted M8s with 6.0 in one's hand :)

It took me the better part of two days, but now it's done. My M8 got totally wrecked, and I got a new one because I was familiar with the rooting process. Too bad I didn't notice the "s" suffix. Well, now it's done.

I struggled a lot, but twrp-2.8.7.0-m8s-qlul.img (kindly provided by Captain_Throwback) and BETA-SuperSU-v2.68 finally did it for me.
[One (M8s) General] pati610:
Thanks for the great work Captain! Does these newer TWRPs support the adoptable media function in 6.0, as the v.3+ TWRPs out there seem to do?

I decided to use my ext-microsdxc as an internal card under 6.0, for two reasons: 1) I'm running out of app space, 2) The card is encrypted (which might be a good thing should the phone end up in the wrong hands.)
[One (M8s) General] Captain_Throwback:
Not sure I included decryption support, since it won't work on the stock ROM, and I don't have the device so I can't test it on CM. So probably not.
[One (M8s) General] pati610:
I'm under the impression that 6.0 encrypts the ext-card the same way as the "normal" internal storage:

https://source.android.com/devices/storage/adoptable.html

. . . so I'll rephrase: Do you think there is a chance your 3.x version of TWRP would "see" the whole internal storage, where all the stuff (the internal and the ext-card) is mounted under /sdcard? The 2.7 version can't, it just recognizes the 16 Gb of the internal storage.

I'll give it a try anyway in a day or so, I just wanted to ask you as I value your input highly :good:
[One (M8s) General] bilal.fanatic:
help needed root

Sorry for this really noob question. I really dont understand the root procedure. Can someone guide me through?

I have got an htc m8s its stock as hell i just upgraded it to marshmallow via OTA. Is it required to unlock the bootloader? If yes tell me how. Thanks in advance. :confused:
[One (M8s) General] The Realone:
Would like to get a bit more detail on this as well. Can't really find any clear explanation on how to root a stock M8s on Marshmallow so if anyone can help out a bit, that would be awesome! :)
[One (M8s) General] Chiko-HH:
Can your read a little bit german ?
[One (M8s) General] The Realone:
Ein bisschen ;)
[One (M8s) General] Chiko-HH:
Pm send
[One (M8s) General] bilal.fanatic:
can you send those instructions to me ? :fingers-crossed:
[One (M8s) General] Chiko-HH:
Ready
[One (M8s) General] mobilescooby:
I'll give it a go :)
[One (M8s) General] boronunu:
Have a question regarding the OTA update which I'm currently getting notification on my M8S. I haven't done the update yet, only getting notifications. What I have is a rooted phone with twrp which I installed following the process in this thread. I've stock ROM and never flashed any custom ROM. Should I just relock the bootloader and let the OTA update happen? will I need to reroort my phone and install recovery again? More iportantly will the current version of twrp work after the update? Thanks in advance
[One (M8s) General] Oranonge:
When I install this via htc_fastboot I'm unable to get my phone to boot into recovery.

When it does, it's just the stock recovery. :(
[One (M8s) General] Valeriy01:
Can you please post these instructions there on the forum? I don't know German (even English isn't my native), but we could use Google translator, I don't think that these instructions are more complicated to read/translate than some philosophy books are. Want to minimise risks since I wouldn't be able to buy new phone. Thanks in advance!
[One (M8s) General] bilal.fanatic:
Here you go. Thank Chiko for this, I havent tried this method yet but if someone does please post the results here. Goodluck :)

Root Stock

http://www.android-hilfe.de/thema/an...kernel.712409/

http://www.android-hilfe.de/thema/an....712409/page-4
[One (M8s) General] austino pele:
Same here anyone help?
[One (M8s) General] Valeriy01:
Thanks! Will try later and of course I will post how it works.
[One (M8s) General] austino pele:
Please can someone elaborate how-to root this device
[One (M8s) General] charls9108:
Anyone know about system write restriction, I already got TWRP on my m8s but I cant install corretly adblock app due system write restriction :(, I have read about a module kernel or something like, but it seem to be tricky and risky. Thanks in advance!!
[One (M8s) General] Mr_White_214:
I got the same problem when i wanted to install xposed. So what is did was ignore the message to Mount system r/w and leave it Read-Only, then flashed the zip.

Hope this helped you;)
[One (M8s) General] bluegiraffe94:
Hey, I can't afford to read 100 pages of the topic.

Can someone tell me if you guys figured out a way to stop the phone from reverting changes upon restart? I cannot really do anything if can't put my apps into system.