yashsingh1/xdaforums huggingface dataset:
[One (M8s) General] Malizja:
Hellow. I have problem with my HTC M8S. I think is bricked. I cant flash RUU cant open recovery. Only boot in fastboot mode.

This is log:

F:\fastboot-win (1)>fastboot getvar all

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

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

(bootloader) serialno:

(bootloader) imei:

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8ql_ul

(bootloader) platform: hTCBmsm8939

(bootloader) modelid: 0PKV10000

(bootloader) cidnum: HTC__102

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

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

(bootloader) mfg-name: 0001

all: Done!

finished. total time: 0.019s

When I try boot in RUU mode phone starts up with a logo on a white background and resets in a circle
[One (M8s) General] Xeeon2:
so there is no updates for twrp recovery?
[One (M8s) General] bossvlad:
HTC One M8s

***Software status:Modified***

***LOCKED***

***Security Warning***

M8QL_UL PVT SHIP S-ON

HBOOT 3.19.0.000

RADIO 1.0.U20410.1@60201

OS 2.21.401.1

eMMC-boot 2048MB

Feb 7 2017,15:22:46.30676

HELP PLEASEE!!!
[One (M8s) General] dandries:
Can I have a complete guide to flash, unlock and repair guide to HTC ONE M8s, please? I don't know witch version is the right one, as I downloaded already a lot of them and no one works. I tryed T mob, and Orange One as fastboot telling me the phone is on orange. I cannot find stock rom to install from Sd card, and I need some help please. My phone is locked up in a loop and does not boot. Thank you.

Here are details.

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

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

(bootloader) serialno: -

(bootloader) imei: -

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8ql_ul

(bootloader) platform: hTCBmsm8939

(bootloader) modelid: 0PKV10000

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

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

(bootloader) mfg-name: 0001
[One (M8s) General] f.anti:
Greetings to everyone!

I am glad that I found this page. I have HTC m8s. it is successful to install twrp and other custom rom. (cm 12.1, cm 13.1) Thanks! BUT! Firmware cripted (original HTC) is not installed. The twrp message: Checking for MD5 file ... MD5 matched. Zip file is corrupt

I tried more. Each has the same problem! What Am I missing, what is the problem ??? I'm waiting for the help!
[One (M8s) General] masemi:
hello everyone!

I have a problem with my htc m8s. I flashed the provided lineageos 13.0 and for a long time it worked very well. But yesterday after the battery was empty and i have charged it the phone got stuck in an bootloop showing the lineage animation. I tried a factory reset but after reinstalling the os with twrp it was the same problem. also weird is that now with "./fastboot getvar all" the version-main is empty. So I wanted to flash the phone with the compatible ruu.zip but i dont know wich is the right one. besides rarely randomly the system boots and i can use it for a few minutes before it suddenly reboots. (i have a mac so ruu.exe wont work).

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

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

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main:

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

(bootloader) serialno: ............................

(bootloader) imei: .........................

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8ql_ul

(bootloader) platform: hTCBmsm8939

(bootloader) modelid: 0PKV10000

(bootloader) cidnum: T-MOB101

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

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

(bootloader) mfg-name: 0001

all: Done!

I really hope there is someone who can help me. i dont want to buy a new phone . my parents dont want to pay it.
[One (M8s) General] skooter32:
ARUWizard error?
[One (M8s) General] Biggers:
Ql
[One (M8s) General] reben:
hello guys I'm looking for htc m8s 2.12.111.1 update zip.

can someone help me share a link?

would be very grateful.

Thank you
[One (M8s) General] nick.handy:
incorrect Ruu, and error?!

Hi Guys,

hopefully u can help me,

currently i looking for the correct Ruu of my M8s, Device...

All Ru which I try to i got an error...!

Version

(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.0.U20410.1@60201
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 2.21.401.1
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: FA56FYS02197
(bootloader) imei: -----
(bootloader) imei2: -----
(bootloader) meid: -----
(bootloader) product: m8ql_ul
(bootloader) platform: hTCBmsm8939
(bootloader) modelid: 0PKV10000
(bootloader) cidnum: HTC__102
(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: 0b9a12e3
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
(bootloader) mfg-name: 0001
all: Done!
finished. total time: 0.032s

Error Message after try to flash

target reported max download size of 16777216 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 1727767223 is not a multiple of the block size 4096
sending sparse 'zip' 1/1 (0 KB)...
error: write_sparse_skip_chunk: don't care size 1727767223 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 1727767223 is not a multiple of the block size 4096
OKAY [ 0.106s]
writing 'zip' 1/1...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 0.110s

Hopefully u can help me guys, thank to u!
[One (M8s) General] segunsani:
i also have the same problem with my htc m8QL_UL please any solution...

i also have the same problem with my htc m8QL_UL please any solution... someone said that the MMC corrupted
[One (M8s) General] camachomarco466:
Mod edit - translated by https://www.deepl.com/translator:

Someone who speaks Spanish can't activate multi Ron

*******************************

Alguien que hable español no puedo activar multi Ron
[One (M8s) General] Captain_Throwback:
Does someone want to try this updated version of TWRP?

It uses the kernel I posted above, which I'm not sure will be stable. If it isn't, I do still have a few things I can try.

https://mega.nz/#!s0dXFKpQ!bPskcs4Y_5ZX6e_BHfZOgio24NiMr6kJixRarkUtY9k

MD5: 8aa0a12b53e2f8b3cabeeac3e481f615

Please confirm whether MTP works, as well as external storage (Micro SD), especially if you use an exFAT-formatted card. Please provide a recovery log as well. Thanks!
[One (M8s) General] thorgose:
Words can not explain quite how happy i am with the ruu, i have nearly finished the download and will update once it has been flashed. I hope it fixes my problem
[One (M8s) General] irndru_:
Can you link me to RUU please?
[One (M8s) General] El-Conkistador:
I Share the RUU in the first thread. Look ;)
[One (M8s) General] Dabman:
can U upload RUU somewhere else, i have problem with mega :(
[One (M8s) General] El-Conkistador:
Yes, i've upload in Dropbox and add links in the first thread
[One (M8s) General] alwin75:
cannot load RUU

Can someone help me flashing RUU ?

when I'm in fastboot and put the command: fastboot flash zip (name of RUU) .zip I get the following error:

load file: could not allocate 2093798471 bytes.

(Relocked te bootloader, S-on and boot in RUU mode)

Have try'd both the RUU's from the first post, Hopefully someone can help me out because there is no OS installed when into TWRP. don't know how but accedently deleted the system.:crying: 3 weeks without my....
[One (M8s) General] El-Conkistador:
This is not a firmware !! But RUU !! You must extract the ZIP and run the executable ( ARUWIZARD ) !

If you have no system. Start your phone in the bootloader in Fastboot mode. Is careful that your bootloader is locked. Fastboot mode , execute RUU
[One (M8s) General] Jackropon:
I got ERROR[131]:CUSTOMER ID ERROR when trying to run RUU.

Apparently this means that i need to change my CID number using superCID, my problem is that superCID requires S-off and my device is S-on.

Can anybody give me any guidance as to how to gain S-off?
[One (M8s) General] El-Conkistador:
Give me your Cidnum and your carriere. Because other firmware are available on the platform
[One (M8s) General] tzutzu78:
What CID is the RUU for?
[One (M8s) General] Jackropon:
cidnum: ORANG001

carrier:EE
[One (M8s) General] tzutzu78:
Im on HTC__032 not sure this will work for me either
[One (M8s) General] Jackropon:
the first ruu works for the following i think -

cidnum: HTC__001

cidnum: HTC__102

cidnum: HTC__032

cidnum: HTC__Y13

cidnum: HTC__031

cidnum: HTC__M27

cidnum: HTC__002
[One (M8s) General] tzutzu78:
yeap, I see that in the android info file, will give it a try in a few minutes
[One (M8s) General] El-Conkistador:
I Upload your Firmware on my own platform. Waiting
[One (M8s) General] Jackropon:
Thank you so much! patiently waiting :)
[One (M8s) General] tzutzu78:
Am at step 3/8 Updating Signature.... finger crossed :P

And we are done!!!! Phone booted fine and I am at the 'Android is upgrading' screen now.

Thanks.

---------- Post added at 04:26 PM ---------- Previous post was at 03:27 PM ----------

To close this, all went perfect, RUU succeeded, was able to apply OTA update and went to 1.11.401.1.

Complete success, thanks again [MENTION=6701903]El-Conkistador[/MENTION], the investment paid off, hope everybody will return the favour and contribute though a donation so you can get your money back.
[One (M8s) General] El-Conkistador:
I've publish a new link for download many RUU in the first thread. Your RUU is : RUU_M8_QL_UL_L50_SENSE60_Orange_UK_1.11.61.2_Radio_1.0.U20410.1G50408_15.00_016_F_release_431629_signed available on my platform ;)
[One (M8s) General] LarryVanLobster:
which ruu????

welche ruu soll ich nehmen ich habe die version 1.11.401.2 Europe
[One (M8s) General] El-Conkistador:
You can use RUU 1.11.401.1 or the lastest 1.16.401.1
[One (M8s) General] LarryVanLobster:
Ruu?

where are the Ruus?

that's just the md5 file :confused:
[One (M8s) General] tzutzu78:
Strange, they were there yesterday,....

---------- Post added at 01:22 PM ---------- Previous post was at 01:18 PM ----------

[MENTION=6746608]LarryVanLobster[/MENTION] Well, there's a new thing in the first post...

Can't blame him to be honest...
[One (M8s) General] Jackropon:
Just ran the RUU, everything worked perfectly. My phone is now fully operational with root following your guide. Donating when I am home from work this evening - thanks for all the hard work! :D
[One (M8s) General] LarryVanLobster:
Could you please upload again?
[One (M8s) General] El-Conkistador:
I apologize for the inconvenience this may cause to some.

we must see the thing as a good thing . Because access to firmware has a cost. If everyone participated with its own means that a little bit. Everyone would win . From my side I am repaid. From your side you do not have to pay $ 15 each to access the firmware.

I am not trying to make money on the availability of firmware. Just be refunded. For proof I quote people who participated within their means in my first post .

I reassure you both amortized cost, any message of the kind will be removed and firmware full free access

Sorry again to be honest as stipulated tzutzu78
[One (M8s) General] VS23BG:
rooted

I successfullyI successfully

I successfully rooted my phone,thank you heartily for your hard work ! I would like to do a small donation in gratitude , but now I'm not working . and still pay my phone and have financial difficulties ! Thanks to all who participated in this endeavor.
[One (M8s) General] ppaajjaa:
I tried to backup my M8s (1.11.401.1) with no luck.

dd if=/dev/block/mmcblk0p1 of=/storage/ext_sd/mmcblk0p1.img

says permission denied

Is there any way how I can backup the eMMC before changing any data (by flashing custom recovery or rooting it somehow) ?
[One (M8s) General] LarryVanLobster:
because since Ruus Do something exceptional :)
[One (M8s) General] DACATA:
the links @ mega not working .. ? fix it pls.. thx:o
[One (M8s) General] Jackropon:
This is because OP paid money to acquire the firmware to make the RUU. He will fix link once he receives what he paid, its only fair. I just donated to him because the RUU worked perfectly for me, i would recommend doing the same if you would like the links to work.
[One (M8s) General] andrew_sh:
Hello everyone,

thanks for all your help. Could you please clarify the following two points for me?

a) the ruu is not required for the root process, it's just good to have in case something goes wrong - right?

b) why don't you guys use the ruu from htc? http://www.htcdev.com/devcenter/downloads

c) Process to root phone is i) unlock bootloader from htcdev, ii) flash custom recovery, iii) flash supersu.zip from custom recovery?

I have linux/programming experience it's just that i'm joining this community after being a very long-time apple user

Thanks in advance
[One (M8s) General] Captain_Throwback:
a) yes

b) HTCDev doesn't post RUUs - that's just kernel source.

c) yes, iii)Make sure you flash the SuperSU Beta in order to root. The "stable" version may not (probably won't) work.
[One (M8s) General] gogol-fr:
Hello

I m a new owner of a M8s , and I did not "unstock" a phone for a while

I had flash many times a HD2 ( win6 , 6.1 , And , even WM7 ) and my One X turned on ARHD from day one I got it

but my one M7 is still stock :crying:

so I just get a M8s and iwas sad to see nothing to flash it , until I arrive here

my bootloader is unlocked

so my questions :

now I have to instal TWRP , but the link on first page is not working , and I understood that I have to flash the beta supersu to root it after

is there any trouble using the TWRP posted ?

I don't understand the meaning of this sentence

sorry for my english , I m a frog eater :D
[One (M8s) General] Captain_Throwback:
If that was a link to mine, this one should be fine.

MD5: 4d2dc222e669f1e6674c405a67987a55
[One (M8s) General] gogol-fr:
Thx , DL works fine

and Thank you too for the work performed

edit :

I'm a little nervous flashing my phone ..

in the instructions , the htc fastboot driver to DL are unreachable

the fastboot DL for unlock bootloader are not good for it ?

what are the command step by step to flash twrp

I think some command appears obvious to you folks , but it's a new world to me , one more time like last one with the One X
[One (M8s) General] El-Conkistador:
Thank you to donors. As promised and as repeated , repayment of financing is closed. Finally access to firmware was funded collaborative way for all ! And that's what I wanted above all. As promised here all available firmwares . I'll make mirrors you can do the same . The files now belong to the community !

Go to the first thread and Read it !

Thanks for all for community work !
[One (M8s) General] gogol-fr:
yeap , keep doing it BUT

thats OK

I just open a cmd and type the code written , no other code?

and what you mean with use the HTC_Fastboot , and yes I m a newbies to those procedure

but the link for HTC_Fastboot and the 2 other links are dead
[One (M8s) General] PatarNoster:
SO correct me if im wrong, but now that RUU is flash able / working.. teh next step is a custom rom ?

Also with the M8s is the main issue of the non support that the CPU is 64bit>?
[One (M8s) General] LarryVanLobster:
Install Ruu?

Can you Please help me how i install the ruu?
[One (M8s) General] El-Conkistador:
http://ruu.lalleman.net/HTC_M8S(QL_UL)/RUU/

Open the ReadMe ;) ! Your phone must be connected to USB
[One (M8s) General] LarryVanLobster:
Thanks

Thanks :)
[One (M8s) General] LarryVanLobster:
Question!

Hey,

You know when s-off for one m8s is possible :confused:

Best Regards :D
[One (M8s) General] Captain_Throwback:
Have you already tried SunShine?
[One (M8s) General] LarryVanLobster:
Sunshine App!

Yes and the app says

Sunshine could not identify your phones model :crying:
[One (M8s) General] VS23BG:
I have a problem with this app too !

Even when I made factory reset, continues to show me that!
[One (M8s) General] Captain_Throwback:
So then go to their IRC channel and see if they can add support for your device.
[One (M8s) General] PatarNoster:
So is it worth while installing the RUU? Sorry iv never dealt with an HTC phone been on S4 and LG G3...
[One (M8s) General] andrew_sh:
Hello again,

thanks to all of you, I managed to root my m8s. I even got xposed framework working.

My next step was to undo the process to see if everything goes as planned. So I relocked my bootloader and flashed the RUU. Just a few questions

a) when relocking the bootloader, I got the following output - is this normal? It got relocked but just strange why this happened.

htc_fastboot.exe oem lock

... (bootloader) [PGFS] partition_update_pgfs: pg1fs_security

(bootloader) TZ_HTC_SVC_ENC ret = 0

(bootloader) [PGFS] partition_update_pgfs: pg2fs_sec_recovery

(bootloader) Lock successfully...

(bootloader) deinit_lcd

(bootloader) mipi display off

(bootloader) TZ_HTC_SVC_DISABLE ret = 536739196 (0x1FFDFD7C)

(bootloader) [ERR] Failed to disable wdog debug: 15

(bootloader) [INFO] Calling SCM to disable SPMI PMIC arbiter

(bootloader) [ERR] Cannot halt SPMI arbiter!!

(bootloader) [INFO] Rebooting device

FAILED (status read failed (No such file or directory))

Execution time is 1(s)

b) In stock recovery, I get a few errors like cannot load bitmap oem_unlock_bg oem_unlock_bg_yes

Is this the default behavior or something left over by the bootloader lock/unlock?

c) How come the RUU version is newer (1.16) than the one I had before (1.11) after receiving all OTA updates?

Thanks again
[One (M8s) General] El-Conkistador:
Hi!

Users of HTC One M8S version : " O2_UK " or " TMO_AT " can send me their HBOOT ? I can try to decipher the key to extract the firmware.

Your CID Obligatory:

cidnum: O2___001

cidnum: O2___102

cidnum: T-MOB102

Go to your custom recovery and use the following ADB commands:

dd if=/dev/block/mmcblk0p10 of=/sdcard/hboot.img

And send me the hboot.img to recover the decryption key. This key will be sent on my platform for developers.

thank you
[One (M8s) General] DACATA:
Is s-off needed??? Is rooting not enough? :confused:

And could you pls explain step by step how we have to rooting the M8s device without any probs...? If possible... On the first page its explained but is it the first step or we just need it with twrp ?? Help pls.. ty ?✌?
[One (M8s) General] Captain_Throwback:
[MENTION=6701903]El-Conkistador[/MENTION]

I adjusted the system write-protection disabling method in the attached kernel. Can you flash this one and see if it works any better? I've also built an updated TWRP (2.8.7.0) with the same update (and some others), so I'd like to confirm whether it boots and people are able to see their external storage (especially people with exFAT cards).

I didn't get any feedback from my last post so I assume that means my assistance is no longer needed.

If you'd like to get your device added to TWRP officially, you can go to #twrp on IRC and talk to [MENTION=2638973]bigbiff[/MENTION] or [MENTION=912474]Dees_Troy[/MENTION]. But it'll need a maintainer (I guess that would be you?).

So at any rate, let me know if any of this stuff works.

twrp-2.8.7.0_CPTB-B1-m8ql.img

MD5: f08f19ac321b450a7771636500d2a493

Kernel zip MD5: 2dfecbef190d499445223c9043fe30f6
[One (M8s) General] srajdaks89:
after flashing twrp 2.8.7.0 the touchscreen didn't work.

we all appreciate your hard work with our phone! :)

EDIT: Touchscreen works after reboot! :)

I will flash new kernel in a moment, I'll be back with feedback
[One (M8s) General] Captain_Throwback:
What software version are you on?

I'm using the original kernel source from HTC so I'm wondering if it's a firmware issue.

Can you pull a recovery log via adb (adb pull /tmp/recovery.log)?
[One (M8s) General] El-Conkistador:
Captain_Throwback Sorry , I have not had the opportunity to work on that side or test your release .

I'll take that step and try to make you feedback .

I've boot into your kernel. All run with success. I test your kernel. I build my own boot.img for booting into and run your recovery. I hold you informer
[One (M8s) General] rozycki.q12:
Good morning.

Sorry for linguistic mistakes.

I have a problem with starting phone (HTC M8s).

Could I ask for a backup the entire room with TWPR?
[One (M8s) General] VS23BG:
phone dont boot

The same problem ! Formatting the system, boot, dalvik e.t..... when I tried to restore backup there is an error! now my phone stands in white screen HTC logo end cant restart!:crying:

What should I do? when held power button + volume key up, phone restarts and comes back the same white screen ! nothing else works.
[One (M8s) General] El-Conkistador:
If you want return to Stock system by HTC, you can use a RUU available into the first Thread. If you want backup and restore your phone with TWRP, you must select "System_image" on Backup AND restaure.
[One (M8s) General] rozycki.q12:
RUU_M8_QL_UL_L50_SENSE60_HTC_Europe_1.16.401.1

Is this latest rom for Europe?
[One (M8s) General] srajdaks89:
yes [ten characters]

---------- Post added at 09:42 PM ---------- Previous post was at 08:46 PM ----------

I am using the latest version for Europe. Casually the new tarp works fine but when I am charging my phone and want to turn it off its rebooting into recovery mode and then the touchscreen doesn't work. When I'm unplagged I can turn rebooting into working recovery - strange. I will do that log tomorrow :)

I have a question about the kernel. In kernel adiutor app I can see that two of four cores in both quads are inactive and the maximum speed is about 1497MHz instead of about 1600MHz in stock kernel. Did you disable them?

And the last question - can I install exposed on this phone with stock Rom? I tried through recovery but phone reboots during installation.