yashsingh1/xdaforums huggingface dataset:
[One (M8s) General] fraggz99:
Xposed installer I used: http://dl-xda.xposed.info/framework/sdk22/arm64/

Xposed unistaller zip: http://dl-xda.xposed.info/framework/uninstaller/ Get the one where the arch corresponds to the one you installed (its at the end of the installer zip name)

Then make sure xposed is removed and uninstalled, then flash the arm64 version I linked, then install the apk
[One (M8s) General] Will91W:
The one I installed the first time is http://dl-xda.xposed.info/framework/sdk22/arm64/xposed-v86-sdk22-arm64.zip

This is the correct version for my device but when I install the apk and open it I get the not compatible with my device error.

I read somewhere that I need to activate the framework first by deleting a file called disabled or something?

Sent from HTC One m8s CM12.1 by [MENTION=732043]voidzero[/MENTION]
[One (M8s) General] fraggz99:
Hmm I didnt have to do any of that. Download the arm64 uninstaller zip from the link I put, then reflasha fresh downloaded arm64 installer from the other link. Reinstall the apk also (make sure you have the latest versions of the zips/apks)
[One (M8s) General] Will91W:
Ok will try reflashing again once I get home and see if I'm going wrong somewhere. Will post back later about result's.

*edit* Just used the uninstaller and reflashed and finally its showing the framework as active. Much thanks.

Sent from HTC One m8s CM12.1 by [MENTION=732043]voidzero[/MENTION]
[One (M8s) General] Will91W:
Quick update for everyone who still reads this thread and is thinking about updating to latest build by [MENTION=732043]voidzero[/MENTION]

What I did to stop all the random reboots happening was install first wipe all data and clear cache then install the build

https://ruu.lalleman.net/HTC_M8S(QL_UL)/ROM/CM12.1/cm-12.1-20160423-UNOFFICIAL-m8qlul.zip

Once installed I then flashed the newest framework version 86.

http://dl-xda.xposed.info/framework/sdk22/arm64/xposed-v86-sdk22-arm64.zip

(Obviously wipe cache/dalvik after each one)

Once both are installed, I then went ahead and applied the update which is

https://ruu.lalleman.net/HTC_M8S(QL_UL)/ROM/CM12.1/cm-12.1-20160608-UNOFFICIAL-m8qlul.zip

I think installing this on top of the framework and the previous build has somehow settled everything down.

Speed has increased and battery life is much much better. It was saying 5hrs to charge on previous stable build but now its back to 3+hrs.

Will be sticking with this build now until a release of CM13 becomes available but even then I don't no about installing as I doubt this device can be any better than it is now with this CM12.1 installed.

Peace.

*edit* lol random reboots again.

Sent from HTC One m8s CM12.1 by [MENTION=732043]voidzero[/MENTION]
[One (M8s) General] jd1001:
Pity about the reboots still happening. Thanks for the update anyway.
[One (M8s) General] Will91W:
Yea I thought for sure I had gotten around them cause it didn't happen for ages. Back running build

cm-12.1-20160423-UNOFFICIAL-m8qlul.zip

No bugs or reboots.

Only problem I can see is that it takes a long time to charge the device. Its such a shame because latest build is so snappy and has great battery life. Will have to wait for CM13 I guess if that ever happens.
[One (M8s) General] srajdaks89:
can someone pls add a mirror to newest build from 08.06.2016? I cannot download the file from ruu.lalleman.net - server constantly interrupts download :/ I think it's because my poor internet connection...
[One (M8s) General] Will91W:
I wouldn't advise updating as there are numerous reports of random reboots, myself included.
[One (M8s) General] Ikkuh84:
Updated the build to the latest, and so far only 1 reboot in 24 hours. Don't know if it's a combo of L-Speed with latest Xposed version, but so far it runs smooth. Still trying to get a logcat, but 9 out of 10 times I'm not at home for extracting logcat.
[One (M8s) General] Will91W:
The reboots will happen regardless of what you have installed. It needs to be looked at by [MENTION=732043]voidzero[/MENTION] but he's working on CM13 as far as I no.

---------- Post added at 10:50 AM ---------- Previous post was at 10:49 AM ----------

The reboots will happen regardless of what you have installed. It needs to be looked at by [MENTION=732043]voidzero[/MENTION] but he's working on CM13 as far as I no.
[One (M8s) General] root-expert:
I know it's extremely difficult to capture what causes the random reboots. You can capture a last_kmsg. Maybe there is a kernel panic that's why the phone reboots.. When i get the phone to my hands i'll try to track down the issue by logcating the phone for many hours. :D
[One (M8s) General] L3viathan:
Reboots for me as well, I reverted to the April ROM straight after the first reboot out-of-the-blue after ~30 mins post-flash of the current version. Hopefully [MENTION=732043]voidzero[/MENTION] will have it figured out :). If I had time I'd logcat/kmsg it as well, but so far I'm short on that :(.

Good luck, voidzero! :).
[One (M8s) General] Rover95:
Can you just flash the earlier version? Or do you need to wipe everything and start from fresh?
[One (M8s) General] voidzero:
Ok, with all the people reporting random reboots I will try to make an update that might prevent it from happening. As you know I cannot test it myself, but I doubt it can become much worse anyway :D so I will do that now first.
[One (M8s) General] voidzero:
New update: 20160719 20160720

Update notes:

CM-12.1 updated to latest sources;

Kernel modifications that should (cross fingers) get rid of the spurious reboots.

Let me know how it works! As always, download it from here.
[One (M8s) General] fraggz99:
Is there a way to flash into the new update from stock 6.0/sense 7? last I heard TWRP didnt work yet for this version
[One (M8s) General] voidzero:
That was about Sense 7/Android Marshmallow. This is CM12.1, Android Lollipop. You're mixing up the two; flash as usual.
[One (M8s) General] fraggz99:
I know, thats what Im running now and I wanna go to cm12.1 again (I forgot how bad stock was performance wise, cm was always better)
[One (M8s) General] austino pele:
Please can someone help me on how to root this device... Still on stock lollipop.. The performance is slow
[One (M8s) General] Will91W:
Flashing now. Will report back soon. Thanks [MENTION=732043]voidzero[/MENTION] If reboots have stopped a donation will be heading your way.

*edit 1* Just installed, dare I say it looks good so far. Snappy, solid battery (So far). Mine usually rebooted within the first 30mins or when under load but I have been doing nothing but installing apps since I flashed and not one reboot and phone got fairly hot during this too (normal) but again it usually rebooted when the phone got hot or under a bit of stress.
[One (M8s) General] Will91W:
Read the thread like everyone else did. Most of the answers are within pages 0-20

---------- Post added at 12:21 AM ---------- Previous post was at 12:10 AM ----------

Just got first reboot.
[One (M8s) General] voidzero:
Alright, blaah, back to the drawing board. New update coming in not much later today.
[One (M8s) General] parser:
could you find the reason behind random reboots [MENTION=732043]voidzero[/MENTION] ? or are you blindshooting?
[One (M8s) General] fraggz99:
He no longer has an m8s for experimenting so hes working blindly
[One (M8s) General] voidzero:
Ok guys:

Version 20160720 was posted just a second ago. Download here and test please!

Yeah, just tinkering with kernel settings. :silly:
[One (M8s) General] fraggz99:
Is there a working custom recovery for the m8s running sense 7 and marshmallow? Last I heard twrp v3.0.x.x was bootlooping. Or will good old 2.8.7.0 work?
[One (M8s) General] root-expert:
Really appreciate your help throughout this proccess but please don't ask for ETAs.

We will post the result when they are ready and SAFE. :)
[One (M8s) General] fraggz99:
I thought there was a recovery for sense 7/MM as I remember hearing someone rooted MM on the m8s but I wanted to be sure.

If cm13 is to succeed on the m8s there will need to be one anyway
[One (M8s) General] parser:
[MENTION=7250681]fraggz99[/MENTION] I am using MM sense 7 with twrp recovery with root. I think its 3.0.02 or smth. Not sure ATM. Yes you know right :)

edit: yep twrp version is 3.0.2-0
[One (M8s) General] root-expert:
Hmm there seems to be one but not working

http://xdaforums.com/showpost.php?p=67732305&postcount=49

Of course there is a need of a twrp 3.x version. This is first thing it is going to bother us!

Anyway let's leave this thread clean for cm12.1 support.

edit: or there is a twrp 3.x version which is booting and i haven't found it yet;)
[One (M8s) General] fraggz99:
Parser said that 3.0.2.0 works. I'll try that and see if it does
[One (M8s) General] parser:
Did any 1 tried latest release. I wanna install it but i can't risk my only phone atm :)
[One (M8s) General] Ikkuh84:
So far no reboots (14 hours running), very smooth etc.
[One (M8s) General] scifan:
I'm currently running 3.0.2-0 on my phone... (grabbed it from [MENTION=2972841]enewman17[/MENTION]'s AFH here: AFH)
[One (M8s) General] fraggz99:
those are for the m8, the m8s is a different phone
[One (M8s) General] fraggz99:
Got myself onto the newest build,turns out the twrp version would only matter if I was staying stock.

There hasnt been any reboots as of yet, which is a good sign, but a few apps are just crashing on launch or not even working from the moment the phone starts. Im going to factory reset then reflash, and use a different gapps package (I used arm64, android version 5.1, mini package btw)

edit: download speed is also fairly slower than normal, only getting 2 mb/s on downloads from your repo [MENTION=732043]voidzero[/MENTION] even though Im on a 5ghz connection (the speeds are fine on my PC, so its something about the phones connection)

Ill update after the reinstall.
[One (M8s) General] voidzero:
Thanks for reporting back, I'm very happy to hear that reboots have not occurred so far - that's the only issue I attempted to remediate with this version. The other two things are unrelated to the ROM but I'll tersely cover them.

Apps that crash on launch: certainly that issue is not caused by this ROM in particular. You might be able to work around the issue by deleting the apps' data. It may still have been caused by upgrading, especially after downgrading (i.e. upgrade, downgrade, upgrade again - crashes happen) and is probably due to incompatibility between the apps' datastores.

Download speed: that may vary for various reasons and at very odd times, both dependent on my hosting company and my own hosting requirements - the server also hosts other (unrelated) things which would limit available bandwidth, especially on Thursdays and Sundays. No changes were made to any WiFi related files, settings or code, so this is an unrelated "issue" if you can even call it that ;)

The spontaneous reboots occurring frequently being a thing of the past is what I hope to have solved. :highfive:
[One (M8s) General] fraggz99:
The app crashing was fixed with a reinstall. Probably some leftover files form stock causing issues as I factory reset again

The DL speed also seems fixed

still no reboots so all is good now. Great work!
[One (M8s) General] Mr_White_214:
Hey [MENTION=732043]voidzero[/MENTION], when I upgraded to your latest ROM (I wiped system partition) and booted it was all fine but my dialer crashed every time I tried to open the app. That's the only bug I could find. And many thanks for making this ROM and working on cm13:D
[One (M8s) General] voidzero:
Happy to hear that you only found one issue! LOL

(And in this case too, it must be due to either stuff that was changed in core Cyanogenmod, or due to an up/down/upgrade type of situation - my code doesn't contain anything related to the dialer...)

What you can try to do is as follows - first back up the dialer with titanium backup, then wipe the data, and see if the app works. If it does, try to restore the data (not the app) with titanium backup. Sometimes that's a method that works. If it crashes again - just wipe again and reconfigure by hand if so required. Shouldn't be a lot of work, and call history is stored elsewhere, so I don't think it'd incur actual loss of data.

So, no spontaneous reboots?
[One (M8s) General] Ikkuh84:
22 hours further, and still no reboot :fingers-crossed: also I don't have the dialer bug. Only bug I have is that I can't get the media volume below about 40% when my screen is off. But I'm not really sure if it's a ROM bug, or an app which causes it. Still searching for the culprit though .
[One (M8s) General] parser:
no reboot but the roms is not snappy anymore. Like the first few hours. Maybe its smth bec. of xposed I have to check. But I had no reboots. Kudos!
[One (M8s) General] L3viathan:
Flashed the newest one(20160720), so far everything is just fine, no reboots, no performance downgrades. The only thing I had to update additionally was OpenGApps(nano, as usual for me), and everything is rock solid, otherwise the Google Play Services would often crash and the Google Play Store would be unusable. But after updating OpenGApps, everything is fine :).

Thanks, [MENTION=732043]voidzero[/MENTION] :D.
[One (M8s) General] fraggz99:
Same story here, no reboots at all, phone is also staying considerably cooler, even when playing pokemon go lol. The performance is also good, definitely alot better than stock.
[One (M8s) General] voidzero:
Awesome!
[One (M8s) General] doudoule83:
Hello is it possible to add screenshot of your Rom please ?
[One (M8s) General] filoffil:
What exactly are you after a screenshot of? The ROM is no different from any other cyanogen rom and is highly customisable so everyone's probably looks slightly different
[One (M8s) General] portachking:
Hi there,

I've been following this thread quietly over the last few weeks and thinking of taking the plunge and installing CM 12.1 for my M8S, but I still have a few concerns. I hope you guys can answer some of my questions before I decide whether to install it or not:

1. I'm currently running Pandora Rom 1.2 by El-Conkistador. A lot of people here describe CM 12.1 (especially the latest build) as snappy, and fast. How does it compare?

2. I'm also running El-Conkistador's custom Kernel so that I can install apps onto my SD Card with Link2SD. Is the kernel compatible with CM 12.1?

3. Can you install Xposed or does it cause a bootloop like it does with Pandora Rom?​
[One (M8s) General] jd1001:
After installing every single release you have created I didn't think your ROM could get any better. I was wrong. The latest build is just amazing. It is so fluid and fast. The phone does not get as hot as it used to, battery life is as good as it is ever going to get and all round the phone feels new to me again. Thank you so much for your hard work [emoji106] [emoji122] [emoji111]
[One (M8s) General] dirkie1980:
Been running this ROM for a week now, and i must say great job voidzero ! Its running much smoother and snappier tham the stock ROM. Have soms reports of photo app stopping sometimes when i take photos but i can live with that. Again a great thanks voidzero. Im looking forward on seeing and installing CM13! Keep up the great work!!
[One (M8s) General] unixnews.cn:
:good: when does cm13 release？ Very much looking forward to
[One (M8s) General] parser:
[MENTION=732043]voidzero[/MENTION] 3rd party apps (like messenger and whatsapp) having problems with headphone mic. They somehow cant detect it. But in normal calls there is no problem. Also mic is boosted a little, didn't it :)
[One (M8s) General] Cob4lt:
"Download CM12.1." link seems broken?
[One (M8s) General] jd1001:
No. Its working. http://src.voidzero.net/CM-12.1/htc_m8qlul/unofficial/
[One (M8s) General] macrobody:
So, this is good news. I am still using CyanogenMod version 12.1-20160607-UNOFFICIAL-m8qlul. But because I have a lot of reboots during the day I decided to have a look if others had the same problem. If this new build solves that problem I would be a very happy man. Just have to find that post again how to do it. :)

The lingo is still mumbo jumbo for me. Anyway, just to let you know I appreciate all the time and work you are doing to make this world a better place ;)
[One (M8s) General] root-expert:
New update! cm-12.1-20160805-UNOFFICIAL-m8qlul.zip

What's new?

MAC address bug fix (see below for details)

Notification led fixes (see below for details)

Notification led is now fixed.

-Solid red is displayed when the phone is charging

-Blinking fast red when the bettery is low.

-Blinking green when there is a notification

-Solid green when battery is 100% charged (previously at 90% the green led was turned on)

-If you have a notification and the battery is full/charging you get a slow blinking red led.

-I also enabled the option to disable notification and battery leds.

As far as the Mac address is concerned, now the system is getting the correct mac (previously it was getting a default mac from a .ini file). That can prevent Wifi issues!

Grab it as always from here.

I'm working on more bug fixes and enhancements. Stay tuned!

-root-expert

Chris
[One (M8s) General] fraggz99:
so the mac address bug is what causes wifi to drop when locked? Sometimes I have to unlock the phone to get notifications (exclamation mark on wifi too until I unlock it)
[One (M8s) General] root-expert:
I don't have such issue. If every M8s had the same mac address then if 2 or more M8s try to connect to one network they couldn't because the router would assign the same IP address for both phones
[One (M8s) General] portachking:
Hey everyone,

I posted some questions here about a week ago. I would really appreciate any answers you have before jumping the boat. :cowboy:

Cheers!
[One (M8s) General] root-expert:
1. I haven;t installed that guy's rom but cm12.1 is really fast and snappy. The issue with the random reboots is solved and it doens't lag at all.

2. You can actually install whichever kernel you wish via fastboot but we don't gurantee that the rom will be stable. i think it's a better idea to use the included kernel.

3. Personally i don't use xposed framework, but i have heard from other guys here that it works. Maybe they can answer i'm not the expert in this topic

-Cheers

root-expert :cowboy:
[One (M8s) General] portachking:
Howdy :cowboy:

First of all, Thank you! This is really useful information. The only reason I'm interested in Xposed is to so I can use 'Boost mode' in Greenify, so not a dealbreaker.

The one question I have remaining is regarding the kernel. I would be very happy to use the included kernel, but I know that a few months ago when I tried,running apps like Link2SD was impossible with the stock ROM/firmware (problems with S-On/Off, a real nuisance). Is this the case with this ROM? Do you know if Link2SD works well natively? I'm very excited to know and install this.

Cheers!
[One (M8s) General] root-expert:
Sorry i don't know about Link2Sd. I have never used it neither in cynnoenmod nor in stock. So i can;t really help you with this. But does the Link2sd has to do with the kernel you are using? Dunno. If anyone else can reply here it will be much appreciated :D
[One (M8s) General] portachking:
Hey, I'm not going to claim that I know whether it's a kernel issue or not (I just know the custom kernel allowed Link2SD to work) so I just copied and pasted this from the Link2SD FAQ page:

I figured it would explain the problem better than I could ;)
[One (M8s) General] root-expert:
Actually as i says "in some htc devices" if the system wasn't writable we wouldn't be able to install cm at all ;) Cm by default has the system read-only but this can be changed. The S-ON protects the user from writing in vital parts of the phone such as the bootloader the fastbooot partition, the radio partition etc. I don't think it will cause any problems. Hope that you have unlocked the bootloader :D
[One (M8s) General] portachking:
Ha! Yes, I have unlocked the bootloader. Unfortunately, it still would not allow me to use Link2SD with Pandora Rom (I would get the error above) until I flashed the custom kernel. I will give this a try tomorrow and post back. I'm sure it'll be of interest to other people too! :cowboy:
[One (M8s) General] root-expert:
Can you give me the link of github of this kernel?

Edit:

if you get this error try the following also

adb root
adb remount

Or from your phone terminal

mount -o remount,rw /system

Edit2:

That kernel probably has modified the fstab.qcom so as to turn the system writable. The above commans do the same but you have to do this everytime or we ahve to modify the fstab as well
[One (M8s) General] portachking:
I downloaded it from here: https://ruu.lalleman.net/HTC_M8S(QL..._Kernel_1.11.401.2-1.11.401.2@3.10.49_v5.0.2/

Found on this thread.

I highlighted what I believe is the key line from the changelog below:
[One (M8s) General] root-expert:
Okay i know what he has done. Could you try the commands if you are using any custom rom and reply back? Maybe i'll disable the write protection too.

Edit: Nah. Checked my kernel right now. Write protection is disabled.
[One (M8s) General] portachking:
This is excellent news! I can't wait to try it out :) Thanks so much for helping me out and answering all my questions so thoroughly. I'll report back tomorrow once I have finished with the installation and let you know how it goes! :good::cowboy:
[One (M8s) General] portachking:
Just back with a quick update.

Install went very well! Link2SD is working exactly as I hoped it would and Xposed installed without a hitch. To be honest, I can't get over this yet. Perhaps it'll change as I install more apps, but my goodness the snappy response of this ROM is amazing. Having no issues with the sound. It sounds perfect to my ears. Thanks for all of your hard work [MENTION=732043]voidzero[/MENTION] and [MENTION=6052895]root-expert[/MENTION], I can't wait to see where this keeps going!
[One (M8s) General] Mr_White_214:
Hello, im using link2sd too . but with the stock kernel i cant format SD as ext or n2fs. Only as fat. Is it the same with your kernel?
[One (M8s) General] portachking:
You need to format your SD card into two partitions, one Fat32 and another as ext (ext4, in my own case).

Follow this guide if you are using Windows: http://www.wikihow.com/Use-Link2SD
[One (M8s) General] Mr_White_214:
I did but it asks, when i open the app: recreate loadscript. My only working option is fat but i will try again using PC method
[One (M8s) General] portachking:
Just wanted to report that the headset microphone does not work for me either. I've tried it with several apps and it detects nothing at all, however, the headset buttons do work fine so it seems to be only a mic problem.

Another thing for the checklist guys ;)

Also, I found this on the Xposed modules list. Maybe it can help figure out how to enable "wake phone on double tap"?

http://repo.xposed.info/module/com.ceco.wakegestures
[One (M8s) General] Mr_White_214:
I have seen that module too, but i think it is a kernel thingy.... This question is a bit of topic, but i wanted to know of headphones over time wont work with just this phone. Because this issue is driving me nuts. Should i contact HTC?
[One (M8s) General] portachking:
Hi, I'm having a problem with some camera apps.

The stock app works fine (though I'm not a big fan of it, to be honest! I like more control ;) ), but when I use Open Camera or Snap Camera HDR I find that if I switch from front to rear camera, the apps will crash. In the case of Snap camera HDR, I cannot launch the app again until I clear the app cache/data. Not even after a reboot.

Can I help troubleshoot this? Are there logs I could upload to help out? Thanks again for all the great work.
[One (M8s) General] root-expert:
You can help to troubleshoot this but it is better to use the camera included because it tested both from CM team and us. Also the cm13 will include Snap camera by default and we already working on cm13 :D
[One (M8s) General] portachking:
Cool! That's awesome news. I'm even more excited for CM13 now.

I'm troubleshooting with the app developer of Snap over on that XDA forum page. He/She thinks it's related to the second rear camera so hopefully something can be done to stop it crashing ?