yashsingh1/xdaforums huggingface dataset:
[One (M8s) General] root-expert:
Yeah i can do something. Completely disable the third camera as no app uses it.
[One (M8s) General] portachking:
I presume you mean disabling it in CM13? I think that might be best solution, especially if it cannot even be used in the first place.

You can see my posts and a logcat here if its of any use to you:

http://xdaforums.com/showthread.php?p=68154098#post68154098
[One (M8s) General] root-expert:
I can disable it in cm12 too. We don't use it.
[One (M8s) General] parser:
Guys an out of topic question ❓ why the heck this phone gets to like 60 degrees Celsius since the marshmallow upgrade. I can't even touch it. The battery doesn't last longer any more too. After a short use, the phone gets really really hot. Any1 having the same hot feeling in their hands.

I was just speaking to my gf via messenger and after 15 min, it already started showing the warning sign on the battery icon.

Also does any1 has a backup of the latest 5.0.1 stock. I really want to turn back.
[One (M8s) General] tommyvirus:
anyone knows why the screen cast option doesnt work? (wifi)

my tv gets recognized but after that my phone shows just "connecting" and nothing happens

also my wifi disconnects sometimes after turning off the screen
[One (M8s) General] root-expert:
Htc do have a problem with tempereture in general. But i don't know if in marshmallow is worse! I haven't upgrade on marshmallow.

I do have a twrp backup of stock but i don't know if it is possible to downgrade (an i think i have backed up some personnal apps too :P ).
[One (M8s) General] parser:
it is not exactly a downgrade if I do it from twrp actually. I do it all the time with s4

believe me it is worse! the phone becomes untouchable. I mean it becomes so hot in some point you feel like either you have to shut down what you are doing or put the phone somewhere else - swhere metal preferably- to let it cool. Even when I 9gag at night before I fall asleep, it gets really warm. This CM doesnt make the phone that warm. I think the problem is with 6.0

There is a problem in CM where I can't use headphone mic for 3rd party apps. Is it still there for the latest release?
[One (M8s) General] root-expert:
If you need my backup send me a pm.

Yeah i haven't track down thia issue yet. If you can post a logcat while you are using the headphone mic in a third-party app, like messenger or something.

Thanks!
[One (M8s) General] parser:
ATM I can't change roms (work reasons) but If I flip out and say fck it :) I am gonna write you. Thanks mate!

I am atm on marshmallow which I cant change - as said reason above - if I can turn back to CM soon enough, I will get a log for you mate ;)

cheers!
[One (M8s) General] hector2001:
I have used CM12.1 (the version before the 20th july release) and now running Marshallow on M8S.

No overheat at all. I have disabled or removed all the things I don't need (crappy softwares).

I won't go back to Android 5.0.x...
[One (M8s) General] parser:
Well then my phone has a problem with marshmallow. There was no extreme heat with 5.0.1 but even now when I am chatting in messenger and trying to write a comment here, it's already hot in my hands. I bought screw driver set to open the baby up

Gonna check if there is a problem with it
[One (M8s) General] norman0:
This is the CM-thread
[One (M8s) General] shoki571:
Thanks

Thank you for this great work, this CM 12 can be used for HTC M8si version? Also, the files can't be downloaded fully every time i tried they stuck around 30% ...any solution?
[One (M8s) General] root-expert:
I don't know if this gonna work for that phone i don't know its specs. Never mix things up or else you're gonna brick your phone.

You should download them from here. I don't have a problem downloading the files. Some days the server has more work to do as far as i know ;)
[One (M8s) General] leather.face:
[MENTION=732043]voidzero[/MENTION]!

Great job by you and Respect from me for this!

Keep it up and see you soon.

leather.face :fingers-crossed:
[One (M8s) General] shoki571:
THANKS

Thank you for your reply. Still I can not download it

HTC M8si is chinese version i guess all specs same but no google play becasue it is ban in China
[One (M8s) General] root-expert:
Nah i can download it fine. Maybe something is wrong with your connection or where you live.

I still don't know if it's compatible. You can try to flash it but i take no reponsibility ;)
[One (M8s) General] shoki571:
I will

Dear root-expert,

I will try again and again till successful in downloading then I'll try to use this CM12.1 and will tell about results. Good Luck
[One (M8s) General] shoki571:
Hi Root Expert,

I have downloaded the files but there is no instruction in this how to do that. I tried to install TWRP recovery first but HTC M8S is not rooted and till now i can't root it. Can you guide about this, Thanks
[One (M8s) General] Chiko-HH:
Hi have you unlocked your Bootloader 1st?

No unlocked Bootloader,no TWRP!
[One (M8s) General] atzen1991:
Hi!

Is there any Way to go back from this CM 12.1 back to the original device system?

Atzen1991
[One (M8s) General] Chiko-HH:
Yes of course[emoji2]

Look and Read this:

http://xdaforums.com/htc-one-m8/one-m8s-general/help-thread-htc-one-m8s-to-stock-howto-t3190238

---------- Post added at 04:56 PM ---------- Previous post was at 04:52 PM ----------

A little hint, you must extract the RUU,in there is a Rom.ZIP.

Copy this to you SD card and rename to

0PKVIMG.zip
[One (M8s) General] atzen1991:
Thx a lot!

I just realised I did a full recovery with TWRP right before I started flashing my device and installing CM 12.1.

Is it possible to just restore the stock system with this?

Atzen1991
[One (M8s) General] filoffil:
Yes just restore the backup, if you're planning on upgrading however you'll have to unroot the phone
[One (M8s) General] root-expert:
deleted
[One (M8s) General] atzen1991:
Ok.

I restored the backup.

Now I got a message for a new version of android but every time I want to install it via reboot I get into the twrp menu and nothing happens.

So you are right. I have to unroot the phone. But how do I do this?

I tried it with this: http://xdaforums.com/htc-one-m8/one-m8s-general/make-custom-recovery-htc-one-m8s-t3114245

But I can't get it to work....

Is there a better and more detailed description for this?

Atzen1991
[One (M8s) General] root-expert:
Yeah there's the problem. to get ota you should have stock recovery and you system partition have to be intact because it check the sha1 hash.

If you can get the ota you can always flash the RUU missing all your files of course. I did that cause i had twrp and i couldn't find the correct stock recovery with the fingerprint and ****..

-Chris
[One (M8s) General] shoki571:
Root expert: I tried with HTC boot unlocker but failed!!!!!!!!! Don't know how to proceed further:crying:
[One (M8s) General] root-expert:
Send me a PM. Let's don't spam this thread.
[One (M8s) General] tufy_35:
Hi,i how to install google play this cm 12.1 ? i have stopped error :(
[One (M8s) General] brunkonjaa:
Gapps
[One (M8s) General] tufy_35:
While listening to music with headphones,at the same time I hit the facebook likes button to give out the sound "like button sound" from the speaker.Why is this happening?
[One (M8s) General] root-expert:
Don't report issues that have already been reported.

We know that this is happening but it is a minor bug.
[One (M8s) General] tufy_35:
while listening to music on headphones,the sound from the speakers suddenly :laugh: the street can be a disgrace... :laugh: It would not be a problem like that?:confused:

Sorry my english
[One (M8s) General] portachking:
It's been a while since anyone has posted here, but I thought I'd ask a question before trying a factory reset (last resort!)

Over the last few weeks anytime I run an audio player app (eg Google Play Music, Pocket Casts, Podcast Addict, etc) my phone has started to really warm up and battery drain has been massive. I just ran Pocket Casts now and the battery drained 15% in about 45 minutes. This is a faster drain that browsing on my phone the screen on is. It specifically seems to happen with audio and this didn't happen during my first few months running the ROM.

Has anyone experienced an issue like this before? Audio fx are switched off, however, that didn't seem to make any difference one way or another.

Thanks for any advice guys, and shout out to the team working on cm13. I can't wait!
[One (M8s) General] jeroen_13:
Install BetteryBatteryStats to check for wakelocks / the cause of the drain.
[One (M8s) General] portachking:
Installed. I'll share the results tomorrow evening.

What would be best to post here? Logcat? Dumpfile?
[One (M8s) General] jeroen_13:
Dumpfile contains the BBS data, Logcat prints android logging and dmesg kernel logging.

So upload the Dumpfile after 24hrs or so
[One (M8s) General] portachking:
Will do. I'll upload it tomorrow evening.
[One (M8s) General] portachking:
Well, after weeks of having this problem I installed BetteryBatteryStats, double-checked AudioFX was off and rebooted my phone on Sunday evening, hoping to start with a fresh slate of stats to help troubleshoot the problem.

Typically, everything now seems to be running as normal. No overheating. No battery drain. Very confused. I'll report back if the issue reappears but for now I guess it has been resolved.
[One (M8s) General] jeroen_13:
A reboot can perform miracles :p

Maybe a wakelock was started after a certain action and not after a boot of the OS / App.

Hopefully its gone for now
[One (M8s) General] tufy_35:
This rom echo problem with during a phone call..How to fix it ?
[One (M8s) General] gigis50:
I don't have any kind of sound after flashing this. Anyone else having problems with that? Full wipe, S-ON, latest gapps. Thanks.
[One (M8s) General] L3viathan:
[MENTION=4222289]gigis50[/MENTION] I had some issues with sound when I didn't let it upgrade itself to the newest official OTA, I'm guessing it might have had something to do with the radio ROM not being compatibile. Have you tried letting it update-officially-all-the-way and only then flash CM? My versions: HBOOT-3.19.0.0000, RADIO-1.0.U20410.1@50408
[One (M8s) General] eltasmanico:
it's always some kind of christmas when I read a new status update from you :) :) :)
[One (M8s) General] voidzero:
Hahah, thank you! :laugh:

Well guys, time for another update to tell you whashapenin'.

Right now I am at a point where I do the following steps:

Edit some files, change a few settings, tweak a few knobs;

Build another iteration of the port;

Wait a long time, eat a pizza or drink some coffee, read a book, take a bath, call my mom...;

Install the image to my phone;

Extract the boot image from my image, enable adb in it, repack it, and flash it to the boot partition;

Boot to recovery (so happy we have a working TWRP);

Replace and/or restore a lot of the libraries from my image with the ones from HTC's stock image;

Reboot and cross my fingers

And... what happens is... I get a boot image! Yay!

Yeah. Just a boot image. Better than nothing I guess. And sometimes I also get a "android is busy upgrading notice", but after that, nothing.

Stuck!

It has some kind of weird issue that is displayed by adb logcat as this:

I/ServiceManager( 887): Waiting for service media.audio_policy...
I/ServiceManager( 887): Waiting for service media.audio_policy...
I/ServiceManager( 887): Waiting for service media.audio_policy...
W/linker ( 1556): /system/bin/adsprpcd: unused DT entry: type 0x6ffffffe arg 0x628
W/linker ( 1556): /system/bin/adsprpcd: unused DT entry: type 0x6fffffff arg 0x1
E/adsprpc ( 1556): vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:125::error: -1: dev >= 0
E/adsprpc ( 1556): vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:202:/dev/adsprpc-smd device initialization error: Operation not permitted
E/adsprpc ( 1556): vendor/qcom/proprietary/adsprpc/src/adsprpcd.c:26::error: -1: 0 == remote_handle_open(ITRANSPORT_PREFIX "attachguestos", &fd)
E/adsprpc ( 1556): vendor/qcom/proprietary/adsprpc/src/adsprpcd.c:40:adsprpcd exiting nErr=-1
W/AudioSystem( 887): AudioPolicyService not published, waiting...
I/ServiceManager( 887): Waiting for service media.audio_policy...
I/ServiceManager( 887): Waiting for service media.audio_policy...

And then it just sits there with this on repeat.

So ok, I'll admit, even though I sound like a happy camper, there are still too much steps I'm required to take after compiling and kind of stuck right now.

Although... I will tell you, getting a boot image was fantastic for a while.

Anyway, I will keep doing my best, maybe one day I'll have a break through.

For those of you who are interested in the changes I made in the technical sense, head over to the commit log to see what has happened in the period between my previous update and this one.

Still looking for help so if anyone is interested hit me up on Freenode.

If there's more news: as always, I'll keep you posted...

Cheers,

-voidzero :cowboy:
[One (M8s) General] WildfireDEV:
I don't own a M8s but in the past I have brought up ROMS for a few devices. I was looking at your error log at it seems to be something wrong with your adsp. Although it could be a firmware issue I highly doubt it is, anyway how are you getting your libs. Seems to me that you are using the extract-files method and connecting your phone to get these. I reckon a better way to go about it is how most other device tree have it. Which is by having a seperate vendor repo.

In regards to the error if you could upload a vendor repo maybe I could take a look at it to see what is going on. You mentioned that you are replacing parts of the ROM such as libs and stuff with the stock HTC stuff. Have you tried doing the same with these. Maybe PM me the rom.zip and maybe I could take a look.
[One (M8s) General] TIPhoenix:
What a legend..
[One (M8s) General] voidzero:
Heya, thanks for your message!

Well, shortly after posting my message, I realised that I could just compare files again with those from the yu tomato, and, more importantly, the inherited msm8939-common. I took the direct inheritence out recently, and turns out that I forgot to implement a lot of things!

Long story short: more good news. I added the stuff I forgot, and I can now get it to boot somewhat similarly, without copying stock directories and libs! So scratch what I said previously about that [MENTION=5244397]WildfireDEV[/MENTION] ;)

Check out the changelog.

Everything above the Commits on Oct 10, 2015 was done after my previous message.

I am currently debugging new issues, so I'll keep you posted :victory:.
[One (M8s) General] WildfireDEV:
Well done man. If you need any help with bugs from the ROM just tell me. Of course I can't test it but i can take a look at the bugs and see if I have encountered them before. Also could take a look at logs if you want. Gimme a few days as I currently have exams and I may even do some kernel work for you after you get it booting. :fingers-crossed:
[One (M8s) General] Codeplayer:
I'm so happy to find that thread. Till now I was under impression that I'm the sole owner of the one device ever made.
[One (M8s) General] voidzero:
Newsflash!

After much, and I do mean much of testing, rewriting, log reading, screen staring, long days, short nights and not much else in between, the latest news is it finally boots!!

Woooohoooo

This is still early stages! So I'm not going to provide a flashable zip yet, it's too early for that.

So what does and doesn't work? Here's a quick rundown; I'm on mobile right now, taking a long overdo break! So i'll write a summary now and make a new thread for this later.

• Wifi: works. Builds from source, which is good. But needs further work. By the way, I don't see an option to select either 2.4Ghz, 5Ghz or both. Or was that option removed from Lollipop?

• Radio: worked half assed, then stopped working. Need to review. Phoning did work, well, i could hear my voicemail. Microphone: unsure.

• Display: works (lol) but the brightness toggle currently doesn't.

• Nfc: does not work. Probably an upstream bug.

• Sound: nada, apart from phone. Some annoying issue regarding adsprpcd. No clue why that happens.

I also still need to sort the proprietary libraries: which to copy. Doing that by hand atm.

• Power consumption: needs review. Probably way too high.

• Kernel: the almost original but slightly improved version works; my much improved version works too. Details in the kernel repo on my Github.

• System initialization scripts (init): heavily modified by yours truly. Specialized for our phone.

Sooo yeah! Who would have thought? I sure as hell didn't. As you can see there is much work ahead, but I will say this: that moment when the little guy on the boot screen logo flooped away, and Android suddenly appeared on my screen... I was so surprised that I just couldn't believe it. I probably stared at my screen with open mouth for a whole minute, haha! Then I felt so proud.

So, again, thank you, everyone who supported me so far for the occasional virtual pat on the shoulder. I would have given up already if it weren't for you.

To be continued....
[One (M8s) General] TIPhoenix:
Dude that is so good to hear! Well done and thanks for all the hard work.. Any way we can help? Donations maybe?
[One (M8s) General] hasso96:
I love you Dude haha you are the best!! :good:
[One (M8s) General] PatarNoster:
FIrstly i have to congratulate you on the achievement of boot,

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

Mate, let me say congratulations on the achievement not because it means there could be a build for us, but the fact that you did it first !

Its days like this where the XDA Community really shines, thanks man ! Keep it up! Also set up a donation button man !
[One (M8s) General] eltasmanico:
Christmas is near :D

You're so awesome mate. Congratulations for your hard work and energy not to give up like I would have done in your situation

Gesendet von meinem HTC One M8s
[One (M8s) General] jd1001:
What a f#*king hero! This is so appreciated. Get a donation link up! You deserve beer money!
[One (M8s) General] WildfireDEV:
Hey Man

The proprietary libs copying thing I can help with if could gimme a copy of the folder from vendor folder in your source. Then I could integrate into your device tree for you if wanted. I'll try to help in what ever way I possibly can, as some of these bugs if I remember properly these have come up before on other devices and like you said just require work from the upstream mainly for kernel patches and stuff like that to make things work.

Anyway if you would like my help with the proprietary stuff just hit me up, but I need a copy as I don't have the device. :D
[One (M8s) General] wicked.:
Dude, thanks for your work. I read all the topic, I want to beg you to continue your work!

I will help testing. Good luck & keep working !
[One (M8s) General] voidzero:
Thanks everyone. I'll put on a donation link soon, first I want to focus my energy on getting something usable :D

[MENTION=5244397]WildfireDEV[/MENTION] Much obliged. I'll send you a PM.
[One (M8s) General] voidzero:
Got audio working, mobile data too. Sweet!

Also updated the first post of this thread.

And I sorted out the vendor files somewhat, needs more work though.

Want more? Ok, two more: I also got the display brightness toggle to work, and there is now a selector that lets you choose between either 2.4Ghz, 5Ghz or both.

This news gives us a good start of the week I hope! *does a funky dance*
[One (M8s) General] eltasmanico:
You're awesome mate, thank you so much for your work :thumbup:

Gesendet von meinem HTC One M8s
[One (M8s) General] wicked.:
Nice job , dude ! Keep working! If you need help on testing or smth contact me .
[One (M8s) General] Pomeon:
Waaaauw.

You're awesome. ?
[One (M8s) General] root-expert:
I heard that many of your have echo problem while in a call. To fix it do the following

1) Pull build.prop from device

adb remount
adb pull /system/build.prop build.prop

2)Open it with an editor and find:

persist.audio.fluence.speaker=true

And change it to

persist.audio.fluence.speaker=false

3)Push it back to your device

adb push build.prop /system/build.prop

4) Reboot.
[One (M8s) General] L3viathan:
[MENTION=6052895]root-expert[/MENTION] Did that, doesn't seem to change anything. Unless it's for something else. People talking with me hear themselves duplicated once-twice in the background, as if my microphone caught my speaker output. Any idea where to find any information what these persist.audio.fluence.xxxxxx settings do?
[One (M8s) General] root-expert:
Then probably you have the speaker to loud or the mic is too sensitive.

This change fixes the echo when on speakers for sure.
[One (M8s) General] L3viathan:
Ah, I see, well, I can't set the speaker quieter, since for this rom my Vol+ and Vol- keys don't seem to be functional during calls. Which is rather odd. Will try messing with speaker volume settings though, thanks a lot for the tip :).
[One (M8s) General] tufy_35:
Not work buildprop,Just a little diminished :( please helppp
[One (M8s) General] mclehwot:
Greetings, Are we gonna have CM14.1 or lineage os 14.0/14.1 released for the m8s?
[One (M8s) General] moh19814:
I have a HTC M8s Device (Omodelid: 0PKV10000; cidnum: VODAP102; bootloader: 3.19.0.0000; baseband: 1.0.U20410.1@60201; twrp-recovery-2.86.0-m8s-qlul).

After I installed cm-12.1-20160805-UNOFFICIAL-m8qlul and open_gapps-arm64-5.1-nano-20170423, My IMEI Number and my Baseband number is gone. I can only get them using "fastboot getvar all", but under the properties menu, both appear as "unknown".

Can anyone help me:

1. how i can retrieve the IMEI and Baseband numbers ?!!

2. I also noticed, that sound is completely gone !!!. Any Ideas?

Thanks.
[One (M8s) General] brunkonjaa:
Do you have busybox installed ?

Have you tried clean install with proper wipe?

Rom itself is buggy, so one should expect errors to some degree. Overall it is a nice rom.
[One (M8s) General] moh19814:
No, i do not have busybox installed. Do i need to install it ?!

Yes, I did wipe Cache, System, Dalvik Cache, and Data.

Any other suggestions.

Thanks
[One (M8s) General] brunkonjaa:
Busybox is very important. Install it, reboot.
[One (M8s) General] moh19814:
OK, but what about IMEI Number and my Baseband number. How i could restore them. Also, I noticed that the sound is gone !!.
[One (M8s) General] brunkonjaa:
If it was my phone, I would RUU back to stock, fresh as new.

Stock is very good once you root and xposed.
[One (M8s) General] moh19814:
Yes, I tried to do that, but I cannot find any RUU for my phone. My Phone has modelid: 0PKV10000; cidnum: VODAP102. Could you please provide me with a compatible RUU?. All RUU which I found on https://ruu.lalleman.net/HTC_M8S%28QL_UL%29/RUU/ are for phones with different CID Number.

I also tried to change my CID number to 1111111, but I cannot since I do not have S-Off.

Is there a way to get S-Off?
[One (M8s) General] brunkonjaa:
Is that what you need ??
[One (M8s) General] moh19814:
I am not sure, but it is for CID number matching my phone. Thanks. :)

Could you please let me know how i can use it to restore my phone to original stock firmware using this RUU.

I installed TWRP on my device with CM 12.1.

Thanks again.
[One (M8s) General] brunkonjaa:
See the "...ARUWizard.exe...." ?

That's your file - double click it and follow instructions.
[One (M8s) General] brunkonjaa:
https://ruu.lalleman.net/HTC_M8S(QL...1G50408_15.00_016_F_release_430447_signed.zip
[One (M8s) General] moh19814:
I tried to install the RUU as described but the Phone stuck on "Writing to bootloader; Step 2/8" for some time. Then, I get an error on the PC, and the Phone stuck on a black screen with HTC Logo in the middle. After waiting for about an hour, I restarted the phone to bootloader.

Now, when I go to TWRP recovery and try to reinstall again CM 12.1 or wipe Cache, I get an error "E: unable to mount /Cache" !!!:confused:

Any Ideas....

Thanks
[One (M8s) General] brunkonjaa:
I

Did you relock bootloader, tried different cable, or different usb slot?