yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] mystertom101:
does this kernel work with art? since using this kernel if i try to run art it just goes back to dalvik
[Nexus 5 Original Android Development] kong:
That sounds like the side effect of using Exposed, not the kernel.
[Nexus 5 Original Android Development] jlevy73:
ART works fine with this kernel. Do you have xposed installed? If so, to not end up in an endless bootloop it defaults back to dalvik since xposed is not compatible with ART.
[Nexus 5 Original Android Development] mystertom101:
ignore that i just read and figured out exposed isn't compatible with art so ill guess ill have to just leave stock rom if i want to use art
[Nexus 5 Original Android Development] bobby janow:
Or Dalvik if you want to use xposed. :) I am hoping xposed will be updated to support ART since I'd like to give it a try as well. But I can't give up all the modules I have since it makes stock rom extremely customizable.

As for the wifi wakelock, has there been a solution to it or a cause? It obviously doesn't happen to everyone so perhaps it's been narrowed down to router or signal or something?
[Nexus 5 Original Android Development] mystertom101:
i only really use gravity box with xposed and what i use on that can be simply done on a rom like purity thats why i say if i want art ill have to change rom because i find exposed quite useful
[Nexus 5 Original Android Development] bobby janow:
Yes, I agree. Gravity pretty much does everything I need too. I have Advanced Power Menu and experimental Greenify running also but GB is the main one I would miss. Nonetheless, this kernel is rocking. I haven't rebooted in days now. Memory management and battery life is awesome especially with location services set to battery saving or GPS only.
[Nexus 5 Original Android Development] MrCatalyst:
Flashed PAC-ROM earlier, and the kernel works flawlessly on it too. :D
[Nexus 5 Original Android Development] FuMMoD:
Flashing PAC rom right now too! I've been dying to finally run it. Remember to use the CM version for PAC since it's caf based.
[Nexus 5 Original Android Development] MrCatalyst:
Yep, I knew to flash CAF based one due to latest CM11 sources using CAF, just like DroidKang now. ^^
[Nexus 5 Original Android Development] mystertom101:
i just tried trinity kernel for a few hours and have now just returned to this but now i have problems i get no signal and my phone is unable to make a lot of actions it won't download anything the play store keeps crashing what do i do?

---------- Post added at 06:59 PM ---------- Previous post was at 06:57 PM ----------

it says i have no sd card ::(
[Nexus 5 Original Android Development] hellsgod:
We have a Full HD resolution, don't forget that. I see stutters with 1036mhz touch boost and it's not really nexus like. Try it by yourself. If you want to sacrifice the fluid UI for maybe 15-20min mire screen on, its your decision ;)

hells

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] Savant:
Reflash your ROM and then the elementalx since, I haven't had a problem changing between the two.
[Nexus 5 Original Android Development] mystertom101:
how do i refflash stock, i can't connect my device to a computer now and i have no rome on the storage i can only access storage when on tarp
[Nexus 5 Original Android Development] aamitabh28:
The battery is crazy good. Running beanstalk ROM and coming from Franco this is the best I've ever had. That too with a lot of voice calls.. This shud easily cross 5 hrs of SOT.

Cnt be more grateful! U rocked my one and now this

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

This is the first cycle Btw haha
[Nexus 5 Original Android Development] mystertom101:
the problem is with cache it happened when i wiped cache and dalvik after kernel installation i just tried to reinstall kernel and it said can't mount cache what can i do because i use mac that makes tho situation so much harder now it can't connect to it at all
[Nexus 5 Original Android Development] letmedanz:
Are you using TWRP?

i've had this a number of times with TWRP, moved to CWM and it stopped.

boot into recovery, wipe cache & see if you are able to access
[Nexus 5 Original Android Development] FuMMoD:
That same combo yielded me almost 6 hours where I would only get 4.5bwith cataclysm with similar usage. Super smooth experience with beanstalk I love this rom. I forgot to take a picture of the 6 hours but I have one of it half way.
[Nexus 5 Original Android Development] mystertom101:
yeah I'm using twrp unfortunately i can only wipe after installation of the kernel i don't see the option to do it otherwise so i still don't know what to do
[Nexus 5 Original Android Development] aamitabh28:
You knw what my halfway results are pretty similar.. :D

Its an awesome combo!
[Nexus 5 Original Android Development] mystertom101:
everytime i try to wipe cache i just says its unable to mount it then eventually after a while i just get a black screen :/
[Nexus 5 Original Android Development] sirovai:
[KERNEL] [Jan 21] ElementalX-N5-0.26

Just flashed 0.31! Very smooth
[Nexus 5 Original Android Development] Sayan1987:
Happened the same to me, when time back i was changing rom.

I used cwm..The problem was i data wipe and i assumed that it included also wipe cache and wipe dalvik, which is not.

I don't know twrp, but i suggest you to flash by adb cwm recovery and then wipe cache and wipe dalvik, voilà problem solved.
[Nexus 5 Original Android Development] mystertom101:
thanks, i wish i didn't have a mac right now this is all hard on a mac and i don't have a clue how to do that tbh so ill have to do some research
[Nexus 5 Original Android Development] notbrodie:
http://xdaforums.com/showthread.php?t=2638673

http://xdaforums.com/showthread.php?t=2564453

installs the adb and fastboot binaries so you can use them from the terminal in mac. it works just the same as in linux. not sure how windows handles it
[Nexus 5 Original Android Development] mystertom101:
oh i already installed that a few weeks back just haven't used it but thanks, also what command to i type in to it to install cwm i have already downloaded cwm though btw
[Nexus 5 Original Android Development] tandxcstar1:
Anyone have the stock 4.4.2 kernel by chance? Thought I saw it somewhere and need it to flash elemental since Franco uses I believe his own ramdisk or whatever it's called... Busy morning sorry can't think straight.
[Nexus 5 Original Android Development] shaker2k:
You can just dirty flash your rom to get the stock kernel back.
[Nexus 5 Original Android Development] tandxcstar1:
Ya I know but then I would have to setup and or delete system apps, gravitybox etc etc lol. Was trying to avoid. Thanks for reply
[Nexus 5 Original Android Development] ganeshp:
Use stock ramdisk option while installing kernel if coming from franko.. That should suffice
[Nexus 5 Original Android Development] shhbz:
Well just could not expect for anymore just amazing best result for me greenify and elemental x with latest mahdi, day long browsing ,tapatalk,whatsapp ,music still going on.
[Nexus 5 Original Android Development] mystertom101:
after the trying to fast boot the recovery i just get waiting for device and it just stays there

:/
[Nexus 5 Original Android Development] notbrodie:
reboot your phone into bootloader, then open terminal, cd to the directory containing the cwm.img, connect phone to computer, then

fastboot flash recovery cwm.img

if it says waiting for device, reboot both devices and try again
[Nexus 5 Original Android Development] drawde40599:
https://mega.co.nz/#!MVBGGQBY!uf8EYrFQWHgCVxgVtzg98R2YR1RuhRyM-ok0ZaSFLkI
[Nexus 5 Original Android Development] tranhuy:
Thank you for this amazing kernel

Just made my first ever donation to an xda developer because I am so in love with this kernel and the great support in this thread that I felt the urge to make a contribution.
[Nexus 5 Original Android Development] mystertom101:
thank you this worked i think it was the cd bit i was missing
[Nexus 5 Original Android Development] droidmk:
Sorry if this has already been mentioned/asked. When I flash elemental with slimkat it interferes with the built in superuser. Nothing will prompt for root access, therefore I cannot approve for root access. Slim kernel is obviously fine and so is the linaro version of Franco. Is superuser integrated into the kernel?
[Nexus 5 Original Android Development] tandxcstar1:
You probably need to flash the latest SU. That's on most aosp/cm Roms I have seen. I think the latest is 1.93. Let me know if you need the file. I'll provide link.
[Nexus 5 Original Android Development] hocruxx:
Hi. Im new in nexus 5

Can i flash caf rom as secondary rom in elementalX aosp base. But i dont share the kernel

Sory if my english bad

Thks
[Nexus 5 Original Android Development] GialanG:
I had problems with this method, then I had to rename the 2 .bak files and flash EleX later to correct that
[Nexus 5 Original Android Development] droidmk:
Seems redundant. Is this just a bug or has slim not updated their su?
[Nexus 5 Original Android Development] t1.8matt:
Ive been using Supersu 1.93 work Elemental .31-CM on Slim with no issues. You should be able to use built in superuser with that kernel too though.
[Nexus 5 Original Android Development] starche_old:
Developer options -> root access and choose either apps either apps+adb root access.

Been there, bro :) I'm not sure why root is off by default though. Make zero sense to me, but it is what it is.
[Nexus 5 Original Android Development] droidmk:
Even with root enabled in dev options nothing will prompt with elemental.
[Nexus 5 Original Android Development] starche_old:
That's weird. Running Slim+elemental - never had an issue with root.

Flash slim and check the root. I betcha you won't be prompted root, thus that's a good time for clean install
[Nexus 5 Original Android Development] drawde40599:
Who's SU is it ? Chainfires or the other guy ?
[Nexus 5 Original Android Development] Savant:
Its koushs. The open source superuser that's in cm, pa and slim.
[Nexus 5 Original Android Development] flar2:
Updates!

These are experimental! Tons and tons of changes. If you need stability, stick with 0.31 or earlier.

ElementalX Governor:

The elementalx cpu governor has been updated and changed a lot. I think it is smoother now, while still very good on battery. Probably needs a bit more tweaking. I added a bunch of tunables and there is a built-in touch boost.

Here are the new tunables:

input_event_min_freq: takes four values separated by comma. These are the input boost frequencies for cores 0, 1, 2, and 3 (default 1728000, 1267200, 1267200, 1267200)

input_event_timeout: this is the length of time in milliseconds that the input boost will be active (default 500). Setting this to 0 disables input boosting.

ui_sampling_rate: when you touch the screen, the sampling rate changes temporarily to whatever you set here (default 15000)

two_phase_frequency: this sets the max frequency for moderate loads. Accepts four frequency values separated by comma, for cores 0, 1, 2, and 3. (default 1728000, 1728000, 1728000, 1728000)

How does it work? It's basically a multiphase ondemand governor.

The basic governor is very conservative for most phone activities, spending most of its time at 1267MHz. If there is graphics load, we switch to a two phase ondemand. The first phase runs with a max freq of 1728MHz (default). If the load increases, it goes to max frequency (default is 2265MHz) and the minimum frequency changes to 1267200 (I will probably make this tunable)

The input boost does a couple things. First, it lowers the sampling rate for the timeout duration to make the governor more responsive. Second, it boosts the frequency of any online cores. You can disable this by setting input_event_timeout to 0.

If you want to experiment, delete /system/lib/hw/power.msm8974.so and set the input_event_timeout to about 1000. But I recommend leaving it alone for optimal smoothness.

CAF updates/fixes

I have incorporated a lot of updates and fixes from CAF. Nevertheless, this kernel is still primarily for stock/AOSP based ROMs. It all seems to be working for me, and offers some modest improvements to performance and power consumption.

i/o scheduler

I switched the default i/o scheduler back to ROW. I think it performs better all around, especially if there is disk i/o going on in the background, like apps updating. Like the name says Read-Over-Write.

Download:

Stock/AOSP

ElementalX-N5-0.32 *BETA*

ElementalX-N5-0.32-express *BETA*

Cyanogenmod/CAF

ElementalX-N5-0.32-cm *BETA*

ElementalX-N5-0.32-express-cm *BETA*

Changes:

-many CAF updates and fixes

-rework and cleanup elementalx governor

-ROW is default i/o scheduler again
[Nexus 5 Original Android Development] boomer8403:
Which two files did you rename before flashing to correct the ramdisk?

Sent from my Nexus 5
[Nexus 5 Original Android Development] tandxcstar1:
Already addressed (deleted)
[Nexus 5 Original Android Development] drawde40599:
Hes having issues so Ya I figured it was ;) personally that's the very very first thing i get rid of if i use a ROM that includes it , chainfires SuperSU is the way to go IMO .
[Nexus 5 Original Android Development] droidmk:
Maybe it has to do with how it was flashed. Do you flash slim, boot, then reboot and flash elemental? Because I flashed it with the ROM so... Flash slim, flash elemental, then reboot. Then can't get root. But I can follow those same steps with linaro Franco kernel and all is well.
[Nexus 5 Original Android Development] EarlZ:
I havent tried it yet but would fraco's color control app also work on this kernel ?
[Nexus 5 Original Android Development] Jephre:
I tried it and it works on 0.31. I'm guessing it would work on 0.32?
[Nexus 5 Original Android Development] EarlZ:
Are you referring to the color control app version ?
[Nexus 5 Original Android Development] starche_old:
Chainfire's app

True, but I would think everyone here knows it's not good idea to do it this way :) flash ROM, reboot, recovery, flash kernel, reboot. Nothing special, right??
[Nexus 5 Original Android Development] flar2:
I really highly recommend a dirty flash of your ROM before installing this, mainly to get the kernel that came with your ROM. The easiest thing to do is make a nandroid backup of the boot partition in recovery right after you install the ROM. Then you can easily restore the kernel that came with the ROM.

As far as system files, my installer takes care of that and I think cleans up after other kernels.

You definitely don't want to use the ramdisk from franco. I don't know about Chaos, but if it includes it's own ramdisk, it will probably not be good either.

During installation, make sure you choose current ramdisk. If you choose stock ramdisk, you will miss out on certain ROM features (eg: automounting otg drives) or possibly lose root. I often think about removing that option, but it's useful for knowledgeable users.

All recent versions of this kernel work with Franco's colour control.
[Nexus 5 Original Android Development] Jephre:
Nope, that's the latest elementalx kernel version.

EDIT: Go back one page, you'll find it near the top.
[Nexus 5 Original Android Development] drawde40599:
Installed perfect on stock ROM . is there anything your really looking for feedback on ?
[Nexus 5 Original Android Development] EarlZ:
I only see 0.26 at the OP, where do i get the lastest?
[Nexus 5 Original Android Development] flar2:
Btw, version 0.32 has been treating me very well. It's smoother than an iphone and the battery lasts forever.

I haven't had any problems, but there were a lot of changes, so let me know if any problems arise. Obviously before reporting anything, make sure your installation is good, and maybe wipe the caches.
[Nexus 5 Original Android Development] flar2:
Just the usual stuff, in comparison with previous versions. I'm hoping that there are improvements to both smoothness and battery life.
[Nexus 5 Original Android Development] El Nino1977:
Tapatalk as we all know has its scrolling issues but on your v32 it's pretty damn slick. I played around with some tuneables, probably a placebo as it was already very good before.

If you can get this kind of performance on the N7, you would be a genius :P
[Nexus 5 Original Android Development] GialanG:
From Vietnam with love :)
[Nexus 5 Original Android Development] drawde40599:
Im noticing already that recents and hangouts is opening and loading a lot faster also .
[Nexus 5 Original Android Development] flar2:
I will be updating the ElementalX governor on the n7 too. Should help a bit.
[Nexus 5 Original Android Development] Savant:
What ROM are you using now? Art or dalvik?
[Nexus 5 Original Android Development] droidmk:
I don't think it should make a difference when you flash the kernel. It should work either way.
[Nexus 5 Original Android Development] EarlZ:
Where do i grab the 0.32 ?
[Nexus 5 Original Android Development] GialanG:
Read here m8: http://xdaforums.com/showthread.php?p=48180171

---------- Post added at 12:30 PM ---------- Previous post was at 12:26 PM ----------

2 pages back. Stop asking, start reading pls!
[Nexus 5 Original Android Development] GzC:
How about faux kernel? If I came from it do I have to reflash my rom?
[Nexus 5 Original Android Development] drawde40599:
I'm on stock Google IMG , with Gbox and bionic patch NO dalvik patch . add elementax and I haven't found a ROM/kernel combo that can come close to googles IMG
[Nexus 5 Original Android Development] JmPTaz09:
Using .32 with illusion ROM and all seems great so far; thanks Flar!
[Nexus 5 Original Android Development] drawde40599:
Your right it shouldn't . did u see flar2's post on last page ? That may be your issue
[Nexus 5 Original Android Development] Savant:
The newest slim is worth a try since it has improved recents, and other various tweaks. Too me its an improvement from using stock IMG or cataclysm. I like the fact the stables or milestones and every release so far has been bugless for me.
[Nexus 5 Original Android Development] droidmk:
I was clicking stock ramdisk, that was probably it.
[Nexus 5 Original Android Development] kong:
Confirmed for smoothness improvement in 0.32 :good:

I’m currently on Omni and while it’s already a lot smoother than CM11, it always got hiccups when I was playing games and got a notification (with sound). This doesn’t happen with ElementalX 0.32

Really appreciate your work, [MENTION=4684315]flar2[/MENTION] :)
[Nexus 5 Original Android Development] boomer8403:
Thanks for the reply. For obvious reasons stated earlier by someone else, I'd rather not reflash my ROM. Could you do me a favor and look and see what the sizes of the two mentioned files are for you? I'd like to see if I have the correct files from flashing stock 4.4.2 kernel only and then flashing elemental.

Sent from my Nexus 5
[Nexus 5 Original Android Development] FuMMoD:
Recents actually opens a bit slower for me on beanstalk with 0.32 and row. pressing it on the home screen is instant though!
[Nexus 5 Original Android Development] drawde40599:
Dunno ? Its flying open on stock ROM, it was fast before but now it opens so fast I don't remember y I opened it :P . I'm tempted to remove Gbox and see what ART feels like .
[Nexus 5 Original Android Development] doomed151:
Just downloaded ElementalX-N5-0.32-cm.zip and flashed it right away. It seems to be stuck at the bootloader; it kept rebooting. Also tried dirty flashing CM11 then the kernel afterwards but the same thing happens. However, if I flashed 0.31-cm it booted with no issues. Anyone has a clue as to why this is happening?

EDIT: Nevermind, got it booting.
[Nexus 5 Original Android Development] maorgit:
just downloaded and flashed latest version

i am having a problem and i don't know if it's kernel related so if someone can check please( i didn't have this yesterday) when listening to music with headphones the volume is very high and i cannot lower it (my media volume is all the way down and it has no effect on the volume of the music) please help i really want to try this kernel i got my nexus 5 on Saturday and since then i have heard nothing but good things about this kernel
[Nexus 5 Original Android Development] notbrodie:
you either flashed a caf kernel on aosp, or an aosp kernel on caf. reflash the correct version
[Nexus 5 Original Android Development] maorgit:
I am sorry but I am really confused with all of this I came from a sgs2 and have never heard about CAF if I am on beanstalk which one do I need to flash? Thanks for the reply
[Nexus 5 Original Android Development] FuMMoD:
Flash caf for beanstalk and CM based roms unless told otherwise in the first post of the rom thread.
[Nexus 5 Original Android Development] thereal_bigjake:
CAF for BeanStalk
[Nexus 5 Original Android Development] maorgit:
So it seems like I flashed the right version after all... Strange...
[Nexus 5 Original Android Development] Sayan1987:
Can you guys tell me the default read ahead buffer set by flar to row scheduler? 128?
[Nexus 5 Original Android Development] FuMMoD:
Anybody getting better results with other read ahead buffers on row?
[Nexus 5 Original Android Development] notbrodie:
i use 512 on all of my devices. i don't really think there is a pronounced difference between any of them, really
[Nexus 5 Original Android Development] maorgit:
So no solutions for my problem?I flashed the correct version of kernel and I cannot reduce the volume of my headphones when listening to music... Thanks for anyone who can help
[Nexus 5 Original Android Development] ganeshp:
No need to rename those files (powerhal and thermal-engine files).. They will be flashed when installing elementalx kernel (I've verified it in the updater-script of the zip file) .. The only this that those previous files with bak will be left there redundantly..

So if you are on stock rom and any other kernel best way to flash elementalx is by using stock ramdisk option
[Nexus 5 Original Android Development] aamitabh28:
New kernel is like wow! Realy amazing improvement in overall smoothness without the cpu jumping up and down too much.. Will run it for a day and see how the battery lasts though i am sure it will be great
[Nexus 5 Original Android Development] linzinator:
Same problem here. But not only with headphones. Have the problem with games, etc. Can't reduce the media volume.

I'm on ElementalX-N5-0.27 :p
[Nexus 5 Original Android Development] notbrodie:
wasn't 27 the aosp w/cm audio libs? you should probably install either 26 or 31
[Nexus 5 Original Android Development] linzinator:
Thanks for the answer :)

I'm on stock, so i can't flash the 31...am i right? :o

Flashed 26 again, so everything is ok :)
[Nexus 5 Original Android Development] maorgit:
I am on 32... :HeadBang:
[Nexus 5 Original Android Development] drawde40599:
That's a question probably for flar2 but I can say on stock ROM with build 32 volume works fine on headphones and speaker here , I JUST tried on Google music no issues . what ROM ?
[Nexus 5 Original Android Development] maorgit:
Beanstalk latest build (255) with elemantalx 32 CM version
[Nexus 5 Original Android Development] notbrodie:
maybe your rom just isn't compatible. beanstalk is CM-based, so try 29 or 31-CM
[Nexus 5 Original Android Development] drawde40599:
I tested all speeds while I was on 26 for days at a time with row and deadline and 512/row gave me the best results , I'm using 512 and row currently on build 32 .

---------- Post added at 10:51 PM ---------- Previous post was at 10:48 PM ----------

So looks like your using correct version , I'd say your going have to wait for more users to confirm a issue or flar2 to check it out . I'm on stock version so I'm going be no help :P
[Nexus 5 Original Android Development] notbrodie:
31 has both aosp and cm builds. flash the aosp version
[Nexus 5 Original Android Development] Sayan1987:
---------- Post added at 10:51 PM ---------- Previous post was at 10:48 PM ----------

Thanks, i'm also interest in what [MENTION=4684315]flar2[/MENTION] has to say about how that buffer impact on performances/battery life.