yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] flar2:
Try Better Battery Stats (found on xda for free) to look for wakelocks and running apps.

Something is definitely running on your phone to make it 72C, and the first core is at top speed as well. Mine doesn't get that hot during casual use. But it can easily get that hot (and even hotter) from gaming.

However, I see your deep sleep is 2 hours out of 3 hours total. And you have 71% battery left, after presumably over an hour of use, which isn't too bad depending what you're doing.
[Nexus 5 Original Android Development] Tuckycv:
I have GSam battery, nothing seem to been waking up the phone, deep sleep it's at 20:06:07 out of total state time of 28:07:29!

https://goo.gl/photos/jGjuZRYmEAbkXobg6
[Nexus 5 Original Android Development] flar2:
Out of curiosity, I installed the latest Chroma (not trying to pick on Chroma, I just grabbed what seemed to be popular, and it otherwise looks like a fine ROM). It uses the stock kernel, but there is something screwed up with the frequencies. Mpdecision is running, and touchboost is enabled, but all cores are online. Thermal daemon is not running!!! What's even stranger, I installed Stability Test to see if there was any protection from overheating, and as soon as I start the "Classic Test", all but the first core go offline. So I couldn't really test thermals, since only one core is online. When I stop the test all cores return online. With all cores online, it runs fairly hot, over 60C just normal use. This is with stock kernel.

I installed ElementalX, and got the exact same behaviour, which is totally not how it's supposed to work. I then used the app to switch to custom hotplug, and sure enough, the second core was stuck at 2265 and I couldn't get it unstuck.

So I set the custom hotplug to apply on boot, and rebooted. Upon rebooting, the cores and freqs seemed to be acting normal. But I tried running stability test again, and there was the odd behaviour again, with only one core running. As soon as I stop the test, hotplugging returned to normal.

So if you install this ROM, you are not getting an optimal ElementalX experience. I assume other ROMs may not be optimal for ElementalX either.

I have no idea why Chroma behaves like that.

If anyone can shed light on it, please post it.
[Nexus 5 Original Android Development] Tuckycv:
I'm on stock ROM, just rooted. I noticed this issue mainly when using camera, but camera not showing as a heavy battery usage.
[Nexus 5 Original Android Development] flar2:
You mean it runs hot while using the camera? That is normal, the camera is pretty heavy and will use more battery and generate more heat and cpu usage than most apps.
[Nexus 5 Original Android Development] Tuckycv:
Up to 70ºC, even if I have extra cool thermal throttling? I'm just weird out of people getting 4-5 hrs SOT, I've never had more than 2:00 and thought something is wrong with my phone.
[Nexus 5 Original Android Development] flar2:
I just checked mine with the camera, and it was up to 63, and it is cool here in my basement.

Throttling is not kicking in at 70 with the extra cool option (starts at about 75)

Don't worry that you don't get 5 hours, I get 4 hours max with this phone. People who get more than 4 hours have to work at it.
[Nexus 5 Original Android Development] Tuckycv:
Ok, thanks, I won't worry anymore, that happen in Culiacán at around 40ºC weather temp. I use my phone around 50-60 mins voice calls a day. I'm using the EX Kernel manager App and speaker gain keeps resetting to 0, I set it at around 5 and use the set at boot, but it keeps getting back, also would this keep a gain on phone calls, it doesn't seem to be that loud during phone calls on speaker. All the other setting on the sounf part stays at the gain I set.
[Nexus 5 Original Android Development] C3C076:
Just FYI to confirm I don't experience any CPU related issues running stock system on my Nexus 5 in combination wit the latest EX kernel.

The one and only deviation from stock is xposed framework installed.
[Nexus 5 Original Android Development] flar2:
Update!!!

-Renabled the gcc wrapper and manually fixed all compiler warnings, just in case any of these were causing instability with linaro -o3 build.

-Add f2fs support to fstab in ramdisk (thanks [MENTION=4473900]amaces[/MENTION] for the script). This is untested, but you should be able to flash on f2fs converted cache and data without using a dummy kernel

Download:

ElementalX-N5-4.02

Changes:

-fstab supports f2fs

-fix compiler warnings
[Nexus 5 Original Android Development] infatality:
Have you considered to update linaro toolchain to 4.9.3?
[Nexus 5 Original Android Development] fergdizzle9090:
searched around and couldnt find my answer. I am running 5.1.1 Cataclysm stable build and i keep getting boot loops when i try to flash EX. iam using 4.01 and will flash the rom then the kernel right after and still am getting bootloops. any ideas?
[Nexus 5 Original Android Development] devil-kin:
After flashing 4.02 this morning on my otherwise stock Nexus5 5.1.1, I just experienced a reboot (after opening the Play store). Undervolted to 695, otherwise nothing changed in the configuration.
[Nexus 5 Original Android Development] AA1973:
- Update your recovery if you are running TWRP 2.8.6.0

- Check if the download is corrupt (MD5 mismatch)
[Nexus 5 Original Android Development] nunoleite46:
Flashed 4.02 over 4.01, so far so good.

Someone using the new twrp 2.8.7.0?

Thank you

Sent from my Hammerhead 5.1.1
[Nexus 5 Original Android Development] fergdizzle9090:
I am on 2.8.6.0, that would probably be it then? is there a certain thats the best or should i just update to the newest? 2.8.7.0?
[Nexus 5 Original Android Development] Midomad:
[MENTION=4684315]flar2[/MENTION]

If you dont mind could you post all your settings? i would like to compare them to mine!

Thanks.
[Nexus 5 Original Android Development] walpurgisnacht30:
2.8.7.1 here
[Nexus 5 Original Android Development] designori:
I am on 2.8.6.1 and nothing went wrong. Just flash rom, super su, and the kernel and reboot. Then flash others (xposed framework, viper sound, etc.).
[Nexus 5 Original Android Development] yanleites:
2.8.7.1 works fine.
[Nexus 5 Original Android Development] nunoleite46:
Yes the 2.8.6.0, is not working properly, update to 2.8.6.1.

Sent from my Hammerhead 5.1.1
[Nexus 5 Original Android Development] magnamentis:
2.8.6.0 is buggy for Nexus 5 while it is best on others like OPO

2.8.6.1 is good on Nexus 5 while it's buggy on others like OPO

2.8.7.0 was not stable for me on OPO, did not try on Nexus 5 yet, problem was that it would autoboot directly after flashing and other issues supsected on OPO

2.8.7.1 cannot provide info, did not try it on any of my 6 devices

so for you to be on the safest possible side use 2.8.6.1 until 2.8.7.0 is found good or use it and report back your findings
[Nexus 5 Original Android Development] walpurgisnacht30:
Just a heads up, since I had a random reboot issue yesterday I did a factory reset on my Nexus 5 using 2.8.7.1 a few hours ago then flash the latest Cataclysm version, EX 4.02 (aroma installer one), Cerberus, Viper, and everything was booting up just fine. Tho I wasn't sure about the other stuff. Worth a try I guess, if some people has an issue with the latest one they can simply roll back to 2.8.7.0.
[Nexus 5 Original Android Development] verunks:
was the usb keyboard support removed in the android 5.1 version? I remember that it worked on android 5.0
[Nexus 5 Original Android Development] a0b1c2:
FWIW, I've been using 2.8.7.1 for a few days. So far no issues.

I'm also testing 4.0.2 with CM. Let's see what happens.

Cheers,

-pablo
[Nexus 5 Original Android Development] devil-kin:
I can reproduce the crash - starting the Play Store loads for a second, then hangs and the phone reboots.

Phone is stock, running ElementalX without undervolting.

When I get home I'll see if I can find anything useful. Any logs I can check?
[Nexus 5 Original Android Development] flar2:
Don't interrupt.

Version 4.xx is closer to stock than ever, and every single commit that I've added has been used in the kernel for many months. It should be stable unless bugs were introduced by google. But in the future please send /proc/last_kmsg
[Nexus 5 Original Android Development] a0b1c2:
How many times would you say you had to re-open Play Store? I just did it 20 times in a row with EX 4.02 and no problem. I could do it more times but I was starting to get bored. :)

-pablo
[Nexus 5 Original Android Development] flar2:
That would suggest the problem is with your installation. I would do a clean install.
[Nexus 5 Original Android Development] HoochieCoo:
I've been using the Uber f2fs patch. I assume this means I no longer have to use that?
[Nexus 5 Original Android Development] jaibar:
I used a robot to open play store, long-press back to kill playstore, then open again play store on and on and on.

After about 500 cycles the robot got bored and rebooted itself- needed to recharge its batteries- but the phone is stubborn and refused to reboot... ?

Running cataclysm june20 and Ex402.
[Nexus 5 Original Android Development] magnamentis:
hehe... nice way to make the point, just seconding that, no robot but still no reboots. dunno why people so easily blame rom and kernel while in over ninety percent of cases it's user side. indeed with this kernel don't remember any significant bug that would keep my phone misbehaving.
[Nexus 5 Original Android Development] cocchiararo:
dunno what that patch is, but i was manually adding the code he now added to the kernel zip, and i can cofirm that it works XD
[Nexus 5 Original Android Development] Magnifik81:
i everybody,i'm currently on cm 12.1(5.1.1.)and stock kernel,and I have a not so good battery life with 3-4 sot.What do I need to do to push it up to probably 5 sot?I'm thinking about installing the ElementalX and my question what do I need to do with it to push the sot to 5 hours?I had Elementalx on 5.0 Lollipop and it was not that good.Cheers!
[Nexus 5 Original Android Development] Robert-:
I have a little problem:

The sound settings won't lock,at all,with elementalx app. After I close the app,they are reseting .

With the fauxsound app everything is ok.:rolleyes:
[Nexus 5 Original Android Development] yanleites:
On the 5.01 version, after I finish the call the screen doesn't turn on, so I have to press the POWER button to turn the screen and end the call....
[Nexus 5 Original Android Development] devil-kin:
Thanks.

last_kmsg attached - the thing is oopsing at include/linux/skbuff.h:1314

The reason that i think it might be kernel related is that - safe for upgrading the kernel - nothing has changed. I'm not a newbie when it comes to Android - I've done my share of kernel hacking, rom building, recovery stuff, ... the works. I just reported some potential issue. And easily reproducable issue, too. At work I have no way to connect my device and get debugging logs of it, so I reported it. At home I can't reproduce it, for some reason - the only difference being the wifi network it's connected on, and no running ipsec tunnel.
[Nexus 5 Original Android Development] nicochoco03:
Hi ! i'm just install 4.02 update in twrp 2.8.7.1 and reboot and i don't have any problem with the play store or other ! :)
[Nexus 5 Original Android Development] flar2:
This bug must be inherent to that part of the kernel. It's in a part of the kernel that I haven't modified in any way
[Nexus 5 Original Android Development] magnamentis:
ok let's see what is found out. that was more a general remark while something usually triggers it after many others that go uncommented. of course it would be a pity should exactly this case be one of the extremely rare exceptions LOL in that case accept my apologies that i quoted exactly your post of all posts :angel:
[Nexus 5 Original Android Development] a0b1c2:
Hey [MENTION=4684315]flar2[/MENTION],

Using EX 4.02, so far so good. No more wonky pegging the CPU. I'll have a higher degree of confidence after an additional 24-48h. Unfortunately, I restarted my phone because my updated theme requested it.

Have a good weekend!

-pablo
[Nexus 5 Original Android Development] Darkmasterhk:
hm, might be a dumb question, but did you try 1-2 reboots after flashing?

I don't know why but I got exactly the same behaver after updating rom + changing to f2fs(data/cache),

it took 2 reboots now everything is back to normal (300MHz 1 core idle)
[Nexus 5 Original Android Development] Pichingo:
4.02 seems to have mpdecision off by default. Should it be on or off by default? thx
[Nexus 5 Original Android Development] lovendsuicide:
It's on by default. Unless you chose custom hotplug in the aroma installer.

Sent from my Nexus 5
[Nexus 5 Original Android Development] flar2:
I rebooted a few times
[Nexus 5 Original Android Development] GragonV:
So far so gooood!

The temperature is still a bit hotter than 2.08 but the Max CPU problem is really gone :D :victory:
[MENTION=4684315]flar2[/MENTION]: Would like to know the real reason behinds this bug if you got time ^^, but much much thanks for the new release :D. Rock again :highfive:
[Nexus 5 Original Android Development] onesvip:
Hi [MENTION=4684315]flar2[/MENTION],

Which part/file of your kernel is responsible for the backlight dimmer?

Is it possible to flash only this part/file to enable this feature?

And would it work on other smartphones running CM/AOSP (especially on HTC One M8), too?
[Nexus 5 Original Android Development] GR0S:
Check what cpu freqs you use most and undervolt them. Most devices should handle -50ma
[Nexus 5 Original Android Development] slmklc:
anyone experiencing push notifications delay when using this kernel (m version).I am having it and I think "max cpu freq when screen off" may be the culprit because I am having this issue when screen is off.

---------- Post added at 10:11 AM ---------- Previous post was at 10:08 AM ----------

and what is the stock kernel's value for this ?
[Nexus 5 Original Android Development] dechronic:
Maybe you can check his github to see the changes made....
[Nexus 5 Original Android Development] santeana:
Anyone tell me why I can't overclock anymore? Usually when I install this kernel, I like to set it to 2.5ghz. Now, in the app, it only goes to 2.2. If I try to set it to anything higher in the installer while flashing, it gets stuck in a boot loop until I flash again using default settings. Also, on version 4.00 I undervolted it to -625mv min, and on 4.02 anything less than -750 and it gets unstable. If I go to -675 it just crashes and reboots.

I'm using cm12.1 nightly (latest as of today)
[Nexus 5 Original Android Development] flar2:
Stock doesn't have that option. But that problem is not Kernel related anyway.
[Nexus 5 Original Android Development] DroidIt!:
My guess would be that's simply a google thing. Maybe I'm wrong but flar has said repeatedly he likes to stay relatively close to stock for maximum compatability with all ROMs. Could be google wrote something into stock M kernel that tightened up the variances for whatever reason. I don't necessarily see anything wrong with your settings. I usually under clock to 1.9 and UV by -25 global and all is still smooth for me. I can try oc on my next ROM update though and let ya know how it goes. I think I'll be updating a bit later today. ;)
[Nexus 5 Original Android Development] santeana:
Sure, thanks. It's just weird because there's no mention that oc isn't included anymore, yet the cpu max freq settings list only goes as high as 2265 now.
[Nexus 5 Original Android Development] flar2:
Over clocking is still there.

There are so many things trying to control frequencies these days I am ready to remove over clocking and frequency control from app and Kernel.
[Nexus 5 Original Android Development] DroidIt!:
If it'd make your life easier I'd say go for it. :) Granted options ARE nice, but if the OEM's are making such a mess of it that's it's becoming...unrealistic, it doesn't seem worth it to me. I've never needed to oc my N5, N7 or N6. Me thinks doing so doesn't give any advantage whatsoever. Even my N7 with the SD 400 still handles all the most recent games with no oc...my opinion :)
[Nexus 5 Original Android Development] nunoleite46:
Bought the new APP today, it is very easy to use. Anyone using hotplug in this kernel? some advantage over mpdecision?

Thank you.

Sent from my Hammerhead 5.1.1
[Nexus 5 Original Android Development] magnamentis:
the advantages and disadvantages remained the same like with the old app. if you search this thread you will find a multitude of posts dealing with the subject. i personally like mpdecision, gives me good performance and decent battery life. but that can easily differ from user to user :)
[Nexus 5 Original Android Development] till22:
I'd leave the UC though, I'll think you'll get more angry users than ones with problems. Personally I don't UC, but I know a lot of battery saving "freaks" (sorry for the word) do it.

I use the hotplug in EX and SOT is a little better for me. But as always, try both and compare them on your phone for better results.
[Nexus 5 Original Android Development] slmklc:
changing cubic to westwood seems working for me.
[Nexus 5 Original Android Development] nunoleite46:
Hello [MENTION=298610]Flar[/MENTION] today i noticed a strange thing, if I have for example a 20 open applications and make scroll between applications, with the governator ElementalX notice some lag/FPS drop, if i change for ondemand (or stock kernel, or codeblue) is all normal, you know that parameter can be causing this only uning ElementalX governator?

Thank you for the support.

Sent from my Hammerhead 5.1.1
[Nexus 5 Original Android Development] walpurgisnacht30:
Could be caused by powersave mode and I can see that your max cpu clock is only 1267 mhz?
[Nexus 5 Original Android Development] nunoleite46:
Nope, this was coincidence, turn on automatically. :)

Always happens only using ElementalX governor.

Thank you

Sent from my Hammerhead 5.1.1
[Nexus 5 Original Android Development] walpurgisnacht30:
You sure? Because ElementalX governor is running fine for me. And also I remember that you're coming from Code Blue before, did you clean flash your rom first?
[Nexus 5 Original Android Development] aemam.douh:
IBSS mode support

does this kernel enables ad-hoc (IBSS) mode?
[Nexus 5 Original Android Development] nunoleite46:
Yes i Always reflash the stock kernel before flash a new kernel. Strange..

Sent from my Hammerhead 5.1.1
[Nexus 5 Original Android Development] walpurgisnacht30:
I didn't mean about dirty flash stock kernel but your rom.
[Nexus 5 Original Android Development] nunoleite46:
SOLVED!! I reflash the ROM (Cataclysm) and now its perfect. Thank you for the support [MENTION=5728419]xnormskix[/MENTION]

Sent from my Hammerhead 5.1.1
[Nexus 5 Original Android Development] flar2:
I can't stress enough how much you need to reflash the ROM after having a different Kernel.
[Nexus 5 Original Android Development] walpurgisnacht30:
The struggle is real
[Nexus 5 Original Android Development] hooliganx:
I was a little tough to buy the new version of the app. but man... Im was silly! this new app is awesome!!! ?

thanks flar2!

n5slim.ezio84.jun.24layeredslim.gapps.jun.20

elementalx.4.02rd.2.26v4a.2.3.4twrp2.8.7.1

-------------------------------------------------------
[Nexus 5 Original Android Development] :
Is it because most Android Development ROMs are updated to 5.1.1 r5 and there are more than 3000 commits between r4 and r5?

Edit: The changes are minimal for Hammerhead and most of the changelog posted by AP is wrong. Sorry for this post.
[Nexus 5 Original Android Development] cromatn5:
I think no, because my ROM is based on 5.1.1_r4 and got this issue.

I made severals attempts, if i reboot when CPU is hot, core 2 stucks at max freq.

I have disabled custom hotplug and issue is gone.
[Nexus 5 Original Android Development] lmulli:
I changed my rom from M preview to AOSIP (fully wiped including internal storage) which is now based on 5.1.1_R5 and with the latest 4.02 kernel had nothing but FC's. Changed it to your M preview and it appears to work a treat! Possibly something to do with the modem from M being installed? Either way, just a heads up for anyone suffering the same issue.
[Nexus 5 Original Android Development] walpurgisnacht30:
Flash permissive.zip when you're using AOSiP. Read the OP.
[Nexus 5 Original Android Development] fix-this!:
Im also getting a bit of gui lag on ressurection rom.
[Nexus 5 Original Android Development] farahzadfarahzad:
I have a problem with gamma settings every time I'm changing the profile after i put the phone in charge or i didn't find out how when i check the phone it is back to its original color the cooler disabled as well gamma working but keep resetting I'm using latest 4.02 along with ex kernel manager
[Nexus 5 Original Android Development] flar2:
There is something wrong with your setup then. Dirty flash before installing elementalx.

Certain Roms are extremely broken lately. I would stick to stock.

Elementalx Governor does not lag, ever. When I see people talking about lag, its because their ROM has broken mpdecision or touch boost or powerHAL.
[Nexus 5 Original Android Development] flar2:
Uninstall other apps that might be interfering

There is no reason why charging would affect it. Totally unrelated.

Upon boot, wait a minute before checking if it's applied.
[Nexus 5 Original Android Development] educk:
Kernel panic

[MENTION=4684315]flar2[/MENTION] , I just caught a kernel panic on latest 4.02 version. Didn't have time to check but I thought you should know.

Pastebin: http://pastebin.com/gTsY9Jyw

I don't visit the forum much due to lack of spare time, so I wish you all the best. :)

Edit: I think I've read something about some ROM's causing trouble with EX, for reference, I'm using stock 5.1.1.
[Nexus 5 Original Android Development] flar2:
Hmm, this is the same error someone else posted last week. Strange that there would be a bug like this cropping up after over a year using the same toolchain and commits, now even more stripped down and closer to stock than ever. Also seems to be in a subsystem where I don't make changes.

Fortunately it seems rare, when I return home next week I'll have to strip out even more commits and revert to stock toolchain.
[Nexus 5 Original Android Development] fix-this!:
Could be the rom but i also had issues on euphoria. I always clean flash the rom then kernel. No big deal.
[Nexus 5 Original Android Development] dead90:
Some nice settings? If someone have it ?

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] Midomad:
Stock settings

Good battery life + Good Performance.
[Nexus 5 Original Android Development] MrKaon:
I'm having a bit of ui lag with latest release, will go back to 4.

Stock 5.1.1 no modifications.
[Nexus 5 Original Android Development] flar2:
There is no difference in anything that would affect ui performance on any recent version
[Nexus 5 Original Android Development] cop1976:
Problem is with 5.1.1 r5 only... At least for me. On r4 everything works like it should. I didn't try newest Euphoria yet (downloading right now), but on unofficial version from 27.06 only one core works on max speed all the time and rom was slow like hell... So I think is rom fault not the kernel..

Wysłane z mojego Nexus 5 przy użyciu Tapatalka
[Nexus 5 Original Android Development] MrKaon:
Hi

If you say so. But my experience wasn't same with latest release. I had a bit of lag with 4.0.2 which wasn't there on 4 and 4.0.1.

Now I'm using v4 no lagging any more.
[Nexus 5 Original Android Development] flar2:
You're getting a spurious result. Check out the commits on June 23 (4.01) and June 26(4.02). They don't really make any difference to anything

https://github.com/flar2/ElementalX-N5/commits/ElementalX-4.00
[Nexus 5 Original Android Development] nunoleite46:
4h SOT, really impressed, the best result I obtained with lollipop.

Stock settings (screen off 300mhz)

Sent from my Hammerhead 5.1.1
[Nexus 5 Original Android Development] slmklc:
did you have any push notification problem (whatsapp,fb messenger,viber etc) due to screen off 300 mhz ? and is 300 mhz enough to phone works properly.thanks mate.