yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] anshumangoyal:
I am using this on my Nexus 5 since past 1 year now. I have not been playing with Kernel internals, but yesterday night some people posted they got excellent battery with some customizations.

So, I want to check what all settings I need to make for maximum SOT? I am struggling with poor SOT here for my Nexus 5 Phone running on Euphoria Rom and Code Blue Kernel.

If some one can post the screen shots for the same, it will be great.

---------- Post added at 03:48 PM ---------- Previous post was at 03:43 PM ----------

Will it be possible to post the screen shot of what you have been setting for hammerhead using Synapse?
[Nexus 5 Original Android Development] and313:
If you have a n5 with code blue kernel and a good rom like slim or cataclysm you should at least get 4hrs of screen on time which means wifi always on and location to battery saving. You should also put the the radio to 2g (if you have weak 3g or 4g signal) and that more or less is it. I havent done anything else to my n5 except flashing code blur and slimkat and i get minimum 4hrs of screen on time in a day and this involves also gaming. If you get anything else there is something wrong with your phone, rom or with the apps you have installed.

Almost forgot... I also disable g+ and location reporting
[Nexus 5 Original Android Development] Spectrum75:
So, im not the only one...?

Tried everything i could thing, still speaker gain cannot stick.
[Nexus 5 Original Android Development] ZULU2189:
So first of all, Blue Panda?? Oh my god I missed this kernel, this is fantastic!! Good to see you here buddy. And secondly, I'm on PA remix and I flashed the newest SU and I'm unsuccessful at getting root back. Any suggestions?
[Nexus 5 Original Android Development] alen1901:
[MENTION=3873953]eng.stk[/MENTION], i dont usually do requests but i for the life of me cant find any kernel for nexus 5 that has touch to wake option with timeout delay. I came from semaphore kernel for nexus 4 and this is really handy if devices screen turns off when you are near, just tap on screen, no need to use buttons again. Would you consider implementig it? The only thing thats present is dt2w, s2w, s2s and that really drains too much battery. Thanks.

Sent from Pure Nexus 5
[Nexus 5 Original Android Development] eng.stk:
Guys did you tried with trickster or faux sound?

With faux sound it should work, with trickster (and other command line tool) there's a hack I had to do to make them stick, it will be present in next release :)
[Nexus 5 Original Android Development] eng.stk:
Hey mate!

The kernel doesn't break SuperSU, i flashed id many times with 1.93 and the new 1.94 on Purity and OMNI, wich are fully AOSP compliant.

PA (and CM and other) made changes to RAM disk in the past (i remember the problems I had on N4), so maybe some changes are needed.

Maybe I will look into it in the future, but it's not a priority for me right now.
[Nexus 5 Original Android Development] eng.stk:
No prob asking for stuff, If I find it usefull maybe I will add.

THis is not the case, I want a lean build, so no touchy wakey stuff.

I'm just a fan of flappy smart covers, I have one for my N5 :D
[Nexus 5 Original Android Development] alen1901:
Can you borrow it to me? :p thanks for respond. Ill look at smart covers too. ;)

Sent from Pure Nexus 5
[Nexus 5 Original Android Development] Spectrum75:
Thank u for the interest!

Both Trick and fauxsound app gave me no luck...

i tried everything i could think, clean intall, wipes or whatever but no luck...

i told u my N5 is haunted... :angel:

ill stay with stock for a couple of days waiting for ur new release ( ETA maybe? or its too early ? )

If anything, this is a VERY VERY SMOOTH kernel and i really want to test it further. :good:

I want my N5 to shoot iphone users, is it possible ?:D:p
[Nexus 5 Original Android Development] carlese:
I want to try this kernel (I am on purity with purity kernel now) but I have read too many bootloop problems :( am I safe?
[Nexus 5 Original Android Development] phanitej:
i was using fku but then switched to trickster. No luck. Will try faux and see
[Nexus 5 Original Android Development] eng.stk:
Purified Kernel r27

New build is up guys, check OP:highfive:
[Nexus 5 Original Android Development] eng.stk:
Bootloop, what bootloop? Those where a long long time on N4... we are in 2014 ;)

In faux app r24 should be fine, r27 is now fine is trickster also (values stick fine) ;)
[Nexus 5 Original Android Development] phanitej:
Thanks a lot for the time you put into the kernel. It works fine now with Trickster. Restarted app, Rebooted Device, both the times it saves the values which dint work with r24. :good:
[Nexus 5 Original Android Development] Nucleotide:
I haven't seen one report of a bootloop in this thread so I don't know where you are seeing that.

I've been running it since release day and it has been rock solid, fast, great battery. No complaints what so ever. :good:
[Nexus 5 Original Android Development] Spectrum75:
r27 with fauxsound app is ok for me now ! Thank you! :good::good::good:

Trickster still no luck, cannot make speaker value to stick, only speaker gain is the problem , all other values ok.

But pls dont bother with me furthermore, maybe im trying wrong method with trickster. :o

Fauxsound app works perfect and thats more than enough for me. :cowboy:

Thanx again and keep on the good effort. :)
[Nexus 5 Original Android Development] eng.stk:
Maybe you need to update Trickster, v2.10.880 the values sticks fine ;)
[Nexus 5 Original Android Development] bfederspill:
Using this kernal w/Purity and ART, if I update the kernal to the latest can I just "dirty flash" or should I return to dalvik first? Don't want to mess anything up.
[Nexus 5 Original Android Development] :
Will you be making a release for the nexus 7 2013?
[Nexus 5 Original Android Development] Fizwiz:
I will continu to test Rev 27 but I think that rev 24 was more smooth.
[Nexus 5 Original Android Development] lesp4ul:
Ah i knew OP somewhere, right; N7 mod section and Nexus S. Great comeback man, will try your kernel. :)
[Nexus 5 Original Android Development] Hatshipuh:
Nice results considering I did a bit of gaming and the game used to be a real battery hog.
[Nexus 5 Original Android Development] alen1901:
latest release is closer to r66 but not yet there :P thankfully we can tweak it a little to get better smoothness. will test it to see how it goes. :)
[Nexus 5 Original Android Development] androidfreak007:
Surfing around, reading news, chatting (whatsapp, facebook, hangout ......) , watching YouTube for ~20min.

Wifi on, GPS on all syncing inlcuding dropbox via dropsync, auto brightness.

Kernel settings: fiops and intelliactive

THX !!!!!
[Nexus 5 Original Android Development] CountAltec:
These are my results with my average use on r96 and Purity ROM. I still can't believe the screenshot as I have never seen the battery last for so long without charge. Fantastic kernel. Thank you very much!
[Nexus 5 Original Android Development] benna:
Did you undervolt or someting? Underclock? and CPU settings? GPU settings? Thanx so much for feedback. I like reading your posts:good:
[Nexus 5 Original Android Development] Spectrum75:
Interesting, any instructions how can we test the same function?

( im a noob regarding init.d scripts :p )

Changing maybe the "echo 1 > /sys/module/msm_hotplug/min_cpus_online " from 1 to 2 ...?

Dont laugh with me pls :o

And second question, ive tried 1024 read ahead twice for about 30 mins each time.

Changed in Kernel Tweaker, set on boot and reboot ( just in case ).

I had the "feeling" that UI and apps opening was a liiiiittle snappier but there was a miiiinimal lose in smoothness.

Probably a placebo? or do i need to let the kernel settle for more time with "new" read ahead buffer?

( Not much time today for testings )

i think ART is related to ROM and not having anything to do with kernel, correct me if im wrong. ive tried Purified with Purity, Mahdi and Kangakat with no problems. Reasonably its compatible with any AOSP based rom.
[Nexus 5 Original Android Development] JaqaL06:
it doesn't work with stock rom which google developed :) installed kernel after factory image reset and tried to switch ART guess what bootloop :) i'am not blaming developer but it's pure stock rom so something wrong with kernel. i reported it for help :)
[Nexus 5 Original Android Development] Hatshipuh:
Oh sorry, should've added that to my post to begin with.

UV -50mV across the board, max clock at 1,7 GHz, thermal throttle treshold 80, everything else kernel stock settings. Looks like now I can make 5h screen on my average with my usual usage of messaging, browsing and occasional gaming.
[Nexus 5 Original Android Development] marcotics:
Does this kernel have d2w?
[Nexus 5 Original Android Development] eng.stk:
Loving the nice battery results and overall performance testing, keep it going guys :)

I'm already playing with next build, some new fixes and tweaked to exhaustion tunables... let's see how it goes :fingers-crossed:
[Nexus 5 Original Android Development] andresee:
Running 4 core min and uc 1190 and some CPU boost changes and running smooth. Also some -50 UV and 700 at 300. Will have to see how batt is after a full day but thanks again for the tunables.
[Nexus 5 Original Android Development] juancaperez2000:
Just flash latest version and just want to ask if somebody is using it with PA, and how is running that combo
[Nexus 5 Original Android Development] radicspeter:
Mayne this could be of interest as an new schedueler. Intels new: http://www.phoronix.com/scan.php?page=news_item&px=MTY3MjU

Tapatalk-kal küldve az én Nexus 5-el
[Nexus 5 Original Android Development] benna:
My battery stats after the second charge on rc 96. Using Purity ROM, -50mv on all freq. 3G or WiFi always on. This is so much better than stock! Perfomace is awsum. Keep up the awsum work! will flash rc 104 tonight. :silly:
[Nexus 5 Original Android Development] eep2378:
OK my battery looks pretty good! All on LTE. Auto sync on, Google now on. Kernel settings: all 4 cores ON. Min 300/ max 1497. Fiops/intelliactive. 1024 read ahead. Very smooth, no lag.

Sent from my Nexus 5
[Nexus 5 Original Android Development] eng.stk:
Purified Kernel r106

Ok guys, new build is up!

Some goodies, nicely tweaked and an experimental build r107-test with Linaro Cortex-A15 GCC 4.9.1 2014.04
[Nexus 5 Original Android Development] Hatshipuh:
This was the first 50 percent today with r104, did a lot of reading during travels, 3G on and same settings as before.

Now let's see how r106 fares.

Tap-a-talked from my Nexus 5
[Nexus 5 Original Android Development] RhapsodyK:
Gonna flash r107test on newest Purity rom + ART :)

Will report how it goes :cool:
[Nexus 5 Original Android Development] galaxys:
R106 seems super so far! Cool!!
[Nexus 5 Original Android Development] anshumangoyal:
I am on Euphoria Rom otherwise. But let me see what SOT it gives when I do all these settings. Thanks for the inputs as well.
[Nexus 5 Original Android Development] eng.stk:
Settings won't do much. You can have more battery friendly configs, but what make you battery life is the kind of usage you give to your device.

Nope sorry, Code_Blue is the smoothest you're going to get. Try other ROM, clean flash...

CM is always changing stuff lol

But it's working for me on r793, a privacy pop up appears and I hit yes (remember if you want to stick) and root works normal, like "old superuser".

You need to activate root on developer settings, don't forget

Not really interested in that.

Not here, seems like cleanflash time there.
[Nexus 5 Original Android Development] Mathorlaz:
Hey guys, I'm using OptiPop on my N5, and I got Code_Blue rocking, with F2FS data and cache partitions. Everything is fine, except for my mobile data connection. For some reason, on some kernel's, the data connection works fine after boot, but if I turn it off and try to turn on again, it simply does not work, and requires a reboot to restart working. I've had this issue with different roms (even on the official L developer preview) and it is strange, since it seems to depend on the kernel. Should I flash the radio after Code_Blue? Is anyone else having a similar problem?

Thanks in advance!

Sent from my Nexus 5
[Nexus 5 Original Android Development] mastero9017:
I had this problem on optipop, try to flash latest radio from 5.0.1
[Nexus 5 Original Android Development] ridobe:
Yes. Mine seems to be during handoff either from a phone call or a bad signal area. It also seems only recently. Tried different radios, same problem.

This isn't a kernel issue though and we should refrain from discussing further.
[Nexus 5 Original Android Development] pcphobic:
My Nexus 5 battery life improved for me on Code Blue kernel r777 when paired with Purity Lollipop (Android 5.0.2).

Yes, Purity is back but not on XDA.

- http://htcfanboys.com/download/DariosF/?action=list&folder=53254

- https://plus.google.com/u/0/communi...5/stream/bb904e42-62b5-4750-b802-5389fd4a8eea

Now I am getting back the battery life like what I used to get when I was on KitKat.

Uptime = 23hours 3 minutes

Screen On Time (SOT) = 4 hours 18 minutes

Mixed usage of Wifi & Mobile Connection with some Bluetooth usage too.
[Nexus 5 Original Android Development] honda kos:
Can I make profiles with tasker to enable wake lock controls when I am connected to my home Wi-Fi?
[Nexus 5 Original Android Development] Gallardo994:
Enabled 2 cores minimum, hmm…

Sent via Tapatalk on my Nexus 5
[Nexus 5 Original Android Development] honda kos:
Where can I read how to use profiles in synapse? When I try to restore a profile, synapse always crash.

Is it because i use stock rom?
[Nexus 5 Original Android Development] neFAST:
Can you please explain?
[Nexus 5 Original Android Development] Gallardo994:
Enabled min 2 cores in hotplug instead of 1 core. Suddenly battery goes a lot better.

Sent via Tapatalk on my Nexus 5
[Nexus 5 Original Android Development] Shane_IL:
I've also done this for a while, I find it helps a lot, but I guess it depends on what you've got running.

Set 2 cores min and 652 for max freq
[Nexus 5 Original Android Development] Gallardo994:
Funny thing is that I run 2.3ghz without underclocking

Sent via Tapatalk on my Nexus 5
[Nexus 5 Original Android Development] stazz83:
Ok, for the first time I can brag with my SOT! It's after ~15 hours of intense use and a night in the airplane mode. This is what I got after 4-5 full charging cycles, without use of battery saver and with Location Services set to high accuracy.

Cheers, eng.stk! An amazing kernel you've built! [emoji108]
[Nexus 5 Original Android Development] PunkOz:
Why am i facing bootloop when i flash the latest version on Purity? Secondary ROM, clean install of course. Booting into ROM first then flashing.
[Nexus 5 Original Android Development] Spectrum75:
[MENTION=4164416]PunkOz[/MENTION]

Have you flashed the appropriate CodeBlue patch from the OP or not?
[Nexus 5 Original Android Development] yukkio:
So, it's better for the battery enable two cores instead 1 core?

Thanks
[Nexus 5 Original Android Development] PunkOz:
I may be blind or my english isn't good enough but I don't see any patch in the OP, also, I was able to flash codeblue on top of any AOSP ROM after a clean install on Kitkat and a few releases of Lollipop but ive been getting bootloops when trying to flash codeblue since 3-4 releases ago. :/
[Nexus 5 Original Android Development] hellsgod:
You know in theory it can save some battery if you have 2 cores min always on, because it doesn't have to constantly turn cpu1 on and off, which also costs some battery. It depends on your usage, so try it out and you'll know it for sure :)

hells
[Nexus 5 Original Android Development] Spectrum75:
Last sentence in the OP on first page ( just before donation buttons ) and you will find the patch.

I suppose you don't mess with F2FS, so EXT4 patch should be ok for you. :good:
[Nexus 5 Original Android Development] Isley_:
Anyone can help me? There's no deep sleep on my phone
[Nexus 5 Original Android Development] marf28101995:
With that screen you can't be sure about deep sleep.. Install a proper app to see the cpu frequencies and post it here and install a app like wld and we'll try to help then :)
[Nexus 5 Original Android Development] Isley_:
I recently turned on the screen of my phone and I got that battery percentage, was with screen off like 3 o 4 hours

---------- Post added at 12:10 PM ---------- Previous post was at 12:05 PM ----------

I'm on Euphoria OS and all Stock
[Nexus 5 Original Android Development] eng.stk:
In general no, unless your system has the tendency to have hi loads while in idle.

A good hotplug algorithm already takes into account hotplug/unplug costs, load spikes, cpu freq status, etc.

The only really poor hotplug I worked with was on Tegra devices.
[Nexus 5 Original Android Development] RajRockyBalboa:
EFS corrupted...please help

:crying: After multiple flashing of ROMs and kernels, suddenly my baseband has gone (Unknown) and IMEI too :( . After reading multiple forums, I figured out that it might be a corrupted EFS and my phone is not under warranty :( everything works fine...wifi, bluetooth etc...only no cellular signal...please help guys :( already flashed factory images (KK and Lollipop) and tried few custom roms....but same problem :crying: Was on latest optipop with Code blue r793
[Nexus 5 Original Android Development] rpr69:
I am interested in this as well. To be honest, I have not been able to even create a profile with Synapse. Under Backup Actions, I enter a name for a profile and select Backup Current Profile and it keeps telling me to Enter a profile name first and then apply. But that's what I'm trying to do? I've found that the settings don't stick after a reboot, despite me selecting that option, so at least if I had a profile it would be relatively easy to re-apply, rather than having to go through each setting every time I reboot. I'm pretty close to either ditching synapse for something else (trickstermod maybe?) unless I can figure this out.
[Nexus 5 Original Android Development] alen1901:
If you made any twrp backup and saved it (from KitKat, or lollipop), you can just restore efs partition to fix it.

Sent from Pure Nexus 5
[Nexus 5 Original Android Development] honda kos:
Make the changes you want.

Go to profile menu. Go to "backup actions" and give the name you want in "profile/config name".

To save this press enter button of keyboard. Press the "check" symbol on the top of the screen and then select the "backup current profile". Restart synapse.

Make another profile the same way.

When you want to switch profiles, select the profile you want and press the √ symbol. Then select "restore selected profile". Now synapse will crash, I don't know why but it will. Open synapse again but now press the X on top screen. This is important.

This should work and now you are running the profile you choose. Check it.
[Nexus 5 Original Android Development] RajRockyBalboa:
Never made a TWRP backup....nor backed up EFS partition ..I knw how stupid I am :(
[Nexus 5 Original Android Development] ironia.:
Busybox is required?

Tnx
[Nexus 5 Original Android Development] rpr69:
Ah. Seems the 'press enter' button is the part I was missing. Seems like an odd UI choice. Anyway, it looks like it's basically working, although I do see the odd crash as stated above. I really should look at what it's changing exactly so I can replicate it in a terminal and not have to use Synapse at all.
[Nexus 5 Original Android Development] PetritH:
Im getting some great battery with r755, great job.
[Nexus 5 Original Android Development] honda kos:
Pm me if you get into something.

Thanks.
[Nexus 5 Original Android Development] alen1901:
Yeah, that really is a screw up. You can try to flash KitKat image few times, then lollipop ones, maybe it gets back somehow.

Sent from Pure Nexus 5
[Nexus 5 Original Android Development] pcphobic:
Install Wakelock Detector and see what has been waking up your phone while it was idle.

Also make sure that you have disabled "Scanning always available" in Wifi - Advanced settings.
[Nexus 5 Original Android Development] PunkOz:
This is the second time I ask a question in this week.. But ever since f2fs came out I wanted to try it but it was confusing, I flashed Purity 5.0.2 + CodeBlue and flashed the F2FS patch after flashing the kernel.. Is that all I have to do to use f2fs? Thanks in advance!

PS: how can I check if I have f2fs enabled?
[Nexus 5 Original Android Development] fKm:
I use Rastapop with data and cache in f2fs and codeblue. It was not necessary to flash any patch. You can check the partition format with Diskinfo from the playstore.
[Nexus 5 Original Android Development] PunkOz:
It says im using ext4... I guess I skipped something or Purity Lollipop doesn't support F2FS or maybe my TWRP? I just flashed Purity+Code+F2FSpatch, didn't do anything else.
[Nexus 5 Original Android Development] fKm:
You have to format data and cache partition with f2fs filesystem within TWRP. Beware that all files are wiped. Do not format the system partition with f2fs, just leave it ext4. After you formatted you can flash the ROM, reboot recovery, flash gapps, reboot recovery and then flash codeblue kernel. That's how it worked for me.
[Nexus 5 Original Android Development] Archipago:
This kernel is da bomb. With my usage with Cataclysm ROM and stock Code Blue (haven't even installed a tweaker app) R777 I constantly surpass 5h SOT with over 8h standby. Today I reacher 6h! :victory: well done [MENTION=853975]ENG[/MENTION]-stk
[Nexus 5 Original Android Development] peecs121:
Same here. What governor you using?I use On Demand. Seems smoothest

Nexus 5 running Cataclysm 5.0.1 Lollipop/Code Blue
[Nexus 5 Original Android Development] Archipago:
Like I said I haven't tweaked any so the one that comes with the kernel I guess. Not sire which that it
[Nexus 5 Original Android Development] frog67:
Have this kernel sweep2sleep ?

Regards
[Nexus 5 Original Android Development] marf28101995:
Nope
[Nexus 5 Original Android Development] Goku80:
Hi guys in OP it says dt2w but in trickster mode I can not see the option to activate it. Running latest 793 version of the kernel
[Nexus 5 Original Android Development] marf28101995:
Then should be app related try with kernel adiutor... Beautiful design and cool features :)
[Nexus 5 Original Android Development] frog67:
OK for me is very useful

Tanks
[Nexus 5 Original Android Development] mendozaram:
Which app? With trickster can't change that
[Nexus 5 Original Android Development] reyfista11:
UKM

Cek link on OP
[Nexus 5 Original Android Development] Gallardo994:
Synapse + UKM, of course.

Sent via Tapatalk on my Nexus 5
[Nexus 5 Original Android Development] Ruka82:
Nexus 5 + Multirom.

First Rom Stock, second Rom Cataclysm, i try to install the 793 on second rom but hangs on boot.

There is something i can do to use this kernel? (i try also with the 777 and the problem is the same)
[Nexus 5 Original Android Development] Spectrum75:
Here we go again...Have you flashed the Multirom patch mentioned at the end the OP...?
[Nexus 5 Original Android Development] Ruka82:
Putting an helpful link on the last line of the OP isn't so readable!

By the way i already try that zips but the problem stay there, probably i will make a full clean of the phone but at the moment the kernel on multirom doesn't work for me.
[Nexus 5 Original Android Development] Spectrum75:
Hmmm, interesting opinion...

As a humble end user i read all the lines of the OP on every ROM, Kernel, MOD or whatever i flash...

And i've flashed dozens of ROMs with CodeBlue as secondary ( including Cataclysm ) with no problem.

Actually if there is a problem usually it's on ROM's side.

Flash rom,gapps, kernel, patch, boot.

If bootloop try reflash kernel+patch.

Or if there are problems with ROM's updater-script try what [MENTION=5047159]Tylog[/MENTION] suggest here.
[Nexus 5 Original Android Development] eng.stk:
I could paint my OP in gold and still somebody fails to read it.
[Nexus 5 Original Android Development] bonzai80:
Sorry for stupid question, but which version can I take for CM12 official nightlies? Blue 793 for L or the older 450cm? Is L release and CM12 now same base? Please help :eek: