yashsingh1/xdaforums huggingface dataset:
[One (M8) Original Android Development] topjohnwu:
Nah... something must has been messed up in Viper 4. They used to overlap the settings chosen in aroma and uses their own settings in the tweak app, but it seems that they removed the settings in the latest release but didn't reverse the overlap issue. I had to use Elementalx app to re enable motion gestures.
[One (M8) Original Android Development] Forsaked:
Since i dont know if i should post it here or on Google+, i try it here:

Flar could you integrate a status field which shows the current SELinux mode and a option to change the hostname (net.hostname) which sticks on boot in your Kernel App?

This would be awesome! :)
[One (M8) Original Android Development] Auslander42:
Motion gestures working fine for me on Viper 4.0 with default options enabled for gestures on kernel flash

Sent from my ViperOne m8
[One (M8) Original Android Development] Jyotirdeb:
Working fine

[MENTION=4684315]flar2[/MENTION] Did a full wipe.Now the settings seems working fine.I guess venom tweaks were messing with it.Using the EX app.Every thing seems fine.Thanks.

Cheers

JM
[One (M8) Original Android Development] flar2:
The color patch from [MENTION=4316709]savoca[/MENTION] works.

Before next release, I want to fix a few selinux problems.
[One (M8) Original Android Development] flar2:
Update!!!

Added the new color control from [MENTION=4316709]savoca[/MENTION] This adds many adjustments. I will add some controls to the ElementalX app next update. You can use savoca's free tool in the meantime: http://xdaforums.com/android/software-hacking/dev-kcal-advanced-color-control-t3032080

I also fixed some of the broken selinux stuff on lollipop. You can now use adb fully (get root shell right away, adb push, debugging apps, etc.) without having to set selinux to permissive.

Also, I changed the method to set permissive so it occurs earlier in the boot process, so you can use xposed properly. Note: you need SuperSU for this.

And I added the ramdisk edit necessary for xprivacy.

Enjoy!

Download:

ElementalX-m8-4.01-Sense

Changelog:

-fix selinux

-kcal-advanced-color-control
[One (M8) Original Android Development] d08speed3:
This is not for Verizon correct?
[One (M8) Original Android Development] hdorius:
Correct
[One (M8) Original Android Development] d08speed3:
Bummer lol
[One (M8) Original Android Development] grgsiocl:
[MENTION=4684315]flar2[/MENTION]...wow amazing bro ...color control works like charm
[One (M8) Original Android Development] Giblet-dono:
Awesome update!

I do have a request

Captain_Throwback made an "all variants" ElementalX 4.0.0 zip found here:

http://xdaforums.com/showpost.php?p=58495280&postcount=1801

This zip also includes a fix for the touchscreen in the multirom menu which he describes here:

http://xdaforums.com/showpost.php?p=58491553&postcount=1800

Could you incorporate the fix in your branch?

Thanks in advance!
[One (M8) Original Android Development] tmorterlaing:
Sorry to be 'that guy' but what's the consensus on the latest iteration of this kernel with regards to battery life (compared to stock)- I'm not so interested in performance - is this a good kernel for that? Or is there a better Sense compatible kernel? :D
[One (M8) Original Android Development] Giblet-dono:
"Or is there a better Sense compatible kernel?"

Can't ask that question in any kernel thread... why would he/we point towards another kernel?

Then again battery life is about as much about the kernel as it is about the rom and usage..

Just try it for yourself and see if it suits you!

My experience: I can last longer on one charge with elementalX than with Stock
[One (M8) Original Android Development] ceyo14:
[MENTION=4684315]flar2[/MENTION] Is there gamma control?
[One (M8) Original Android Development] flar2:
As in detailed curves and profiles? No.

But in addition to the RGB channels I had before, you can set brightness, contrast, value, hue and saturation. So I think you should be able to make the screen look how you want it.
[One (M8) Original Android Development] ceyo14:
Yea I think I can... I mean, with all you just said... I'll let you know. Thanks
[One (M8) Original Android Development] rafael.trad:
When will this update come to the GPE? xD
[One (M8) Original Android Development] grgsiocl:
Is settings of brightness, contrast, value, hue and saturation is available in your app?
[One (M8) Original Android Development] flar2:
Not yet. In the meantime use savoca's app, which you can get in the update post a page or two back.
[One (M8) Original Android Development] Etshooter:
Finally decided to buy the app for your work. Thanks for what you do flar2 !
[One (M8) Original Android Development] shorty1483:
Hey [MENTION=4684315]flar2[/MENTION] ! As always good work m8!

Any chance of getting Franco's mako_hotplug and interactive governor?

Thanks!
[One (M8) Original Android Development] flar2:
No chance. There is no reason to change the governor or mpdecision.

The HTC version of ondemand is far, far, far superior to interactive. Actually, I hate interactive and franco has also moved away from it recently.

For hotplugging, again HTC implmentation of mpdecision+pnpmgr is just about perfect. There is no ridiculously long touchboost like on Nexus devices and mpdecision is rather conservative on this device. No reason to change it, and you would lose the contextual boosting from pnpmgr, which is what makes this phone so smooth.

My m8 is smoother and more responsive than my Nexus 6. And it gets equal or better battery life. I've been using the Nexus 6 since early December (requires a lot of development work) and when I started working on the m8 again yesterday I was blown away how smooth it feels.
[One (M8) Original Android Development] smallKING81:
Is this kernel without disabling w/r SD-card protection?
[One (M8) Original Android Development] ceyo14:
Not sure how it would change with gamma. But tweaking a little of saturation and contrast did it... It looks way better now... Thanks a lot.

Noticed in savocas app there is no restore to devices default settings. If you hit save that becomes your new default... Please make it different in your app. Thanks...

Although I. Guessing rtaking of the start at boot and restart should do that. But it did be better a button to compare on the fly. And to select your own photo...
[One (M8) Original Android Development] threetwentyfizzle:
Interesting, was wondering how the Nexus 6 stacks up to the M8. Glad to hear your impression lol, How's the audio quality on the Nexus 6 (headphones) btw? Way behind HTC? Sorry for the OT
[One (M8) Original Android Development] flar2:
I don't know about headphones, I never listen to music with headphones on my phone.

As for speakers, the N6 has pretty good sound, but nothing beats the m8.
[One (M8) Original Android Development] mattrb:
Please offer the Ramdisk kernel edits that you did to get this "early boot process" permissive mode. I want to get Xprivacy working on a Phone that you do not support (yet). The Xprivacy guide just shows how to add the xprivacy453 service to service_contexts.

Sprint M8.

Thanks!
[One (M8) Original Android Development] Forsaked:
You better take a look here!
[One (M8) Original Android Development] mattrb:
This guide does not show how to set SELinux to Permissive, it just shows how to put xprivacy service into the kernel.

I have searched for an answer for early boot SELinux and have not found the kernel edits.
[One (M8) Original Android Development] flar2:
The ramdisk edit for xprivacy can be found on the xprivacy site.

Getting permissive early on should be easy if you have SuperSU. You just have to create an executable file named /system/su.d/permissive.sh containing this:

#!/system/bin/sh
setenforce 0

If it doesn't work, it may require the supolicy statements I added to the ramdisk.
[One (M8) Original Android Development] mattrb:
I tried to the add the setenforce 0 but it didnt work. Do you have the location of where the supolicy states go?
[One (M8) Original Android Development] flar2:
Good to know it doesn't work. I'm not surprised. I can post the other ramdisk edits later tonight

In the meantime, familiarize yourself with packing/unpacking the HTC boot.img, f you haven't already.
[One (M8) Original Android Development] Nezorflame:
[MENTION=4684315]flar2[/MENTION], any word on this? It could help us MultiROM users a lot.
[One (M8) Original Android Development] flar2:
Does disabling secure touch cause any issues?
[One (M8) Original Android Development] Captain_Throwback:
None that I've seen.
[One (M8) Original Android Development] flar2:
For the ramdisk edits, you need to add the supolicy binary to the /sbin folder and then add this somewhere (eg: init.rc):

service supolicy /sbin/supolicy --live "allow init system_file dir relabelfrom" \
"allow adbd adbd capability { dac_override dac_read_search }" \
"allow init_shell block_device blk_file read" \
"allow init_shell labeledfs filesystem remount" \
"allow init shell_data_file dir write" \
"permissive init_shell"
disabled
oneshot

And then run it under "on post-fs-data"

on post-fs-data
start supolicy

I went through the kernel logs at boot up and looked for any selinux denies, then added these live patches to the ramdisk. For reference, see Chainfire's How-to SU article. It's at the top of the list for anyone interested in security or root development to read.

Edit:

Should be:

"permissive init_shell"

not:

"permissive shell"
[One (M8) Original Android Development] onukomer:
the grayscale display is amazing :D Is there a contribution to the power saving?

thx flar. for your hard work...
[One (M8) Original Android Development] flar2:
Update!!!

Very minor changes. I disabled secure touch, for better multirom compat. And I changed the selinux fixes to be a bit more secure.

Download:

ElementalX-m8-4.02-Sense

Changelog:

-fix selinux a bit more

-disable secure touch

I also updated the GPE kernel, but I haven't tested it.

If someone could confirm it's good, I will push it to the app updater.

Download:

ElementalX-m8-3.02-GPE

Changelog:

-disable secure touch

-fix selinux

-kcal-advanced-color-control
[One (M8) Original Android Development] Forsaked:
Right after flashing 4.02 my touch screen is unresponsive in the ROM, checked MD5 the file isn't corrupt.

In the recovery the touch function is given!
[One (M8) Original Android Development] lukes91:
Just happened to me, hard rebooted and working again :good:
[One (M8) Original Android Development] Babyghost:
I have the same question here, I use latest Viper Rom.

After the 4.02 update the screen just become unresponsive and the phone reboot itself every five min...
[One (M8) Original Android Development] Forsaked:
Even this won't help, just reverted to 4.01 all is fine!
[One (M8) Original Android Development] danifilth4king:
I had the same issue too. Hard reboot didn't work for me. Had to flash back to 4.01
[One (M8) Original Android Development] d.kuyt:
Me too.

Touch screen not responding with ViperM8 and 4.0.2, even after few reboots.

Reverted back to 4.0.1 and all fine

Sent from my HTC One_M8
[One (M8) Original Android Development] grega_slo:
yup, touch dead :D
[One (M8) Original Android Development] heavymetall66:
After flashing touch is down, but when a reboot again it's just working!

gesendet von meinem Top Device HTC M8 Renovate 5.0

ab und an auch mal vom Samsung Galaxy S 5 900F

?
[One (M8) Original Android Development] snake4fun:
Reboot doesn't bring back touchscreen on viper Rom
[One (M8) Original Android Development] Stanimir Komitov:
Does anyone happen to have the link to 4.0.1?
[One (M8) Original Android Development] Forsaked:
There you go:

Link
[One (M8) Original Android Development] Giblet-dono:
Not sure what, but something went wrong on 4.0.2

I have no touch in multirom, my rom won't boot so can't say anything about normal rom touch
[MENTION=1162986]Captain_Throwback[/MENTION] maybe you could shine a light on the differences between your "touch enabled" kernel and flar2's?
[One (M8) Original Android Development] grega_slo:
Also on V4.0.0 wakelock detector works fine (used selinux permissive in aroma) but in higher versions not...

Can you fix this please?
[One (M8) Original Android Development] sugarlee75:
Confirming touchscreen unresponsive on ARHD 34.1 with 4.02. Even after rebooting..
[One (M8) Original Android Development] Captain_Throwback:
Looks like others are having the same issues with 4.0.2. Don't think it has anything to do with the MultiROM fix. When I build [MENTION=4684315]flar2[/MENTION]'s kernel from source I don't change anything. The only thing I changed in 4.0.0 was to disable secure touch.

But that was 4.0.0. It's possible some other change is causing the issue. Or maybe my computer is just magical, I don't know. My version of his kernel does make any ramdisk changes, so that's probably the difference. But I haven't made a version of the latest one.

I know his latest one would require some ramdisk patching and I'm not prepared to do that right now.
[One (M8) Original Android Development] radar-a:
Same problem.[emoji33]
[One (M8) Original Android Development] Root-Maniac:
Gravity box module in xposed
[One (M8) Original Android Development] Maedhros:
Check out my post here:

http://xdaforums.com/showpost.php?p=51965179&postcount=11
[One (M8) Original Android Development] Giblet-dono:
When I use it my back button gets bigger than the other buttons. :(

I'm using ViperOne M8 as my rom.
[One (M8) Original Android Development] nerotix:
[MENTION=4684315]flar2[/MENTION] You do not have an own app to control the kernel? Which app do you recommend me using?
[One (M8) Original Android Development] mattisfaction:
Trickster mod works great mate... You get full control over all the kernels features.
[One (M8) Original Android Development] nerotix:
Thanks! Anyways.. how does s2s work? I thought it was sweeping the navbar right?
[One (M8) Original Android Development] meleelord:
How would the revision number and pvs appear in the last_kmsg?
[One (M8) Original Android Development] nerotix:
Cant get sweep2sleep to work.. any idea?

I'm running 0.8 with ViperROM 1.3.0.
[One (M8) Original Android Development] jaythenut:
Are you wiping just above the dock

If that doesn't work Viper has double tap status bar screen off
[One (M8) Original Android Development] flar2:
No apps are required. Set it and forget it.

But if you need to, trickstermod, fauxclock, and others work.
[One (M8) Original Android Development] TheEmpyre:
I have the AT&T variant M8, I am S-Off, have not changed CID, can I flash this kernel without trouble?

Sent from my HTC One_M8
[One (M8) Original Android Development] Ravenmtx:
Running it without problems here except that I'm still S-On. Shouldn't have any problems though.
[One (M8) Original Android Development] Johnny424:
Working fine here as well.. att variant if that matters at all
[One (M8) Original Android Development] Ravenmtx:
Works here as well. Doesn't work for me if I go from left to right. Right to left works.
[One (M8) Original Android Development] Johnny424:
I do have a question flar..

Using trickster I watched all 4 cores scaling up and down. But it seems core 3 stays online even when not touching or using the phone..I know expect core 0 stays online but is it normal m8 behavior for 2/4 cores to stay on line?

My setup is fairly default..except small oc to 2465mhz..

---------- Post added at 12:29 PM ---------- Previous post was at 12:23 PM ----------

Edit..a reboot seems to knock core 3 back into acting normally..(scaling on and off and I touch and maneuver the screen..maybe an app or procesd causing core 3 to stay on?
[One (M8) Original Android Development] flar2:
Don't worry about it. Mpdecision turns core 3 on most of the time when you touch the screen. Trickstermod is not a good way to observe it, as it doesn't update very often. All cores show online using Fauxclock.

Just leave it alone, it works fine if you don't mess with it.
[One (M8) Original Android Development] FNX23837:
I would love to see a GPU overclock option.
[One (M8) Original Android Development] CyclingVinnie:
Great Kernel, and Sweep2sleep works for me. ATT M8, GPE
[One (M8) Original Android Development] Nekromantik:
Do HTC motion gestures work on here?
[One (M8) Original Android Development] flar2:
Of course. Everything works 100%.
[One (M8) Original Android Development] lukes91:
Quite weird, i have viper 4.0.0 and elementalx 4.02 and everything is fine after first reboot ?
[One (M8) Original Android Development] H3rby77:
Same issue here like others, touchscreen unresponsive with stock rom (sense), so no way to enter sim pin. Flashed back to 4.01.
[One (M8) Original Android Development] lukes91:
Just tried to reboot and touch-screen was unresponsive after reboot, sono think i was lucky first time... Flashed back 4.01 and everything fine again...
[One (M8) Original Android Development] flar2:
I will fix it shortly.
[One (M8) Original Android Development] josh8901:
Tested the updated gpe version and didn't see the kcal settings in ex app or kcal app. I don't know if the version number just wasn't updated, but it says in the ex app I'm still running 3.0.1 after flashing 3.0.2.
[One (M8) Original Android Development] Neck72:
touchscreen unresponsive on ARHD 34.1 with 4.02. My phone rebooting every 3 mins :( Waiting for update
[One (M8) Original Android Development] flar2:
Update!!!

Well, I thought disabling secure touch might fix that touch screen occasionally not responding bug, but it didn't.

Should be fixed again.

Download:

ElementalX-m8-4.03-Sense

Changelog:

-fix touchscreen not responding

Still haven't test this, but assume it had the same problem. If someone could confirm it's good, I will push it to the app updater. Also please test color control.

Download:

ElementalX-m8-3.03-GPE

Changelog:

-fix touchscreen not responding
[One (M8) Original Android Development] Captain_Throwback:
GPE link leads to 404 page.
[One (M8) Original Android Development] flar2:
Still uploading. It takes about 5-10 minutes for me to upload a kernel on my third world internet connection
[One (M8) Original Android Development] Captain_Throwback:
It's there now. Thanks!
[One (M8) Original Android Development] grgsiocl:
Sorry for being noobish...does the Color control affects battery?
[One (M8) Original Android Development] d.kuyt:
4.0.3 works great with ViperM8 v4.0.0

Touchscreen works again, thanks [emoji1]

Sent from my HTC One_M8
[One (M8) Original Android Development] flar2:
probalby not
[One (M8) Original Android Development] heavymetall66:
4.0.3 works great with eragon 5.0 too

Colour control is not relevant for me, so I can't give a statement...

Thx

gesendet von meinem Top Device HTC M8 Renovate 5.0

ab und an auch mal vom Samsung Galaxy S 5 900F

?
[One (M8) Original Android Development] H3rby77:
Works fine with stock rom.
[One (M8) Original Android Development] smeejaytee:
Working fine here thanks.
[One (M8) Original Android Development] camdenb:
Will this work with CyanogenMod?

I am running CyanogenMod 12, is this kernel compatible? I suspect I would use the GPE edition?
[One (M8) Original Android Development] Captain_Throwback:
No. This is not an AOSP kernel.
[One (M8) Original Android Development] camdenb:
Bummer! But hey, thanks so much for the quick reply. Have a good day.
[One (M8) Original Android Development] grega_slo:
Hi flar2!

I checked set selinux to permissive but it is still enforcing... Is this bug?
[One (M8) Original Android Development] flar2:
Do you have SuperSU installed?
[One (M8) Original Android Development] grega_slo:
I had venom supersu and now I use chainfire...

It works only on v 4.0.0

I use an app now and I changed to permissive without a problem...
[One (M8) Original Android Development] Viper4713:
Flashed 3.03 GPE and all it does it break wake and sleep gestures and in System Info it still says "3.01".
[One (M8) Original Android Development] Vindicate:
Can this work on Sprint running latest firmware and running XenonHD ROM 5.0.2 for MultiROM Manager?
[One (M8) Original Android Development] Forsaked:
I leave this here:
[One (M8) Original Android Development] Vindicate:
Crap :( do you know of any kernels for 5.0.2?

---------- Post added at 09:39 PM ---------- Previous post was at 09:39 PM ----------

For Sprint?
[One (M8) Original Android Development] DeeZZ_NuuZZ:
You have to look in the aosp kernel threads...as you can see this here is only sense and gpe, and don't mix gpe and aosp, that are different roms and a gpe kernel can't work with aosp ;)

Gesendet von meinem HTC One mit Tapatalk
[One (M8) Original Android Development] Vindicate:
Can you give me a link to the AOSP kernel thread then please!?
[One (M8) Original Android Development] Viper4713:
You want him to make you a sandwich too? :laugh:
[One (M8) Original Android Development] Vindicate:
Lol at this point.. Im desperate. Ive been trying to get a correct kernel for this ROM for days. And wipe after wipe on the phone its just gotten overwhelming.
[One (M8) Original Android Development] Gamesoul Master:
Is ZRAM handled purely by the kernel? I noticed that it was enabled somehow (I'm assuming by the last kernel I installed, since it's supposed to be off by default on this kernel), so I disabled it and rebooted. ElementalX app shows it's still disabled, terminal (via "free" command) shows otherwise. Any insight?
[One (M8) Original Android Development] phoenix2217:
I'm using losers gpe and my double tab to wake works just fine. So does swipe. Camera wake works too.
[One (M8) Original Android Development] Viper4713:
Strangely for me on the same ROM the update from 3.01 to 3.03 is always a failure :/ in System Settings I'm guessing yours also successfully says "3.03"?
[One (M8) Original Android Development] phoenix2217:
Nope 3.01. I didn't change any of the wake settings though, left everything stock
[One (M8) Original Android Development] CikiPiki:
Qustion

Hey. l jsut wondering if l undervoltage the battery do my phone lose any performance?
[One (M8) Original Android Development] Forsaked:
You could loose stability if you undervolt to much, which result into hanging up your phone or it reboots.

It's just trying how wide down you could go with the voltage until it's get unstable in several scenarios then put more 5mv up to get a buffer and all is fine.

A loss in performance like frequency or bandwith isn't given until it gets unstable!
[One (M8) Original Android Development] CikiPiki:
aha ok ty for the info. So its -15mv safe to undervolt?
[One (M8) Original Android Development] Forsaked:
It's trial and error, every phone has another cpu binning, which makes the difference between how wide could it be overclocked or undervolted.

You can find more info about cpu binning alias PVS in this thread!
[One (M8) Original Android Development] Sneeuwtijger:
[KERNEL] [Feb 18] ElementalX 4.03(Sense) 3.03(GPE)

i had the same problem, Open ElementalX App - Install/Update, hit the button - it looks like it is updating again but the first time your phone did not reboot in Recovery so the Kernel was not updated.

I think this is a flaw in the ElementalX App ;)
[One (M8) Original Android Development] flar2:
I didn't push the gpe update to the app yet.

I'm waiting for confirmation that it works.

For some reason there is no flashable zip of stock gpe, so I have not tested it.
[One (M8) Original Android Development] Gamesoul Master:
Question. What are your thoughts on what I believe TricksterMOD calls "Multicore Power Saving"? The option that tries to group tasks onto less cores? I see no such option in your app, and while I don't use it, I was just curious if there's some drawback to it or just something you never really thought important. I tried it once and didn't really notice a significant difference, but it's hard to tell honestly, since I use my phone variably.
[One (M8) Original Android Development] flar2:
I have something built in to the kernel that does that. You can try that option, but it won't make much difference.
[One (M8) Original Android Development] icytrey:
After trying everything I can...I can't get the cpu frequencies to stick running viper rom..After rebooting it goes back to a 1036 Max and a 1036 screen off max. I apologize if this has been discussed..couldn't find it. Latest viper..latest elemental+app..thanks