yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] Furrydaus:
So Elemental X 4.04 has worked great for me when I got my new Nexus 5 a few days ago but after testing out different ROMs (XStrasmooth M44AL, CM12.1, PA) and finally coming back to stock LMY48I after reflashing partitions to EXT4, the Kernel somehow does not want to boot up past the Google Logo. Am I missing something or is there a legitimate problem with TWRP or the Kernel?

Note:

Fastboot is unlocked and stock rom is rooted with SuperSU and has BusyBox Installed

edit:

Nope issues unresolved with 4.05

Cheers,

Furrydaus

---------- Post added at 10:33 AM ---------- Previous post was at 10:19 AM ----------

Alrighto found the problem. [MENTION=4684315]flar2[/MENTION]

The Stock ROM does not boot if the CPU Frequency is set to the max in Aroma. I doubt this was mentioned in the OP (If I am wrong, please do correct me).

Can users of ElementalX (Stock LMY48I) confirm this so [MENTION=4684315]flar2[/MENTION] can remedy this bug if it is a legitimate one. :good:
[Nexus 5 Original Android Development] flar2:
You picked the highest frequency in Aroma?

Of course it didn't boot, overclocking that high is unstable.
[Nexus 5 Original Android Development] Furrydaus:
Yeah but shouldn't it be removed since it doesn't boot. I'm still unsure of how capable the cpu are on the nexus 5. You might want to put a disclaimer for the highest clock as unstable in aroma :)

---------- Post added at 10:51 AM ---------- Previous post was at 10:47 AM ----------

Edit: Re-Read the disclaimer. Sorry for not reading it properly

Cheers :)
[Nexus 5 Original Android Development] ajeesh vijayan:
ex kernel manager 2.16 works fine ..2.15 was giving "unfortunately stopped" error..running custom DPI

love the light theme

thanks
[Nexus 5 Original Android Development] BlazeForth:
[MENTION=4684315]flar2[/MENTION] I got this error when try to flash latest aroma version.

Flashed express version and works great. ?✌ ? ?

ne❌us 5 -->pure ne❌us --> L Speed -->❌treme Music
[Nexus 5 Original Android Development] Furrydaus:
Please redownload the package. I flashed it fine :)
[Nexus 5 Original Android Development] BlazeForth:
Okay... May be download error. Express version worked fine. ? ✌

ne❌us 5 --> pure ne❌us --> ❌TREMEMusic --> L Speed
[Nexus 5 Original Android Development] NovaSlim:
There might be a golden chip somewhere that can boot with that frequency,therefore it should be available. You are doing overclocking wrong, you start with the stock frequency and go up, not picking the highest frequency then go down.
[Nexus 5 Original Android Development] Furrydaus:
I feel that the max cpu frequency in the choices (in aroma) for ElementalX only sets the max frequency. Apparently, the cpu clocks to the max when booting for some odd reason that just crashes the whole boot sequence. Not sure how to remedy this and anyways, I'm more interested in playing around with the nexus 5 and testing its limits. The boot logo bootloops gives me a general idea of how far the nexus 5 goes because coming from an Xperia SP, I am already extremely happy with the performance and what Flar2 has provided with his kernel.

Nonetheless, there's still room for improvement for how boot sequences go but I feel that's only a stock kind of thing and not a custom ROM thing. Will probably try it out in the future but as of now, I'm interested in testing my first few days with the nexus 5 (although I should have just waited for the new nexus that's arriving soon hahaha).

Cheers ?
[Nexus 5 Original Android Development] Midomad:
What's the point of disabling sensor_ind wakelock?

Envoyé de mon Nexus 5 en utilisant Tapatalk
[Nexus 5 Original Android Development] flar2:
Some custom ROMs introduce a problem with this wakelock. I think it's related to ambient display or something.

If you're on stock, its not an issue.
[Nexus 5 Original Android Development] PiSpecialist:
Best kernel so far. Thanks

Enviado desde mi Nexus 5 mediante Tapatalk
[Nexus 5 Original Android Development] ajeesh vijayan:
disabling "sensor_ind wakelock" prevent phone from deep sleep..anybody else experienced this?
[Nexus 5 Original Android Development] magnamentis:
it's with hangouts even on stock albeit i'd have to check which google stock versions, could be fixed or not, i'm not using hangouts, was just reading a bit in XDA and reddit about that wakelock and it's messaging app mentioned as the culprit all over the place. take it with a (small) prise of salt since it's reading (hear say) only due to the fact that i'm not bothered by this wakelock (there are others LOL )
[Nexus 5 Original Android Development] mr.b4rt:
thx for adding ind_sensor wakelock thing:svetius:
[Nexus 5 Original Android Development] smartboy0668:
Thanks hitted working excellent with CM12.
[Nexus 5 Original Android Development] xeraphael:
Could I make a request for the interactive and/or intelliactive governor to be added? These two are consistently the most battery-friendly governors for me, after tweaking.
[Nexus 5 Original Android Development] jatinkhatri:
where are the changelogs for N5 4.05 version ?
[Nexus 5 Original Android Development] flar2:
Not according to my testing.

But I can't add interactive, it conflicts with elementalx and breaks multirom (very strange)
[Nexus 5 Original Android Development] flar2:
So...anyone using 4.05?
[Nexus 5 Original Android Development] GBP85:
I am using it and haven't found any problems or noticed any problems.

Thanks for the great work!
[Nexus 5 Original Android Development] amphi66:
Look at post #19807
[Nexus 5 Original Android Development] BlazeForth:
I got a problem... Dont know anyone else is facing it.!! Even if i set custom Thermal throttling temp, after a reboot it goes back to 78...and i have to change it to my value after every reboot.!! Rest everything is working good so far.!!? ✌

ne❌us 5 --> pure ne❌us --> ❌TREMEMusic --> L Speed
[Nexus 5 Original Android Development] gverma1:
I am using 4.05 on stock ROM, not because I faced any problem on 4.04 (I didn't), but because I like to be on the latest version. Like it's predecessors, it's working perfectly so far.
[Nexus 5 Original Android Development] cocchiararo:
i can't, i left 5.1.1 for 6.0 preview 3 xD

pd: i tried the preview 3 with your kernel, and it rocked, then i reinstalled it with stock, and i had some kind of memory leak... weird. Went back to your kernel xD
[Nexus 5 Original Android Development] walpurgisnacht30:
Sorry in advance for ElementalX Pushbullet subscribers, the new Pushbullet app and mobile web is weird now, I cant properly push a link and give a proper changelog, I'd like to use the web version from my laptop, but it's a real pain right now.

But well, I'll working on it tho.
[Nexus 5 Original Android Development] ChrisJ951:
Edit: Wrong forum, meant nexus 6 thread for this.
[Nexus 5 Original Android Development] bland.life:
I think I experienced this.

First thing I did yesterday is to try disabling that wakelock and left it overnight.

When I wake up in the morning the phone only had 8% battery left.

Seems to be ok now after I re-enabled the wakelock and reboot.

Will have to see how it do when morning comes.
[Nexus 5 Original Android Development] BabboDemonio:
No problems for me (all stock settings)
[Nexus 5 Original Android Development] jaibar:
What are the units for thermal throttling in version 4.05? Default value is 78- is it Celsius degrees?
[Nexus 5 Original Android Development] magnamentis:
sure, all well as usual. no news is good news once more LOL :good:
[Nexus 5 Original Android Development] ekowwillis:
Yes, I am using it. Rock solid as usual. Thanks for the good job.
[Nexus 5 Original Android Development] NovaSlim:
Runs fine on mine
[Nexus 5 Original Android Development] pierrebe:
+1 [emoji106]

Envoyé de mon Nexus 5 en utilisant Tapatalk
[Nexus 5 Original Android Development] nealkoy:
Hi [MENTION=4684315]flar2[/MENTION] how will the new update impact on battery life introduced in the versions 0.18-19?
[Nexus 5 Original Android Development] DoesntPostAThing:
Thanks flar for the new version. Meanwhile, if you guys want something relaxing/downright hilarious to listen to, there's Psybrid Theory. Completely OT, but it's just too funny not to be shared :P

---------- Post added at 11:08 PM ---------- Previous post was at 10:59 PM ----------

Also, I was able to fully control when I see the stutters. Currently only tested my theory on 020, using whatever governor/scheduler/etc. Instead of having my eyes jump back to make sure there's no stutters, it seems the stutters is simply a lag created by my eyes merging two images together. Some form of optical illusion. Happens on any kernel if you focus on detecting lags, even subconsciously. However, just use it normally and "look forward", and it's all fine. May sound very strange but it seems to work for me. Lags are 100% gone. I'll test 021 just to be sure, but I bet there wasn't much of an issue to begin with.

I'm sorry flar for you having to work so hard on holidays, but all this extra effort easily makes you the most user-friendly developer whose kernel I've used in a long time. I'd donate to you, but I don't have paypal. Is there anyway I can donate a few bucks over Google Wallet?
[Nexus 5 Original Android Development] Syk69:
Sounds like you are going to go cross eyed lol. Its very smooth no stutter or lag here as always for me :P yeah I agree stop looking for it :)
[Nexus 5 Original Android Development] DoesntPostAThing:
Definitely. Now that I think of it my eyes have been sorer recently, and probably not from playing too much BF3 with my friend. Staring at small screens isn't good for me! So yea, I'd say the optimizations didn't cause any stutters after all. BTW, just went back to 019.1 and it's smooth as ever again xD Dang eyes, don't know what's good for itself!

Anyways, should I test the readahead on 020 or 021? Probably 020, as there's still some optimizations in that one.
[Nexus 5 Original Android Development] clandes:
Arrrrgh! I just flashed 0.20 in the bus on the way to work only to find 0.21 upon arrival at the office *headdesk* I never had any "stutters" or recovery trouble (TWRP) with either .018 or 0.19+ but I'll give 0.21 a try nevertheless. Hope there won't be a 0.21.1 version at noon :silly:

I use this kernel on my HTC One and been using it on my Nexus 5 together with Cataclysm Rom since I got it in early December. Both phones run super smooth with great battery life - thanks for a great kernel, my friend.

Here's somenthing to show my appreciation and support: 8EV837700C086822R
[Nexus 5 Original Android Development] Matt Devo:
confirmed no TWRP/data corruption issues on 0.21 (on my phone anyway)
[Nexus 5 Original Android Development] :
[MENTION=4684315]flar2[/MENTION]

0.21 works perfect no stutter anywhere, thanks for fixing it

Though I'm curious what could have caused the issue in the first place, all's well that ends well
[Nexus 5 Original Android Development] suneet mehta:
I want to return to using elemental x. But i already had one data corrupt issue which people suspected was the kernel. My comp is too slow to transfer all my sd card data again to the mobile after flashing factory image. Has anyone had the corrupt issue after the 0.20 build?!:confused:

Check out my custom backplates for the spigen ultra hybrid case for the N5 here :- https://mega.co.nz/#F!xd8lGYSS!J9vcXf3IWOqlcng1zE4bpA .
[Nexus 5 Original Android Development] zioxda:
Always present :)
[Nexus 5 Original Android Development] paulnorinn:
+1

this issue has gone on v0.21.
[Nexus 5 Original Android Development] AhmedFaiz:
Everything working great back on 0.21. I think UV default was the reason for micro lag in scrolling certain apps like tapatalk, Facebook, etc but flashed 0.21 with stock value instead of default UV chosen in the installer rest everything default. I was running this kernel for a month now, only issue I had was on 0.20 which I mentioned above. But now everything is back to solid.

? happy to be here.

Nexus5/PA4.0beta/ElemantalX 0.21
[Nexus 5 Original Android Development] tommy.mann:
Exactly! Bad app is bad app...

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] nadiros:
Love this kernel. Enjoying a flawless experience so far with Elemental + Cataclysm. Your time and attention even over the holidays is amazing. Thanks.
[Nexus 5 Original Android Development] suneet mehta:
Can you post your antutu score. I am thinking of switching to cataclysm.:)

Check out my custom backplates for the spigen ultra hybrid case for the N5 here :- https://mega.co.nz/#F!xd8lGYSS!J9vcXf3IWOqlcng1zE4bpA .
[Nexus 5 Original Android Development] nadiros:
Sorry I don't benchmark, I just enjoy the experience ;)
[Nexus 5 Original Android Development] suneet mehta:
No problem. I just wanted the score for comparing. Because every person has a different rom considered as best. So just wanted to compare. No problem.:):thumbup:

Check out my custom backplates for the spigen ultra hybrid case for the N5 here :- https://mega.co.nz/#F!xd8lGYSS!J9vcXf3IWOqlcng1zE4bpA .
[Nexus 5 Original Android Development] italia0101:
0.21 does feel smoother to me too,
[Nexus 5 Original Android Development] letmedanz:
Here's one from me
[Nexus 5 Original Android Development] bantamdraper:
Great work flar. .21 is running great:good:

with PSX rom

Not too shabby:)
[Nexus 5 Original Android Development] natzakaria:
I got this
[Nexus 5 Original Android Development] jugoslavpetrovic:
Which one is for lollipop 5.1 caf?
[Nexus 5 Original Android Development] nednednerb:
I think it is not supported officially. Maybe I read here that there is no difference for 5.1 stock/caf kernel.... not sure of memory
[Nexus 5 Original Android Development] cocchiararo:
no kernel for CAF in 5.*
[Nexus 5 Original Android Development] ajeesh vijayan:
idle drain

battery monitor idle drain working now with 4.05+exkm2.16

thank you
[Nexus 5 Original Android Development] jugoslavpetrovic:
It is mentioned in OP but its not so clear which android version so I wanted to make sure. Thanks.
[Nexus 5 Original Android Development] wrick17:
For some reason my phone stays awake for 100% of the time on 4.05. I tried the new wakelock option, still no difference, on or off. I'm back to 4.04 and everything seems to normal back again.. What am i doing wrong?
[Nexus 5 Original Android Development] jaibar:
Same here. BBS and wakelock detector didn't provide any useful info.

I tried some things (disabling apps, xposed framework, safe mode etc.)- but 100% awake persisted.

Eventually reverted to 4.04 and phone sleeps again.
[Nexus 5 Original Android Development] ol@fson:
+1

Well not 100% but 90% (only 10% deep sleep). Trying to revert to 4.04 now
[Nexus 5 Original Android Development] AndroidBR:
Sure am buddy, thanks!

Quick question / request if I may...

Would it be possible to add an option under settings or one of those "don't show this EVER again" to keep that annoying pop up disclaimer from showing up every time we attempt to change maximum CPU frequency?

For your average user (99.9% of us) this seems like useless information really.

I prefer to do some underclocking when I'm running on battery for a cooler and longer battery life. That pop up gets really old after a while...

Thanks and Cheers!

Edit:

Thank you [MENTION=4684315]flar2[/MENTION] for adding that option into the kernel manager app. I REALLY appreciate it dude!

I almost cried of happiness and joy when I realized that you had listened to my request! Such a nice surprise!

Problem solved! Love you dude! :D
[Nexus 5 Original Android Development] wangdaning:
You using doubletap2wake by any chance. That is the only think I can think of that would cause the phone to stay awake. The N5 can use it, but it is really not designed to, so the screen must be awake all the time for it to work.
[Nexus 5 Original Android Development] wrick17:
Nope. I'm not using d2w or s2w. Still having the wake. And most of all i don't have it on 4.04..
[Nexus 5 Original Android Development] JonesL:
Yeah something isn't right here, I've not had a battery drain like that before, I've had the phone left on the side for a few hours and it won't go into a deep sleep.
[Nexus 5 Original Android Development] flar2:
4.05 is working good for me, on stock ROM.

But since a few people have reported this, we'll be rolling back to 4.04. I don't think 4.05 offers any improvement anyway.

Actually, I'll have to make a version 4.06 to restore stock thermal daemon in the ramdisk.
[Nexus 5 Original Android Development] wizardwiz:
reverted back to 4.0.4. Re-flashed stock kernel and then 4.0.4

All is working fine and the device can sleep well again :)
[Nexus 5 Original Android Development] flar2:
That's the way to do it. You must flash stock before EX 4.04 if you've had 4.05
[Nexus 5 Original Android Development] flar2:
Out of curiousity, what ROM are you guys using where it won't sleep?
[Nexus 5 Original Android Development] jaibar:
Cataclysm here, and no dt2w or similar stuff. Also no adaptive brightness, face detection, no "ok google" listening or that kind of stuff that sometimes tend to create sensor-related wakelocks.

BBS showed some generic "powermanager-something" keeping device awake.
[Nexus 5 Original Android Development] Hatshipuh:
Well at least with Chroma it went to sleep just fine. Setting the treshold to 70 and the device kept good performance even during long game sessions without heating up too much.
[Nexus 5 Original Android Development] ciano865:
New Lollipop build 5.1.1 (LMY48M)
[Nexus 5 Original Android Development] flar2:
No kernel changes posted (at least not yet, but I don't expect any)
[Nexus 5 Original Android Development] hjjiang:
also not going to sleep in Euphoria OS Latest Build, going to revert back to 4.04
[Nexus 5 Original Android Development] wrick17:
I'm on Chroma latest
[Nexus 5 Original Android Development] lulli1:
where did you get the stock kernel ? flashable zip?
[Nexus 5 Original Android Development] jaibar:
You can dirty flash your current ROM, just don't wipe anything and you'll have the "stock" kernel that comes with it- I think it is the best (or safest) method.

If you are using xposed framework, you'll just have to flash it too and then everything is supposed to work too. The same applies to whatever app or data that was placed in /system partition and is not part of the ROM.
[Nexus 5 Original Android Development] pierrebe:
I'm using Chroma and no problem with 4.05 [emoji4]

Envoyé de mon Nexus 5 en utilisant Tapatalk
[Nexus 5 Original Android Development] AquilaDroid:
I've run 4.05 on Slim (@EZIO84 edition) and Twisted, haven't had any sleep problems.

Sorry, screen shot isn't playing nice...
[Nexus 5 Original Android Development] flar2:
Update!!

Going back to the way it was before, where there are no problems. Should have known better than to add hacks this late in the game.

To check if stock thermal daemon is running properly (in adb shell or terminal emulator):

ps th

You should see /system/bin/thermal-engine-hh listed

If for some reason the thermal daemon is not running, dirty flash your ROM and then flash EX

Download (Android 5.1.1):

ElementalX-N5-4.06

Changes:

-revert thermal driver

-revert sensor_ind wakelock toggle
[Nexus 5 Original Android Development] theesotericone:
You gotta break a few eggs to make an omelet. But, yeah, in this case the last omelet was by far the best one I've ever had.:cool:
[Nexus 5 Original Android Development] fabio000:
Even if I choose elementalx or cooler on aroma it appear as stock on the app and don't change (using v4.06)

flashing v4.04 over 4.06 solves the problem
[Nexus 5 Original Android Development] wizardwiz:
flar , what are the changes in 4.0.6 comparing to 4.0.4 ?
[Nexus 5 Original Android Development] flar2:
Only difference is the version number
[Nexus 5 Original Android Development] Midomad:
I'm on 4.05 should i flash stock kernel before updating to 4.06 ?
[Nexus 5 Original Android Development] wangdaning:
I am not getting anything out of

ps th

. I am running the latest SlimLP from Robbie and the stock kernel is the Slim kernel. I tried dirty flashing and flashing EX again, but same. Not noticing any issues though, so not complaining.

Note I do have /system/bin/thermal-engine-hh, just that command does not show it.
[Nexus 5 Original Android Development] designori:
I am running last cataclysm and dirty flashing rom and elementalx 4.06 fixed thermal daemon issue. Did you flash 4.05 again?
[Nexus 5 Original Android Development] ol@fson:
Seems to have fixed the issue .. Dirty flashed the (new LMY48M) ROM .. Installed 4.06 and now /system/bin/thermal-engine-hh is running again, deep sleeping as supposed.
[Nexus 5 Original Android Development] xeraphael:
This is what I can get with a tweaked intelliactive. Scrolling is sometimes a bit janky, but its a compromise I'm happy with in exchange for the battery life. I haven't figured out how I can replicate these results with other governors yet.
[Nexus 5 Original Android Development] olivercervera:
What app is that? :D
[Nexus 5 Original Android Development] Furrydaus:
The Official Elemental X app...
[Nexus 5 Original Android Development] flar2:
You should be able achieve that with elementalx gov and have complete smoothness. My policy is not to add governors.
[Nexus 5 Original Android Development] ekowwillis:
4.05 seem to do the trick for me. It allows me to set preferred thermal throtting. So I'm gonna stick with it for now.

Had thermal throtting stuck on "stock" in 4.06.
[Nexus 5 Original Android Development] Hatshipuh:
Good thing you mentioned it. I wondered why 4.06 ran strangely sluggish in games compared to previous versions, checked EX App and noticed thermal throttle was on stock.

Before flashing, I formatted system, flashed ROM and kernel, EX thermal was selected in Aroma installer and it still ended up being stock after the phone booted.
[Nexus 5 Original Android Development] flar2:
4.05 will always be there for those who prefer different throttling. The custom thermal driver actually throttles lower than the default elementalx thermal.conf, but the hysteresis is more responsive.
[Nexus 5 Original Android Development] Hatshipuh:
Just saying 4.04 displays correctly ElementalX in thermal, 4.06 displays Stock, though ElementalX was selected during installation.
[Nexus 5 Original Android Development] RusherDude:
[MENTION=4684315]flar2[/MENTION] , on the ElementalX app, it says there's an update but no info about 4.06. Could you add an entry into the app changelog saying it's a reversion to 4.04 or so?

Thanks a lot for the great effort!
[Nexus 5 Original Android Development] zerosum0:
Should know better than to use anything with Francos name on. I know some see him as a kernel guru. He just sticks stuff out and his fans get to test the crap. If i wanted his stuff id use his kernel. Tried it years back. Never again. This kernel runs great gets updated then goes to pot. If it aint broke.. Oh glad to see i was vindicated on the max frequency problem, after being told there was none, time and again. Dirty fkashing a ROM is not quick if you spent hours taking the crap out of it. It's a pain to have to do it over...

---------- Post added at 11:30 PM ---------- Previous post was at 11:27 PM ----------

Interactive eats battery. It's up and down, like the name imply's

---------- Post added at 11:33 PM ---------- Previous post was at 11:30 PM ----------

If you play with half finished software expect problems....
[Nexus 5 Original Android Development] walpurgisnacht30:
I can confirm about this as we can see from the gif attached. Well, I came from a clean flash latest Cataclysm, I chose ElementalX for thermal throttle in aroma installer and also check in elementalx.conf and everything shows the correct setting like in aroma but not EX Manager App.
[Nexus 5 Original Android Development] Midomad:
I confirm.
[Nexus 5 Original Android Development] papepo:
I also
[Nexus 5 Original Android Development] Globespy:
Sorry if this has been asked (couldn't find in search), is there any security vulnerability (stage fright) if installing this kernel on either Cataclysm or stock ROMs?

Thanks.
[Nexus 5 Original Android Development] JohnSpawnVFX:
Stagefright is dependent on the Rom, not the Kernel. If a given Rom is vulnerable, it will be no matter what kernel you have.