yashsingh1/xdaforums huggingface dataset:
[One (M8) Original Android Development] andreasyeah:
I am having a problem with setting the max screen off using an init.d script. I have:

#!/system/bin/sh

echo 710 725 725 725 735 745 755 775 785 820 835 865 920 980 > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table
echo 960000 > /sys/devices/system/cpu/cpu0/cpufreq/screen_off_max_freq

If I execute the screen from the terminal it works perfectly. However on startup only the voltages are being applied.

The screen off is set to 2265000 instead of 960000.

Any help? Thanks

EDIT: I dd the boot.img and unpacked it using the Android Image Kitchen. I thought if I add the two lines in the init.qcom.post_boot.sh it will work but after repacking, the boot.img is much smaller. Is this safe to dd back to the device?
[One (M8) Original Android Development] aber82:
Screen turns on accidently often

Hi,

I am using this kernel since i got the m8 (and over a year on m7).

ElementalX is a real masterpiece, but with the m8 i have a strange behavior :

Nearly every time i Put the Device Into my pocket, the screen turns on only by Holding one Finger on the screen (four Fingers on the back).

It seems the Device is recognizing a doubletap by just Holding the Finger on the screen.

I tryed all Installation variants, with and without gestures an many diffrent settings.

With some settings the screen never turns on, only the Vibration comes.

I can't find my mistake.

I am using Viperone 2.1 with ElementalX 1.02

Also i miss the Option to just use dt2w on the Buttom half of the screen, any Chance to get this Feature build in? (like dt2w on m7)

But anyway thanks for this great kernel.
[One (M8) Original Android Development] shivasrage:
Hi [MENTION=4684315]flar2[/MENTION]

Also purchased your app today...really great work..thank´s and keep it up.:good:

greets
[One (M8) Original Android Development] flar2:
For a small number of users, pocket detection does not work. In this case please use the stock gestures (ie don't choose the "no motion requirement" or "traditional" options.)

Max screen off freq is also set in /etc/elementalx.conf. Change it there instead. It's overwriting your other script.

Thanks for reporting. I reproduced the bug and it is an easy fix.
[One (M8) Original Android Development] DANIELWHITT:
Glad to help
[One (M8) Original Android Development] andreasyeah:
There is only a MAXSCREENOFF=1 and the only options are 0 and 1. I've changed the Max screen off frequency using the elemental app and pressed the blue arrow but I cannot see any difference in the elementalx.conf file

Thank for your fast reply!

..and the kernel! :P

EDIT: I am using 1.02
[One (M8) Original Android Development] bootneckrhino:
Sorry, only just seen this. I only use stock values although I plan on tinkering with different values over this week.
[One (M8) Original Android Development] aber82:
thanks for the answer, but my problem is NOT that the screen comes on IN the pocket.

the screen turns on when i hold the phone e.g. to put it in the pocket or just put it on the table with one finger on the screen.

i just tryed to install elementalx with stock motion launch gestures, but then it wount screen on anymore on doubletap . only vibration , screen stays off.

to get dt2w working i have to install custom wake gestures or traditional dt2w but then i got these sudden screen-ons by holding finger on the screen.

wake gestures on or off makes no differences.

i think i tryed all settings in viperone also.

this drives me mad .

there must be a mistake on my side , but what?or could it be a different hardware?

i read the op many times.
[One (M8) Original Android Development] flar2:
Let me check into that, I forgot exactly how I implemented the screen off thing.

There must be something interfering with the settings
[One (M8) Original Android Development] iggdawg:
[MENTION=4684315]flar2[/MENTION] I'm having issues with mobile data going dead when I drive around. Looking to rule out the kernel... AFAIK your kernel uses all stock radio right?
[One (M8) Original Android Development] MassStash:
Any latest on opening app compatibility to m8whl? Hehe [emoji3]

---------- Post added at 10:04 PM ---------- Previous post was at 10:04 PM ----------

Yea most likely kernel has nothing to do with that all man...
[One (M8) Original Android Development] PwnCakes193:
Sadly it could be, same thing happened today. Stock GPE no xposed or anything. Just stayed on orange the entire time. I was driving and trying to listen to music and the only way to fix was through airplane mode.
[One (M8) Original Android Development] andreasyeah:
Check this pic. I don't know if this helps but that's a log from SuperSU. There are some errors that maybe have to do with the max screen off frequency

Thank you
[One (M8) Original Android Development] iggdawg:
I kind of don't think so either, but I'm feeling out all the things I've changed

I don't think sense roms get the orange data icon like AOSP/GPE do, but that's essentially the behavior I've been getting. Out of curiosity, what firmware version are you on?
[One (M8) Original Android Development] Gerton:
When u use Stock motion, the phone have to move a little before it will work. When u put phone on the table laying still it won't react on double tap or swipe up. When u move the phone a little, the double tap and swipe gestures work.

When u choose to remove the requirement of motion in the aroma installation it will react always also when phone is upside down etc.
[One (M8) Original Android Development] smeejaytee:
Hi I have a question if this kernel has frandom went is there no frandom.ko file in the modules just curious
[One (M8) Original Android Development] PwnCakes193:
Flar took a different way of approaching frandom. Instead of having the module be started by an init.d script, he included it into the actual kernel.
[One (M8) Original Android Development] smeejaytee:
Cool I just wondered because I didn't have the module I didn't realise you could directly implement it in the kernel
[One (M8) Original Android Development] MassStash:
https://github.com/flar2/m8-Sense-4.4.3/commit/aec90e875499f793b9dfe09c3f9881a7f6ca2802
[One (M8) Original Android Development] PwnCakes193:
Yup, he baked it in right to the kernel.
[One (M8) Original Android Development] smeejaytee:
That's clever I'm am very impressed with this kernel I came over form the one x and custom kernels had issues I haven't seen any on this its very stable and everything seems to work as it should no complaints
[One (M8) Original Android Development] DeeZZ_NuuZZ:
Yea hox had always some issues because of the bad Tegra 3 ...if we would have there snapdragon or Tegra 4 it would be a different case on it ;)

But yea this kernel here is really awesome I love it!
[One (M8) Original Android Development] smeejaytee:
It's a shame about hox it had so much power but a lot of things conflicted or just wouldn't work with it I think it was help back from its true potential
[One (M8) Original Android Development] Dcox28:
I didn't read the entire thread but I did read OP and it says not for Verizon? I used this before on DH's GPE rom for Verizon and he has an older version baked in aroma. Can I not use the newest GPE version on Verizon?
[One (M8) Original Android Development] flar2:
Update!!!!

Updated with latest HTC Android 4.4.3 source code. And a couple small tweaks that may improve battery a bit. I changed the start frequency of the GPU from 320MHz to 200MHz.

Changes:

--update latest HTC source code

--various optimizations

Download:

http://elementalx.org/devices/htc-one-m8#downloads
[One (M8) Original Android Development] chrisrj28:
It's the latest still 1.0.2 for the sense version?
[One (M8) Original Android Development] jlevy73:
1.0.3 is available through the app...
[One (M8) Original Android Development] chrisrj28:
Thanks. Do you have a link to the beta community for the app? I can't find it with the tapatalk app

---------- Post added at 04:04 AM ---------- Previous post was at 04:01 AM ----------

Nevermind I found it.
[One (M8) Original Android Development] -juanito-:
Is there download link for 1.0.3 ?
[One (M8) Original Android Development] chrisrj28:
Look a few posts above yours
[One (M8) Original Android Development] Forsaked:
The Link includes only the 1.02-Kernel, take this Link to get to the 1.03-Sense Kernel:

https://www.androidfilehost.com/?fid=23622183712462632
[One (M8) Original Android Development] smeejaytee:
Could someone tell me what the best scheduler is I'm torn between row and fiops thanks
[One (M8) Original Android Development] SoLdieR9312:
[MENTION=4684315]flar2[/MENTION], since the latest Kernel App Update i'm not able to set Max CPU and Min CPU frequencies, i only can activate the blue arrow and deactivate it. Max Screen Off frequency is working to set up.
[One (M8) Original Android Development] enel_:
Just flashed 1.03, my first custom kernel on my M8 ?

Let the magic begin. I just joined the g+ community so I can download the app.

Thank you flar2 for your awesome work!
[One (M8) Original Android Development] 2dogs16:
[MENTION=2112249]flair[/MENTION] was zram included?
[One (M8) Original Android Development] smeejaytee:
Flashed and seems all good and battery seems to be dropping slower thank you for your hard work
[One (M8) Original Android Development] DeeZZ_NuuZZ:
No he didn't ...he already said that...also we don't need zram on this phone...for example on hox it was good but here we don't need it
[One (M8) Original Android Development] flar2:
Hit refresh, the link has been there all along.

I disabled those for now, as you should not be setting frequencies that way on this kernel.

I completely forgot about it, but at the same time, it would be detrimental to performance unless you have some very specific application that requires it.
[One (M8) Original Android Development] 2dogs16:
[MENTION=2112249]flair[/MENTION] yes I have an app that uses swap.

---------- Post added at 07:21 AM ---------- Previous post was at 07:20 AM ----------

And if zram is enable I can use it
[One (M8) Original Android Development] flar2:
Yes, but what I'm saying is it will cause battery drain and decreased performance and you don't need it unless you are using an application with extreme memory requirements. The physical ram on this device is sufficient for 99.99% of people. Zram is a relic from the days when devices had less than 1GB of ram.
[One (M8) Original Android Development] SoLdieR9312:
Oh.. but i really want it back, i want to set my min and max cpu settings without changing the the config file manually..

i really liked that feature, that was the reason why i bought the app instead of Trickster.
[One (M8) Original Android Development] flar2:
It will be back, but I want to implement it differently. The way it was, the frequencies would not stick for all cores.
[One (M8) Original Android Development] SoLdieR9312:
Okay, thats okay then =) Thank You!
[One (M8) Original Android Development] HD2Owner:
awesome. thank you very much. your work is highly appreciated. :highfive:
[One (M8) Original Android Development] flar2:
[MENTION=4495323]andreasyeah[/MENTION]

if figured out why the maxscreenoff wasn't being applied in the app (typo in the file path), it will be fixed in the next update.
[One (M8) Original Android Development] benji82:
as a fellow canadian, i appreciate the fact that i didn't have to switch from F to C right off the bat :good:

keep up the good work bro
[One (M8) Original Android Development] suppliesidejesus:
I'm not sure what T-Mobile and HTC did, but I no longer have any WIFI issues with your kernel and the 4.4.3 OTA. Very much enjoying this kernel again.
[One (M8) Original Android Development] andreasyeah:
Thank you sir! :good:
[One (M8) Original Android Development] flar2:
Well, most of the world uses Celsius. Ironically, I use Fahrenheit because I grew up near Detroit (but on the Canadian side).
[One (M8) Original Android Development] flar2:
Thanks for the update, glad it's working now
[One (M8) Original Android Development] -juanito-:
Battery life seems to be better while the device is idle in 1.0.3
[One (M8) Original Android Development] my_android:
Can you give me link of v1.0.3?
[One (M8) Original Android Development] ckpv5:
Don't read only last post, read last two pages ... you'll see link
[One (M8) Original Android Development] tbwshaun:
How do I download app?
[One (M8) Original Android Development] lukes91:
You have to join Google+ community first...

Read instructions here http://elementalx.org/elementalx-kernel-app-now-in-beta-for-htc-one-m8/
[One (M8) Original Android Development] topjohnwu:
Yes, there are two kinds of m8, one called m8 and another called m8x. The one with higher cpu clocks is the m8x. But everything seems to be compatible, no matter kernel or rom.
[One (M8) Original Android Development] flar2:
UPDATE!

Updated to latest HTC source, using custom built dt.img, added faux sound support and option to reduce button vibration.

More to come, I just like to test a few things at a time.

And yes, GPE version is coming, I just have a very long todo list. Maybe late tonight after I get back from baseball practice.

Download:

ElementalX-m8-0.6-Sense *BETA*

Changes:

-update to HTC 1.54 kernel source

-add option for reduced button vibration

-add faux123 sound support

-use custom dt.img
[One (M8) Original Android Development] rbouza1:
no gpe ?

edit : sorry, go have fun at ball practice :)
[One (M8) Original Android Development] wera750:
I wish there was a way to make the default auto brightness values dimmer. They seem to bright IMHO.
[One (M8) Original Android Development] xReaper7x:
Just installed 0.6 :) Was wondering do you have an app to customize the kernel with?
[One (M8) Original Android Development] Freak07:
Sorry for the accidental thanks :D

That's part of the rom you're on.
[One (M8) Original Android Development] Prod1702:
trickster works for everything but cpu speeds it seems whatever I set it to it won't stick. I just turn on power saver for cpu speed.
[One (M8) Original Android Development] wera750:
His nexus 5 kernel had an option like that
[One (M8) Original Android Development] mwilky:
Awesome! Was waiting for latest source before flashing a custom kernel!
[One (M8) Original Android Development] ryanjsoo:
Under auto brightness reduce the slider to minimum, it scales down the auto setting but limits the max brightness (good for batterylife though), if it`s still too bright you can give lux or lumos a go, they`re on the play store.
[One (M8) Original Android Development] waz675:
Interesting, never knew of m8 and m8x. I hadn't done much research as I was hoping to hold off until later in the year for a flagship but my G2 decided to sh!t itself with the efs partition. Restored to stock and a lot of stuffing about that fixed the 1st time the g2 died didn't help. Bye bye LG..

Back to HTC since one x made me loathe HTC. S-off and needing a phone decided for me he he. Anyways I digress, my Vodafone AU is also a 2.5 clocked phone, it's 2.45ghz with the default kernel from here, not that 2.45ghz 801 Qualcomm is a slouch LOL

Hopefully gives some extra battery life between charges as I am using an android device most days 15+ hrs as they are also my GPS on my motorbike hahaha.

Nice kernel from my quick look, will see more when wife gets home from work and can watch our 2 kids.

As pointed out in faux kernel, nice to see HTC releasing kernel source faster than the HOX days ha

http://www.androidpolice.com/2014/0...models-now-have-kernel-source-code-available/
[One (M8) Original Android Development] flar2:
UPDATE!

GPE version, same features as Sense version.

Download:

ElementalX-m8-0.6-GPE *BETA*

Changes:

-add option for reduced button vibration

-add faux123 sound support

-use custom dt.img

-add max screen off frequency (default 1090MHz)

-fix overclocking and adjust voltages

-add more overclocking steps

-add thermal options
[One (M8) Original Android Development] waz675:
As faux mentionioned about the source release, it isn't exactly great. WiFi not there and stuff. Was excited seeing "quick HTC source release" lol... Groan
[One (M8) Original Android Development] flar2:
They don't make it easy, but the phone's only been out two weeks and we've got everything working perfectly.
[One (M8) Original Android Development] AndroidInsanity:
Sorry guys... Even though I have being a XDA member for a good 3 years now I am still a kernel noob. If I wanted to install this ROM what would I need to set the CPU and voltage to maintain brilliant battery life and better performance slightly? Feedback appreciated.
[One (M8) Original Android Development] starbase64:
what is it?
[One (M8) Original Android Development] kernelhackx:
[MENTION=4684315]flar2[/MENTION] are you using zImage or zImage-dtb. Just asking. :D
[One (M8) Original Android Development] waz675:
Just seeing what people are getting for their typical usage. I know it's very dependant on use and apps installed/used but just a little curious. Couldn't see anything in the search I did.

If flar or people don't want that, just a quick statement (or pm)will get me deleting this:)

I guess that coming from my G2 is giving me (at present, first day of a new ROM and kernel if course) about half, maybe even less screen on time compared to the G2 and I'm hardly doing CPU intensive stuff, naturally will use betterbatterystats, gsam pro, wake lock detector etc after a day or two letting everything settle.

Not whining of course, I know disclaimer of" early days" so far. Ha ha. ;p
[One (M8) Original Android Development] masucu:
Hey there and thanks for your work made my life a lot easyer as I have a Verizon phone and im using it in Europe, and man do I NOT like their roms. Now I followed this and EVERYTHING works: http://xdaforums.com/showthread.php?t=2710720 - with 0.4 - flashed 0.5 and wifi is working so it seems only the 0.6 is the one with no WFI

but with your latest release it does not have wifi anymore, now I thought you might want to know since a lot of people are using it.

Anyway thanks a lot again and I'll be watching here for news.
[One (M8) Original Android Development] Snah001:
A humble request: Is it possible to add the possibilities in Aroma to choose different UV steps? Like -10mV, -20mV, -30mV, -40mV, -50mV? I have a pvs bin of 15 and want to see how far I can go down without getting into trouble. Want to try to lower the batt consumption to a minimum without using battery saving options in the Rom. Thanks in advance!!
[One (M8) Original Android Development] my_android:
Thanks mate for helping

sorry I'm very busy and don't have time to read all of posts :silly:
[One (M8) Original Android Development] tbwshaun:
Just installed. Just a question what Rom you running?
[One (M8) Original Android Development] lukes91:
ViperOneM8 2.2.0, if you were referring to me :)
[One (M8) Original Android Development] tbwshaun:
Nice same here been switching about from viper to arhd but viper seems to be the one for me. Any cool mods you got

---------- Post added at 07:25 PM ---------- Previous post was at 07:15 PM ----------

What are the arrows for on the app
[One (M8) Original Android Development] rikusuicide:
Love this Kernel!!!
[One (M8) Original Android Development] Vandam500:
Battery life with this a lot better than with the stock kernel from Viper?
[One (M8) Original Android Development] lukes91:
Don't know for sure, i always used this kernel...
[One (M8) Original Android Development] flar2:
The arrows are to apply the setting on boot.
[One (M8) Original Android Development] elsworth1983:
I heard that's the best side to be :D
[One (M8) Original Android Development] c5satellite2:
Tmo 4.4.3 kernel source is up on htcdev:)
[One (M8) Original Android Development] DeeZZ_NuuZZ:
he already posted 1.0.3 which is based on 4.4.3 source..a bit late right? :D
[One (M8) Original Android Development] MassStash:
Hmmmmmmmmm
[One (M8) Original Android Development] MassStash:
Think its just a tmo ruu
[One (M8) Original Android Development] DeeZZ_NuuZZ:
Oh yea see now on htcdev that it is a ruu lol...but kernel source is from dev edition :p
[One (M8) Original Android Development] flar2:
Whoops, i should try to prevent this. Is there something in build.prop that identifies Sprint phones?
[One (M8) Original Android Development] Superm@π:
Does this play well with cleanrom? What would you do for optimal battery (without sacrificing function). My wife keeps complaining about her battery. I just installed greenify and some tasker profiles for signal but I want to squeeze even more juice out of it. Thanks in advance!
[One (M8) Original Android Development] Psych0t1c20:
Anyone know how to fix this rilj wakelock?
[One (M8) Original Android Development] c5satellite2:
Sorry, didn't see it was a RUU. Two more popped up. Asia(AUS) and telstra(WWE). Good to see more RUUs popping up.
[One (M8) Original Android Development] Gerton:
https://play.google.com/store/apps/details?id=in.andro.wlt

Works for me.
[One (M8) Original Android Development] DeeZZ_NuuZZ:
This kernel only works on sense based Roms...so if it isn't a sense Rom it won't work
[One (M8) Original Android Development] mechanimal82:
And GPE...
[One (M8) Original Android Development] DeeZZ_NuuZZ:
yea sure forgot to add it to the reply too :D :D
[One (M8) Original Android Development] tee00max:
ABout to give this kernel a try with the Sinless Rom and see how she runs for me. Will report back in a few.
[One (M8) Original Android Development] boe323:
When overclocking your app wont show highest freq, says unavailable.
[One (M8) Original Android Development] DeeZZ_NuuZZ:
mentioned about 5 times on the last 2 pages, he already also wrote why he did it lol
[One (M8) Original Android Development] boe323:
No worries, it gets kinda boring reading the same thread so I jump to the end now on the XDA app
[One (M8) Original Android Development] DeeZZ_NuuZZ:
lol :D but writing the same things over and over gets annoying :(
[One (M8) Original Android Development] Psych0t1c20:
Hey you guys know of an app that can detect which apps cause the phone temperature to rise?
[One (M8) Original Android Development] HTC_Phone:
It's weird... Pocket detection worked on 4.4.2 but it doesn't work now... Guess I'll just have to use stock gestures
[One (M8) Original Android Development] eichenberg:
I have Tmo version with latest firmware. I am running SkyDragon for T-Mobile with this kernel. I did the remove motion selection without dt2w and I have no problems with pocket protection. I have the swipe eature enabled.

HTC One
[One (M8) Original Android Development] HTC_Phone:
It's weird... I had flashed the latest T-Mobile firmware, and that's when I was having issues. I flashed the latest WWE firmware, and everything seems to be fine? Here's to hoping... Maybe that was it.
[One (M8) Original Android Development] Ghstudent:
Is anyone having issues with this breaking root on their device? AT&T htc one m8 running stock 4.4.3.

EDIT:Yeah, confirmed that it is the kernel. flashed 4.4.2 kernel and everything was fine. upon returning to the 4.4.3 root was broken again. also, android system crashes every now and again with 4.4.3. just a heads up.

EDIT2:okay, I finally fixed root. you have to update binaries via supersu instead of TWRP like I am used to. android system crashing is still persisting, however.
[One (M8) Original Android Development] flar2:
How do you know these problems are due to the kernel? Why would the kernel cause Android system to crash? What does the kernel have to do with root?
[One (M8) Original Android Development] Ghstudent:
Because I went all day without the kernel. Got home, decided I'd give it a shot. The minute that I rebooted I noticed two things: 1. Root was broken and 2. Android system was crashing. Neither of which have ever happened before using this kernel.
[One (M8) Original Android Development] zebidybob:
Faux123' kernel breaks root for me but not this one.

Great work flar2! Love the latest update (actually loved them all :) )

Just one thing the magnetic sensor seems to be labelled the wrong way in the app.
[One (M8) Original Android Development] Psych0t1c20:
Hey anyone know how to fix this AudioMix wakelock?