yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] SWTR:
Here is a screenshot with ElementalX Kernel on CM12 (5.0.2)
[Nexus 5 Original Android Development] edgardurao:
5.0.2? There no such thing officially for Nexus 5 ATM. How can it be fixed?

And for what I read the commits made to aosp (probably what you tell like 5.0.2) are not clear that fix any memory leak.
[Nexus 5 Original Android Development] 4boky:
Everytime I reboot, sweep2wake/sleep/etc resets back to its default value (0). I'm probably missing one small step. I use ES file manager to edit the text files. After saving the file, functions works. Whenever I reboot, I have to go into /sys and change settings again. Aroma installer doesn't enable the settings too. Anyone knows what I am doing wrong? Thanks
[Nexus 5 Original Android Development] flar2:
Do you have any kernel apps installed? They could be resetting it.

Otherwise, check if the init.d script is running by looking at the elementalx.log in /data/local/tmp/

You need busybox and root
[Nexus 5 Original Android Development] drawde40599:
5.02 is up AOSP . 90% of the Roms out are already on it . Im repeating what ROM Dev's are saying so I'm going to go with its been fixed for n5 .
[Nexus 5 Original Android Development] DroidIt!:
For memory leak guys, I did some reading and google is aware of the issue. Sounds like it'll be pushed out whenever they release their 5.0.3 update. There actually already is a fix for the memory leak floating around, you just need to search a bit. I know for sure one place to look, just search for slim ROM builders collective. There's at least one builder in there that builds for hammerhead that has the memory leak fix included in his build if it's a big enough issue for you. But yep, definitely not kernel. ;)
[Nexus 5 Original Android Development] akenis:
This seems related to my question on the last page (must have gotten lost in all the excitement). Can you revisit that?

I do have two files in that temp directory specified above. Is that how the app makes changes on the fly? Does it over write the aroma settings if you select set on boot or do the aroma settings persist thought app changes?
[Nexus 5 Original Android Development] 4boky:
There might be a kernel app in the ROM I am using. I didn't install any. ATM, I am using xTraSmooth 3.6 with root and busybox.

The only file I see in /data/local/tmp/ is init.rc not sure how to check it.
[Nexus 5 Original Android Development] olivierg13:
In my case I noticed a difference after a silent update of the Google Services previous week. Before that I got almost 1gb of ram taken by system after a few days, now it stays to 200-500mb depending on my usage for a whole week.

(I was on Elemental 2.05 since the beginning)
[Nexus 5 Original Android Development] menaaboud:
F2FS

Will you support F2FS? Please :D
[Nexus 5 Original Android Development] danarama:
It does support f2fs, so long as your ramdisk does.
[Nexus 5 Original Android Development] edgardurao:
OK, will try again. Just finish reinstall elementalx again. After three days with stock and no problems lets testar again.
[Nexus 5 Original Android Development] airon11:
Can o have some racomandations please to increase a little bit battery? Without underclocking is there some parameter that is possible to fweak in kernel like touchboost frequency or something similar to improve screen on time(loosing a little bit of power and smoothness)?thank you
[Nexus 5 Original Android Development] danarama:
To increase battery, you sacrifice performance. If you have a problem with smoothness, you may not want to change performance settings. I personally change governor settings so the CPU ramps up at a higher % of load...
[Nexus 5 Original Android Development] scrack26:
Hi [MENTION=298610]Flar[/MENTION] just a question, is it possible to add an option on the kernel double tap to sleep? meaning it's just for putting the phone to sleep instead of the power button? Thanks again! Cheers! ;)
[Nexus 5 Original Android Development] Mr.Jay:
What's wrong with sweep across navbar to sleep?

Sent from my Nexus 5
[Nexus 5 Original Android Development] magnamentis:
without taking away the answer from flar2 i can say that i know many ways to achieve that goal but none of them is kernel side, this feature does not need any kernel code as compared to wake features. mostly it's a rom feature like in cm11, cm12 based roms as well and many many others. another way is to make a tasker task and trigger it from the launcher gestures like holo launcher, nova launcher and again many other launchers include this feature. that's why i take the "risk" to predict that most probably the answer will take a similar direction like this one.

in short, it's not a typical kernel but more a rom and/or app feature

---------- Post added at 01:02 AM ---------- Previous post was at 01:00 AM ----------

probably nothing, probably he is just not using a launcher or a rom with the feature implemented, at least that's how it sounds to me, let's see :)
[Nexus 5 Original Android Development] scrack26:
oh nothing's wrong with the sweep2sleep, i just got little hands so swiping on nav bar just gives me a little hard to reach on it, but if not possible no big deal for me, just asking. thanks!

---------- Post added at 08:12 AM ---------- Previous post was at 08:06 AM ----------

I'm on stock using stock launcher, will this be possible if i use tasker with the stock launcher?
[Nexus 5 Original Android Development] magnamentis:
yes

you can take different paths to achieve this with tasker, need details, pm me, but hope you can go from here with the following information

which does not claim to be complete, just a few easy ways to do it:

a) make a task ( not a profile ) in tasker which you can call "sleep" ! you need secure settings for this and then use that as a shorcut from wherever you want. should your launcher not accept shortcuts ( give the choice to select tasker shortcuts ) you can use an app like "Any Cut" to make a launcher (desktop) shortcut (icon)

b) you could choose the task as a gesture with any gesture app or launcher which has gestures as a feature.

c) you could use an app like "swapps" and choose your task as a shortcut like opening an app

d) generally speaking you can acitvate that task from any kind of trigger which allows you to choose shortcuts in addition to just apps, be it for icons to click or for gestures. the advantage of a sidebar like in the screenshots below is, that you can trigger sleep from anywhere, while laucher gestures as well as desktop icons are only or at least most of the time only possible to trigger from the desktop.

see the attached screenshots and see if this helps. and keep in mind, there are more ways, just thought this might be a starting point.
[Nexus 5 Original Android Development] scrack26:
wow! [MENTION=5372360]magnamentis[/MENTION] thank you so much for this! used the (a) option with that the shortcut is placed where i can reach it comfortably. thanks again!
[Nexus 5 Original Android Development] bseos:
I've got issues accessing shares (CIFS)

I'm running Android Lollipop 5.0.1 on my Nexus 5 which has ElementalX Kernel N5-2.05 flashed.

Cifsmanager seems to mount the share successfully but when navigating to the mount folder it shows empty.

Same issue mounting manually through terminal emulator. Folder still empty. Commands:

I've also tried setting the SELinux mode to permissive.

[YOUTUBE]fq7Q66_kha0[/YOUTUBE]

Any ideas what's wrong?
[Nexus 5 Original Android Development] Prattham:
hey guys thanks for your suggestion

so i tried to flash elementalx but after the aroma installation i got bootloop i mean not even the boot animations just google thing restarting again.....?

is due to the multi rom? I'm running cata as primary rom..

if no then what could be the matter guys?

cheers ?

sent from my Cataclysmic Red N5 ?
[Nexus 5 Original Android Development] flar2:
Apps aren't allowed to access shares mounted by other apps. There was a hack to get this working on KitKat but not on lollipop. I just use es file explorer to access windows shares.

Undervolting, ovetclocking or installing over a different kernel without first flashing the ROM.
[Nexus 5 Original Android Development] bseos:
I thought the purpose for CIFS support was so that the shared folder can be viewed natively by all apps?

Sorry if i seem naive but what is the purpose then?

I assume you are referring to this hack for KitKat.
[Nexus 5 Original Android Development] danarama:
CIFS is a network file system. Being able to mount with CIFS should give you the ability to view from any app (not all apps).

The problem since KitKat (or actually since jellybean I think) is Google changed these permissions so that if you mount a directory in app 1, app 2 won't see it. You may remember apps that were used to mount internal storage directories to external storage all stopped working at this time and we had to use the debuggerd hack to bypass it.

CIFS is a Linux thing not an android thing so what android allows doesn't really affect the point of virus I'm general, just why we bother using it.
[Nexus 5 Original Android Development] BabboDemonio:
First cyanogen 12 nightly is out for nexus 5. Looking forward to seeing your kernel on it ☺
[Nexus 5 Original Android Development] ssking:
Is the kernel supports diag mode?
[Nexus 5 Original Android Development] ramjet73:
That question was answered in this post.

ramjet73
[Nexus 5 Original Android Development] Prattham:
which app is highly recommended with this?

i have read op about the apps but wanna know the highly recommended one...

i don't want to try ecah app myself

cheers ?

sent from my Cataclysmic Red N5 ?
[Nexus 5 Original Android Development] walpurgisnacht30:
ElementalX App FTW!
[Nexus 5 Original Android Development] Prattham:
u mean the aroma installer...? or
[Nexus 5 Original Android Development] walpurgisnacht30:
no, this one https://play.google.com/store/apps/details?id=flar2.elementalxkernel

[MENTION=4684315]flar2[/MENTION] maybe you might want to add your app in the op? Just a suggestion tho, since you don't do any advertisement about it except in G+
[Nexus 5 Original Android Development] ramjet73:
And there's more information about the ElementalX app here.

ramjet73
[Nexus 5 Original Android Development] walpurgisnacht30:
I know, but after saw a lot of people keep asking about the app it'd be more convenience to put it in op.
[Nexus 5 Original Android Development] flar2:
I don't think you can link or promote paid apps in the op.
[Nexus 5 Original Android Development] walpurgisnacht30:
I see then
[Nexus 5 Original Android Development] ramjet73:
Would it be difficult to mod the app to have a free version that is display only for the kernel settings and still requires editing of /etc/elementalx.conf to change them?

That might be easier, faster, and more useful to users than creating a version that is only an updater.

ramjet73
[Nexus 5 Original Android Development] magnamentis:
none of my business of course but i came across a few apps with a 7 days trial period which would not make the link a link to purchase but to try.

i have a feeling that this could boost sales "xda-legally" as well as help newcomers not to get used to the worse haha....

however thanks for the ever flawless kernels, always a major part of my overall android experience with zero downsides.

yep that's another workaround which some choose, good to see more people who care haha... just hoping it's welcome :)
[Nexus 5 Original Android Development] flar2:
I don't want to make a crippled version of the app and I still keep the easy Aroma installer so you don't need the app if you are the set it and forget it type. The only problem at the moment is that people in certain countries have a hard time purchasing things from the Play Store. I put a link to the app on the download page for the kernel on my website. Lots of people are buying it so I think that is enough. It's only been officially released for two weeks, so after a few more weeks I think most people will know about it.
[Nexus 5 Original Android Development] The-Droidster:
That is outstanding. Thanks a bunch.:thumbup::)

Hammered from my Hammerhead!
[Nexus 5 Original Android Development] till22:
Is it possible to set a dt2w timeout after X minutes in the build properties? If so, doea anyone know how?
[Nexus 5 Original Android Development] rhamej:
Yes. Read the OP.
[Nexus 5 Original Android Development] till22:
I'll have to investigate how to later, cause I do not know how to edit that file correctly. Thanks though.

EDIT: Got it - justed checked the path. I feel stupid now. Thanks! ;)
[Nexus 5 Original Android Development] WNSTNSNRS:
How do I set all cores always online?

Sent from my Nexus 5 ?
[Nexus 5 Original Android Development] Brushstroke:
Why would you want to do that? That would destroy your battery life.
[Nexus 5 Original Android Development] DroidIt!:
I'd highly reccomend not putting anything about the app in the op. There is another LONG time highly respected kernel dev that broke the rule on accident about 2 years ago, was lucky to get off by only losing his dev status and hasn't gotten it back ever since even though he keeps dev'ing his tail off. Maybe a mention about it at the most though I'd be wary of it even then.
[Nexus 5 Original Android Development] thereal_bigjake:
Turn of mpdecision
[Nexus 5 Original Android Development] DroidIt!:
Actually there's a kernel that did just that and surprisingly battery wasn't too much different. But, that kernel was highly optimized with that specifically in mind, this one would probably be a crap shoot trying that. I personally wouldn't.
[Nexus 5 Original Android Development] WNSTNSNRS:
Where to? I can't find it. I am using Fkupdater

Sent from my Nexus 5 ?
[Nexus 5 Original Android Development] Haidary.T:
You could try renaming "mpdecision" file in /system/bin/ and hope it doesn't create a new one at boot lol.
[Nexus 5 Original Android Development] :
Use Kernel Tweaker App.
[Nexus 5 Original Android Development] bonzai80:
I am not quite sure, is the L Kernel compatible with CM12 Official nightlies? I tried to find the information, but could not find the confirmation.

Thank you very much...
[Nexus 5 Original Android Development] bseos:
Is it possible to make a kernel patch to get it working likeit was done for Android 4.2?

http://xdaforums.com/showthread.php?p=36889027#post36889027

EDIT: User glimming has confirmed it working with the following kernel patch:

http://xdaforums.com/showpost.php?p=58030331&postcount=559

I'd be swell if you could add the patch to your kernel.

EDIT 2: Actually it would be better to get this implemented/patched in the modified Cifsmanager app since you still need to mess with Android SE.
[Nexus 5 Original Android Development] Mikulec:
Since u mentioned Aroma installer, I dont know if it is only me (I already reported this here but no one took notice I suppose), but in Aroma the default option for I/O scheduler is not bfq as stated in the changelog for 2.04.
[Nexus 5 Original Android Development] walpurgisnacht30:
That's because he only adds BFQ scheduler as an option, I don't see he mentioned that it is the default scheduler.
[Nexus 5 Original Android Development] BabboDemonio:
No it's not. We have to wait until [MENTION=4684315]flar2[/MENTION] makes the version for cyanogen.
[Nexus 5 Original Android Development] Elluel:
No it wouldn't.

That would be Trinity. Since it hasn't come to Lollipop yet I've been using this instead, with all 4 cores on and thermal throttle off, it feels pretty much the same.

It doesn't.
[Nexus 5 Original Android Development] magnamentis:
wrong

works flawlessly cm12 latest nightly with EX v.2.05
[Nexus 5 Original Android Development] walpurgisnacht30:
So..... CM is no longer being fully CAF?
[Nexus 5 Original Android Development] BabboDemonio:
Good to know but I think I'll wait for its version anyway... Flar said he would upload cyano kernel after the official release of CM12 so I don't think he would maintain two different versions if not necessary.
[Nexus 5 Original Android Development] Mehholoz:
I'm happy that I purcased the kernel app. :D But I have some question: Does "cooler colors" option drain more battery? What is backlight drimmer (I'm not sure about it, I guess it's like the automatic screen light)? Is there a way to enable Tap2wake only when I receive a notification? Even with tasker, I've never used it so I don't know how I could do it, but it's possible, right? Do you need any help translating your app?
[Nexus 5 Original Android Development] magnamentis:
certainly a valid point

i would bet a lot that more sooner than later cm will brake compatibility with aosp kernels, i just don't care so much because one nandroid back and wait for the right kernel version, but still i understand those who wanna play safe. i'm currently testing a few LP roms to find the right moment to switch from KK+Xposed as my daily drivers. there are still a few basic features missing and some ui-appearance choices to be available before i switch.
[Nexus 5 Original Android Development] Elluel:
Colour profiles do not affect battery.

Backlight dinner allows you to dim the backlight of the LCD more than normal.

Enabling doubletaptowake when you get a notification should be done with Tasker as the kernel has nothing to do with notifications.
[Nexus 5 Original Android Development] BabboDemonio:
I know.. When I was on KK I also used stock rom with xposed but you know.. the hype of switching to lollipop.. On the other hand I miss xposed features but I think cyanogen team is on the right way to include all of them in the rom. At least this is what I hope.
[Nexus 5 Original Android Development] Tylog:
At the moment no. Later, we will see
[Nexus 5 Original Android Development] magnamentis:
oh yes, i am most confident that we will get each and every feature back eventually :) after all we are android and that's one of the main reasons i assume :) i'm on bliss which is CM+ and i am very impressed as to how much we get already now. it's really nice to flash LP rom each day and see improvements but being able to go back before hitting the road, just to be sure that all works as expected while driving. at home i don't care but on the road i don't want to fiddle too much.
[Nexus 5 Original Android Development] ramjet73:
Are you referring to this nightly or this nightly?

My understanding is that the first one is AOSP based and should work with the existing versions of ElementalX L but the second one is CAF based and will require a kernel specific to that standard.

ramjet73
[Nexus 5 Original Android Development] magnamentis:
it's the one from 20140107, did not flash 08 yet, so cannot comment, but it had to be expected, i even was mentioning that i would make a bit bet that this will soon be the case. will flash today so will know more soon or did you try already to flash 2.05 on 20140108 and it failed ? if so i could safe myself the hassle :) you can pm me if it seems to go too much OT no problem.
[Nexus 5 Original Android Development] lanimul:
Running 2.05 on latest cm nightly Jan 8. No issues yet.. ?
[Nexus 5 Original Android Development] ramjet73:
I flashed an earlier version of ElementalX L on the Euroskank nightly a couple of weeks ago and that worked fine but I haven't tried installing any of the official CyanogenMod nightlies yet. I think they will require a CAF compatible kernel but would be interested as well in the results if anyone has tried the official versions with an AOSP based kernel.

ramjet73
[Nexus 5 Original Android Development] AA1973:
Today's nightly. January, 08 with ElementalX 2.05 AOSP. Simply flashed it to find out whether it boots up or not. It does

Myfluxi is doing the "pure CAF" builds for hammerhead, where AOSP kernel won't work. All might change on a daily (nightly) basis.

Edit MultiRom, secondary Rom, Beta SuperSU 2.44, using this guide by [MENTION=5047159]Tylog[/MENTION]

http://xdaforums.com/showthread.php?p=57998371
[Nexus 5 Original Android Development] yanleites:
[MENTION=4684315]flar2[/MENTION] , I changed kernel, than changed back to this one and my charging led is ON, instead of off.

How can I turn it off ?

Thank you
[Nexus 5 Original Android Development] kenkiller:
You pay the price for changing kernels.
[Nexus 5 Original Android Development] mainicia:
really? I got problem in root access. did you use external supersu app?
[Nexus 5 Original Android Development] lanimul:
I Flash SuperSU2.42 after each update.
[Nexus 5 Original Android Development] armaki:
Works with cm-12-20150109-NIGHTLY-hammerhead.zip well but kills exFAT USB-OTG (support selected during installation).
[Nexus 5 Original Android Development] yanleites:
If someone promise you 13 hrs of SOT you would move too, and checking kernels is the ONLY way to find the best one.
[Nexus 5 Original Android Development] kenkiller:
So you found the promised land?
[Nexus 5 Original Android Development] yanleites:
I live in the promised land, but ElementalX is better than the other.
[Nexus 5 Original Android Development] kenkiller:
A dirty reflash+elementx should help.
[Nexus 5 Original Android Development] yanleites:
I don't want to touch the rom.

I want to find other way of there is...
[Nexus 5 Original Android Development] rhamej:
There is no other way. You either manually delete/edit files, or dirty flash the ROM. Either way, you are touching the ROM.
[Nexus 5 Original Android Development] till22:
That sounds so dirty.
[Nexus 5 Original Android Development] ramjet73:
You can try flashing the stock boot.img from the factory image and then ElementalX but that only does half the job by cleaning up the ramdisk but doesn't do anything for files installed in the system partition by a previous custom kernel.

As [MENTION=2810456]rhamej[/MENTION] said the best way to prep for ElementalX, or any other custom kernel, if another custom kernel is currently installed is to dirty flash the ROM. Anything less than that becomes a crapshoot.

ramjet73
[Nexus 5 Original Android Development] CaH9:
Can I install this kernel if I'm running CM12 nightly and stock kernel ?
[Nexus 5 Original Android Development] yanleites:
I tried this kernel leftovers cleaner, http://4pda.ru/forum/index.php?showtopic=519645&st=4560#entry31423889, it deletes a lot of stuff include init.d and flashing stock 5.0.1. And then I flashed ElementalX again - didn't help.

Tried few times,even with wugfresh tool,still nothing.... I hate flashing rom. Please may be some one has other ideas?

BTW, tried few kernel control apps, no one of them had an option to disable the led.
[Nexus 5 Original Android Development] flar2:
I haven't looked at the led settings for Nexus 5 yet, and don't have the phone with me at the moment.

The settings are probably in /sys/class/leds/

I don't know why you keep getting stuck with the led on, it never happens to me. I suspect it's a setting in your ROM or something.
[Nexus 5 Original Android Development] kenkiller:
Nope. Dirty reflash and then elementx.

---------- Post added at 11:26 PM ---------- Previous post was at 11:25 PM ----------

It's not recommended, but hey, I'm using that combo as well, and it works for now.

Until CM decides to make more changes, then people here will make noise. :D
[Nexus 5 Original Android Development] yanleites:
Anyway, what can I do WITHOUT FLASHING ROM?

I uploaded a screen shot of this folder.

What can I change there?
[Nexus 5 Original Android Development] till22:
May I ask why you are against dirty flashing the ROM?
[Nexus 5 Original Android Development] jaibar:
If you dirty flash the ROM you are using- just flash it without wiping anything- you don't lose any of your data, apps etc. So why not? Read OP first section of installation instructions...

Sure, wanna mess with your own device, go for it. Make sure to have a fresh backup so you can restore and dirty flash your ROM afterwards.
[Nexus 5 Original Android Development] yanleites:
I use stock rom, and flashing dirty taking 5 minutes, but I don't like it. I am sure I will have other problems afterwards so I don't really think it's worth it..
[Nexus 5 Original Android Development] Elluel:
Simply dirty flashing your ROM or system.img and boot.img is much easier than what you're trying to do.