yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] flar2:
Update!!!

I RECOMMEND YOU USE THE AROMA INSTALLER the first time you install this version.

If you don't, you won't have an up-to-date elementalx.conf with the new permissive settings

I added ability to set selinux permissive. It requires SuperSU. Don't run permissive unless you need to.

Added KCAL advanced color control by [MENTION=4316709]savoca[/MENTION], with thanks to [MENTION=3795148]neobuddy89[/MENTION] for porting it to N5. Let me know of any problems.

I will update the EX app soon when I have a chance, as there are lots of options changed recently

Download:

ElementalX-N5-2.09

Changelog:

-add advanced color control

-add permissive setting

-add xprivacy line to security_contexts
[Nexus 5 Original Android Development] till22:
Awesome, thanks for the update! Keen on testing the new colour controls.
[Nexus 5 Original Android Development] flar2:
I will update the EX app, in the meantime you can use savoca's app http://xdaforums.com/android/software-hacking/dev-kcal-advanced-color-control-t3032080
[Nexus 5 Original Android Development] till22:
Yup, that's the one I'm using ;) Thanks for linking it for other users, though. Looking forward to the updated EX app too.
[Nexus 5 Original Android Development] Primokorn:
Awesome! Thanks flar2. I'll flash it ASAP!!!
[Nexus 5 Original Android Development] magnamentis:
i don't think that was the point, there is even an app for it from playstore but it's of course nice to just flash the kernel

which we anyways do and things would be as needed or wanted. certainly it's not that comfortable to use terminal

after each boot and certain roms and devices need permissive upon early boot when using xposed for example.

i juse the app and am permissive at all times so that's my recommendation if that would do for the original poster.
[Nexus 5 Original Android Development] star85:
Anyone have a step-by-step for using the aroma installer?

Isn't the elementalx.conf something I can just edit with a text editor?

I tried flashing the update as normal in recovery, but doesn't seem to work.

Thank you for your work flar2!
[Nexus 5 Original Android Development] NovaSlim:
Aroma installer is very easy to use and should automatically start when you flash the ElementalX kernel(non express version) in your recovery. What is your "doesn't seem to work" problem exactly?
[Nexus 5 Original Android Development] ConorCX:
Been using your Kernel for the best part of two months now and have solid performance from it. Many thanks.

Flashed the new version and all went fine. Baseband was unknown after flashing and clearing cache for some reason but a restart brought it back.
[Nexus 5 Original Android Development] magnamentis:
the aroma installer is self explaining and it IS step by step already, i mean you see max freq and a radio button, what else do you need ?

if it does not start which could be what you mean with "does not work" not a very helpful description BTW, then you should update your superSU to latest, but at least 2.46, update your busybox to latest, but at least 2.3.1, better 2.3.1 if you're already at it :) and update your recovery to latest, whatever is not done yet and/or whichever applies.

last but not least you can still use the express version should you not need any of the aroma settings which cannot be tweaked with the app ( max freq. for example )
[Nexus 5 Original Android Development] star85:
Ah sorry I didn't realise that was aroma installer. I googled it and downloaded some zip-file I thought I had to use.

But then I did it the correct way. Can't seem to get Permissive/XPrivacy to work though.

Where is the elementalx.conf located?
[Nexus 5 Original Android Development] magnamentis:
i'm using the SELiusModeChanger from the appstore for one year+ now and it solves every SELinux problem on KK as well as LP up to now, just go for it, of course you need root but that you have 99% sure :) just sayin'

and then use the thanks button if someone helped you out, it's keeping us motivated :)
[Nexus 5 Original Android Development] star85:
Permissive mode seems to be working. Can't get XPrivacy to work though.

Does it only work for stock rom?
[Nexus 5 Original Android Development] Primokorn:
[MENTION=4684315]flar2[/MENTION] I flashed 2.09 using the permissive mode from Aroma (with SuperSU). No issue after boot. Permissive mode correctly applied.

Then I installed Xprivacy 3.6.6-1 and I have a boot loop now.

Did someone also try?

EDIT

[MENTION=4498920]star85[/MENTION] boot loop too?
[Nexus 5 Original Android Development] flar2:
For Xprivacy, could I have dmesg logs?

It's not something I use
[Nexus 5 Original Android Development] Ben36:
So if I don't care about colour or xprivacy there's no need for the update?
[Nexus 5 Original Android Development] star85:
Yes I also got a boot loop. Need to reflash the kernel every time I reboot.
[Nexus 5 Original Android Development] DroidIt!:
Could also simply be a funky module derp. I don't use that one either, but I don't have any problems at all with other modules. If you guys do get logs for Flar, I'd also suggest submitting those same logs to the module dev :)
[Nexus 5 Original Android Development] NovaSlim:
If you don't care about permissive mode either( it enables you to use apps like Viper4Android), then yes there is no need to update to 2.09 from 2.08.
[Nexus 5 Original Android Development] Primokorn:
Hère you go https://www.dropbox.com/s/x181jwvqe0osbmr/dmesg-2015-02-18.21.31.16.txt?dl=0

I had to remove xprivacy from data folders to ne able to boot.
[Nexus 5 Original Android Development] flar2:
This doesn't show any reboot or error?

Perhaps re-enable xprivacy, let it crash and then send /proc/last_kmsg (must be done the very next boot, including recovery)
[Nexus 5 Original Android Development] Recl@imer:
Chris Nacca has a vid on youtube for an older version, but the steps are pretty much the same. Search "Elemental X kernel Nexus 5" should see.
[Nexus 5 Original Android Development] Tylog:
Since you have the N6 the N5'kernel gets better and better , let's hope if I maybe use sometimes my N6 for more as a Drawers filler you have a whatever and the N6 kernel happens the same xD
[Nexus 5 Original Android Development] scrack26:
Just confused about the permissive mode, I installed Xposed and it's working fine without changing to permissive. Using stock lollipop and 2.08, is this means the 2.08 is set to permissive right?

Sent from my Nexus 5
[Nexus 5 Original Android Development] NovaSlim:
No, http://xdaforums.com/xposed/official-xposed-lollipop-t3030118

Judging by the xposed for Lolipop thread OP, you don't need permissive mode for Xposed itself to work on LP. However some Xposed modules(like XPrivacy) need Permissive to work.

It is very easy to check if your device is on permissive mode, go to Settings/About Phone then scroll to the bottom to see SELinux status(should be either Enforcing or Permissive).
[Nexus 5 Original Android Development] SpasilliumNexus:
Wouldn't that depend on whether or not the ROM has it exposed?

I don't remember if it shows it on stock, but with AOSP, I had to patch that into my ROM as it wasn't showing by default.
[Nexus 5 Original Android Development] NovaSlim:
I don't remember , haven't been on stock/AOSP since June last year. But in that case you could get into the bootloader screen to find out.
[Nexus 5 Original Android Development] AA1973:
In Terminal type

getenforce
[Nexus 5 Original Android Development] russian392:
Great guide to everything "kernel" related http://xdaforums.com/lg-g2/help/tes...gn=Feed:+xda-developers/ShsH+(xda-developers)
[Nexus 5 Original Android Development] les02jen17:
Quick check... I'm now using CM12 nightly on my N5...can I use this? (ElementalX-N5-2.09?)
[Nexus 5 Original Android Development] Crostantin:
first of all, awesome work [MENTION=4684315]flar2[/MENTION]!!!! this is one of the best kernel I ever tried !!!

and I m studying your git to try to understand how kernels work :angel:... but I think is very hard to do something better... ll stay on Elemental for long time :D :D

now, I had some problems with last Elemental versions (since 2.08) on my rom (link and git on my sign)...Using Aroma if I try to set an overclock and hotplug I have an annoying bootloop...I tried several configurations with the same results....when I flashed with stock settings all is good, and to be honest is a little strange...btw, with the app I can set whatever I want so no problems....but is something I can't understand

anybody has this kind of problems? Is somebody using overclock + custom hotplug?

...have you any ideas?? I reverted all the commits on ramdisk but not solved...

thanks in advance

...keep it up !!!!!!

EDIT:

[MENTION=4684315]flar2[/MENTION]....I m convinced that the problem is because ramdisk...I m trying with reverting the init.d support
[Nexus 5 Original Android Development] vickyjusme:
oops didn't know that. but for me at least xprivacy isn't working even after 2.09
[Nexus 5 Original Android Development] NovaSlim:
As long as you are not using myfluxi''s CAF CM build you can use EX2.09 on CM12 as it is AOSP at this point.

Or you could have just searched "CM12" in this thread and gotten the same answer.
[Nexus 5 Original Android Development] les02jen17:
My bad. [emoji26] Will keep that in mind for future queries. Thanks!
[Nexus 5 Original Android Development] magg1e16:
Super helpful, thanks!
[Nexus 5 Original Android Development] GragonV:
Synpase seems not to work well with Ele @_@, the setting sometime is not sticked.

Would be great if ElementalX kernel manager has the option for the ram killing. The new version of EleX is so great that with 1.5Ghz max CPU (which is default?) most of my app and game run very smoothly. But I'm still so sad with the ram manager of Lollipop :(

btw, If I'm satisfied with the color on 2.08 (I thought iphone color profile is alreay one of the best? :D), should I need to upgrade to 2.09 @_@

I don't really get what permissive setting is. Is it a fix or an additional feature :)
[Nexus 5 Original Android Development] yuhenyo:
Hi! sorry if this is a noob question but will the 2.09 version of ElementalX kernel also work with CM12 or does it really have to be the 2.05 version? TIA!
[Nexus 5 Original Android Development] siren215:
i am currently on N5X rom with elex 2.05?should i just flash 2.09 via recovery or any other method? will 2.09 work on my current setup?what will get cleared/wiped when i clear dalvik and normal cache?thx
[Nexus 5 Original Android Development] Primokorn:
I have 'no errors detected' in the last_kmsg. After the boot loop I have to reboot into recovery mode to remove data/data/ and data/app for Xprivacy. Then I can reboot to OS to copy last_ksmg file.
[Nexus 5 Original Android Development] les02jen17:
If you read back a couple of post before you posted, you would have found the answer. :(
[Nexus 5 Original Android Development] JoaoPaulo:
[MENTION=4684315]flar2[/MENTION]

Just paid for your app bro!

Can't be more happy to see your work getting better every day! Congratz :)

---------- Post added at 12:03 PM ---------- Previous post was at 12:00 PM ----------

Delete all data from app if you have it, then install kernel via recovery, clean cache, reboot system, configure app again, and youre done :)

I didnt try updating via app, but I am pretty sure it will be much more easier :)

Cheers,
[Nexus 5 Original Android Development] siren215:
i dont have app installed. i will flash from recovery, what data will get cleared when i clear cache? are messages and other app data intact?
[Nexus 5 Original Android Development] Edge330:
Where I can find changelog?

I was't in topic maybe last 10 and there is already 2.09 version.

Thanks!
[Nexus 5 Original Android Development] copi:
Which one do u guys think is better on performance & battery balance between mpdecission or hotplug with 2.09 ?
[Nexus 5 Original Android Development] sherlock5545:
Clearing cache doesn't wipe any data.
[Nexus 5 Original Android Development] momomok:
just noticed that the installer seems failed to create the 99elementalx into init.d folder, so that means my settings in elementalx.conf won't be applied right?

using 2.09 non-express version right now

can i copy the 99elementalx file from somewhere inside the installer zip?
[Nexus 5 Original Android Development] NovaSlim:
99elementalx was removed(since version 2.07), there is now a new way to store and apply settings, as mentioned below:
[Nexus 5 Original Android Development] vickyjusme:
[MENTION=4684315]flar2[/MENTION] does this kernel come with an extra battery and a few more cores for the processor? didn't see anything in the changelog though but seems that way [emoji14]
[Nexus 5 Original Android Development] flar2:
You have to get last_kmsg the very next boot, in this case, while you are in recovery. The attachment is the log from recovery kernel.
[Nexus 5 Original Android Development] momomok:
thanks. next time i should search even more pages before posting :p

so now I can still modify etc/elementalx.conf and the kernel will take the new values upon next reboot?

UPDATE:

looks like directly modifying the config file will change the kernel settings upon next reboot :D
[Nexus 5 Original Android Development] ArcMage:
I'm experiencing reboots during deep sleep with the new hotplug.

Last_kmsg enclosed, something seems to have asked for a reboot, rather than crashing out.

No boot loop, it just reboots.

https://docs.google.com/file/d/0B5s7dn0NW5g8UVRkXzZVN19YRzA/edit?usp=docslist_api
[Nexus 5 Original Android Development] Primokorn:
Actually I have a good news :D I'm on CM12 now and Xprivacy works. No more boot loop :D :D :D

I was on Screwd rom during the boot loop so do you still need last_kmsg or do you consider that it's a rom issue?
[Nexus 5 Original Android Development] russian392:
I haven't had any reboots, only an odd WiFi connection after flashing, took about 20 minutes to connect to my WiFi, did a reboot and all is okay.

I turned on fsync all reboots go away.
[Nexus 5 Original Android Development] flar2:
That's also the log from recovery
[Nexus 5 Original Android Development] ArcMage:
Well, balls.

Maybe it's not a reboot issue then. Not sure what it is I'm seeing.

Catlog has this to say about it:

--------- beginning of crash

02-19 04:18:40.532 E/AndroidRuntime(2065): *** FATAL EXCEPTION IN SYSTEM PROCESS: main

02-19 04:18:40.532 E/AndroidRuntime(2065): java.lang.NullPointerException: Attempt to invoke interface method 'void o.CK.D()' on a null object reference

02-19 04:18:40.532 E/AndroidRuntime(2065): at android.os.Parcel.readException(Parcel.java:1546)

02-19 04:18:40.532 E/AndroidRuntime(2065): at android.os.Parcel.readException(Parcel.java:1493)

02-19 04:18:40.532 E/AndroidRuntime(2065): at com.android.internal.widget.IRemoteViewsAdapterConnection$Stub$Proxy.onServiceConnected(IRemoteViewsAdapterConnection.java:88)

02-19 04:18:40.532 E/AndroidRuntime(2065): at com.android.server.appwidget.AppWidgetServiceImpl$ServiceConnectionProxy.onServiceConnected(AppWidgetServiceImpl.java:3418)

02-19 04:18:40.532 E/AndroidRuntime(2065): at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1203)

02-19 04:18:40.532 E/AndroidRuntime(2065): at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1220)

02-19 04:18:40.532 E/AndroidRuntime(2065): at android.os.Handler.handleCallback(Handler.java:739)

02-19 04:18:40.532 E/AndroidRuntime(2065): at android.os.Handler.dispatchMessage(Handler.java:95)

02-19 04:18:40.532 E/AndroidRuntime(2065): at android.os.Looper.loop(Looper.java:135)

02-19 04:18:40.532 E/AndroidRuntime(2065): at com.android.server.SystemServer.run(SystemServer.java:269)

02-19 04:18:40.532 E/AndroidRuntime(2065): at com.android.server.SystemServer.main(SystemServer.java:170)

02-19 04:18:40.532 E/AndroidRuntime(2065): at java.lang.reflect.Method.invoke(Native Method)

02-19 04:18:40.532 E/AndroidRuntime(2065): at java.lang.reflect.Method.invoke(Method.java:372)

02-19 04:18:40.532 E/AndroidRuntime(2065): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)

02-19 04:18:40.532 E/AndroidRuntime(2065): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)

02-19 04:20:13.420 F/libc (24357): Fatal signal 11 (SIGSEGV), code 1, fault addr 0xb4da21f0 in tid 24408 (Binder_2)

--------- beginning of system
[Nexus 5 Original Android Development] ekowwillis:
N5-2.09

Whats new in ElementalX-N5-2.09?
[Nexus 5 Original Android Development] vickyjusme:
look here http://xdaforums.com/showpost.php?p=58933385&postcount=16264
[Nexus 5 Original Android Development] NovaSlim:
Tried typing that in the search bar yet? ;)
[Nexus 5 Original Android Development] walpurgisnacht30:
Came here to say that, here take my thanks dear sir.
[Nexus 5 Original Android Development] Wh1t3Rose:
All changelogs are in post #2
[Nexus 5 Original Android Development] maortrol:
Not true, actually... Only v1.XX kernel changelogs in post #2... ;)
[Nexus 5 Original Android Development] NovaSlim:
http://xdaforums.com/showpost.php?p=47286539&postcount=2

Except the newest change log in #2 is dated September 2014 and was for N5-1.10, none of the Lolipop Kernel(2.XX) changelogs could be found there. How about you check that post before pointing people there next time? :p
[Nexus 5 Original Android Development] siren215:
Read through this thread, after the update, many are facing boot loops. Is it safe to upgrade from 2.05 with aroma?
[Nexus 5 Original Android Development] DroidIt!:
No bootloops here on clean flash ;)
[Nexus 5 Original Android Development] NovaSlim:
Updated, What is a Bootloop? :D People who are reporting the bootloops are mostly those who are running Xposed Modules with XPrivacy plus Permissive Mode, if you are just keeping the same setting you had in 2.05 then you shouldn't encounter any problems.

:good:

[MENTION=4684315]flar2[/MENTION] Is 2.09 counted as a Experimental version like 2.06, b/c the EX app is not recognizing it as the newest version.
[Nexus 5 Original Android Development] flar2:
There are no bootloops caused by the kernel. They were caused by people messing with xposed modules.

The kernel is 100% stable.
[Nexus 5 Original Android Development] flar2:
2.09 was pushed to the app, it shows up on mine
[Nexus 5 Original Android Development] siren215:
Thx [MENTION=4684315]flar2[/MENTION]... Flashing now.. I am getting more battery life, feels like increased capacity and 4 hrs + of SOT. Very happy.
[Nexus 5 Original Android Development] NovaSlim:
Hmm, interesting. I killed the app, cleared data and relaunched it, still showing 2.08 as the latest version. Should I wait a bit longer?
[Nexus 5 Original Android Development] flar2:
It should be instant once I update my server. Perhaps your ISP is caching soemthing? I don't know. Can you pull down on the screen to refresh?
[Nexus 5 Original Android Development] Ben36:
I just did what you said and got this - http://xdaforums.com/showthread.php?p=58954287

?
[Nexus 5 Original Android Development] NovaSlim:
Did that, still showing 2.08. Doubt my ISP have something to do with it as the app on my N7 pulled down 3.04 without trouble last night. Uninstalled and reinstalled, nothing changed.

That's because you are too lazy: http://xdaforums.com/search.php?searchid=342481796 scroll to the bottom :p
[Nexus 5 Original Android Development] flar2:
Try it now, I forgot to push the update for Android 5.0.2
[Nexus 5 Original Android Development] NovaSlim:
Thanks, that fixed it for me :good:
[Nexus 5 Original Android Development] magnamentis:
you can rely on what [MENTION=4684315]flar2[/MENTION] is releasing is better than the previous, it's true that synapse is not stable for me as well, i've been using it on my OnePlus and changed kernel for that very reason. it's good but not as good as [MENTION=947981]Lord Boeffla[/MENTION] his app and elemtalX app. they do less but what they do they do perfectly and reliably which is my thing, while others of course like more to tweak for fun :)
[Nexus 5 Original Android Development] ArcMage:
I managed to catch the crash in the act this time. Using a forums app when it happened.

I do not run xposed on this device; I run bone stock 5.0.1, supersu 2.46, and your kernel 2.09

I've had the crash using both mpdecision and your new hotplug engine. I was on mpdecision at the time of the crash.

Find the error-level logcat in the linked zip. I can provide the full verbose log if you want it.

This is absolutely not a slur against your kernel. This is the first crash I've encountered with it, and I've run it since kitkat.

https://docs.google.com/file/d/0B5s7dn0NW5g8TWxGb05UVi1lOFE/edit?usp=docslist_api
[Nexus 5 Original Android Development] flar2:
This log is from recovery
[Nexus 5 Original Android Development] ArcMage:
The logcat is not, and that last_kmsg was read the instant that I had filesystem access. It didn't drop me into the bootloader or recovery console, it performed a hot boot. I don't know where or when else I'm supposed to be reading it.
[Nexus 5 Original Android Development] TaRsY:
Maybe hot reboot keeps the previous kmsg. Get the kmsg or reboot normally and pull last_kmsg afterwards.
[Nexus 5 Original Android Development] ArcMage:
Well, it doesn't crash into a normal reboot, so that wouldn't be any more useful than this one.
[Nexus 5 Original Android Development] flar2:
If its a hot reboot, its 99% not the kernel. Kernel errors cause a panic and it reboots.

OMX something seems related to the crash, is it an audio player?

Its definitely not kernel related.
[Nexus 5 Original Android Development] ArcMage:
02-19 15:03:40.923 E/AndroidRuntime(3617): *** FATAL EXCEPTION IN SYSTEM PROCESS: main

02-19 15:03:40.923 E/AndroidRuntime(3617): java.lang.NullPointerException: Attempt to invoke interface method 'void o.CK.D()' on a null object reference

Forgive my ignorance; 'main' might not be a kernel process, I don't actually know how android sorts itself these days.

The only thing changed on my device is an upgrade to 2.08 and then 2.09.

The initial crashes happened overnight, when I am confident that I wasn't doing anything actively.

Subsequent crashes happened when I opened an Apps Organizer folder, and while I was browsing using Awful, neither of which have been updated since before 2.05.

This is the first crash of this type that I have encountered, and the null pointer exception in 'main' has been the precipitating fault all three times that it's crashed and I've caught the logs.

If it will work to revert to 2.06 with the aroma installer, I'm going to do that, and see if I can duplicate this fault. I want to check that reverting won't cause issues itself, since you changed the .conf format.
[Nexus 5 Original Android Development] flar2:
It's not related to the kernel at all, this is probably something you've installed. I would do a wipe if you can't figure it out.
[Nexus 5 Original Android Development] ArcMage:
I haven't installed anything except the kernel. What is system process: main, so I can go find the right person to bother about this, please?

Also, can I safely revert to 2.06 via its aroma installer?
[Nexus 5 Original Android Development] NovaSlim:
You can safely revert to whatever 2.0X kernel version you want via aroma installer.
[Nexus 5 Original Android Development] ArcMage:
Thank you. Thank you, flar2.

I'll try the next version.
[Nexus 5 Original Android Development] ryanbmw51:
Hey hey ladies and mostly gentlemen. Been gone from android for a while but back with a vengeance. I love my nexus 5 and everything is great just stock rooted and twrp. Only installed stereo sound mod. Only issue is battery is killing me. So if i flash this do i really need to adjust any of the settings to optimize battery life? Or just flash with all the recommended settings will make a big difference? Thanks in advance :)
[Nexus 5 Original Android Development] matteventu:
When rebooting in recovery from the update downloaded through the app, the CWM says that it doesn't find the zip of the kernel and "Install untrusted.zip ?" and if I select Yes it still fails.

I had to navigate manually to the ElementalX directory to flash the zip of the kernel downloaded (and in this way it worked, with Aroma and then normal reboot).... is this a bug of the app or of the script in the kernel?

ps: coming from 2.08