yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] sjknight413:
Excuse me? Don't come in here being all elitist with me.

By its very mechanics custom hotplugging will equal better battery life.

Mpdecision boosts to 1267mhz for 500ms whenever you touch the screen whereas flar2s custom hotplug will only perform minimal boosting from a governor based boost.

Download and run cpuspy and compare your mpdecision results to this:

You will have insanely high usage on 1267mhz due to mpdecision.

Those 'errors' are nothing, and cannot impact battery life in the slightest.

Do some research and get your facts straight before barging in here like that.

Sent from my Cataclysm + ElementalX powered Nexus 5
[Nexus 5 Original Android Development] diddly3000:
Guys how to I set my own frequency? I want it at 2.2ghz but it keeps resetting to 1.2 or 1.5 it's very very very annoying lol
[Nexus 5 Original Android Development] flar2:
Set the frequency in Aroma installer and then leave it alone.

It also could be thermal throttling dropping it to lower freqs.
[Nexus 5 Original Android Development] diddly3000:
Thanks. Love this kernel keep up the awesome work ?
[Nexus 5 Original Android Development] gpvecchi:
I mean the opposite: when I use my phone my 3rd and 4th cores don't go online, but they should do!
[Nexus 5 Original Android Development] choosetobelieve:
Hi All,

I am using a custom rom which has default Franco kernel installed. So I cannot flash the boot. Img from this rom before flashing another kernel. Can I borrow the boot. Img from catalyst rom? I want to install Elementalx. Thanks
[Nexus 5 Original Android Development] hooliganx:
dirty flash rom.

or extract boot.img from zip rom and use flashify to flash it.

then. reboot.

after this... go to recovery and flash Elementalx.

done.

n5optislim.aow1980.15.03.14layeredgapps.15.03.13

optislimlp.kernel.b#2rd2.25v4a.2.3.4twrp2.8.3.0

-----------------------------------------------------------
[Nexus 5 Original Android Development] sjknight413:
He is saying that his rom has Franco kernel by default, so this really wouldn't be a good idea.

To the original poster, if you want to use EX flash another rom. Cataclysm is brilliant and I would wholeheartedly recommend it!

Sent from my Cataclysm + ElementalX powered Nexus 5
[Nexus 5 Original Android Development] choosetobelieve:
The issue is that this rom has default franco kernel installed instead of the usual stock kernel. Can I still flash the boot.img from this rom zip file or I need to look for another boot.img. I used the boot.img from the factory image and it wiped my root. Luckily I have the backup.
[Nexus 5 Original Android Development] sjknight413:
See my post above, there isn't really much you can do except stop using that rom and switch to another.

I would definitely recommend cataclysm.

Sent from my Cataclysm + ElementalX powered Nexus 5
[Nexus 5 Original Android Development] choosetobelieve:
So cataclysm+elementalx+xposed framework? The cataclysm rom has almost no features.
[Nexus 5 Original Android Development] sjknight413:
Almost no features? What more could you want?

Sent from my Cataclysm + ElementalX powered Nexus 5
[Nexus 5 Original Android Development] walpurgisnacht30:
oh my gawd
[Nexus 5 Original Android Development] martiii:
Lol damn dude you got no features! Ridiculous!

via Nexus 5
[Nexus 5 Original Android Development] choosetobelieve:
Really? I feel that there are not many features on the cataclysm. I assume that I always can install xposed framework. Elementalx kernel is the perfect kernel for nexus5.
[Nexus 5 Original Android Development] Electrex:
Error when compiling

I've been compiling for about 7 minutes with no problems when I get this error:

CC sound/soc/codecs/wcd9xxx-mbhc.o
sound/soc/codecs/wcd9xxx-mbhc.c: In function 'wcd9xxx_codec_get_plug_type.isra.13':
sound/soc/codecs/wcd9xxx-mbhc.c:1261:6: warning: 'dprev' may be used uninitialized in this function [-Wmaybe-uninitialized]
error, forbidden warning: wcd9xxx-mbhc.c:1261
make[3]: *** [sound/soc/codecs/wcd9xxx-mbhc.o] Error 1
make[2]: *** [sound/soc/codecs] Error 2
make[1]: *** [sound/soc] Error 2
make: *** [sound] Error 2
yusuf@yusuf-Inspiron-3521:~/Kernel$

Can someone tell me why this is and how to fix?:confused:
[Nexus 5 Original Android Development] ranasrule:
try cooltool >>> https://play.google.com/store/apps/details?id=ds.cooltool&hl=en

Ive been using it for years and swear by it
[Nexus 5 Original Android Development] RKSoftware:
Hello, after a long time I come back to this amazing kernel. I would ask you for advice, what do you recommend settings for optimal settings as a compromise between performance, but also battery life? When I used the stock android 5.0.1 then battery life was approximately 1.5 days. Now, after updating to 5.1, only 14h. Thank you for your advice.
[Nexus 5 Original Android Development] Elluel:
The recommend settings are the default ones.

I do recommend you take a look at the battery life help thread linked in my signature, as it's more likely to be a simple wakelock issue if your battery isn't performing on par.
[Nexus 5 Original Android Development] szucsgf:
In addition to Elluel's advice, it could partly be the new radio. Perhaps try an older radio to see if there's an improvement. On 5.1 I had a bit more battery drain so I flashed my old favorite radio from the June L preview, and with that radio + 5.1 my nexus 5 battery life has never been better.

To improve battery life: experiment to find your best radio, control wakelocks, and manage your screen brightness. The default ElementalX settings are solid.
[Nexus 5 Original Android Development] RKSoftware:
Thak you for your quick answers, I will try flash radio from android 5.0.1. Thx a lot!
[Nexus 5 Original Android Development] Woody:
I can confirm this. Mine was sticking around the 1190 mark, so I ran a few tests.

Background over a few weeks' time since coming to this kernel:

Installed v2.10 (while on 5.0.2) via the Aroma with max freq at 2265stock, Elemental Thermal throttle.

Paid for ElX app

Went to 5.1 ROM and flashed v2.11express and kept all settings I use (but more specifically Max CPU Freq) Applied on Boot.

Tests:

Checked to make sure 2265 was set on boot

before

tests.

Cold CPU, reboot -> CPU was at 1574 and Apply on Boot was now unticked

Warm CPU, reboot - > CPU was at 1190 and Apply on Boot was now unticked

Hot CPU, reboot - > CPU was at 1190 and Apply on Boot was now unticked

In all 3 tests I waited for a minimum of 5 minutes for the kernel to settle and specific parameters to get set (meaning, I didn't run to the app to check at the first second of the home screen drawing up and was patient).

Seems that the Apply on Boot button for CPU freqa is not surviving reboot for some reason. Nearly every other Apply on Boot that I can tell is sticking, with the exception of the things that we were notified when the app updated yesterday or the day before.
[Nexus 5 Original Android Development] CRMarius:
Flash kernel question

Is it really required to reflash the ROM if I have another custom kernel that I`m using ? Can't I flash it directly with wiping my rom over the old one ? I hope it makes sense :D
[Nexus 5 Original Android Development] flar2:
I can't reproduce that on stock ROM. Are you currently on cataclysm or cm?

Maybe someone on one of those can give some feedback.
[Nexus 5 Original Android Development] DoesntPostAThing:
It shows up for me as well, I'm using AOSPA.

Sent from my Nexus 5
[Nexus 5 Original Android Development] crashercarlton:
currently Cataclysm
[Nexus 5 Original Android Development] ak4d4:
I'm on purity Rom and it happens in the app drawer and also when scrolling through the Google now cards.
[Nexus 5 Original Android Development] CyberScopes:
Happens to me aswell and im on stock, mainly when im swithching from app drawer to home and sometimes when in the app drawer. I didnt have this problem on .17.

Sent from my GN5 [D821]
[Nexus 5 Original Android Development] Johnny424:
hey flar is there any particular reason why none of the n5 kernels available right now are able to overclock the GPU? is it just unnecessary on this device? I see that we can switch governors but not clock speeds yet. just curious if there is something maybe I have missed with only having the device a week or so..
[Nexus 5 Original Android Development] Syk69:
No stuttering lag here with 0.18 tried opening drawer lots of times and scrolling through it and never had stuttering lag.
[Nexus 5 Original Android Development] drawde40599:
I'm on cataclysm ROM , nova launcher ,running ART and bionic patch and not having ANY lag either , I'm a freak when it comes to that type stuff , I would have noticed after the 3 days I've been using 18 so Its not doing it for ME either
[Nexus 5 Original Android Development] DoesntPostAThing:
I'm guessing it is not necessary as it's fast enough already, and any overclocking would just lead to earlier thermal throttling. Speaking of throttling, what thermal driver does this kernel use? And what's the threshold?
[Nexus 5 Original Android Development] flar2:
I installed Cataclysm and 0.18 and couldn't reproduce the stutter. My suspicion is that the stutter is caused by disk i/o happening at the same time as the animations (which is why I was thinking about reverting async_fsync, the only change between .15 and 1.8 I could think of that might affect it, other than governor). I tried opening a bunch of apps, so that the app drawer would be kicked out of memory and have to be read from the disk again, but still couldn't get it to stutter. I have seen, on occasion, a bit of stutter or dropped frames, in the animation that occurs when I'm in the app drawer and press home.

Other things that could cause that type of stutter: CPU apps applying different settings to governor or CPU freqs, missing or modified /system/lib/hw/power8974.so, something being set in ramdisk or startup scripts, battery saving apps, apps or system doing stuff in the background, ???.
[Nexus 5 Original Android Development] flar2:
For the GPU oc: true it's not necessary, but I don't think anyone knows how to do it either. I took a look one day, and the best I could find was the clocks the GPU frequencies were generated from. Those can't be modified without messing up other parts of the hardware. You can manipulate the frequencies to some degree with the device tree definitions. I tried putting some different values in there, but it didn't actually change the frequencies, which leads me to believe the available frequencies may defined in firmware or even hardware.
[Nexus 5 Original Android Development] DoesntPostAThing:
No CPU apps, battery savers, init.d, and no service that I'm aware of running in the background. I ran 015 and 018 on the exact same setup, only thing I did was flash the kernel. Both set up with default settings in aroma except I chose "stock ramdisk". That means though that on 015 I'm using ondemand governor, and on 018 I'm using elementalx governor, but on 018 the stutters were still there when using ondemand. I doubt CPU governor is the issue here.

I really appreciate your dedication to this kernel, still looking into issues even on Christmas.
[Nexus 5 Original Android Development] flar2:
I'm trying out 0.15 now. My family's already asleep for the night. I won't be working on the kernel too much from tomorrow until New Year's though :good:
[Nexus 5 Original Android Development] shadowkay:
Hey,

Using 0.18 with Cataclysm ROM. The phone heats up like crazy while playing games and also the battery drop from 85 to 65 in less than 5 mins of playing. Is this normal ?? *Can't play a game*
[Nexus 5 Original Android Development] flar2:
Losing 20% in 5 minutes is not normal. What game are you playing? I test on Asphalt 8 and Minion Rush mostly. I lose about 3% battery during a race on A8 (3-4 minutes) and don't notice it getting overly hot.
[Nexus 5 Original Android Development] DoesntPostAThing:
No problem, we should all get off XDA and spend some time with family and friends :silly:

What game are you playing? Little Inferno not only burns up in game objects, but burns up my phone as well. Meanwhile, Robotek runs just fine and I once played for hours on a single charge.
[Nexus 5 Original Android Development] anthonyp326:
What is the bionic patch?
[Nexus 5 Original Android Development] drawde40599:
I can't get u link ATM but Google . nexus 5 bionic xda . and it will show up with that dalvik patch
[Nexus 5 Original Android Development] shadowkay:
Was playing GTS San Andreas ! While flashing the kernel i chose the thermal throttling option, could that be a prob ? But that is supposed to reduce the heat right ?
[Nexus 5 Original Android Development] DoesntPostAThing:
Seems normal to me. I've heard that GTA is a huge battery hog. One guy told me that it was a great game, for about 10 minutes, and then his battery died. Probably exaggeration, but you get the idea.
[Nexus 5 Original Android Development] walpurgisnacht30:
No thanks
[Nexus 5 Original Android Development] flar2:
dprev is not initialized. That means it was not set to an initial value. Depending on your compiler, it will sometimes complain about things like this.

You could add dprev = 0 or just turn off those warnings.

I will look into it tonight.

Yes it's important, because ElementalX may not work correctly otherwise. For example, most of the other kernels have mpdecision disabled in ramdisk. If you install EX over one of those, mpdecision will be disabled. You will also not have my custom mpdecision settings.
[Nexus 5 Original Android Development] rbrenart:
Is there a way to verify we have mpdecision and the appropriate settings from default? I installed clean, but I did still have some other kernel tweaking software installed for a couple days after the install. I never used it, but I know it does some things at boot. FKUpdater Pro if you just know the answer off hand.
[Nexus 5 Original Android Development] CRMarius:
Ok.Thank you very much.ATM I'm using Franco's R72 kernel on the latest stock version of android but I dont know why it takes have a day to charge over AC.Ever since i have activated fast charge option.Will reflash.Thanks once again.
[Nexus 5 Original Android Development] Electrex:
flar2, since you said you are using the linaro 4.9.1 toolchain, is it also ok to use the linaro 4.9.3 toolchain?
[Nexus 5 Original Android Development] Elluel:
He already had created a thread in the Q&A section, he got that error because he was using an old 4.6 toolchain used for ROMs :eek:
[Nexus 5 Original Android Development] haseoxth:
deleted
[Nexus 5 Original Android Development] Traxex_:
I'm getting many "bluesleep" wakelocks with your kernel, didn't had that with the stock kernel.

Any suggestions how to fix this Bluetooth issue?

Disabling Bluetooth is not an option cause I'm using an android wear smartwatch.
[Nexus 5 Original Android Development] flar2:
I don't modify bluetooth at all, ever, on any of my kernels. It's 100% the same as stock.
[Nexus 5 Original Android Development] Traxex_:
Ok thanks.

Not sure why I'm getting so many wakelocks :/
[Nexus 5 Original Android Development] Ben36:
Is it not the play services bug?

Sent via tapatalk from my cataclysm'd Lollipooop Nexus 5
[Nexus 5 Original Android Development] Traxex_:
No its not.

It's "bluesleep" and seems to be a problem with errors in the bluetooth connection.

It completely dissappears when turning bt off.
[Nexus 5 Original Android Development] Electrex:
After i successfully compiled my kernel, it gave me 2 files. A zImage and a zImage-dtb. Which one do I use when moving to the zip file?
[Nexus 5 Original Android Development] fedor12:
Flashed this kernel on my nexus 5 stock 5.1 lollipop (1st time using elementalx) and it is pretty good, battery life seems to be abit better than stock however i noticed when using chrome browser sometimes when trying to scroll up/down a page it freezes for a good few seconds.

Anyone else having this issue? I'm back on stock kernel now and the problem seems to have disappeared.
[Nexus 5 Original Android Development] Electrex:
Hello, this is my first time compiling a kernel. After i successfully compiled my kernel, it gave me 2 files. A zImage and a zImage-dtb. Which one do I use when moving to the flashable zip file that I will flash later?
[Nexus 5 Original Android Development] wund3rground:
This is a Chrome issue, not the kernel. It happens on stock as well.
[Nexus 5 Original Android Development] alexsologubov:
I have that issue with Google Chrome and I think it's happening to other applications when trying to scroll up/down but I'm not sure.
[Nexus 5 Original Android Development] owngaurav:
Is livedisplay working with this Kernel.? . Me on euphoria latest
[Nexus 5 Original Android Development] fedor12:
That would make sense as i have only noticed it on chrome but i have not been able to reproduce it with the stock kernel, any idea why?

---------- Post added at 06:41 AM ---------- Previous post was at 06:40 AM ----------

Are you using stock or elementalx kernel? Tbh i haven't noticed it on any other app but i spend most of my time in chrome so maybe that's why.
[Nexus 5 Original Android Development] alexsologubov:
I am using elementalx kernel.
[Nexus 5 Original Android Development] C3C076:
https://plus.google.com/u/0/+ArtemRussakovskii/posts/MtcZGJprWje
[Nexus 5 Original Android Development] fedor12:
I didn't witness the freezing after i flashed the stock kernel so I thought i would give elementalx a try again but after the kernel was successfully flashed and I booted the phone up I got a "unfortunately the process com.google.process.gapps has stopped" message which basically made my nexus 5 unusable as it kept popping up every 1/2 second after I closed the message, reflashing the stock kernel didn't help but once I get everything working again I will let you know if chrome freezes up again with elementalx.
[Nexus 5 Original Android Development] flar2:
Please no more posts about chrome.

It has to do with a certain type of ad.

This type of ad is not always shown, and impatient users are quickly switching between different kernels and drawing false conclusions.
[Nexus 5 Original Android Development] td32:
for me it happened even under chrome://flags :P
[Nexus 5 Original Android Development] thesebastian:
When i choose mpdecision the 2nd core is automatically disabled when idle. But when I choose custom hotplug the 2nd core is always online. Is there some kind of setting to sleep the 2nd core with custom hotplug too? (I assume is not a good idea with the custom hplug?)

Sent from my Nexus 5
[Nexus 5 Original Android Development] haseoxth:
It's normal, you can read this post for more info.

http://xdaforums.com/showpost.php?p=58851095&postcount=16156

By the way even custom hotplug has 2 cores online all the time I still have more SOT than using mpdecision in dairy use(almost normal usage, sometimes heavy).
[Nexus 5 Original Android Development] thesebastian:
Thanks!

Great info. I am trying input_event_timeout=3000ms to match the mpd using the custom hp. (With 2 cores max)

Sent from my Nexus 5
[Nexus 5 Original Android Development] jrjk:
Is anyone else facing mobile data issues after flashing EX 2.11? I tried 2.11 with stock 5.1 and Cataclysm beta 15 and beta 16. My phone won't switch to Mobile data automatically after disconnecting from Wi-Fi. I have to go and search for networks in the Settings and after registering on the network again, I regain mobile data connectivity.

Not facing this issue on stock and cataclysm kernels on 5.1.
[Nexus 5 Original Android Development] Telyx:
Not having that problem on stock rooted 5.1 and EX 2.11... mobile data reconnects right away.
[Nexus 5 Original Android Development] Woody:
Me neither and running same setup as you (Cata 16-Mar/ElX 2.11). Maybe check your smartradio settings in Cata Settings.

****************************

Revisiting the Set On Boot not sticking after reboot.

After some more testing I have found a few more that are not surviving a reboot.

CPU still

I/O Read Ahead (I have set to 512, but it reverts to 256)

Thermal Throttle (I changed to Stock and it reverted to Elemental)

Set selinux permissive (I have this set to Permissive on boot and while it does stay at Permissive, the Boot Set indicator turns off).

Everything under Voltage, Graphics and Hotplug are sticking just fine. Haven't checked in Governor Options yet, as I want to pin down the Books first and work on the Chapters after. Really want to install another Kernel manager and uninstall ElX.apk to make sure, but I fear that it might compound the issues needlessly.
[Nexus 5 Original Android Development] fedor12:
I wasn't trying to call you or your kernel out or anything, I just wanted to point it out in case it helped.

I tried elementalx for a day or 2 and that's when I noticed the bug so I went back to stock for a day and I couldn't replicate it.

I'm back on your kernel again and minutes after flashing it the issue came back, you said it's to do with a certain ad so I figured I would try adaway but that didn't help, also just to point out chrome with stock kernel isn't so buttery smooth all the time either but it's definitely not as bad as with elementalx, with the latter the page freezes up for 5 seconds+, I just literarily had it freeze up for 10 seconds.

I will go back to stock kernel tomorrow just to test it again before I can come to a solid conclusion.
[Nexus 5 Original Android Development] theesotericone:
That's not a solid conclusion. Providing a log that proves the this kernel has anything to do with it would be. You can go against the grain and believe what ever you like. But you'd be wrong.

http://xdaforums.com/showpost.php?p=59487091&postcount=37998

https://plus.google.com/+ArtemRussakovskii/posts/MtcZGJprWje

[MENTION=4684315]flar2[/MENTION] as always thanks for a solid kernel.:cool:
[Nexus 5 Original Android Development] fedor12:
There seems to be some major misunderstanding and the 2nd link you provided kind of proves it.

Notice where Artem says "Any time a page loads without animated ads, the performance is fine." well that doesn't seem to be the case, the 10 second freeze I had was actually on that same Google+ link and I don't see any ads there so it must be something else in this case and again everything is fine with the stock kernel, not perfect and there is some lag and slow scrolling at time's but definitely not like this.

It's not just me going against the grain, a quick Google search will yield stories of others having the same issue with the same kernel.

Anyway I might just have to change browsers until this bug/issue is fixed, if it's just isolated to chrome then It's not so bad.
[Nexus 5 Original Android Development] theesotericone:
If your looking for a browser give Boat a try. I've been using this kernel and browser combo for a long time and never had any lag or freezing.:cool:
[Nexus 5 Original Android Development] fedor12:
Thanks for the suggestion, I just downloaded both Opera and Boat and will switch between them for a bit to see which I prefer.
[Nexus 5 Original Android Development] Mehholoz:
can anyone help me? I have a nexus 5 with android 5.0 stock and that kernel but I don't understand how should I update to android 5.1?
[Nexus 5 Original Android Development] walpurgisnacht30:
Simply flash 5.1 factory image.
[Nexus 5 Original Android Development] Mehholoz:
So i have to flash the 5.1 factory image and then reflash the kernel, right? thank you very much
[Nexus 5 Original Android Development] Ben36:
Flar, sorry but are you definitely sure of this?

People say it doesn't happen on stock or code blue, if you search the thread for code blue for chrome, you get nothing mentioned. If you search this and Franco's thread you get loads of posts about it

Sent via tapatalk from my cataclysm'd Lollipooop Nexus 5
[Nexus 5 Original Android Development] iColdheart:
Really sorry, but Chrome freezing is TRUE. I tried a lot of kernels (stoxk, code_blue, bricked, hybrid) and there is no freezes. But as soon I flash EX Chrome frozes for 5-10 (Froze means ABSOLUTELY unresponsable) seconds on EVERY page (chrome://flags also) during scrolling. It's absolutely only a kernel problem.
[Nexus 5 Original Android Development] Sayan1987:
Completely smooth here, stock rom - ex 2.11 with mpdecision.

So?