yashsingh1/xdaforums huggingface dataset:
[One (M8s) General] natdavid:
I am getting Error 140 when trying to install the RUU with the wizard. I have used it successfully many times before, but now I had to swap my phone under warranty and it seems I have been supplied with a newer bootloader.

I have been given a phone with Android 6 / Sense 7 and I want to downgrade the ROM to Android 5 / Sense 6.

After doing a bit of research it seems one cannot downgrade the bootloader to an older version with S-On. Does anyone know if there is a workaround for this, as I really dont want to be MM on this phone.

Edit: Posted in wrong thread. Ignore this one.
[One (M8s) General] voidzero:
Great news, new thread:

IT IS HERE! -- LineageOS 13.1 for the HTC One M8s (m8ql_ul)
[One (M8s) General] MCjasiux:
Since CM12.1 on M8s is working better than Lineage 13 in my opinion, I decided to stick to Cyanogenmod. After installing rom+nano gapps, it works just great with some exceptions. Some apps stop even before they start: Firefox beta (Firefox works fine), AccuWeather, UltimateGuitar. After crashes, Logs show warnings:

W linker : su: unused DT entry: type 0x6ffffef5 arg 0x288
W linker : su: unused DT entry: type 0x6ffffffe arg 0x2b28
W linker : su: unused DT entry: type 0x6fffffff arg 0x1

After that, i tried running su on termux, and got:

WARNING: linker: /system/xbin/su: unused DT entry: type 0x6ffffef5 arg 0x288
WARNING: linker: /system/xbin/su: unused DT entry: type 0x6ffffffe arg 0x2b28
WARNING: linker: /system/xbin/su: unused DT entry: type 0x6fffffff arg 0x1
CANNOT LINK EXECUTABLE: empty/missing DT_HASH in "/system/xbin/su" (built with -- hash-style=gnu?)

Is a rebuild possible? I admire your work on this rom, and enjoy using it. It's just that one thing ;)
[One (M8s) General] jeroen_13:
I have the same issue. The latest whatsapp and snapchat are not working.. Very annoying. Anyone got a fix ?
[One (M8s) General] voidzero:
Thanks you guys. Not yet ready, but when it's time to test I'll let you know.

Next up: NFC. Now works.
[One (M8s) General] miborion:
Hello,

Do you happen to know if with this mod, maybe the Camera will be fixed? Or at least improved? Now it's just garbage...you just cannot take a decent picture, everything is either pink or green or dark. I wouldn't have bought the M8s if I knew how crappy it was...

Many thanks,
[One (M8s) General] voidzero:
HMM that's not good, sounds like a bug actually, my camera looks fantastic with stock software! I've read this complaint before on Twitter, someone made a picture of her legs, and they looked as orange as carrots! They solved it after getting a reply from some HTC account. Sorry, it's been a long time, can't remember! I think I searched on Twitter using "htc one m8s" or something.... :confused:

In other news - Bluetooth is working too :laugh:
[One (M8s) General] TIPhoenix:
What a legend!

And where the heck is that donation link? ?
[One (M8s) General] Pomeon:
Up next; GPS? :D

---------- Post added at 02:47 PM ---------- Previous post was at 02:45 PM ----------

Can you post an example? :)
[One (M8s) General] voidzero:
I was working on sensors (rotation, acceleration, proximity, light...) and it's just all working a bit strange. The good part: I got it to work just now. But before you cheer: the bad part: I don't know how to do this automatically yet.

Reason is that, on stock sense, there is a binary called /system/bin/sensorservice that polls the sensors (I think) and updates the information. I don't know how HTC starts that service and I also don't know if it's a continuously running process or not.

So, I figured out how to start that process as a service, but it needs to be killed and restarted once before it actually updates sensor information, and I don't know how to handle this stuff. For example, what if it keeps polling when it doesn't have to? Like when we're not using the device at all. In that case it would be just a battery drain.

Also, all the applications that already started before the service did, don't pick up new sensor data. So, for example, the UI does not rotate at all even if you set it to automatic.

So this one is a bit strange. HTC does not use the same method on other phones.. in fact I don't think any phone does it like this that I know of. Hope I'm wrong. I don't like being confused like this.
[One (M8s) General] voidzero:
Yep. ;)
[One (M8s) General] Rlansdorp:
Have you tried calibration of the G-sensor? I've read that sometimes works in setting the sensors straight. If it faults, try until it's ok.
[One (M8s) General] mihai10001:
Yes DUDE you're amazing :) [MENTION=732043]voidzero[/MENTION]...

I'm sorry I cannot help in any way but this is just amazing man .

Hope for the best and if the project will be a succes , and you will bring us CM on this ****ty without support device , I'll buy you not one , but ten beers , joints or whatever you want . I'll donate .
[One (M8s) General] miborion:
I subscribe to that:) about being a ****ty with no support HTC phone and ALSO would donate (beers or w/e) for your job (upon completion)

Cheers!
[One (M8s) General] voidzero:
Okayy, we're coming closer every day, because I'm working on it every day! When this is done it should be a Cyanogenmod masterpiece! And the M8s is actually a very good phone, hardware wise.

The reason why it's taking so long is, our phone is the only HTC phone with this kind of hardware. All the other ported HTCs are very similar so porting for those is pretty easy, most of it is just copy and check!

But with our phone, it just does a lot of stuff differently, so it's a lot to figure out. And the other CM HTC developers just don't have much experience with this phone, so, not much people who know how to help. Imagine that. At first I thought I'd be making a simple port. Turns out, I need to become Leonardo! I mean da Vinci and not the turtle, of course.

Right now it looks like we'll need a custom written lights.c file. That's the file which handles the notification LED and the screen's brightness.. The LED is not the most important thing, but it's part of the different sensors package, and we will need that to get a usable phone: gravity (rotation) sensor, proximity sensor, light sensor.... and GPS of course.

Camera also still on the todo list btw.

So anyway, the plan in my mind right now is: notification LED, then sensors and GPS and rewrite init, and then i will have an image for everyone to test. It will not be a fully functional image (camera!) but it'll be very usable otherwise. I won't make you wait until the camera also works (LOL) But I do need sensors to work first. I'm so busy working on this phone, that I can't take bug reports yet, so that's why.

Another thing - Some of you mentioned donations which is very nice, so I've given that a long thought. I'm very thankful to everyone who is offering, that goes without saying!! But I also just don't feel comfortable to receive donations until you can test the image. Sooo: I will add a donation link when the testing image is ready, then you can test and I can have those drinks! Just no alcohol for me, I prefer caffeine hahaha

Keep you posted!

-vz
[One (M8s) General] Alex-M8:
Hardware wise i think not, it uses a old SN615, for the price of 400$ where i live, it is simply not even close to being worth it.
[One (M8s) General] jd1001:
I got it for free on upgrade. I think CM will run nicely on this hardware. Especially for those of us behind voidzero and all the amazing work he is doing. I can not wait to have a CM rom!
[One (M8s) General] Alex-M8:
I bought the m8s for 450$, then 3 months later i switched to a nexus 6 instead lol
[One (M8s) General] Codeplayer:
Just a taught.. But maybe the sensors working different is related to the IR and barometric sensor not appearing to work with any application that could use and find them on M8? Even htc is not sure if these sensors are on M8s or not. The specs say there are these sensors, but htc support says that they are not sure. I really hope that this port gets at least one of these sensors to work.
[One (M8s) General] TIPhoenix:
It's funny when the manufacturer has no clue wtf is going on with their technical department.

It's kinda like a sour marriage life between support and technical.
[One (M8s) General] voidzero:
I'll reply to some comments first because they relate to the upcoming release of my port; then I'll give a current status update and then I'll have the news everyone is waiting for.... :laugh:

[MENTION=6800260]Alex-M8[/MENTION] I'll explain what I meant with regards to "how good the phone is" for one last time, just for the sake of brevity. Like always we don't have to share opinions and I do respect yours, so I don't want to digress into this too much, just some final words.

I don't exactly know a lot about the hardware out there, so I won't act like I know all about how this hardware compares to other hardware; with new SoCs coming out so frequently, and with all of the finicky differences, it's very hard to track.

All I'm saying is that we have a very capable phone with some very nice features. As I understand it, the One M8s is marketed as a mid-range phone, and while the cpu does report less bogomips per core when compared to the M8, it does have more cores in total while also being a wee bit cheaper and meanwhile does pack some nice benefits like the quadcore big.LITTLE CPU: 4 high performing CPU cores and 4 low-consuming conservative cores; the slightly better battery; and the 13MP camera. So while it's not a high end phone, I also disagree with those who call this phone a disappointment — you didn't say that, but some people do, and that's not doing the phone it's justice either. Whether it being worth the money, well, that's always debatable. Maybe this port can enlighten people's feeling on how well it performs too.

I was also curious on the IR sensor. I have tried to get it to work, but so far haven't, so I don't know if it's even in there. When the other work is finished I'll revisit this, because if there is such a sensor on this phone, we should be able to use it.

Regarding the pressure (barometric) sensor, I have tested an implementation of this sensor, and then I just put my phone into a plastic bag and inflated it, I guess that's how you can test the sensor. It didn't report changes so I don't think it's in there.

HTC support, I did email them quite some time ago but they never replied. Ideally I'd like the source code for the notification lights and the sensors so I'll email them again :laugh:

BUT -- status update -- I did find a notification led implementation that also got the display brightness toggle to function properly, and currently working on the ability to compile sensors. But until I get that working I'll just use the vendor supplied binaries.

Which brings me to the last point: the image!! :victory:

Here's the dealio: I'm ready to supply a preliminary testing image for those of you who are willing to test it out. We won't have a working camera yet. No recovery yet either, just keep using TWRP. And this is a new step for me, and a first attempt, so I can't promise anything yet performance wise. If that is acceptable to some of you, please let me know! Exciting!
[One (M8s) General] Alex-M8:
Yeah i was just saying in some countries the phone can be really overpriced when bought from a carrier
[One (M8s) General] hector2001:
Thé cpu which comes with the m8s is more than enough to run Android

More power means overheating issues like the M9

For me the m8s is a nice phone

to voidzero : yes i am interested in beta testing CM12

Thanks a lot for your work and efforts
[One (M8s) General] miborion:
Count me in for Beta as well.
[One (M8s) General] TIPhoenix:
Hey.

I am willing to test the ROM too. However, you might want to let us know of a way to get in contact with you which you prefer, as this thread would get cluttered from a lot of different posts that sometimes may not have any relevance to the port.

I don't mean to be a ****, but I've seen this many times on XDA. ? :') Great work man. Thanks.
[One (M8s) General] jd1001:
Very good point. I will also test the beta no problem and will ONLY report bugs that include a logcat! I feel like you are so close now [MENTION=732043]voidzero[/MENTION] thanks for keeping it going!
[One (M8s) General] voidzero:
Ok guys backup your stuff and everything, I'm baking the image!

[MENTION=5309659]TIPhoenix[/MENTION] My preferred way of communicating is via IRC, thanks for reminding me. Those of you who want to join me, please connect to irc.zeronode.net port 6697 (SSL) and join the channel #M8s. The reason I prefer this network, is because I run it myself. :)

This thread is ok too, and maybe I'll create a new one later. It's a matter of time; I'm also busy with IRL stuff in and around the house, crazy amount of stuff to do. So I'm trying to split up my time best I can. We'll see, it also depends a bit on how busy this thread will become.

Stay tuned, URL later today.
[One (M8s) General] Rlansdorp:
This is wonderful news! Can't wait to try it out!

Unfortunately I really need my camera, so wont be able to

test the bèta... ?
[One (M8s) General] voidzero:
[MENTION=6052895]root-expert[/MENTION] told me he found the HAL implementation for the camera, it might be based on the msm8960, so that's on the todo list :fingers-crossed:
[One (M8s) General] Alex-M8:
Will it work with exposed framework?
[One (M8s) General] root-expert:
The image will be up in a few hours. You can test it. However, xposed works with all CMs, so i don't find a reason why it won't work. ;)
[One (M8s) General] Alex-M8:
Oh ok, thanks
[One (M8s) General] wurstherpes:
Thanks...

Danke...
[One (M8s) General] eltasmanico:
I'm so excited and grateful :D
[One (M8s) General] fatihes:
Ach mein gott!!!

I've been waiting for this moment for a few months. I can't really wait to have Cyanogen on my M8S!

Good work, pal!
[One (M8s) General] voidzero:
Ladies and gentlemen

The first image is ready for testing! Please download at the following location and install using TWRP.

It is adviced to clean your System, User, and Cache partitions first! If you go to wipe, advanced, and then select the first three partitions, you'll be good, and this will make sure that you will keep your /data/media directory (also called "the internal sdcard")..

You will need to reinstall google apps and other stuff from scratch. I don't have the time to explain this in detail right now - just ask questions if you get stuck - you can download gapps from here: http://opengapps.org/

Choose arm64 and I recommend the nano package. You're free to use others, just be sure to use the arm64 platform for Android 5.1.

Cyanogenmod can be downloaded via: http://src.voidzero.net/

Time for you to test and let me know how it works!

(And yes, I use the same script for my files as El-Conkistador, LOL)
[One (M8s) General] voidzero:
You tell me! :D
[One (M8s) General] wurstherpes:
i try.

the first try works....

thanks...
[One (M8s) General] eltasmanico:
Could not install it, installation was aborted :(

Which recovery food you use?

The version I use is TWRP 2.8.6

Gesendet von meinem HTC One M8s
[One (M8s) General] voidzero:
Darn! I think we all use the same TWRP, did you get any other error? How did you try to install it? I only tried with adb sideload, you need a fairly new adb version, I'm using 1.0.32...
[One (M8s) General] voidzero:
Nice! I wonder why Gerätemodell (Device Model) says "unknown". That needs to be updated to One M8s.

*writes todolist*

First some sleep. It's late. Better to continue tomorrow with a fresh brain :D Feel free to pop by on IRC (again: irc.zeronode.net port 6697 SSL in #M8s channel)

Any questions you might have can also be posted here, I'll answer them when I can. :cowboy:
[One (M8s) General] wurstherpes:
Please remove write protection
[One (M8s) General] hector2001:
Successfully installed CM12.1 on HTC M8s.

I have an issue when activating the speaker : this mutes everything...

Also double tapping the screen does not wake the phone up. Have to press once the Power button.

Maybe this is related to user configuration (?) in CM12.1
[One (M8s) General] wurstherpes:
Xposed v74 sdk22 by romracer dont work it stucks on boot

The music Stopps after 30 seconds
[One (M8s) General] jd1001:
This is EPIC! I never thought I would see this day. Will report back my findings. Thank you.
[One (M8s) General] eltasmanico:
I tried to install it via recovery not via adb

The message that was shown said something like update binary wrong

Gesendet von meinem HTC One M8s
[One (M8s) General] wurstherpes:
Wipe data in TWRP
[One (M8s) General] eltasmanico:
Data was the only thing I didn't wipe :banghead:

Thanx for your answer :)

Gesendet von meinem HTC One M8s
[One (M8s) General] eltasmanico:
it worked now :)

unfortunatelly I downloaded the wrong gapps and so I have not been able to install them :D

I'll download the correct ones as soon as I am back home after work
[One (M8s) General] niko1995:
hello can you tell me what should I install on my htc m8s before installing the rom ?
[One (M8s) General] wurstherpes:
Nothing, root and wipe data system and dalvik cache and then install the rom
[One (M8s) General] niko1995:
and the recovery , ruu , Bootloader etc. and then if I wanted to go back to stock rom what should I do ? sorry but I do not know about htc modding because I come from a samsung ..
[One (M8s) General] jd1001:
How have you found the rom so far? Just about to install it
[One (M8s) General] niko1995:
how i can get the blootloader on htc m8s ?
[One (M8s) General] wurstherpes:
Unlock the Bootloader

http://www.htcdev.com/bootloader
[One (M8s) General] jd1001:
Search search search! I'm not trying to be bad but this is a rom thread not how to unlock bootloader and root. You need to figure that out yourself. Otherwise this thread will become cluttered a d the developer will not get good rom related feedback. Sorry to rant but this happens all the time on xda
[One (M8s) General] Kestrel81:
Issues I found, camera force closes before it even starts up.

I don't like the stock home (specifically the app drawer list), so tried to install apex launcher. This went fine, but the app drawer appears corrupted. The first screen doesn't display at all, sometimes displays everything half way down the screen and sometimes sliding to the next screen within apex displays apps, sometimes it doesn't. I realise that this is an app I added myself, but maybe there are some files within the Rom which are normally built in which are missing that would make apex compatible?

Despite these issues, I have to congratulate VoidZero for his astonishing achievement and I am truly amazed at what one man can achieve. Well done that man!
[One (M8s) General] Rlansdorp:
So I decided to install anyway... ;)

First of all, congrats and thanks for all your hard work! It was a breeze installing the rom, and it's pretty fast!

Small issues encountered until now:

- (ofcourse) the camera is not working, but we knew that

- Trebuchet was not very nice to me (some lag) , so I've replaced it with Google Now launcher, its working like a charm!

- No 4G (LTE) support. It will no go higher than H+, which still amounts to 3,5Mb/s, but I'm used to around 50.. (call me spoiled :))

Logcat here: radio.txt

- DoubleTap 2 Wake doesn't work, but that's a kernel issue I think, it has to support that. (My experience with a Nexus 5)

- that's all for now. All apps are running, and running well..

Again, many thanks to everyone who made this possible and keep up the good work!
[One (M8s) General] root-expert:
[MENTION=4844849]Rlansdorp[/MENTION] Thank you for reporting these issues.

Camera is in the todo list.

For 4g(LTE) i need a radio logcat.

adb logcat -b radio > radio.txt

I don't know if this bug exists maybe someone else can confirm it :D

Yeah double tap 2 wake (dt2w) we have to add it to the kernel. I'll add it today and provide a boot.img. Also I'll add double tap to sleep. If you want to add anything else (sweep to wake, sweep to sleep) leave a post below :D
[One (M8s) General] wurstherpes:
I have the same problem with LTE
[One (M8s) General] root-expert:
[MENTION=5296385]wurstherpes[/MENTION] Maybe you can provide a logcat. modify your post and add it. Thanks.-
[One (M8s) General] wurstherpes:
Yes at home, later.
[One (M8s) General] voidzero:
[MENTION=5296385]wurstherpes[/MENTION] I have tested xposed and it works for me when I installed the 64bit zip via adb sideload. It takes a while for some programs to be precompiled (dex2oat). And I check with "adb logcat" But maybe you know all of this, and the problem is different for you? In that case please show me the output of an adb logcat.

Secondly, write protection: I thought I disabled it.

[MENTION=528254]hector2001[/MENTION]: Sound issue confirmed, will add to the todo list. Double tap to wake: [MENTION=6052895]root-expert[/MENTION] is researching it, adding that to the todo list too.

I put a new build online just now, for good measure I double checked write protection has been disabled, and xposed (64bit) works, both are correct for me.

[MENTION=7006398]niko1995[/MENTION] Please wait for a stable build, and ask in the proper thread. I agree with the advice of [MENTION=4353936]jd1001[/MENTION] and am curious if you read my last messages at all?

[MENTION=5683614]Kestrel81[/MENTION] Read the backlog, I mentioned the camera issues time after time ;) I am also an Apex user but I don't have it on my phone yet, will check later, some other issues have my attention first.

[MENTION=4844849]Rlansdorp[/MENTION] thank you, adding 4G to the todo.

I am afk until tonight, real life stuff! Thanks everyone!
[One (M8s) General] wurstherpes:
We can i install xposed with ADB sideload?
[One (M8s) General] Rlansdorp:
I've added the logcat for the radio.txt to my post. dt2w and dt2s are enough for me. :D
[One (M8s) General] fatihes:
FYI, I couldn't download any application from Google Market. I'm able to connect to Market, but when I try to download any application, the process does not start.
[One (M8s) General] jd1001:
Over data or WiFi?
[One (M8s) General] fatihes:
Over WiFi. I didn't have much time to test over Mobile Data.
[One (M8s) General] jd1001:
I only ask cos I've seen that before over WiFi. Try one app over data and let us know.
[One (M8s) General] fatihes:
Okay, in a few hours I'll let you know about it.
[One (M8s) General] wurstherpes:
Switching to the phone speaker when talking is not working.
[One (M8s) General] voidzero:
[MENTION=5296385]wurstherpes[/MENTION] yeah try xposed with adb sideload. Adding speakerphone to the todolist.
[One (M8s) General] wurstherpes:
http://xdaforums.com/showthread.php?t=3034811

This Xposed worked for me. I installed in TWRP and worked. Thanks...
[One (M8s) General] eltasmanico:
Just installed the correct gapps and now it's fine.

One problem I noticed is that I have not been able to connect the phone to my car via Bluetooth
[One (M8s) General] jd1001:
Was just about to try that. Gimme give minutes and I'll see if it's the same for me.

---------- Post added at 08:33 PM ---------- Previous post was at 08:33 PM ----------

Yep works fine for me too. Anyone installing it be patient. It takes a long time to boot but it's good.
[One (M8s) General] wurstherpes:
AudioFX dont work. :(
[One (M8s) General] jd1001:
Just Checked. BT works perfect for me. Connected and set up as a trusted device. Played four minutes of audio and made a 30 second call.
[One (M8s) General] eltasmanico:
Okay, so i will have another try tomorrow

May I ask you what brand your car is?

In the past I often had the problem to connect my phone with a new rom to my car. It's a 2012 Mercedes B Class
[One (M8s) General] jd1001:
Hyundai, I've heard that before about certain cars too
[One (M8s) General] voidzero:
Audio is the first thing I'll work on. Unfortunately probably no earlier than friday, but it's definitely on my list. And I have some spare time tomorrow then I'll build another image for testing. I'll do my best.

In the past, when I was still trying to get audio to work at all, I've added all kinds of options. Later it turned out that the problem was somewhere else but I never took those other testing options out. So that'll be the first thing I'll try.

I'll keep you all posted, glad to hear xposed and gapps are working, bingo boom shakalaka