yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] ivo.stefanoff:
ElementalX event wakelock

Hello flar2,

your kernel is great but i always had on my Nexus 5 with 5.1.1 (Euphoria) kernel event wakelock.

Debugging it i saw event0,1,3,4 responsible for pwrkey,d2tw,dt2s etc. although i have never enabled them?

After 1 day of work they became 10,15 min and 5-6k times wakelock and caused battery drain?

Any suggestions?

regards

P.S. With other kernels which not support dt2w,dt2s... i have no problems?
[Nexus 5 Original Android Development] sakacjakub:
Im running M too and would like change colors to more cooler. Any chances to get ElementalX for M preview?
[Nexus 5 Original Android Development] t3al:
You don't even have root yet :)
[Nexus 5 Original Android Development] sakacjakub:
Thats true... Hope will be avaliable soon...

btw, why do u have custom kernel and root in your description together with M Preview?
[Nexus 5 Original Android Development] t3al:
I'm from the future :cowboy:
[Nexus 5 Original Android Development] russian392:
I do...its called twrp and flash superSU.......works for me

See my model is a refurbished one after I got my original replaced, so its got a bad yellow tint to it.
[Nexus 5 Original Android Development] sempot:
This is about the M preview.
[Nexus 5 Original Android Development] silvertrain78:
What version of SuperSU is working on your phone? My understanding is that current releases cause bootloop. Chainfire is working on it today
[Nexus 5 Original Android Development] Woody:
No M kernel sources as far as I know, so no M custom kernel unless they are reverse engineered in the less than 24 hours that it has been out. Maybe someone has pulled the zimage or ramdisk from the preview, but you'll have to search that out on your own.

For now, this is a LP kernel thread until [MENTION=4684315]flar2[/MENTION] does what he does best (as far as android goes cause Android =/= Life).
[Nexus 5 Original Android Development] ( V ):
hi,

is the new 4.0 version compatible with the latest update of 5.1.1_r3 LMY48B, because the EX app shows that there isn't any compatible version?
[Nexus 5 Original Android Development] flar2:
Should be compatible, not sure why it doesn't show up as an update.
[Nexus 5 Original Android Development] Woody:
Quick question: I was running 214 on Cataclysm latest (5/21) and when I went to install the 400 version that was posted before it went live on your server, it was Aroma. I did the initial setup a long time ago and just went express thereafter. I am pretty sure that I screwed something up in the Aroma cause now I am getting horrible popping in Viper when I listen to music or podcasts. I have installed v4a, uninstalled v4a, reverted to 214-212, flashed several viper zips all to no avail. I've never had a problem with popping or cracking since early KK days until I flashed 400. I'm not at all saying that is it anyone's fault but my own.

What I am wanting to know is if I can just delete the etc/elemental file and start over with a fresh ElX install? Do I have to do Aroma or can I just flash the Express and set the files in the app? Since I am not coming from another ROM or kernel, I presume that I don't have to reflash /system right? It's no problem if I have to, but I'll do that last since I have modded my whole system. Oh and I am permissive so that is a non-issue.
[Nexus 5 Original Android Development] zerosum0:
Mistake

SENT BY ENTANGLEMENT

---------- Post added at 04:11 PM ---------- Previous post was at 04:02 PM ----------

Noticed a couple of problems with the latest version. I set and lock my govoner in the app but it jumps from on demand to performance. It does this a lot which flattens the 'tree.

Also my RAM is going crazy. Way too high. Within a couple of hours it's 90%used.

Did a clean install. To be honest I have had issues since the 5.1.1 update. Hate to say. Utility the stock kernel is spot on. God that hurt! Love this kernel and app.

SENT BY ENTANGLEMENT
[Nexus 5 Original Android Development] flar2:
For a clean install of EX, delete /sdcard/.elementalx.backup and /etc/elementalx.conf. I would also advise a dirty flash of catclysm.

I don't know what would cause audio glitches, one other person mentioned it earlier. EX 4.00 is closer to stock than earlier versions, and I make no modifications at all to audio.
[Nexus 5 Original Android Development] flar2:
As of version 4.00, EX is basically the stock kernel with my features added, there should be no problems.

Any problems with governor are due to interference from apps or scripts. It can't spontaneously jump from ondemand to performance.

I make no change from stock kernel in terms of memory management, you will get the exact same behaviour as stock kernel.
[Nexus 5 Original Android Development] TheDannemand:
Pretty sure it was Woody who also mentioned that audio popping earlier... this post.

[MENTION=3200478]Woody[/MENTION]: I would just dirty flash Cataclysm then install EX 4.00 again with Aroma. I have no experience specifically with Viper, just general practice: If an issue doesn't resolve easily, I'd rather go clean than keep spending time on it.
[Nexus 5 Original Android Development] Woody:
Think that I figured it out (for now). When I flashed the 400 Aroma, my kernel got somehow reset back to Enforcing. I now remember Flar saying when he released a kernel a few versions ago that the Enforcing/Permissive option was taken out of Aroma, but if set to permissive it would survive an Express install. This explains why I had a problem when I flashed the 400 Aroma instead of waiting on an Express version.

This was one of my initial suspects and in the midst of my multiple flashes, I flashed the SetPermissive.zip and also at one time did the setenforce 0 command in terminal. On a lark, I restored my SELinux app from TiBu and sure enough it was set to Enforcing. Changed it to Permissive and all is right between my ears. Not sure why the zip or terminal commands didn't work. Must just be one of those days I guess.3

Thanks for humoring me.

Edit: 3 hours later and not a pop or a crack to be had. Seems that the Enforcing/Permissive issue was the cause. But I have also been listening to some trance and they could very well be in there and I'd never know the difference. :silly: (Picture that. A guy wearing a suit in his office with ear buds in and some trance and deep house rolling.)
[Nexus 5 Original Android Development] TheDannemand:
Makes sense. That sure was a lot of balls in the air, no wonder one of them dropped for a moment [emoji1]
[Nexus 5 Original Android Development] Ieatnoobs:
Finally got around to buying the app. Working perfectly thanks!
[Nexus 5 Original Android Development] AndroidBR:
I've just noticed that on 4.0 the I/O is defaulted to deadline and TCP congestion algorithm defaulted to cubic.

Are these the best settings for the best performance on 4.0?
[Nexus 5 Original Android Development] AndresOrue:
Hi guys I installed the file in the OP to*set the SELinux to Permissive, if I want to back to enforcing, is there any way? Another file?
[Nexus 5 Original Android Development] dharlem39:
surely you can just flash the kernel again?
[Nexus 5 Original Android Development] CamoGeko:
Another fellow XDA trance lover, nice to hear that. xD
[Nexus 5 Original Android Development] Jeeza:
Has 4.0 got this patch?

http://xdaforums.com/showpost.php?p=60836228&postcount=125

[MENTION=4684315]flar2[/MENTION] if it's not a problem for you and for the kernel, could you please add it?

Thanks
[Nexus 5 Original Android Development] kamild_:
So the 4.0 version isn't too much different from the previous one except "As of version 4.00, EX is basically the stock kernel with my features added"?

What are the advantages of updating to 4.0?
[Nexus 5 Original Android Development] :
So smooth. No Chrome lags. Much battery life. So awesome.
[Nexus 5 Original Android Development] kamild_:
Enough.

You convinced me.

Upgrading right now :good:
[Nexus 5 Original Android Development] flar2:
Delete /system/su.d/permissive.sh

Already in there and up to date
[Nexus 5 Original Android Development] bsp54:
Excuse me.

I use this Kernel (select Default thermal throttling) (best performance)

This option is what? (What is the limited temperature?) (What is temperature threshold?)

noob question very sorry.
[Nexus 5 Original Android Development] cocchiararo:
[MENTION=4684315]flar2[/MENTION]

I went from "stock" elementalx 4 to that little mod in the .sh file to support F2FS with no intermediate stuff, and since it worked i decided to try the elementalx app.

It is by far the most beautifull kernel app i have tried XD

Now i can uninstall fauxsaund/display (i own all of his apps >P)

Only thing "missing" would be the profiles in the sound section.
[Nexus 5 Original Android Development] GragonV:
[MENTION=4684315]flar2[/MENTION]

I cannot believe it, the CPU max speed dropping problem is back, after a day of using (without installing anything new). It automatically drops to 1.9, 1.5 or 1.1 (always those there, never 1.7, 1.4 or 1.2)

Even after dirty flashing the kernel and setting the max cpu to 2.2 by aroma, the CPU is still stick to 1.5 after reboot. And at that time, when using Ex Kernel Manager to set the max cpu, I can only choose 1.9 or lower. 2-3 minutes later, I can choose 2.2

What in the world... :(
[Nexus 5 Original Android Development] csolanol:
Same here.
[Nexus 5 Original Android Development] cdonald:
Has anyone discovered a 5.1.1 stock kernel that supports F2FS to be flashed before EX? I've had no such luck unfortunately

Sent from my Nexus 5
[Nexus 5 Original Android Development] walpurgisnacht30:
For some reason I made a Pushbullet channel for ElementalX kernel update after asking for a permission to [MENTION=4684315]flar2[/MENTION], if you can't manage to buy his app or can't keep track with this XDA thread but you want to keep updated you can subscribe here
[Nexus 5 Original Android Development] zerosum0:
I pointed out that mine changed too and was told it's impossible by the Dev who I have every respect for. To be fair i was talking about the kernel but it happened with the new app so thanks for your post. I'm not mad!)

SENT BY ENTANGLEMENT
[Nexus 5 Original Android Development] JonasVFC:
mine as changed too.

what was the default for IO schedule?
[Nexus 5 Original Android Development] 4n3ver:
hotplug

where's the config file to change custom hotplug settings? I'm trying to change Down count settings, the Ex Kernel manager unable to save the settings no matter what I do.
[Nexus 5 Original Android Development] amaces:
Somewhat cringy quoting myself a second time; [MENTION=4684315]flar2[/MENTION], any chance you'll include this little bit of scripting for full F2FS support? Promise I'll stop asking about it if it's not in the cards ;)

I think [MENTION=603659]cocchiararo[/MENTION] (a few posts above yours) may have been mentioning this:
[Nexus 5 Original Android Development] cocchiararo:
that worked like a charm!

much easier than unpacking the boot.img that comes with CM12.1 and add the necesary stuff for f2fs.
[Nexus 5 Original Android Development] till22:
Westwood

EDIT: Sorry Westwood was TCP algorithm, IO was FIOPS I think.
[Nexus 5 Original Android Development] :
Deadline at 512 lookahead
[Nexus 5 Original Android Development] JonesL:
Personally I always go for ROW for browsing and switch to NOOP for games, read ahead at 1k
[Nexus 5 Original Android Development] Sy1ar:
can I use this awesome kernel with M Preview?
[Nexus 5 Original Android Development] b00ster:
delete
[Nexus 5 Original Android Development] HeD_pE:
If you've read the OP you'd know that you can't...
[Nexus 5 Original Android Development] yanleites:
I have more battery drain with this version then with the previous.

Is it only me?
[Nexus 5 Original Android Development] sjknight413:
Yes.

Sent from my Cataclysm + ElementalX powered Nexus 5
[Nexus 5 Original Android Development] d1n0x:
Yes.
[Nexus 5 Original Android Development] tnpapadakos:
yes
[Nexus 5 Original Android Development] infatality:
Well.. Big NO for me.. [emoji12]
[Nexus 5 Original Android Development] magnamentis:
only that it's not kernel related. i think the number of posts about people really believing that the kernel causes drain must be in the thousands and certainly in the hundreds only in this thread and it has been answerd even several more times than that. your problem is user space and not kernel related.
[Nexus 5 Original Android Development] infatality:
Sometimes it maybe kernel related but most of the times it's mainly due to rogue apps.. At times roms may have higher drain due to improper porting, lack of sources, libs etc.. But since we are on a Nexus device's, 90% of the times it's user space.. [emoji41]
[Nexus 5 Original Android Development] DoesntPostAThing:
020 seems fine to me. Default settings were alright, but I prefer the additional speed given by simple governor. Also accidentally enabled cooler colors, now anything else looks horrible :P
[Nexus 5 Original Android Development] drawde40599:
Read your post yesterday about performance GPU gov so started using it , are u finding simple even faster than performance ? I'm running performance on 20 and its stupid fast .
[Nexus 5 Original Android Development] Ensifolk:
This Slightly Cooler Colors profile is absolutely stunning ! I wish Google had this Color reproduction as a default ! Beats just any screen colors I've seen on most mobiles.
[Nexus 5 Original Android Development] DoesntPostAThing:
It's not that simple is faster than performance, it's that performance locks the frequency at 450. I only tested with performance because I wanted to see if it was the GPU frequency being stuck at 200 too often causing the stutters. Forcing it to lock at 450 is the best our GPU can do, and if it doesn't lag then when everything else is the same it would suggest that the stutters are caused by GPU. In my case, it did help. Now I wouldn't recommend using performance governor for anything, as it keeps the GPU running at a higher freq than needed. Simple, like ondemand and most other non-performance governors, will set an appropriate frequency depending on the load. I'm using simple for now because it doesn't stay at 200 for as long as ondemand in this kernel. IMO ondemand should ramp up to 320 when something is moving, and that would be ideal as simple right now jumps up to 389 or even 450 sometimes which is a bit overkill. But it's better than using 200 all the time.
[Nexus 5 Original Android Development] drawde40599:
No I no , used to use it on faux , guess my question should have been are u seening same performance with it in comparison . but I've always run performance with my N4 on kernels that didn't offer anything else never really hurt battery or phone . but thank u :) I'll have to give it a shot next time I reboot . thanks

I'm out of thanks I'll have to come back later :P
[Nexus 5 Original Android Development] flar2:
Well I guess cm based stuff is no longer supported.
[Nexus 5 Original Android Development] Alpione:
... and really, anyone playing with custom kernels should be able to figure out how to mount RW and edit a text file. Very basic stuff.

A
[Nexus 5 Original Android Development] zioxda:
Hallo Flar, my experience with data corruption happened with stock rom, stock kernel, twrp 2.6.3.2, and elementalx .15.

This with phone just unpacked and rooted, Android version 4.4.0.

I noticed that after corruption it took a lot of time formatting the partition, but then i had no more problems, upgrading all version till .19

I thought problem was related to stock partition problem or twrp not updated to last version.

I hope those info could be useful, thanks very much for your work
[Nexus 5 Original Android Development] agentg1001:
Same for me too except running beanstalk, doubt that matters though
[Nexus 5 Original Android Development] Grondinm:
I reboot to recovery often enough and have never had any issues with a password or corruption of any sort. Running latest Slimkat.
[Nexus 5 Original Android Development] flar2:
I've never had these issues either.

Until I can get some details or instructions on how to reproduce, I don't know how to fix it. I can't continue guessing. Plus, I'm away from home until the new year, so its hard for me to work on this anyways.
[Nexus 5 Original Android Development] Syk69:
OK can you test something out? Make a nandroid. Clean flash slimkat, gapps. Leave stock kernel. Boot into your system. Now reboot to recovery flash elemental all stock settings, boot into system then reboot to recovery and see if you get password prompt.
[Nexus 5 Original Android Development] DoesntPostAThing:
Same here, no issues with TWRP running AOSPA. Gmail did have to resync though, and some of my app settings got changed. Flashing 020 caused no problems (yet)
[Nexus 5 Original Android Development] Syk69:
[MENTION=4684315]flar2[/MENTION] in this post it explains the best way to reproduce from my experience

http://xdaforums.com/showpost.php?p=48900073&postcount=1822
[Nexus 5 Original Android Development] Grondinm:
I'll try that when I get home but that's how I got to where I am.
[Nexus 5 Original Android Development] Syk69:
Did you just upgrade elemental? I mean did you already have your ROM setup where you only flashed elemental kernel? If so try rebooting back into recovery right now.

---------- Post added at 03:27 PM ---------- Previous post was at 03:27 PM ----------

Ok thanks! :)
[Nexus 5 Original Android Development] DoesntPostAThing:
Done that ~15 times in the past day between 015, 019, and 020, not a single problem. I never touch ROM when flashing between the same kernel.

Sent from my Nexus 5
[Nexus 5 Original Android Development] Syk69:
Ok thanks! Just trying to see how to best reproduce the problem.
[Nexus 5 Original Android Development] deadpedal:
Stutter is gone in 0.20 for me.
[Nexus 5 Original Android Development] clepsy:
For those with data corruption, just flash a rom from usb otg, much easy and fast instead of formatting all phone :cyclops:
[Nexus 5 Original Android Development] TheLastSidekick:
ElementalX has great battery life. 4.00 definitely proved that for me. But also, a kernel can only do so much for your battery life. You need to start looking at battery stats and tracing down those wakelocks and stop Google Services from keeping your device awake. I'm 1000% sure by all means that it is not ElementalX causing your battery drain. Also, if you use V4A High Quality mod or IRS audio mods. Greenify will eliminate most wakelocks theoretically except for those that are system services.
[Nexus 5 Original Android Development] mikaole:
No problem here with battery on latest.

Using it on Flo and HH.

[MENTION=4684315]flar2[/MENTION]

Is it hard to make a kernel for M with modified ramdisk like the dispair for N6 to gain root on HH
[Nexus 5 Original Android Development] till22:
Looking fine here. This is with airplane mode on and wifi only:
[Nexus 5 Original Android Development] GragonV:
Have you tried to clean install or tried another kernel/kernel manager :(

What is your setting and which app do u usually got problem with? [MENTION=4684315]flar2[/MENTION] any suggestion we can do :( ?

---------- Post added at 09:06 AM ---------- Previous post was at 09:03 AM ----------

Same here @_@, just noticed and change back to westwood
[Nexus 5 Original Android Development] zeljkobo12:
CIFS?

Will you support CIFS in future versions?
[Nexus 5 Original Android Development] ivo.stefanoff:
Hello,

i have a huge battery drain wih ElementalX (although it is a perfect kernel) and it seems i know where the problem is:

when ambient display is used, it generates continuously kernel "sensor_ind" wakelock.

The only one kernel which has MISC options (prevent sensor_ind if Ambient display is disabled) is Code Blue.

Probably some of us who are using Euphoria 1.1 (5.1.1_r1) have those problem

Regards

P.S.Enabling "Ambient display" does not solve the problem. May be Flar2 will introduce for us "prevent sensor_ind" kernel key with default "1" ;)
[Nexus 5 Original Android Development] jaibar:
I had a sensor related wake lock with huge battery drain. Found out that the screen protector I was using caused the sensor to be active all the time...

Besides, I think from all these live display and similar features I usually benefit only of faster battery drain.
[Nexus 5 Original Android Development] till22:
Update:
[Nexus 5 Original Android Development] bregan90:
Settings? Usage? An image with some battery stats it's not very useful for the rest of us.
[Nexus 5 Original Android Development] jokermithun:
which Twrp recovery version shall flash to use this kernel????:o
[Nexus 5 Original Android Development] Psycho Orange:
2.8.6.1
[Nexus 5 Original Android Development] moksha51:
Just curious, will there be support for the developer preview Android M?
[Nexus 5 Original Android Development] NovaSlim:
Don't think so, as there are no kernel source for M preview. There was no support for L until Lollipop kernel source was released so I expect the same for M.
[Nexus 5 Original Android Development] d1n0x:
Are you serious?
[Nexus 5 Original Android Development] nexttjme:
Which battery app is that?!
[Nexus 5 Original Android Development] c@p:
sources for "m" are already out and there are a few kernel for n5 and n6 available.

Tapatalked with Nexus 6
[Nexus 5 Original Android Development] #sharath:
Its the ElementalX kernel app. https://play.google.com/store/apps/details?id=flar2.exkernelmanager
[Nexus 5 Original Android Development] flar2:
M kernel will come, I installed the preview yesterday. I have a bunch of other things on my to do list
[Nexus 5 Original Android Development] jbowwow02:
Sorcery!
[Nexus 5 Original Android Development] moksha51:
Quite.
[Nexus 5 Original Android Development] Meth0d:
And here i was wondering why I could not find the app in play store anymore, then I finally found the reason here. Thank you very much for keeping up the amazing work, I've been using your kernels on the N5 and N7 for ages now and I truly feel they have done by far the most for both devices. All nice ROMs aside, it is your kernel that gets my N5 through 2+ business days with stellar performance.

I will instantly buy the new app again even though I rarely use it (most of the time i will just reflash from recovery) because you deserve the support.

Thank you, please keep doing this amazing work.
[Nexus 5 Original Android Development] cocchiararo:
Where is that quote from? What happened? :P

I am out of touch with most things right now, but i do know i bought the app the day before yesterday and ir rocks :P
[Nexus 5 Original Android Development] Meth0d:
You can click on the link inside that quote, most of the information I found around page 1757.
[Nexus 5 Original Android Development] cocchiararo:
call me blind, but i see no link.

Could you tell me post number? i see 374 pages only (different postcount per page i guess)
[Nexus 5 Original Android Development] godefoy:
Is the chrome freeze still there in this new version?
[Nexus 5 Original Android Development] Meth0d:
Here you go:

http://xdaforums.com/google-nexus-5...lx-n5-0-44-t2519607/post60154680#post60154680
[Nexus 5 Original Android Development] DroidIt!:
I never did have chrome freeze, but watching the thread from Flar's last release, I don't recall seeing a single instance of any more Chrome freezes ;)
[Nexus 5 Original Android Development] walpurgisnacht30:
Nooooo longerrrr. ?
[Nexus 5 Original Android Development] silvertrain78:
I had Chrome freeze on 4.0. Took less than 5 mins for it to appear. Reverted to stock, it went away.
[Nexus 5 Original Android Development] NovaSlim:
Just bought the app, looks great on my N5 & N7. Thank you for your great work [MENTION=4684315]flar2[/MENTION]
[Nexus 5 Original Android Development] flar2:
No. Seriously. No.
[Nexus 5 Original Android Development] farsight73:
One question..

I really would like to buy the EX Kernal Manager.. But does it also shows/display total deep sleep time like the one normally have in CPUspy app? The kernal features can be enable/disbable on the fly without flashing the kernal and go through the aroma setting just to get specific feature again?

Thanks in Advance..!

Edit.. sorry it is more than one questions.. huhuhu!