yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] magnamentis:
yes

same drain because the screen is basically in an awake state and it's always the entire display, so same usage

---------- Post added at 03:54 PM ---------- Previous post was at 03:50 PM ----------

1% in 3 minutes = 20% per hour which makes 5h SOT which is neither top nor bad but ok

1% in 5 minutes ( you wrote 3' - 5' ) would make it 12% per hour which would make it more than 8h SOT which would be extraordinarily good,

so according to your post you have average to extremely good battery life ( SOT ), depending :)
[Nexus 5 Original Android Development] Mr.Jay:
Here the same. I can confirm
[Nexus 5 Original Android Development] maortrol:
Confirm what? :confused:
[Nexus 5 Original Android Development] Mr.Jay:
Sorry, I didn't quoted the message correctly.

I confirm that 2.04 works on Stock 5.0.1

Sent from my Nexus 5 ?
[Nexus 5 Original Android Development] maortrol:
XDDD Ok! :highfive:
[Nexus 5 Original Android Development] daffie:
This is all yesterday's news...EX has been working flawlessly on Lollipop 5.0.1 since it came out...some 10 days ago.

No idea why everyone's so happy all of a sudden...very strange behaviour :confused: :eek: :laugh:
[Nexus 5 Original Android Development] magnamentis:
what's the purpose ?

is spoiling that sudden happiness of some users a less strange behaviour ?

i meant what's wrong as long as it's expressing positive facts and feelings ?

only thing which comes to my mind ( translated your words into other words ) would sound not so nice IMO

further 5.01 came out not 10 days ago so it cannot have worked on 5.0.1 since then.
[Nexus 5 Original Android Development] daffie:
Hmm not sure why you are attacking me personally. I only pointed out that EX has been already working a long time on Lollipop 5.0.1, so there really is no need for everyone to start yelling today that it works. Very strange behaviour indeed.

So please if you have any real news to mention, go right ahead. Otherwise try to keep this thread clean from unnecessary stuff (like this conversation we are having atm).

Thanks for your cooperation.
[Nexus 5 Original Android Development] walpurgisnacht30:
Because it's a version bump specifically for Hammerhead's stock rom even it's just small fixes, and some of us would be happy if the current version of ElementalX is working with the new version of Android so we can continue using without have to waiting flar2 to update the kernel.
[Nexus 5 Original Android Development] daffie:
Utter nonsense, but go right ahead :)
[Nexus 5 Original Android Development] danarama:
Correct, actually 14 days.
[Nexus 5 Original Android Development] fugn:
Is 512kb too aggressive for the readahead? Right now I am experimenting with bfq scheduler and the default 256kb. What are the downsides of allowing more memory?
[Nexus 5 Original Android Development] nmlssit:
2.04 does support f2fs right?
[Nexus 5 Original Android Development] danarama:
Providing your ramdisk does.
[Nexus 5 Original Android Development] nmlssit:
It should be: a dude over the Nexus 5 F2FS thread provided me with a ramdisk modified kernel to flash before EX, but i end in bootloop.

The only thing i could think of is that the kernel (the modified one) doesn't work on 5.0.1, implying from 5.0 to 5.0.1 the kernel has been updated by Google.
[Nexus 5 Original Android Development] danarama:
Well, you need to know what partitions the ramdisk mounts as f2fs and then ensure you've formatted the same in recovery.
[Nexus 5 Original Android Development] nmlssit:
Yep, only data/cache.
[Nexus 5 Original Android Development] dechronic:
That was probably me. I created a file with the 5.0.1 boot image just in case but it should still work with the other boot image as EX just needs the ramdisk and nothing else, am I right [MENTION=4684315]flar2[/MENTION]? I am using stock 5.0.1 system as ext4 and using cache & data as f2fs.

Get it here --> http://d-h.st/yV5f

Now remember this is a flashable zip. Flash it in a custom recovery and immediately flash ElementalX right afterward. Your phone will NOT boot if you do not flash EX.

Make sure that you have already converted your cache & data partitions to f2fs.
[Nexus 5 Original Android Development] cocchiararo:
the stuff and procedure that guy provided worked for me a while ago in 5.0, so something in the ramdisk of 5.0.1 must be different, i guess.
[Nexus 5 Original Android Development] nmlssit:
Thank you very much, i am trying right now :)

I'll reply you in the other thread just to stop the OT here (sorry everyone lol)
[Nexus 5 Original Android Development] ZacksBuilds:
Sorry if this is asked before but does this kernel use a certain Franco color profile by default if it supports it?
[Nexus 5 Original Android Development] hectormcesar:
Hi, I've used Elx from quite a while. When 5.0 came out I flashed the FI and then trwp and root. This time I flashed 5.0.1 then trwp then SuperSU but when I open the SU app says the device is not rooted. What am I doing wrong? I downloaded Latest trwp and SU.

Cheers.
[Nexus 5 Original Android Development] The-Droidster:
That's some good analysis. What I meant was are people using mp decision all the time or can it e tweaked for better battery life. If so, how?

Thnx for explaining though!:good::)
[Nexus 5 Original Android Development] magnamentis:
MPD can be de-activated as well as tweaked but most kernel devs either don't recommend it or replace MPD with an own hotplugging

like franco does and faux123 does with his intelliplug, again others provide a choice and leave it up to the user to choose his preference and/or find his own settings.

this like AK for example giving a big choice and others some.

for devices with qualcomm chipsets i believe that MPD is the most balanced but that is really individual choice and opinion. only thing i know, is that the most stable and longterm best balance kernel of which EX is one of the two, have MPD enabled by default and since those guys proof over and over again that they have the necessary insight i think it's a good idea to not invent the wheel more than once :)

by the way the other "seriously" built and maintained kernel, proven over time is from made by [MENTION=947981]Lord Boeffla[/MENTION], available for several Samsung devices and the OnePlus One.
[Nexus 5 Original Android Development] The-Droidster:
Thanx for taking time to explain. Since we are already on the subject and since I feel you can tell me more(only If you feel comfortable, ofcourse), can you walk me through how the following terms fit in?

1. MP Decision

2. Hotplugging (If MP Decision is a form of hotplugging(assuming), what are the others? And can a kernel exist without some form of hotplugging?)

3. Touch boost/gboost. (Not sure whether they are same or different?)

4. Also, is MP Decision only active if I use the elementalx governor, or do all govenors use it for that kernel?

I think I'm getting some insight into this and would like to learn more. Sorry, if this is pushing into the off-topic zone, but since we were discussing, why not lay down the questions I had on my mind atleast!

Thnx for your help!:)
[Nexus 5 Original Android Development] danarama:
[MENTION=4684315]flar2[/MENTION] would you consider a project to developing your own hotplug for 2.x that would allow hot plug without touchboost please? Or is it an avenue that's outside your scope at this time?
[Nexus 5 Original Android Development] walpurgisnacht30:
Congrats for the production release!
[Nexus 5 Original Android Development] mrgnol:
[MENTION=298610]Flar[/MENTION]

Thank for the kernal. Have been using it with cataclysm rom for 2 days now and i did not encounter issues with it
[Nexus 5 Original Android Development] fonsigno:
please include these http://xdaforums.com/android/software-hacking/kernel-tap2unlock-tap2wake-feature-t2965344
[Nexus 5 Original Android Development] dechronic:
Note: His name is flar2
[Nexus 5 Original Android Development] Recl@imer:
Try re-flasing this super Su.

http://xdaforums.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133
[Nexus 5 Original Android Development] blun7:
OTA not happy

Hi guys,

I got the 5.0.1 OTA update, once I accept it and get to the reboot step, twrp appears and shows an error in its log:

Package expects build fingerprint of google/hammerhead/hammerhead:5.0/LRX210/1570415:user/release-keys ... this device has Android/omni_hammerhead/...

E: Error executing updater binary in zip '....zip'

Is this expected? Will the OTA not work because of the EX kernel? Otherwise I'm stock with twrp.

Thanks,

Me
[Nexus 5 Original Android Development] walpurgisnacht30:
OTA won't work if you're using custom recovery, custom kernel, rooted. http://www.androidpolice.com/2014/1...e-means-update-will-fail-system-modified-way/

And I believe you're using a custom rom, arent you?
[Nexus 5 Original Android Development] SoftWord:
latest 2.0.4 run on kitkat?
[Nexus 5 Original Android Development] Lancez:
Nope, 1.13 is the latest for KK
[Nexus 5 Original Android Development] my95z34:
Just bumping this. ?
[Nexus 5 Original Android Development] Lancez:
Weird, works on my car charger. Maybe you can try download and flash again?
[Nexus 5 Original Android Development] my95z34:
Hmm.

I haven't re-download, but I've flashed numerous times. I'm the maintainer for PAC on hammerhead so I flash almost every day, lol
[Nexus 5 Original Android Development] daihard:
FYI, the battery page in the Settings does show "USB" when your device is connected via USB, even with fast charge enabled. I believe that's mentioned somewhere in the OP. It still charges my Nexus 5 much faster than without fast charge, though.
[Nexus 5 Original Android Development] stumpy352:
This sounds like your car charger may need replacing. These things only last so long. I buy belkin car chargers (which are pretty good) and they last about 9-12 months, then need replacing. Charging takes forever when they get to that age. Replace the charger, & bam. Try using your girlfriend's charger & see if it makes a difference.

BTW, my 2.1a belkin, with USB fast charge on, shows as charging on ac, pulling about 1100mA (difference between current in & current out) My n5 gains about 1%/min.
[Nexus 5 Original Android Development] nitinvaid:
I have one issue with this kernel I am on mahdi ROM I play YouTube and listen music they kind of lagging after every few minutes don't have that problem in stock mahdi kernel
[Nexus 5 Original Android Development] Moh Kohn:
Does not compute

You are not stock, therefore you are modded, therefore OTA will not work. Once you enter the rabbit hole there is no going back, lets see where it takes us.
[Nexus 5 Original Android Development] pierluigi_stasi:
cianogen 12 unofficial

Hi my rom is cm 12 unofficial; whoch kernel do I have to use to have 2tap to wake?

thans
[Nexus 5 Original Android Development] nitinvaid:
The one with android L 5.0
[Nexus 5 Original Android Development] magnamentis:
car charger is not an usb charger, even if you use a usb cabel. usb charging is from a usb data/power outlet from a computer, not by definition using a usb cable. on all my devices ( see sig ) car chargers go as AC.
[Nexus 5 Original Android Development] my95z34:
I know that's how it works, lol. Like I said in my original post, my phone will gain like 1-2% over 20ish minutes where my girlfriends N5 still on KK will gain more than 15-20% on the same charger in the same amount of time.

The charger is brand new. Also, see above.
[Nexus 5 Original Android Development] J0NiK:
Hi

Where can I find cifs module for latest ElementalX kernel, or cifs support is dropped?
[Nexus 5 Original Android Development] dechronic:
Are you sure it is not a wake lock that is draining jus less then the car charger is putting out?
[Nexus 5 Original Android Development] my95z34:
I mean, I guess it's possible but I doubt it. The rest of my battery life has been pretty good. Unless there's something specific to that charger causing a wake lock. Idfk
[Nexus 5 Original Android Development] faboz84:
i solved charging issues buying a 2,1A car charger. sometimes you also need to change the cable, i had problems with a 2mt cable connected to my AC charger (slow charging and stop to 72%-88%).
[Nexus 5 Original Android Development] stumpy352:
Sorry, you didn't say that you were using the same charger. I don't know. And I don't really think that charging rates (except for USB fast charge as a specification of what type of charging is to take place) are kernel specifics, are they? It could just be that your device is using battery in background at close to the charge rate. I think USB fast charge raises current from ~500mA to ~800mA iirc. Your device can easily consume this amount of charge standing idle if there is something running in background or the screen is on.

Just giving options here.

---------- Post added at 11:50 PM ---------- Previous post was at 11:47 PM ----------

Depends on the output of the car charger. Mine has 2 ports. If I plug into the 2.1A port, it reads as ac. If I plug into the 1A port, it reads as USB. Fast charge still won't make any difference in this case though, as the input current is already greater than the kernel is telling it to draw.
[Nexus 5 Original Android Development] my95z34:
I'm going to try a different cable. Haven't had time, working 81 hours this week, lol. Charger is 2.1 amps, so that should be fine.

I guess I didn't explicitly say it, but it was implied.

I'm not sure if they're kernel specific, but I was under the impression that USB fast charge opened it up completely. Who knows. Eff it I guess. *shrug*
[Nexus 5 Original Android Development] daihard:
Okay, I was just making sure. That's weird, though. I flashed the 5.0.1-based Cataclysm Beta along with ElementalX 2.04 last night. I plugged in my phone to my computer when the battery was about 70 percent left. I don't remember exactly how long, but it was full within an hour. You enabled fast charge through Aroma Installer, right?
[Nexus 5 Original Android Development] michelemascia7:
Hi :) Which values ​​you set in the sound settings of the app ? to have quality profile (of faux sound) for example

EDIT: i found the values
[Nexus 5 Original Android Development] AndreIrawan97:
Can someone explain me, what's the difference between each of the I/O scheduler.
[Nexus 5 Original Android Development] z31s1g:
http://xdaforums.com/showthread.php?t=1817847
[Nexus 5 Original Android Development] pinkfloyd1978:
Can some one give me a link to restore to 5.0.1 LRX22C stock kernel.
[Nexus 5 Original Android Development] dechronic:
[MENTION=4684315]flar2[/MENTION]

Was just looking at your updater-script and realized you don't have any asserts to verify the device that the kernel is flashed to. Is there a reason for this?

The code for the Nexus 5 is below in case you want to put it in the first line of theupdater-script.

assert(getprop("ro.product.device") == "hammerhead" || getprop("ro.build.product") == "hammerhead" || abort("This package is for \"hammerhead\" devices; this is a \"" + getprop("ro.product.device") + "\"."););
[Nexus 5 Original Android Development] Elluel:
A ROM shouldn't affect the kernel at all.

Try reflashing the kernel, and make sure you don't have any scripts or apps changing any kernel settings.
[Nexus 5 Original Android Development] dechronic:
Here is the stock kernel from the 5.0.1 / LRX22C from the system images in a flashable zip for custom recoveries.
[Nexus 5 Original Android Development] pinkfloyd1978:
Thanks a ton
[Nexus 5 Original Android Development] russian392:
Cataclysm ROM 5.0.1 crashes with this kernel. Boots to lock screen and then reboots
[Nexus 5 Original Android Development] Lancez:
Works fine here
[Nexus 5 Original Android Development] walpurgisnacht30:
Also works fine here, clean flashed the latest Cataclysm update + EX 2.04.
[Nexus 5 Original Android Development] rhamej:
Ditto. No problems here either.
[Nexus 5 Original Android Development] Bob V:
Same here ... Cataclysm + ElementalX are perfect together ...

Bob V
[Nexus 5 Original Android Development] daihard:
Same here. Cataclysm 5.0.1 + ElementalX 2.04.
[Nexus 5 Original Android Development] evo_like:
No problems here either. Cataclysm 5.0.1 with EX 2.04.
[Nexus 5 Original Android Development] csolanol:
So se should delete the 99elementalx script that the kernel zip flashes?. I see duplicate lines comparing ir with yours in governor sección.

Ty

Enviado desde mi Nexus 5 mediante Tapatalk
[Nexus 5 Original Android Development] notbrodie:
Renumber the scripts so that the new one flashes second.

Sent from my Nexus 5
[Nexus 5 Original Android Development] dead0:
U need to keep both scripts. Renumbering shouldn't make any difference. I put the duplicates in my script because I include it in roms prior to install. Duplicate settings should not cause any problems.

Just on a side note, runs very good with minimus v4+art
[Nexus 5 Original Android Development] csolanol:
Rumning ok on slimkat :)

Enviado desde mi Nexus 5 mediante Tapatalk
[Nexus 5 Original Android Development] leoaudio13:
Yoir script is running fine on Cataclysm with ART. Thank you again bro!
[Nexus 5 Original Android Development] flar2:
Update!

Doubletap2wake changes:

I found it wakes up too easily, so I restricted it to the bottom half of the screen and deactivated it around the screen edges. I also made it a bit less sensitive and closed the time window a bit.

The elementalx governor has been tweaked some more, I think it performs excellent all around, so it is default now. I very highly recommend trying it with my default settings. For smoothest performance, and especially if you are a gamer, leave gboost enabled. It works with the elementalx governor to provide the smoothest possible experience during gaming.

There is now a cooler thermal option, if you don't like the phone feeling hot. Obviously this will throttle more than the default, but still not as much as stock.

I also added various other tweaks and optimizations, check github if you're interested. We'll see how it goes.

There were quite a few changes to the installer. I can't possibly test every combination of options, so let me know if there is difficulty.

You can edit vibration strength in /etc/elementalx.conf and it will be applied at boot. The only problem is I've found (as others have) that it is difficult to edit this file with apps. I never noticed because I do mostly everything in adb shell.

Version 1 stable release is getting close (not that any of these betas are unstable, it's just that I'm still testing stuff out)

Download:

ElementalX-N5-0.18

Changes:

-restrict doubletap to bottom half of screen and make less sensitive

-elementalx is default CPU governor

-add gboost option

-add cooler thermal option

-various tweaks and optimizations

-update installer
[Nexus 5 Original Android Development] cc16177:
Just want to say thank you for an awesome kernel.

Just sent a donation your way for the holidays... Keep up the good work.
[Nexus 5 Original Android Development] flar2:
Thank you!
[Nexus 5 Original Android Development] EagleEye92:
I'm on the latest version now. Thanks for the update. Just one question, noticed that below 'Slightly cooler colours' there is USE AT YOUR OWN Risk. Why is it like that?
[Nexus 5 Original Android Development] flar2:
Nobody really knows what it does. I used it for a while and there doesn't seem to be any ill effects, but I honestly have no idea if there are long term consequences. Probably not, but for those who are cautious, I have the warning.
[Nexus 5 Original Android Development] seanyuan62:
Does gboost have any effect on battery life during phone use? If I'm not a gamer and want better battery would you recommend turning it off or does it not really matter?
[Nexus 5 Original Android Development] Snuffalofagus:
+1 for us non-gamers, are the default settings still recommended?
[Nexus 5 Original Android Development] anthonyp326:
So I'd I want to change my setting do I just reinstall the kernel and choose new settings or do I need to go to default kernel then apply new setting?
[Nexus 5 Original Android Development] EagleEye92:
Just reinstall kernel no need to go back to stock
[Nexus 5 Original Android Development] Lancez:
Reflash would do

Sent from my Nexus 5
[Nexus 5 Original Android Development] EagleEye92:
Fair enough. Do you have maybe any screenshoots showing the difference between switched on and off?
[Nexus 5 Original Android Development] Rashiel:
I really love your Kernel.

But - why D2TW or S2W consuming so much energy? :(

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] anthonyp326:
I like it makes white white
[Nexus 5 Original Android Development] Lancez:
Why don't you just try them both and see for yourself? You are not gonna tell the differences from screen shot.

Sent from my Nexus 5
[Nexus 5 Original Android Development] EagleEye92:
Why not?
[Nexus 5 Original Android Development] BabboDemonio:
Works fine for me
[Nexus 5 Original Android Development] ramjet73:
It can if it makes modifications to the ramdisk since the stock Google kernel (boot.img) does not include them. Those changes may not directly impact the kernel but they can affect its initialization and performance.

A positive example of this is implementing init.d, although the ElementalX installation is setup to do this if the ROM doesn't, but there may be other things included in the default ramdisk needed by the ROM for proper operation.

Because developer practices vary a lot between custom ROM's and kernels I always do a dirty flash of the ROM when changing custom kernels so I don't have to do the research on how the ROM and previous custom kernel affect the ramdisk and system partition.

ramjet73
[Nexus 5 Original Android Development] uylmz:
Does anyone of you experience the sound problem after deep sleep? The other side cant hear my voice but i hear them. Do you have any idea? 5.0.1 with elemental X 2.04, it was also with 5.0.0
[Nexus 5 Original Android Development] mezo91:
Im on mahdi 4.4.4. Which zip should i download... The cm or stock/aosp?
[Nexus 5 Original Android Development] jun_ng_1208:
The 1.13 aosp version ;)
[Nexus 5 Original Android Development] jayplusone:
Nope. Working fine here.

Sent from my Nexus 5
[Nexus 5 Original Android Development] madrigal77:
Working great here too.
[Nexus 5 Original Android Development] paulpoco:
No problems here.
[Nexus 5 Original Android Development] russian392:
Flashed code blue and cataclysm boots up just fine no problem.
[Nexus 5 Original Android Development] flar2:
There is no reason why this wouldn't work with cataclysm. I believe cataclysm uses the precompiled stock kernel. Anything that can use the stock kernel can use this. Maybe you were undervolting or overclocking? Or perhaps you installed a different kernel before and something was wrong with the ramdisk. If that is the case, installing code blue would work because code blue comes with a complete boot.img (I'm assuming).
[Nexus 5 Original Android Development] daihard:
A lot of us have also responded saying ElementalX 2.04 works perfectly with Cataclysm 5.0.x, including myself.
[Nexus 5 Original Android Development] walpurgisnacht30:
And it proofs nothing
[Nexus 5 Original Android Development] Lancez:
Dude, flar needs more than "I flashed xxx kernel and no problem" .
[Nexus 5 Original Android Development] wingoku:
Hi. Can you make a video showing how to flash Cataclysm 5.0 on Stock OTA 5.0 (running on ElementalX)? I am currently running stock OTA 5.0 with Elementalx 2.04 on Nexus 5, how can I flash the Cataclysm 5.0? What steps should I follow?
[Nexus 5 Original Android Development] Kukussi:
Read OP, you should be fine!

A 5 second search on YouTube and you'll find this

How to Install Custom ROMS on Nexus 5!: http://youtu.be/Vkto2DjsPM4
[Nexus 5 Original Android Development] wingoku:
My nexus 5 is stuck in bootloop. How can I turn it off?

Fixed it :) Thanks :)

I am creating a nandroid backup & then I will flash Cataclysm rom 5.0 on my device.
[Nexus 5 Original Android Development] Kukussi:
Have you tried to get into recovery by pressing and holding the power button and volume down?