yashsingh1/xdaforums huggingface dataset:
[One (M9) Original Android Development] flar2:
Sweep2sleep: sweep your finger across the navigation buttons to turn off the screen. You can specify whether it works with a sweep left (from recents to back) or right (back to recents) or both directions.

I can't remember whether I added support for sweep2sleep on this device in the EX app yet or not. If so, you will find the setting on the gestures page. (I had to modify the sweep2sleep path from the standard because of touchcreen hardware variations on this device)

The backlight dimmer reduces brightness at all levels and allows it to go dimmer than stock. Most of the brightness reduction is at the dimmer levels, so you can still see the screen in the sun.
[One (M9) Original Android Development] ripv2:
I have Seeep2sleep working with the new beta kernel. Just activate it through the gestures section on the ElementalX app and you might need to reboot. After doing so, if you sweep the navigation bar Right to Left the screen should turn off and the phone should lock.
[One (M9) Original Android Development] Quadrider10:
So far so good. The only thing I notice is that the GPU is only running at 600mhz instead of what I set in aroma (630mhz) I've checked this with the ex kernel app and cpuz.
[One (M9) Original Android Development] flar2:
There is no difference. The EX app reads the frequency from /sys/class/kgsl/kgsl-3.0, which reports 600 on stock kernel or elementalx kernel. Some other apps read it from defreq, and it reports 630.

Personally, I think it's actually running at 600 on stock or elementalx. They just slapped a different label on it. Benchmarks are identical. I'm going to check it with Adreno profiler this week and see what it says.

tldr: don't worry about it, there is only one max frequency, and you are definitely using it regardless of what the label says.
[One (M9) Original Android Development] Quadrider10:
Sounds good! Looking forward to next release!
[One (M9) Original Android Development] 1337jay:
The backlight dimmer works wonders, awesome feature. But I still cannot use Sweep2sleep, tried re-enabling and rebooting with no luck.

PS: You added the the settings on the gestures page.
[One (M9) Original Android Development] Luigi_2:
pls add the sweep to wake feature, as i like to disable htc lockscreen to get a more stock android feel, but by doing that, it also disables the double tap to wake feature. Maybe a kernel solution will fix it?
[One (M9) Original Android Development] Jhonys:
I think HTC just released 2.10 kernel sources
[One (M9) Original Android Development] flar2:
You've got to be f**ing kidding me...

There better not be many changes.
[One (M9) Original Android Development] acat550:
Flar.... HTC just loves screwing around with you. I hope that its not much different! BTW, your current 2.8 kernel is exceptional. Been running for nearly a day now, and is money!! Thanks Flar
[One (M9) Original Android Development] brittoking:
I'm running the 2.3.1 version of viper rom on the newest firmware 2.10.401.1 on an s-offed Att model m9 and when I flashed the new 2.0 kernel it hung on the white HTC screen for over 10 minutes? I flashed it twice just to be sure but both times I couldn't get past the HTC screen. What am I missing? Any ideas guys?

Edit: currently running the 1.02 version kernel with the premium ex kernel app installed too. Thanks in advance for any suggestions!
[One (M9) Original Android Development] WreckTangle:
2.3.1 Viper version is based on older firmware. Flash latest viper rom, reflash kernel and you should be good to go.

Sent from my ViperOneM9

---------- Post added at 11:17 PM ---------- Previous post was at 11:15 PM ----------

Nice job on the new app. Any chance you can make it dark like EX app? Easier for the eyes :P

Edit: Nevermind. Just notice the feature is available in pro. Gonna buy now :D

Sent from my ViperOneM9
[One (M9) Original Android Development] brittoking:
Was worried someone was gonna say that lol! I have had a very "touchy" device to say the least in terms of flashing roms, I worked with the viper team for a long time months ago trying to figure it out but basically flashing a new rom always involves beginning from scratch! Oh well been meaning to update for awhile now, thanks for the help and sorry for the o/t rant
[One (M9) Original Android Development] Quadrider10:
[MENTION=4684315]flar2[/MENTION]

Would it be possible to add some if the info and stats that's in Devcheck to EX Kernel Manager?
[One (M9) Original Android Development] matust:
Disregard
[One (M9) Original Android Development] Johnny424:
Everything working great on my fully stock att m9. S2S working fine for me as well.

Hopefully the 2.10 source has no changes flar lol..
[One (M9) Original Android Development] donmarkoni:
Working great for the last 24 hours or so... Didn't expect less from you anyway. ;)

Now, please, pass the overclocked version... :D
[One (M9) Original Android Development] justinwong588:
Work great with this kernel <3

When I was using the stock kernel, I always experienced lag when I was playing Marvel Future Fight. The CPU frequency were (cpu0-3: 1555MHz cpu4-7: 344MHz) all the time

It was lag even I push the GPU to the limit

After using this kernel, the frequency of cpu4-7 finally know how to climb, and the game can now run smoothly (however, it might become really really hot)

I am looking forward to having undervoltage for extending the battery life, will it be possible for the M9?

Appreciate your works :)
[One (M9) Original Android Development] flar2:
Good news, the new source was easy to patch. There were lots of changes but they applied cleanly.

Bad news, I get lower benchmarks whenever trying to overclock. Will keep trying and maybe release a test version.

Undervolting is not desirable on these newer chipsets. The chip already tries to select the optimal voltage for each frequency and trying to override it is counterproductive.
[One (M9) Original Android Development] ripv2:
Looking forward to the possible beta 2.10 base kernel :) Good work man.
[One (M9) Original Android Development] donmarkoni:
You're not using fridge, are you? ;) I put my phone into the refrigerator, or if I have cans of cold beer I put it on back of phone. :D (hint: donmarkoni@hwbot)
[One (M9) Original Android Development] flar2:
Freezer, and I run it three times with a ten minute rest between each run. Pretty consistent results.
[One (M9) Original Android Development] Quadrider10:
just too much heat?
[One (M9) Original Android Development] flar2:
I do that with all my devices. For this test, I want to test the raw hardware without thermal throttling interfering. Every device will thermal throttle during benchmarks under normal circumstances, especially in summer.
[One (M9) Original Android Development] 1337jay:
Can anyone help me get Sweep2sleep to work? Enabled under gestures, reflashed the kernel, rebooted the device but still the same. I'm running ARHD 12.0 with the latest firmware 2.10.401.1.

Other than that its running great.
[One (M9) Original Android Development] flar2:
Can you look at /sys/sweep2sleep/sweep2sleep and tell me what it says?

Perhaps you have the different touchscreen hardware. The code should work on both, but maybe the coordinates are different or something. Could someone who knows they have the different hardware try it out and let me know, we may need to do some debugging.

(You will know you have the different hardware if one of the earlier versions of this kernel failed to boot on your device)
[One (M9) Original Android Development] 1337jay:
It says 3, nothing else.
[One (M9) Original Android Development] flar2:
That means it should be enabled for both directions.

The only thing I can think of is you have the different touchscreen hardware and the x and y coordinates are different. Try swiping in different places on the screen (higher up, and go all the way from edge to edge)
[One (M9) Original Android Development] flar2:
Also guys, please try out this new free app I'm working on:

DevCheck

Let me know how it goes in this thread:

http://xdaforums.com/android/apps-games/app-devcheck-1-4-beta-information-t3171427
[One (M9) Original Android Development] Quadrider10:
i love the app, but wish some of its info would be incorporated into Ex Kernel App.
[One (M9) Original Android Development] flar2:
Like what specifically ?
[One (M9) Original Android Development] Quadrider10:
CPU cluster temps

Hardware tabs

Network Tabs
[One (M9) Original Android Development] flar2:
I'm planning to revamp the Dashboard in EXKM, so I can add more temperatures, but I can't add all that other stuff. It will make the app too heavy and add a whole bunch of permissions. For example, for the GPU information, I have to create an OpenGL surface, and I have to query a database for SOC information. For the network stuff, I have to get references to wifi, network and telephony, which requires a whole bunch of extra permissions that a kernel app shouldn't be asking for.
[One (M9) Original Android Development] Quadrider10:
ok gotcha... Sounds good!
[One (M9) Original Android Development] 1337jay:
I have tried swiping across the whole screen, like literally (edge to edge)..with no success. Is there anything else I can do to help you..a log or any information at all?
[One (M9) Original Android Development] flar2:
I will have to add debug information to the kernel logs to see what's going on. Wait for next version.
[One (M9) Original Android Development] Quadrider10:
did u wipe cache and delvik after flashing?
[One (M9) Original Android Development] 1337jay:
Okay, no worries. Patiently waiting for your next release :)

EDIT: What is the default max freq of Clustrer 2 on your kernel?

I have tried now, it didn't work. Gonna wait for next version and hopefully we'll be able to narrow it down.
[One (M9) Original Android Development] Quadrider10:
I'm noticing that my phone is getting a bit more toasty and throttling the GPU quicker in normal use on the latest beta compared to stock.... I chose balanced option in aroma.about 40mims of screen on time just browsing and lost 20%.
[One (M9) Original Android Development] Mostafa Wael:
Hi,

Well unfortunately i am not rooted, which means i am not an elementalx kernel user yet, but came here curiously to ask some questions regarding the CPU governor.

1- why does interactive keeps the 8 cores on ? I mean, in other Snapdragon devices like the S801 Xperia Z2, the interactive CPU governor has some hotpligging and it does shut down cores judging from what i can see in CPU-Z app, whereas the M9 keeps all the 8 cores on regardless what is the thing you are doing. The A57 cluster is idling at 633 MHz. Can't we introduce a policy that shuts them down when unneeded ?

2- Can we control the A57 cluster ? In other words, can we use 2 or 3 cores or even a single A57 core for example, if that is going to help with the what-so-called overheating ?

3- Is it possible to shut down the A53 cluster and use only the A57 cluster ?

Thank you

and hopefully i will root the phone and install your kernel soon :) looks promising though, and i see there is a hell of fame ansd hype here. Keep up the great Job! :good:

Thank You!
[One (M9) Original Android Development] frankcck:
Also curious about Q1, still don't understand how this cpu work exactly.

For Q3, the answer is yes but not recommend. You can use init.d to disable A53 cluster, but it might cause more heat and less stable.
[One (M9) Original Android Development] Mostafa Wael:
Forgot to mention that i want such mechanism of Q3 only while gaming ;)
[One (M9) Original Android Development] frankcck:
TBH, no needs for that kind of mechanism.

A57 will function while heavy loading such as gaming.

hTc One M9 LET THEM STARE
[One (M9) Original Android Development] Mostafa Wael:
Okay :D
[One (M9) Original Android Development] :
I hope this kernel can help improve the battery of this eventually. It's terrible. For me it's so bad I'm considering getting another phone, but I don't want an S6 because I want memory card support and I find finger print scanners and heart rate monitors gimmicky. I like the audio quality of this thing a lot! The camera is too lacklustre for the price though.
[One (M9) Original Android Development] flar2:
I think you can still install thethe kernel without root, although I haven't worked on it yet, so probably not with flashing at the moment.

1: the governor only controls the frequency scaling. Onlining/off lining cores is hotplugging, which was handled by mpdecision on previous Qualcomm devices. I could make a hotplugging driver for this, and I might. But right now it's handled by pnpmgr and the thermal driver.

2: yes, but pnpmgr will change it every time you turn off the screen. In not sure yet what the effects of disabling pnpmgr are. It changes the max frequency of a57 cluster frequently.

3: no. Actually you can, but at some point it will crash because some process has affinity with cpu0.
[One (M9) Original Android Development] flar2:
I think it can be improved.
[One (M9) Original Android Development] Mostafa Wael:
Thank you for your technical answer :good:

hope to have a touch of your kernel on my M9 soon. You know, i chose to have warranty because it is the first time for me to buy the phone once it is released in my region, and because some of the M9 users reported some problems like G-sensor ones and dead pixels, etc

so it is better safe than sorry ;)

thanks!
[One (M9) Original Android Development] ds980x:
Everything works with ElementalX 0.1 apart from connecting to Wireless AC/5Ghz, connects but dosnt allow incoming data, Wireless N/2.4Ghz works fine though. Im using this on my 1.32.401.17 M9 WiperOne 1.4.0 to change the horrible warm/green colour temps and works a treat. I have one question though, Which CPU Governor should I be using for better battery, ElementalX or Interactive which is stock I presume?

Overall not disappointed with the M9 over my M8 but not as good as I hoped for either and for HTC to downclock us to 1.5Ghz from 2Ghz is a shame, hopefully that will be unlocked soon.. Antutu scores using 1.32.401.13 were @ 58k as soon as my device arrived and then afterthe first benchmark I updated to the downclocked 1.32.401.15 I got a measly 47k which is slightly lower than my overclocked M8! Meh early days lol keep up the good work flar2
[One (M9) Original Android Development] Simer03:
Ahhh flar...you're here too! Sweet! Downloading now!
[One (M9) Original Android Development] kaosb0x:
Loving the battery life.. :P

The battery life on viper rom, and ElementalX kernel = elite...I have sprint m9 and running viper rom....this kernel has increased my battery life and significantly...props to ya flar, if yall ever need a sprint tester give me a shout :) btw...Will there ever be a "powerhouse" edition? keep up the good work yall :D
[One (M9) Original Android Development] DeadPotato:
Can you share more information about your battery life? I'm happy with LeeDroid kernel but I think it can still go further in such terms, wondering if this would work with LeeDroid ROM
[One (M9) Original Android Development] creepinm3:
Leedroid is the better out of the two to be honest. I have no issues with LeeDroid and battery life suits me. I just want to be able to UV and such.
[One (M9) Original Android Development] kaosb0x:
atm im running elemental without a "tune" and the battery life is great, however leedroid the battery life isnt as good but it is a powerhouse kernel (at least the most powerhouse one out atm) but as our m9 has awful battery/heat problems, elemental runs cooler also I have noticed...hope that helps pm me if ya want details :)
[One (M9) Original Android Development] flar2:
Leedroid's kernel is pretty close to stock with color control added. HTC phones have a lot of stuff going on in user space, like pnpmgr, and he may have tweaked some other settings.

So far, I've barely touched my m9. I just tossed in the ElementalX governor from the Nexus 6, which is a very different device (four cores, max freq 2.7GHz), pretty much as-is. The ex gov is a lot less aggressive than stock, and you should see better battery life and and much cooler temps. Once I tune it, we'll still have that, plus ultra smooth performance. I also have a bunch of features planned.

But lately I've had to spend 95% of my development time on my new kernel control app, which will finally reach beta status in the next day or so.
[One (M9) Original Android Development] Strangeland16:
Thanks love the kernel and will await your future updates :)
[One (M9) Original Android Development] Cryosx:
Can't wait :o
[One (M9) Original Android Development] xda23:
Can I use this kernel on the T-Mobile HTC one m9? Thanks In advance!!!
[One (M9) Original Android Development] CWick4141:
Search is your friend.. It's already been answered

Posted from my T-Mobile M9 running elementalx lol
[One (M9) Original Android Development] 1337jay:
Everything seems to be ok here, choose Balanced aswell. Can you do me a favor and check your MAX Cluster 2 freq in EX App under CPU Settings? Thanks!
[One (M9) Original Android Development] flar2:
Balanced will run a little hotter than stock. It will use your A57 cores more often.
[One (M9) Original Android Development] Quadrider10:
Gotcha. That's what I was noticing. On stock kernel, they hardly ever got used.

What does the cooler option do? Does it change the thermal throttling at all?
[One (M9) Original Android Development] flar2:
I think it's the same as stock
[One (M9) Original Android Development] Quadrider10:
OK what about performance mode? Like are these settings changing the thermal thresholds or how the 2nd cluster is used?
[One (M9) Original Android Development] flar2:
They just change how much the second cluster is used, from 0=completely controlled by pnpmgr (stock) to 100=completely controlled by kernel scheduler without interference from pnpmgr.
[One (M9) Original Android Development] Quadrider10:
OK gotcha! Thanks!
[One (M9) Original Android Development] iElvis:
Got it, got pro version. Looks good.
[One (M9) Original Android Development] flar2:
Update!!!

Patched up the source to official 2.10

Also added some debugging info for sweep2sleep, as it may not be working on devices with the alternate touchscreen hardware. If sweep2sleep does not work, touch around each corner of the screen and send me the output of dmesg.

Also pushing this one to the app. Only install it on 2.8 or 2.10 base.

Download:

ElementalX-m9-3.00

Changes:

-update with HTC 2.10 source

-sweep2sleep debug
[One (M9) Original Android Development] repl1ca:
Looks like I had good timing tonight. I'm going to flash on top of last update + LeeDroid. I'll let you know how it goes

Edit: booted up just fine. So far, so good :good:

Sent from my Nexus 7
[One (M9) Original Android Development] 1337jay:
Flashed right away, here is the dmesg as sweep2sleep does not work on my device..let me know if you need more logs or anything else.

Thanks for the update!
[One (M9) Original Android Development] flar2:
Can you type this in adb or a terminal and post the output:

cat /sys/class/input/input*/name
[One (M9) Original Android Development] 1337jay:
Sure, see attachment.
[One (M9) Original Android Development] flar2:
Perfect. Check back in ten minutes or so.
[One (M9) Original Android Development] Quadrider10:
just updated! :D
[One (M9) Original Android Development] Johnny424:
Thanks flar!
[One (M9) Original Android Development] flar2:
[MENTION=5912374]1337jay[/MENTION]

try this:

ElementalX-m9-3.01
[One (M9) Original Android Development] sdamark:
Up and running fine on Verizon's 2.6XX firmware. Thanks [MENTION=4684315]flar2[/MENTION]
[One (M9) Original Android Development] iElvis:
3.0 seems to work fine. s2s working on mine.
[One (M9) Original Android Development] 1337jay:
It's working, awesome! If you could reduce the height so it only works over the nav buttons it would be perfect as now it tends to put the phone to sleep even when swiping over the dock (menu button, phone, messages..) and a little higher.
[One (M9) Original Android Development] Johnny424:
I must have one of the lucky displays because my S2S is flawless. Perfect height right on the navbar.
[One (M9) Original Android Development] Ferrum Master:
I am in.

So very glad they got rid of needing flashing the kernel via fastboot.

So far good, the second cluster has to be 1536Mhz by default yes?

Undervolting not yet possible? And... HTC has a official derp with charging in this build... Is it fixed?

The app is buggy... in color profiles hitting refresh rests the blue setting for me.
[One (M9) Original Android Development] il Duce:
[MENTION=4684315]flar2[/MENTION] I don't seem to have the color control app. Is version 3 not yet compatible?
[One (M9) Original Android Development] feenty:
Just a quick question:

I want to flash the new kernel, but dont have time to make a full backup of my current rom. Is it enough to make a backup from boot partition?

Or system+boot?

... From Tapatalk by M9
[One (M9) Original Android Development] Jhonys:
Great job [MENTION=4684315]flar2[/MENTION]! A question i have though:

Should I let the kernel "settle down" for a few days like I would do with a new rom? Asking because I've noticed a noticeable battery drain since switching from stock kernel (from ~4%/hour to ~6.5%/hour). Maybe it's because now the big cores are working more frequent? Or just a matter of a few days until all is normal again?

Thanks again.
[One (M9) Original Android Development] flar2:
Second cluster reads as 1536, but actually goes up to 1958. Check with this: https://play.google.com/store/apps/details?id=flar2.cputime

Undervolting: I've addressed this several times, I don't think it's a good idea and won't implement it.

Yes, there is something wrong with color control. Will be fixed in a few minutes

In EX Kernel Manager? It should be there, but on the 3.00 release it's not working correctly.

HTC uses modules, so you need to back up system as well.
[One (M9) Original Android Development] 1337jay:
[MENTION=4684315]flar2[/MENTION], could you also try to fix this?

http://xdaforums.com/showthread.php?p=62188651
[One (M9) Original Android Development] flar2:
Update!!!

Another update.

Download:

ElementalX-m9-3.02

Changes:

-fix color control

-sweep2sleep fix for max1187 touchscreen variation
[One (M9) Original Android Development] flar2:
How far above the buttons is it?
[One (M9) Original Android Development] 1337jay:
A lot actually, over the dock..it even works in the middle of the smart folders (between the two rows).
[One (M9) Original Android Development] jollywhitefoot:
I don't find that it's too high on my device. It doesn't sleep when sweeping across the docked icon row. You have to at least sweep in between the navigation row and docked icons. I do not have the "alternate" display.
[One (M9) Original Android Development] flar2:
He has a completely different touchscreen than us. There are hardware variations.
[One (M9) Original Android Development] Ferrum Master:
Thanks. Colour settings are fixed.

GPU settings also shows 600Mhz despite being set 630Mhz?

Also for me the lock is too high 4cm area from the bottom. I don't use it anyway, would be great to have this disabling option in aroma too.

How to check your Touch Hardware version?
[One (M9) Original Android Development] flar2:
The EX app reads GPU from a different spot. There is some contradiction in the actual top GPU speed, if you read it from the adreno driver it says 600, and if you read it from devfreq it says 630.

Check your touchscreen by typing cat /sys/class/input/input*/name

If it says syanaptics, you have the synaptics touchscreen that most people have.

If it says max1187, you have the other touchscreen.
[One (M9) Original Android Development] jollywhitefoot:
600 has been covered. Just flip back a page or two.

To disable s2s can you just deselect both options in aroma?
[One (M9) Original Android Development] 1337jay:
Same here with the 600Mhz.

You can disable it in Aroma, uncheck Swipe Left/Right or open the EX App and disable Sweep2sleep under Gestures.

As for the touchscreen, do this http://xdaforums.com/showthread.php?p=62188229. Could you share the output aswell? Thanks!
[One (M9) Original Android Development] Ferrum Master:
max1187x_touchscreen_0

Shaite I am screwed... those HTC replacement parts... always messing around... :D