yashsingh1/xdaforums huggingface dataset:
[One (M8s) General] Captain_Throwback:
Oh that's offmode charging. I thought recovery wasn't working, lol. That's an easy fix.

I didn't touch anything related to cores in my kernel. It mostly stock. This is the source.

So the kernel works? No reboots? If so, that means you should have system read-write support!

---------- Post added at 04:48 PM ---------- Previous post was at 04:17 PM ----------

Here's an updated version of TWRP 2.8.7.0 which should have offmode charging fixed.

twrp-2.8.7.0_CPTB-B2-m8ql.img

MD5: 2d028290be38a47719fe6aa97190af30

So between this and the kernel I posted, root should be possible with system read/write support.

EDIT: If someone could try this version and in terminal run "lsmod" and "cat /proc/filesystems" (both without quotes) and then upload the recovery log, I'd appreciate it, so I can confirm what is or isn't working. Thanks!

EDIT: Updated device files here.
[One (M8s) General] voidzero:
Uh oh. I have tried to install this one using ARUWizard.exe:

RUU_M8_QL_UL_L50_SENSE60_HTC_Europe_1.16.401.1_Radio_1.0.U20410.1G50408_15.00_016_F_release_436156_signed.zip

It does not go beyond step 2/8 updating system.... there's no USB activity either (I'm using VirtualBox, I don't see the USB port blink)

Downgrading won't work, no other of the zips are accepted by the phone.

Am I in trouble? I'm starting to be afraid that downgrading is no option...
[One (M8s) General] andrew_sh:
Hello Captain,

thanks for all your work.

I tried your recovery yesterday (the first version of 2.8.7.0). This is what I noticed:

a) Whenever I shut down the device, it would boot into twrp with touch screen not functioning.

b) If you enter recovery through bootloader option, the touchscreen works. The only way to boot to system is power off by volume up+power, enter bootloader, enter recovery, and reboot to system.

c) I wanted to send you a log file but as I am new to this and the touch screen was not working I didn't know how.

Please tell me how I can further assist you

P.S. Is it normal to have yellow warning texts on stock recovery (complaining about some png files)?

P.S.2 May I suggest that the m8s has an independent section in the forum as it is completely different architecture?

---------- Post added at 10:03 AM ---------- Previous post was at 09:56 AM ----------

Yes, I installed the 64bit 5.0 version from here:

http://xdaforums.com/xposed/xposed-android-5-1-successfully-t3074586

No boot loops BUT

The first time it says android is updating and it takes ages (30mins).

and then after each restart it is always updating 3 apps. I don't know why, but this is the reason I returned to stock...

Please let me know if someone manages to sort this out
[One (M8s) General] voidzero:
I unlocked the bootloader, installed twrp-2.8.7.0_CPTB-B2-m8ql.img (thank you!), formatted the data partition (ext4), relocked the bootloader, and ran RUU 1.03. This time it did run, but it is still not going further than step 2/8 Updating System. When I reboot to recovery, and select to wipe the data partition, it also says that it can't mount. And something about emmc.

[MENTION=1162986]Captain_Throwback[/MENTION] could this be related to something in the twrp recovery you created? I really hope to get this fixed, I bought the phone less than 24h ago and I already broke it, a new high for me! Scared I need to send it back for repairs and they're gonna charge me for it...
[One (M8s) General] Captain_Throwback:
Can you please get me a recovery log (Advanced -> Copy Log to SD) and upload it so I can take a look? Also, can you take a screenshot of TWRP (Power+Volume Down)? And can you try the new version I uploaded and confirm that you see a charging icon when powering off the device? You said there's something yellow, which doesn't sound right, so I want to make sure the pixel format is set correctly.

I only need the log from when you're actually in recovery, not when the device is powered off. Like I said, the new version should fix that.

---------- Post added at 08:00 AM ---------- Previous post was at 07:54 AM ----------

Nope, RUU will overwrite everything on the device. And whatever you see in the stock recovery is probably normal.

You may want to try the SD card method of flashing the RUU to see if that works for you.
[One (M8s) General] voidzero:
Ok. So, rom.zip, right? And what should be the filename?
[One (M8s) General] andrew_sh:
No problem, I just want to clarify a few things:

a) How will I select Advanced -> Copy Log to SD if the touch is not functioning?

b) The yellow text appears on the stock recovery, not twrp, just curious if it is normal

c) I did get the charging icon when powering off the device, but shortly after it would enter twrp automatically

I will try your new version once I get back home.

Thanks again
[One (M8s) General] Captain_Throwback:
You said touch works in recovery? I thought it just didn't work when recovery boots when the device is turned off?

It sounds like TWRP is working fine then, but the log and screenshot will tell me for sure. Thanks for your help!

P.S. And yes, the yellow text in stock recovery is normal.
[One (M8s) General] VS23BG:
El-Conkistador, I sent the phone in for repair ! I fear that if the problem is not covered by the guarantee will have to pay for it . Yesterday I could start the phone but no software navigation buttons . I can not install applications since the writing warning message : installation manager stopped working ! And because i backup before installing super user I could not mount system to r/w . Formatting everything again , it was my mistake! and then the phone dont have operating system. For this I decided to give it to service, so they can get it to original condition. I was told it would take about three weeks , so if I have further information I will write again .

P.S: Cross my fingers to fix it !
[One (M8s) General] Captain_Throwback:
What indeed. What file names does HBOOT show when you boot into bootloader? That's how you know for sure. If I had to guess, I'd say it's 0PKVIMG.zip.
[One (M8s) General] andrew_sh:
Touch works if I first boot into bootloader and then select recovery.

If I shutdown phone, it will show battery icon for 4seconds, then automatically boots into recovery, and in this case touch does not work.

So I will send you a log for first case when touch works ok. (Maybe your new version does not have this issue, so I will send a log anyway)

Thanks
[One (M8s) General] voidzero:
Yes, that seems to be correct. Not much luck yet. The file is discovered but nothing happens. If I run 'fastboot oem rebootRUU' and then 'fastboot flash zip 0PKVIMG.zip' fastboot just can't find the file. I'm not sure if I should use rom.zip directly, or the zip that contains rom.zip. Going to try that now.
[One (M8s) General] Captain_Throwback:
Got it. Yes, please first flash the new version and confirm you don't have the issue with recovery showing up when you power off the device, and then please boot into recovery the standard way (via HBOOT, select RECOVERY) and take a screenshot when you get to the main TWRP page. Then, choose Advanced -> Terminal, press the check box at the bottom right and type the following command:

lsmod

followed by the enter key, then delete that command (using backspace button or swiping from right to left on the keyboard) and then type this command:

cat /proc/filesystems

followed by enter.

Then copy the log to SD (or you can adb pull /tmp/recovery.log) and upload the log here. Thanks again for your help!

---------- Post added at 08:28 AM ---------- Previous post was at 08:25 AM ----------

To use fastboot flash, the file would have to be on the PC in the folder with fastboot. The method I'm talking about putting the file on the external SD card and allowing HBOOT to update directly.

Your bootloader is locked, right? If so, it should work.
[One (M8s) General] voidzero:
Agreed, it should work! :laugh: Yes, I understand what you mean about putting it on the SD card. I'm doing that - I found instructions elsewhere but they were confusing these two methods.

hboot is looking for 0PKVIMG.zip and 0PKVIMG.nbh, and it can't find the nbh. Then it returns with 'no image or wrong image.'
[One (M8s) General] Captain_Throwback:
So it isn't seeing the file on the card. Are you sure it's named correctly? Is it possible you have the .zip at the end of the file twice? What is the capacity and format of your card? If you're using an exFAT-formatted card, you may need to try one that's formatted FAT32 instead.
[One (M8s) General] voidzero:
Nah, I got the filename right, I'm one of those old school Linux terminal fanatics. The sdcard is fat32 but before that I tried ext4. I've tried rom.zip directly (renamed) and when that didn't work, I tried the zip that contains rom.zip. Renamed as 0PKVIMG.zip. Right now I have tried this one:

RUU_M8_QL_UL_L50_SENSE60_HTC_Europe_1.11.401.1_Radio_1.0.U20410.1G50311_15.00_016_F_release_430101_signed

But unsuccesful, so, I'm going to try rom.zip from an earlier version now:

RUU_M8_QL_UL_L50_SENSE60_HTC_Europe_1.03.401.11_Radio_1.0.U20410.1G50311_15.00_016_F_release_426801_signed
[One (M8s) General] Captain_Throwback:
You can't use an earlier RUU than the software that's currently on your device, though. Ext4 definitely won't work - the card has to be formatted vfat.

I'm not sure what you mean by "the zip that contains the rom.zip". If you try to open the zip, you should either get an error or see a bunch of image files (depending on what you use to open it). If you see another rom.zip inside of the zip, then that's the one you need to be using.
[One (M8s) General] voidzero:
I meant, for example,

RUU_M8_QL_UL_L50_SENSE60_HTC_Europe_1.03.401.11~0.1G50311_15.00_016_F_release_426801_signed.zip

But you are right, I had to use rom.zip.

I discovered that you can downgrade: First I unlocked the bootloader and flashed recovery. I used your twrp (nice colors btw, I really like the orange.) Then, I wiped the system partition. Then I relocked the bootloader. And then I could choose an older RUU, it would just work with aruwizard.exe.

But ok, I'm the guy with the broken phone, I admit!

Anyway, now I am running rom.zip from v1.03 and this file was detected correctly by hboot. It's still running. I'll let you know if it will be succesful.

Note for other people reading this: I have uploaded rom.zip to the sdcard (fat32) and renamed it to 0PKVIMG.zip!
[One (M8s) General] Captain_Throwback:
Orange? It's supposed to be blue . . . That's why I need a screenshot, lol. Sounds like the pixel format is indeed incorrect.
[One (M8s) General] voidzero:
Blue?! Keep this, it's much better! Haha!

I will show you later - you've really helped me, so when the RUU flashing is done, I will install your recovery and make a picture and show you. :good:
[One (M8s) General] voidzero:
w00t! Ok, the recovery was finally succesful, so, it is booting properly again! Version 1.03 is working.

Haha, that removes all my fear, so now I am going to try version 1.16. Will let you know if that one works. But first a screenshot of the recovery, here you go!
[One (M8s) General] Captain_Throwback:
Screenshot in recovery is Power+Volume Down, btw (I mentioned this earlier in a response to [MENTION=238335]andrew_sh[/MENTION]). But yes, that's supposed to be blue. Can you do me a favor and power off the device while connected to a charger (USB or AC is fine) and let me know what happens?

Please try this version, to fix the messed up colors:

twrp-2.8.7.0_CPTB-B3-m8ql.img

MD5: 155f957f66b9208762e89eb3f3d7a9e9
[One (M8s) General] srajdaks89:
with B2 version of your twrp everithing is okay ;) phone is not rebooting when connected.

btw yellow color is okay ;)

I have a question - I noticed that in your new twrp is option that allows to change filesystem to f2ts. can I change filesystem of data partition to f2ts?
[One (M8s) General] Captain_Throwback:
But it's supposed to be blue. If you like yellow, you can apply the Materialised theme to recovery and change the accent color to whatever you want. But can you please flash B3 and confirm (with a screenshot, preferably - Power+Volume Down) whether the color is blue like it's supposed to be?

Thank you for confirming offmode charging is working, though. Can someone please get me that other information I asked for?

And to answer your question, sure you can change it to f2fs. It'll format your internal storage (you'll lose your data), and your ROM won't boot, but you can certainly change it.
[One (M8s) General] srajdaks89:
I flashed twrp-B3 and the color is still yellow... ;) I tried to do a screenshot but I don't know where to find it lol

I did a backup of /data and then tried to make f2ts filesystem on this partition but when I apllied changes phone reboot.

When the file system would be f2ts I wanted to restore the data but I didn't happend because filesystem didn't change
[One (M8s) General] Captain_Throwback:
The console tells you where the screenshot is saved. Did you read it? Would you mind doing what I asked in this post, please?

Looks like I'll have to build another one. Okay, stay tuned . . .

---------- Post added at 04:40 PM ---------- Previous post was at 04:24 PM ----------

@srajdaks89

Okay, please flash this one and take a screenshot and tell me if the colors are correct. And if you could do those things from the other post I mentioned, that would be very helpful as well.

EDIT: Turns out B3 was the correct one. Please use that one instead.
[One (M8s) General] voidzero:
Sorry, wasn't paying attention, missed your request [MENTION=1162986]Captain_Throwback[/MENTION]. I'll test the next one you make.

[MENTION=6770263]srajdaks89[/MENTION] you mean f2fs. I'm not sure if it's supported by the kernel. If it is, it should be listed in /proc/filesystems on your phone.

Why do you want this? Just asking out of curiosity, because I'm all for tinkering. But for stability I would go with ext4. I know that f2fs is advertised as being efficient for non-rotating media. Still, f2fs it is a fairly new filesystem. If it's better, I don't know. And I'm not sure if it works with encryption - in case you're using that.
[One (M8s) General] Captain_Throwback:
It's right above your post ;).

And the kernel does support f2fs, otherwise it wouldn't be an option in there (but I need to confirm this, thus the reason for my other requests). And if the ROM doesn't support it, the phone won't boot anyway . . .
[One (M8s) General] voidzero:
Ok, have rerooted it, waiting for boot to finish and then i will flash & test.

---------- Post added at 11:06 PM ---------- Previous post was at 10:56 PM ----------

Ah, see, that's useful info. Regarding B4, it's still orange. Did I already said it's a nice color? :victory:

---------- Post added at 11:11 PM ---------- Previous post was at 11:06 PM ----------

And also, it looks like the time is not quite right, if I set it to my timezone, the time on the phone is off, but I don't know if it's ahead or behind. It says 5:43AM, but it is 11:11 pm.
[One (M8s) General] srajdaks89:
Ok do I did screenshot and my jaw dropped :eek:

The recovery is blue...

And I did the log :)

Ps. I just wanted to have a better filesystem on my /data partition, that's all :)
[One (M8s) General] Captain_Throwback:
You said B3 was yellow?

So disregard B4 then - B3 is the correct one. And it appears that everything is working as it should. I'd still like a recovery log, though. That's Advanced -> Copy Log to SD. The adb commands need to be done from the PC ;)

---------- Post added at 06:47 PM ---------- Previous post was at 05:54 PM ----------

Well, even though I haven't seen a recovery log yet, I have to assume everything is working fine in B3. I've updated my kernel and device files to reflect the latest information, and even added a branch to my device tree to build the kernel inline with the Omni android-5.1 tree (provided you include this patch to kernel.mk).

Like I said before, if you guys want an official TWRP build, go to the TWRP IRC on Freenode, #twrp, and let [MENTION=912474]Dees_Troy[/MENTION] and [MENTION=2638973]bigbiff[/MENTION] know. They should be able to fork my device files and add it. But because I don't have the device, I won't maintain it, so this is the last I'll be building TWRP for the M8S.
[One (M8s) General] voidzero:
Cool, [MENTION=1162986]Captain_Throwback[/MENTION] thank you!

One last request. I know that B3 is the recommended version, but sometimes people are in a rush and just searching for the highest version. So can you delete the B4 upload?
[One (M8s) General] Captain_Throwback:
Done.
[One (M8s) General] El-Conkistador:
I try your Kernel now. I publish a feedback if i've a bug or not ;) Sorry for late !

--------

The kernel have a bug. The screen freeze and fade into darkness. For resolve temporarly this bug you must push the power buton for close the screen
[One (M8s) General] Freed:
Hello,

I try this kernel by Captain_Throwback.

It's fine for me, now I can delete app on \system\app.

El-Conkistador, I just install your latest RUU 1.16.401.1,unlock booloader,install recovery B3,and the latest Captain_Throwback kernel.

If I can help

Fred.
[One (M8s) General] Idlekilla:
The RUU utility, is it called ARUWizard? If so, it won't start on my machine (Win 7 Ultimate, x64). Anyone know if it has something to do with Microsoft Visual C++?

I only get this message when trying to run (what I think is the installer): The application has failed to start because its side-by-side configuration is incorrect.
[One (M8s) General] hasso96:
stock recovery

Is the stock recovery available for the M8s ?
[One (M8s) General] Mr Hofs:
I just told you to have a READ in this thread. When i go by the first post i clearly see a "stock extracted recovery"

Don't be lazy please :)
[One (M8s) General] hasso96:
im so sorry, but my english is not so good forgive me
[One (M8s) General] Mr Hofs:
I do no worries ;)
[One (M8s) General] hasso96:
But the Download link is down
[One (M8s) General] Mr Hofs:
Can't help on that issue, sorry.
[One (M8s) General] El-Conkistador:
You can go to the first link into my first post http://ruu.lalleman.net/ all tools are available there. Ruu, recovery, tools, etc.
[One (M8s) General] hasso96:
I only see twrp. I dont see the stock recovery
[One (M8s) General] El-Conkistador:
I've added the Stock Recovery on Platform ;)
[One (M8s) General] Idlekilla:
Any idea why the RUU wont run on win 7 x64?
[One (M8s) General] El-Conkistador:
Install C++ Redistribuable and Net Framworks (3, 4) ;)
[One (M8s) General] El-Conkistador:
On your kernel, you know how repair this error when building Custom kernel ? Thx

warning: (LEDS_LP5521 && LEDS_LP5521_HTC && LEDS_LP5523 && LEDS_LP5562) selects LEDS_LP55XX_COMMON which has unmet direct dependencies (NEW_LEDS && (LEDS_LP5521 || LEDS_LP5523 || LEDS_LP5562))
warning: (SND_SOC_QDSP6V2) selects SND_SOC_MSM_QDSP6V2_INTF which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && MSM_QDSP6_APRV2)
warning: (SND_SOC_APQ8084 && SND_SOC_MSM8X16 && SND_SOC_MSM8994) selects SND_SOC_CPE which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_WCD_CPE)
warning: (ARCH_MSM) selects DEVFREQ_GOV_MSM_BW_HWMON which has unmet direct dependencies (PM_DEVFREQ && (ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON))

Sincerly
[One (M8s) General] Captain_Throwback:
Those aren't errors. They're just warnings. The kernel builds fine with those warnings.
[One (M8s) General] El-Conkistador:
Okay. Because when use the kernel included in the file boot.img the phone becomes unstable. Primarily a freeze forcing close the screen and reopen it with the power button.
[One (M8s) General] Captain_Throwback:
No one else that's using my kernel has reported that issue, though. A few people have reported success using it. I wonder what's different in your case?
[One (M8s) General] El-Conkistador:
I'm just run a build 1.11.401.2. And i've just dump my boot.img and i've remplace the stock kernel with your kernel and repackage the boot.img. In bootloader i've run "Fastboot boot boot.img" and try your kernel.

It's strange
[One (M8s) General] Captain_Throwback:
You could've just flashed my kernel, rather than repacking it - it would accomplish the same purpose.

But yes, it is strange. Maybe you just need updated source.
[One (M8s) General] El-Conkistador:
I did not flash the kernel but i want try this before flashing. But the flashing I might experience this same kind of problems.
[One (M8s) General] Captain_Throwback:
Maybe you can try using the 1.11.401.2 source from HTC Dev and apply the same updates and see if it makes any difference? I just noticed the source was uploaded, even though it's mislabeled.

EDIT: http://dl4.htc.com/RomCode/Source_and_Binaries/m8qlul-3.10.49-g6be0435.zip
[One (M8s) General] hasso96:
Is the stock recovery needed when I want to run the Ruu ?
[One (M8s) General] El-Conkistador:
I do not see the latest version available on HTCDev . Or do you accessed sources?

EDIT : Sorry ! I've seen the error ! ^^
[One (M8s) General] Captain_Throwback:
I linked it right in my post. It's mislabeled as "M8" instead of M8S. That's where the link is from. If you look at the software version and download file name (and kernel version), you can tell it's the correct file.
[One (M8s) General] El-Conkistador:
Yes i've edited my last post ^^ ! I download the other kernel for uploading to my platform for other users. Thx ;)
[One (M8s) General] El-Conkistador:
All work fine with the latest Kernel available on HTCDev and with your modification available on your git ;) I publish the kernel Compiled and boot edited on my platform.
[One (M8s) General] Idlekilla:
No, that can't be it. Checked and double checked, and those are running on my system. :/
[One (M8s) General] Alex-M8:
Can i install a custom rom with this recovery?
[One (M8s) General] PatarNoster:
I dont think there is a ROM yet for this phone, the first one will probably be CM12 but.... that maybe awhile away... It should be to hard to port... iv been looking into it but the cpu is 64 bit and that has a few peeps in a bunch
[One (M8s) General] Alex-M8:
GUYS! I just did the most stupid thing ever ._.

I installed a m8 rom for the m8s and now it's stuck in boot loop, i can get into bootloader and recovery but i can't get into the OS and i did a backup in twrp but it's on my computer and i don't think i backed up everything that is required to restore from twrp since it took up all my space.

I really messed up didn't i :crying:

So do anyone know if there's a way of getting Sense 6 back on my phone again with twrp or the signed recovery?

---------- Post added at 12:31 PM ---------- Previous post was at 12:18 PM ----------

Oh i really should've waited for answears for that ,_,
[One (M8s) General] DACATA:
wait a while.. afte some hours maybe or empty battery you can access the bootloader again.. no panic.. ;)
[One (M8s) General] Alex-M8:
I'm sorry i think you read that wrong it says i can get into bootloader and recovery, but with no OS i'm pretty much screwed right? ,_,
[One (M8s) General] DACATA:
but we still have root access with standard ruu and twrp ?? & thx good job ;)
[One (M8s) General] Alex-M8:
DO anyone know what to do i'm really scared ._.
[One (M8s) General] Alex-M8:
What RUU do i need if my cidnum is HTC__Y13?
[One (M8s) General] El-Conkistador:
Forward me your full "fastboot getvar all" to private message and I send your RUU needed ;)
[One (M8s) General] Alex-M8:
It's okay i got it :D
[One (M8s) General] El-Conkistador:
Your phone are fully restored ?
[One (M8s) General] Alex-M8:
Yeah i found the right RUU :D thanks so much for the help couldn't have done it without your thread!
[One (M8s) General] tinkerer74:
THANKS and props

i also did the dumb move of thinking i still had an m7 without checking and managed to lose my recovery and freak my new phone out.thank god for G+ what a lifesaver and thanks to you ive now managed to get my recovery back and get back online. now to suss out the root and hopefully back on form thanks again.
[One (M8s) General] xunholyx:
Run the RUU. That will fix it.

EDIT: I see I was a little late in my reply. Glad to see you got it fixed.
[One (M8s) General] Fantismo:
To flash ruu i need s-off?
[One (M8s) General] Mr Hofs:
Nope.....