yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] sykopompos:
Question for you. Defconi and I both looked at adding f2fs with his kernel and L but it wouldn't go.

Would the seclabels be getting changed and not set correctly for L with your conversion script causing it to not boot?

I think new ones were added that are a bit different from kit kat since L brings in deeper selinux integration. It was a while since I had to figure out all the seclabels because they came into aosp later in the fstab so I just went with those but I think they were different from before

Sent from my LG-D851
[Nexus 4 Original Android Development] defconoi:
Kernel Update

90u-a3:

ion-storm - cleanup & optimize makefile
Stepan Moskovchenko - ARM: Use -mcpu=cortex-a15 when targeting MSM Krait CPUs
ion-storm - Revert "hardfloat causing stability issues in some apps, reverted"
Mel Gorman - mm: slub: Default slub_max_order to 0
ion-storm - IO: removed usless test & debug things
ion-storm - Various small tweaks from morfic (thx to LaboDJ)
anarkia1976 - msm: gpu: add optimization flags to GPU drivers
ion-storm - hardfloat causing stability issues in some apps, reverted
ion-storm - update version to 90u-a3
ion-storm - missed a few things with check_cfs_rq_runtime in fair.c
ion-storm - fix incompatible merges
ion-storm - sched/fair: Optimize cgroup pick_next_task_fair()
Peter Zijlstra - sched/fair: Optimize find_busiest_queue()
hellsgod - nohz: stat: Fix CPU idle time accounting
Mike Galbraith - sched,rt: disable rt_runtime borrowing by default
ion-storm - sched/rt: Remove redundant nr_cpus_allowed test
Paul Reioux - sched: document the difference between nr_running and h_nr_running
Lei Wen - sched: change active_load_balance_cpu_stop to use h_nr_running
Paul Reioux - sched: change find_busiest_queue to h_nr_running
Paul Reioux - sched: change update_sg_lb_stats to h_nr_running
Lei Wen - sched: change pick_next_task_fair to h_nr_running
Lei Wen - sched: change cpu_avg_load_per_task using h_nr_running
Paul Reioux - kernel/sched/fair.c: fix merge derp
Paul Reioux - sched: change load balance number to h_nr_running of run queue
Paul Reioux - sched: Periodically decay max cost of idle balance
ion-storm - sched: Consider max cost of idle balance per sched domain
Paul Reioux - sched: scale cpu load for judgment of group imbalance
Lei Wen - sched: scale the busy and this queue's per-task load before compare
Lei Wen - sched: reduce calculation effort in fix_small_imbalance
Viresh Kumar - sched: Remove unused params of build_sched_domain()
Viresh Kumar - sched: Optimize build_sched_domains() for saving first SD node for a cpu
ion-storm - sched: Optimize build_sched_domains() for saving first SD node for a cpu
Peter Zijlstra - arch: Introduce smp_load_acquire(), smp_store_release()
ion-storm - cpufreq: hellsactive: remove boostpulse interface
ion-storm - defconfig: enable lzo speedup with unaligned access
Markus F.X.J. Oberhumer - lib/lzo: huge LZO decompression speedup on ARM by using unaligned access

AOSP/L

CM11
[Nexus 4 Original Android Development] johnb380:
Hey is there any specific governor or hotplug or settings we need to set to take full advantage of all the new power saving commits and such?
[Nexus 4 Original Android Development] nodnarb91:
Normally I'm a flashaholic when it comes to roms, but this thread makes me a flashaholic for kennels and I'm enjoying it! Thanks defconoi for an awesome kernel!!
[Nexus 4 Original Android Development] Sacob:
is it just me or secondary ROM with multirom won't boot when using this kernel?
[Nexus 4 Original Android Development] BelzIgoh:
I have multirom with secondary ROM boot fine, no problem whatsoever.

Using the latest kernel 90u a3.
[Nexus 4 Original Android Development] defconoi:
With my kernel only L needs to be primary, as secondary it won't boot, I implemented some lower level stuff that effects it.
[Nexus 4 Original Android Development] manueltts:
I think it might be an issue with UKM+ART+secondary. Try installing the kernel without ukm, or using just Dalvik. If it solves, we have our issue.
[Nexus 4 Original Android Development] spider623:
OK, now I know that it's not the kernel or the battery, it's the ROM, any good Roms without drain?

ok, trying the last rom [MENTION=587297]martinro[/MENTION] ever made for nexus 4 now, it's slim as, well slimmer than slim, his roms always had insane battery life, now if that doesn't fix the drain i better start saving some money
[Nexus 4 Original Android Development] txuki2005:
i use my signature implementations and all go fine :)
[Nexus 4 Original Android Development] Vinnom:
My battery drain is related to my battery health :(

Not so fast leak, but i can't give a good report. After put my phone in a flat desk i could see that soon i'll have to leave mako at some lg support :(
[Nexus 4 Original Android Development] frikakwa:
Running the last version of this incredible kernel and I must say I have now the best results ever!

My battery health is still fine (my N4 is only a bit more than 1 year old!) and I've only used 47% (remaining 53%... hu hu hu... incredible calculation!) for 2 hours of SOT!

Incredible result... thanks a million [MENTION=1316336]defconoi[/MENTION]!
[Nexus 4 Original Android Development] spider623:
The kernel did help, that is how I figure the battery and kernel was not the issue, I'm starting to think that it may be the new cm theme engine code
[Nexus 4 Original Android Development] frikakwa:
Could be the reason! I've noticed same kind of battery drain/lost of smoothness on my N7 with some CM11 themes! :crying:

Good to read this is maybe not just an impression... but reality!
[Nexus 4 Original Android Development] Vinnom:
My battery isn't dead yet, but lets say that it is behaving like it had 55 years old... Hahaha

I'm not in alpha yet, i'm in last 89-rc defconoi released. It is good though, i've to admit that defconoi is the best kernel i've used since i learned what kernek is ^^
[Nexus 4 Original Android Development] defconoi:
Kernel Update

90u-a4

Daniel Santos - bug.h, compiler.h: introduce compiletime_assert & BUILD_BUG_ON_MSG
Daniel Santos - compiler.h, bug.h: prevent double error messages with BUILD_BUG{,_ON}
Daniel Santos - bug.h: make BUILD_BUG_ON generate compile-time error
Daniel Santos - bug.h: prevent double evaulation of `condition' in BUILD_BUG_ON
Daniel Santos - bug.h: fix BUILD_BUG_ON macro in __CHECKER__
Daniel Santos - compiler{,-gcc4}.h, bug.h: Remove duplicate macros
Tushar Behera - include/linux/bug.h: fix sparse warning related to BUILD_BUG_ON_INVALID
Konstantin Khlebnikov - bug: introduce BUILD_BUG_ON_INVALID() macro
Yalin Wang - ARM: 8168/1: extend __init_end to a page align address
Mark Rutland - ARM: 8088/1: vmlinux.lds.S: drop redundant .comment
Pawel Moll - ARM: 7605/1: vmlinux.lds: Move .notes section next to the rodata
ion-storm - tweak HYPER more
ion-storm - tweak Hyper
ion-storm - update version to 90u-a4
David Daney - kernel/smp.c: quit unconditionally enabling irqs in on_each_cpu_mask().
Srinivasarao P - Revert "kernel: cgroup: protect cgroup linked lists"
Srinivasarao P - kernel: cgroup: protect cgroup linked lists
barome - net: wireless: bcmdhd: Disable OOB interrupt when WLAN is off
ion-storm - Makefile: Try some new compiler voodoo ;) thnx to @hellsgod
Robin Murphy - ARM: 8165/1: alignment: don't break misaligned NEON load/store
anarkia1976 - fs: dcache: set vfs_cache_pressure 40%
hellsgod - mm: Adjust dirty writeback for IO boost
ion-storm - cleanup & optimize makefile
Stepan Moskovchenko - ARM: Use -mcpu=cortex-a15 when targeting MSM Krait CPUs
ion-storm - Revert "hardfloat causing stability issues in some apps, reverted"
Mel Gorman - mm: slub: Default slub_max_order to 0
ion-storm - IO: removed usless test & debug things
ion-storm - Various small tweaks from morfic (thx to LaboDJ)
anarkia1976 - msm: gpu: add optimization flags to GPU drivers
ion-storm - hardfloat causing stability issues in some apps, reverted

This release introduces quite a bit of optimizations as well as Hyper tweaked better for battery & performance, it should now stay in the lower freqs longer.

AOSP/L

CM11
[Nexus 4 Original Android Development] frikakwa:
I was also stuck on 89-rc before trying the 90u-alpha 3 and I can now just notice how better it is! This would be great if you could confirm! ;)

Edit: bang... in the meantime... crazy defconoi posted a new release... how could I resist?! ;)
[Nexus 4 Original Android Development] CamoGeko:
Excellent stuff mate, gonna flash it now. Looking forward to seeing what you done to HYPER, as that's still my favourite governor!

Sent using N⁴ with Android L
[Nexus 4 Original Android Development] Vinnom:
And my a4 download is done right....now! Hahaha.

Gonna flash it now, let it settle, tomorrow i'll report xD
[Nexus 4 Original Android Development] Ms7Android:
Would it be a problem if I dirty flash this kernel over your 90U-a1?

Do I have to reinstall ukm and synapse after dirty flash again?

Thanks...
[Nexus 4 Original Android Development] defconoi:
nope, just flash over, all will be fine
[Nexus 4 Original Android Development] RedGoblinz:
Does anyone get a buzzing sound when listening to music through earphones with this kernel on L?
[Nexus 4 Original Android Development] BelzIgoh:
[MENTION=1316336]defconoi[/MENTION]

I discover a bug in changing min freq.

When changing CPU min freq from 348MHz to 81MHz, only CPU0 change to 81MHz but CPU1, CPU2 and CPU3 change to 918MHz.

I only test this with HYPER and Intelliactive with Intelli plug.

To change all 4 cores to 81MHz, I need to set Min CPU's Online to 4 first, then change the CPU min freq.
[Nexus 4 Original Android Development] Targaeryan:
I tried it just now.. There's no problem.. All cpus reach 81mhz.. Of course intelliplug makes some cores go offline so I tried min1 core, min 2 core and still they reached and held 81..
[Nexus 4 Original Android Development] dashqa:
Does this kernel have any battery save mod? (like Faux kernel in Trickster MOD or any other tuning programms.)

Want to push one button when I have 15% of battery and reduce battery consumption.
[Nexus 4 Original Android Development] BelzIgoh:
Do you enable CPU Boost Driver? I guess when enable Input Boost Frequency to 918MHz cause this CPU min freq issue. Will try to test with CPU Boost Driver disabled.
[Nexus 4 Original Android Development] Targaeryan:
Yeah the boost driver is enabled by default.. I haven't changed it.. :)
[Nexus 4 Original Android Development] jolas:
# CPU Boost Driver settings:

echo "40" > /sys/module/cpu_boost/parameters/input_boost_ms

echo "918000" > /sys/module/cpu_boost/parameters/input_boost_freq

echo "[defcon] input boost enabled!" | tee /dev/kmsg

echo 1 > /sys/module/cpu_boost/parameters/hotplug_boost

...

# Set HYPER as default CPU governor:

echo "HYPER" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

echo "HYPER" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor

echo "HYPER" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor

echo "HYPER" > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor

echo "270000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

echo "270000" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq

echo "270000" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq

echo "270000" > /sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq

echo "1728000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

echo "1728000" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq

echo "1728000" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq

echo "1728000" > /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq

...

Above is a part of the init.d/99defcon parameters I use, without any problem... ;)
[Nexus 4 Original Android Development] BelzIgoh:
I clear synapse data, delete init.d script and ukm folder, reflash ukm and Unleashed kernel.

After boot, I directly change min freq to 81MHz, but this time only cpu2 change to 918MHz, other change to 81MHz.

Then I disabled Input Boost Frequency, no more issue with min Freq, all work fine.
[Nexus 4 Original Android Development] Targaeryan:
How are you testing it? I used system monitor to check the freq of the cores. When I put min2 max4, I watched the cores and they'd reach 81mhz after a few seconds of me not touching the screen, when I put min2, diff cpus take the role of the min 2 online so I could confirm 81 on all cores. Then I also did for 1 min 4 max. Same results. I have tried 4 max and 4 min as well. Same results.
[Nexus 4 Original Android Development] CamoGeko:
Flash Android L, it has that.

Sent using N⁴ with Android L
[Nexus 4 Original Android Development] BelzIgoh:
Yes. I use system monitor too.

Below are my method. All settings are default. (Experiment report format school style :D )

1. Input Boost Frequency: 918MHz

2. min cpu: 1, max cpu: 4, set min freq to 81MHz

3. Change min cpu: 4, max cpu: 4. Observe the cpu at system monitor floating window for 30 seconds (until screen off), without touch the screen. Some cpu will not go below 918MHz.

4. Input Boost Frequency: Disabled

5. Change back min cpu: 1, max cpu: 4. Set min freq to 348MHz.

6. Min cpu: 4, max cpu: 4. System monitor show all cores can go to 348MHz.

7. Min cpu: 1, max cpu: 4 Set min freq to 81MHz. All cores can go to 81MHz.

Please give how many marks I can get from this report :laugh::laugh::laugh:
[Nexus 4 Original Android Development] Targaeryan:
Hahha I guess you get an A!

It's similar method to what I used but I don't have the issue that you're having.. Even with boost driver all my cores reach 81mhz..
[Nexus 4 Original Android Development] dashqa:
Don't want to flash Android L for the sake of that option...
[Nexus 4 Original Android Development] CamoGeko:
Its a ROM option, not kernel as far as I know...

Sent using N⁴ with Android L
[Nexus 4 Original Android Development] dashqa:
I am not talking about ROM option (like Mahdi ROM), I am talking about kernel feature that allows 3rd party programs (like Trickster MOD) turn on the function Battery Saver (sort of)
[Nexus 4 Original Android Development] jolas:
Back to 89ur9, because it feels overall smoother than last alpha, using LiquidSmooth Rom.

Sent from my Nexus 4
[Nexus 4 Original Android Development] kalpik:
Yep, the last few kernels feel sluggish.

Sent from my Nexus 4
[Nexus 4 Original Android Development] a g bell:
Battery seems to drain faster for me with latest build but not had full cycle yet but is diffo dropping faster

---------- Post added at 04:08 PM ---------- Previous post was at 04:07 PM ----------

Can't say l noticed the kernel getting sluggish what so ever?
[Nexus 4 Original Android Development] defconoi:
K I'll revert the changes to hyper, they can be manually set
[Nexus 4 Original Android Development] Aaron_Knowles:
I've been using Hyper ever since coming to this kernel. After flashing the latest version I don't feel any negative differences.

Battery was at 82% when I flashed latest version this morning. Its now down to 59% with 1 hour 50 minutes SOT, with 70% being on WiFi, rest 3g/h+. Flashed 8 hours 20 minutes ago. (Battery stats were wiped after flash)

Maybe its just me, but I honestly don't see anything wrong with the last few builds. If anything the builds are better.
[Nexus 4 Original Android Development] defconoi:
yea, im getting better battery life and the performance is the same really just stays in lower freqs longer, im hesitant on changing HYPER, im actually getting 4 hours continuous screen on time with the current settings, maybe i'll keep the settings and suggest others to up the input boost a little bit to compensate
[Nexus 4 Original Android Development] spider623:
What ROM?
[Nexus 4 Original Android Development] defconoi:
-------deleted------
[Nexus 4 Original Android Development] migueldbr:
kernel 90 alpha 2 is working perfectly with HYPER. i have 75% battery remaining with 1h15 SOT and 9hours standby. And very smooth
[Nexus 4 Original Android Development] defconoi:
guys let me know how Alpha 4 is running, I implemented some changes to improve battery with HYPER, if the performance is suffering at all let me know and I'll make some adjustments, it runs fine for me for my usage
[Nexus 4 Original Android Development] spider623:
This is my stats with alpha 4

Spoiler content hidden.

But what rom did you use for the 4 hours?
[Nexus 4 Original Android Development] Vinnom:
Reaaaally smooth. I lowered some freq values and not feeling great differences at all. Thank you man, your work is great as always.
[Nexus 4 Original Android Development] chineel:
+1

running very smooth with my ROM
[Nexus 4 Original Android Development] jolas:
On LiquidSmooth ROM, same adjustments for 89u-r9 and 90u-a4:

Intelliplug, cpu boost 918MHz, 2 min cpus online, 4 max cpus online, 2 max cpus online susp, min freq 270MHz, max freq 1728MHz, max screen off frequency 702MHz...

I don't know about differences in battery consumption, but 89u-r9 is smoother...
[Nexus 4 Original Android Development] migueldbr:
[MENTION=3590669]spider623[/MENTION] your battery seems to be dead...
[Nexus 4 Original Android Development] spider623:
how is 58% at stock settings and 1h SoT dead, the average on nexus 4 is 2h
[Nexus 4 Original Android Development] defconoi:
It all depends on usage, I've made the worst phone batteries have good life by turning off sync and greenifying everything. 2-3 hours is good, 3-4+ is excellent
[Nexus 4 Original Android Development] migueldbr:
on the screenshots you posted you have 54% remaining and only 1h SOT...thats really bad imo. im currently with 61% remaining and 1h52 SOT so...i would say your battery is not good (dead was an expression, if it was dead it would last like 10 minutes lol)
[Nexus 4 Original Android Development] CamoGeko:
I'm saying to you that its a ROM feature, not kernel! So no it doesn't exist here.

Sent using N⁴ with Android L
[Nexus 4 Original Android Development] migueldbr:
i think he is referring to the Eco mode in faux kernel and some other kernels, which limits the cpu to max 2 cores
[Nexus 4 Original Android Development] :
Nerd Rant

Daily use should be the barometer for measuring battery life. Squeezing screen-on-time with nothing running is just having a screen light on with no one caring.

There are way too many factors to calculate optimal usage and output. To compare two different measurements would be stupid because it's not a closed environment. And in no feasible way to replicate real life usage results consistently, why even bother caring!

Not to beat a dead horse, but all battery life numbers are just how much of a paperweight your phone has been for "x" hours! Just like telecoms advertising their download speeds instead of throughput when upload is becoming increasingly more important.
[Nexus 4 Original Android Development] spider623:
2 hours with nothing disabled is better ?
[Nexus 4 Original Android Development] migueldbr:
lol of course im not just leaving the screen on and doing nothing with the phone, that would be idiotic...my use was mainly browsing and lots of text messages. I just said that because judging from the screens of battery stats, he does not seem to be using the phone very intensively, thats why i said that it was not good battery life. But to each his own, if hes happy with it, fine by me;)
[Nexus 4 Original Android Development] spider623:
dolphin and Tapatalk never show in stats, they are not power hungry
[Nexus 4 Original Android Development] defconoi:
Kernel Update

90u-A5:

Tejun Heo - ipc: don't use [delayed_]work_pending()
Tejun Heo - devfreq: don't use [delayed_]work_pending()
Tejun Heo - debugobjects: don't use [delayed_]work_pending()
Tejun Heo - PM / Domains: don't use [delayed_]work_pending()
Tejun Heo - rfkill: don't use [delayed_]work_pending()
Tejun Heo - kprobes: fix wait_for_kprobe_optimizer()
Tejun Heo - PM: don't use [delayed_]work_pending()
ion-storm - update version to 90u-a5
ion-storm - add some things to msm_fb, turn on debugging
ion-storm - Revert "update defconfig"
ion-storm - update powersuspend to 1.6 & fix msm_fb define
ion-storm - update defconfig
ion-storm - powersuspend/lcd_notify: moved hooking functions from mipi_lgit into msm_fb.
ion-storm - adjust UP_THRESHOLD_AT_MIN_FREQ to 75 original: 40
ion-storm - update defconfig
Daniel Santos - bug.h, compiler.h: introduce compiletime_assert & BUILD_BUG_ON_MSG
Daniel Santos - compiler.h, bug.h: prevent double error messages with BUILD_BUG{,_ON}
Daniel Santos - bug.h: make BUILD_BUG_ON generate compile-time error
Daniel Santos - bug.h: prevent double evaulation of `condition' in BUILD_BUG_ON
Daniel Santos - bug.h: fix BUILD_BUG_ON macro in __CHECKER__
Daniel Santos - compiler{,-gcc4}.h, bug.h: Remove duplicate macros
Tushar Behera - include/linux/bug.h: fix sparse warning related to BUILD_BUG_ON_INVALID
Konstantin Khlebnikov - bug: introduce BUILD_BUG_ON_INVALID() macro
Yalin Wang - ARM: 8168/1: extend __init_end to a page align address
Mark Rutland - ARM: 8088/1: vmlinux.lds.S: drop redundant .comment
Pawel Moll - ARM: 7605/1: vmlinux.lds: Move .notes section next to the rodata
ion-storm - tweak HYPER more
ion-storm - tweak Hyper
ion-storm - update version to 90u-a4

AOSP/L

CM11
[Nexus 4 Original Android Development] Vinnom:
Serious guys,

After some tweaks on synapse, like, low down some parameters, my battery isn't leaking anymore *--*

Hyper is great in performance, everything goes so smooth and now, I don't have to plug the charger after a few hours anymore...

Later I'll share my daily profile with you. If you doesn't play heavy games, it is a good way to save battery juice ^^
[Nexus 4 Original Android Development] defconoi:
one thing i've noticed is that Double Tap to wake uses 1-2% an hour or even more if its in your pocket, but if you set it down without touching the screen there is less wakeups and less battery is used. So for those that really want an extra 10-20% battery in a day, turn off DT2W or leave it sit outside your pocket
[Nexus 4 Original Android Development] :
No D2TW

Double-tap-to-wake>Full and Bottom half are borked at the moment on A5!
[Nexus 4 Original Android Development] defconoi:
Not for me on CM11
[Nexus 4 Original Android Development] johnb380:
What Cm11 Rom r u running bro... Sorry just curious!
[Nexus 4 Original Android Development] defconoi:
Right now just plain cm11
[Nexus 4 Original Android Development] johnb380:
I've switched over to Liquidsmooth Rom it is smooth and snappy and goes so amazing with your Aosp kernels! If your looking for a new Rom Home come on over!

Thread link:

HERE ://xdaforums.com/showthread.php?t=2616565
[Nexus 4 Original Android Development] Vinnom:
Anyone facing problems when try to enter play store? After I update to A5, I can't connect to play store.

Any other app that requires internet connection works flawlessly, even google ones. Just play store isn't connecting.

Already tried to re-flash A5, to fc play store and clean play store data. Wifi icon display orange color.

EDIT:

A5 doesn't like my phone. I could confirm that was a5 issue with play store in my phone reverting back to a4. Now play store is normal ^^
[Nexus 4 Original Android Development] Vinnom:
Deleted
[Nexus 4 Original Android Development] zellleonhart:
I can confirm Double Tap to Wake is not working on A5, using android L-port 9002. Reverted to A4 and it is working again.
[Nexus 4 Original Android Development] kalpik:
Have a bug to report on A5. When I reboot, i get a black screen, instead of the rebooting message.

Sent from my Nexus 4
[Nexus 4 Original Android Development] defconoi:
cool, thanks for the bug reports, apparently a few things I merged related to powersuspend are incompatible, caused some dt2w issues on L will roll them back until their ready, use A4 for now
[Nexus 4 Original Android Development] defconoi:
i'll be out of town tomorrow, here is a6, dt2w should be fixed, will update changelog & stuff when im back home:

https://www.androidfilehost.com/?w=files&flid=18189
[Nexus 4 Original Android Development] iRefleX202:
Which version should i download if i want it to use with Android l?
[Nexus 4 Original Android Development] kurniawan77:
Where it says L......

Hint: AOSP/L