yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] calav3ra_de:
Feature recommendation: grouped wakelock handling, pengus77's kernel for LG o2x had this, which greatly improved standby time by only waking up every x millis after first wakelock request, so not every wakelock on its own caused a wakeup when the following wakelock for example appeared only a few millis later

superawesome kernel btw, thanks for it :)

ps: gpu uv disappeared with 95u2? worked with 92u7/8
[Nexus 4 Original Android Development] llevin:
That worked. Thanks!
[Nexus 4 Original Android Development] zellleonhart:
May I know which CPU governor? Is it HYPER for all 4 cores?
[Nexus 4 Original Android Development] :
All HYPER, all settings are stock except for the tweaks mentioned.
[Nexus 4 Original Android Development] sakis_the_fraud:
something is wrong with your profiles and my setup :S

http://youtu.be/PHg9aVX7hjw
[Nexus 4 Original Android Development] dannycardoz92:
yes I haven't overclocked anyway :) thank you
[Nexus 4 Original Android Development] Targaeryan:
Can you try the profile linked here and see if it ends up the same way. (download from the Dropbox link in that post)

http://xdaforums.com/showthread.php?p=56976772
[Nexus 4 Original Android Development] sakis_the_fraud:
that worked! I'll keep this for now, i saw it's optimized for low battery consumption.
[Nexus 4 Original Android Development] Targaeryan:
Ah that's good. Did you do anything diff from what you did with the one that [MENTION=4362467]gorilla p[/MENTION] posted?
[Nexus 4 Original Android Development] sakis_the_fraud:
I followed the same steps, i loaded the profile and synapse crashed.

The main difference is here, when i reopened the app, it did't crash as before but it loaded correctly. I then selected the X mark to load the profile.
[Nexus 4 Original Android Development] Targaeryan:
Yeah that's how it's supposed to happen..

Edit: btw my profile is not fully just for battery life.. I would say it's the best of both worlds (perf and battery) so take it for a test drive and give us some feedback on it!
[Nexus 4 Original Android Development] txuki2005:
[MENTION=1316336]defconoi[/MENTION] any update today for nexus 4? Because i will restore today my phone :P

Just kidding ;)
[Nexus 4 Original Android Development] defconoi:
Probably not today, I'm working on some new stuff though and I want to thoroughly test :)
[Nexus 4 Original Android Development] Targaeryan:
Hey I always wondered, is there any reason that our n4 and other phones/tablets released can't upgrade to newer versions of the linux kernel for example 3.17? But for example I'm running manjaro Linux on my laptop which can be upgraded from previous kernel versions (like i jumped from 3.10 to 3.17) are able to.. Why is it like that?
[Nexus 4 Original Android Development] defconoi:
Drivers arent compatible yet for latest kernels,I hope google uses latest Linux in future
[Nexus 4 Original Android Development] Targaeryan:
Ah i see , so its driver dependent for updating... So it is possible for the n4 to be able to use the higher versions as long as the drivers are available? Since the n6 is using 3.10 and using Qualcomm chip does it make your work easier or no difference from where you're at (back porting etc) already?
[Nexus 4 Original Android Development] gorilla p:
Im thinking about the changes made when the profiles started having problems.

It started after people were moving to L/5, the UKM started being included in the kernel and I also started having overclocked freqs saved.

I set SELinux to permissive.

The only other thing I can try is lowering the max freq to within 1.5ghz. [MENTION=1316336]defconoi[/MENTION], do you have any ideas?
[Nexus 4 Original Android Development] gorilla p:
Can someone try the Bat-Bal 2.0 Test profile on makostuff and see how it works?
[Nexus 4 Original Android Development] defconoi:
Kernel Update

96u:

Changes:

ion-storm - enable msm_limiter by default
ion-storm - update live scaling freqs/hotplugs in Synapse
Pranav Vashi - msm: limiter: Add readable tunable for current frequency
Pranav Vashi - msm: limiter: Do not store governor locally
Pranav Vashi - cpufreq: Make get governor interface always return good value
Pranav Vashi - msm: limiter: Simplify and debugify min/max freq
Pranav Vashi - cpufreq: Add interface to set/get min/max freq
alucard24 - alucard_hotplug: now nr_run_avg calculation is correct.
Pablo Neira Ayuso - netfilter: nf_conntrack: decrement global counter after object release
Jordan Crouse - sync: Only print details for active fences
Jordan Crouse - sync: Add a "details" callback for sync points
ion-storm - allow all hotplug/cpufreqs to get cpu utilization
ion-storm - Revert derp in Makefile regarding memutils lol
ion-storm - cpufreq_HYPER: up_threshold_at_min_freq 70 was too high, 50 seems like a good battery/performance setting
ion-storm - Revert "Disable LED_Triggers by stratosk"
ion-storm - Tune cpu_freqs a bit more for battery, set intelli_hotplug as default, disable intelli_plug debug mode as default, re-enable msm_limiter suspend defer time as suggested by @neobuddy89
ion-storm - Tune Smartmax, HYPER, Intelliactive more for battery savings
ion-storm - Disable LED_Triggers by stratosk
ion-storm - dont comment out cpuboost, set 500ms boost at driver level
ion-storm - upstream fixes for cpufreq.c

Download
[Nexus 4 Original Android Development] mammenj:
Awesome, just flashed it. Will report back with feedback.

Is thermal removed from the Misc. section because I think having red light notification was good :good:
[Nexus 4 Original Android Development] llevin:
I'm getting: "Unable to restore profile. Invalid file."
[Nexus 4 Original Android Development] robaeh:
Since 95u v2 I have problems with dt2w. My N4 sometimes doesn't wake up anymore, even the power button doesn't work. The only way to get it to work is force reboot. This problem persists on 96u. With stock kernel I don't have this problem. I'm using Frank 99999 ROM. Does anybody know a solution? Thanks.
[Nexus 4 Original Android Development] mammenj:
Anyway to enable thermal led via command line?
[Nexus 4 Original Android Development] GuyIncognito721:
I gave this kernel a try and moved on to another one. However the Synapse app keeps reinstalling itself. How do I permanently delete it? Thanks in advance!
[Nexus 4 Original Android Development] gorilla p:
Synapse has nothing to do with this kernel, only the UKM script that the kernel provides.

If you're on L, Ive had some trouble uninstalling things as well.

This would be a question for the Synapse thread.
[Nexus 4 Original Android Development] dude6595:
dont know if you have or if it will make a difference but have you tried flashing the ukm uninstaller zip?

here
[Nexus 4 Original Android Development] rohit297:
Hey where is the link fir the kernel for android l
[Nexus 4 Original Android Development] Targaeryan:
http://xdaforums.com/showthread.php?p=57028322

Compatible with L.. Choose aosp or cm version depending on your ROM.
[Nexus 4 Original Android Development] Horizone:
Why is Intellihotplug 5.2 the favourite governor out of all of them? :)
[Nexus 4 Original Android Development] TA123:
I wonder if anyone has already come up with a good battery saving profile for synapse?
[Nexus 4 Original Android Development] aymnahmd:
I'm using these settings and are really fast and smooth plus battery conservative:

96u

Governor for all cpus: smartmax

384-1512

Hotplug: MSM hotplug

Input boost: 60ms

Boost duration: 1000 ms

Try them and you wont regret
[Nexus 4 Original Android Development] frikakwa:
Check the one from Targaeryan which is to me the best of both worlds: snappy and battery friendly! ;)

Ps: do a search on Targaeryan + mine ! ;)

Pps: start reading here!
[Nexus 4 Original Android Development] defconoi:
Kernel Update

Got a new kernel update coming soon with a new CPU governor by Faux, called intelliMM(intelliminmax) testing it out right now ;)
[Nexus 4 Original Android Development] frikakwa:
Rather tends to battery saving or power? :) Similar to Hyper, Alucard,... ?
[Nexus 4 Original Android Development] defconoi:
It looks to be similar to both, powersavings and performance, running it on N5, its very fast, good ui performance
[Nexus 4 Original Android Development] frikakwa:
Eager to test this and to receive the new "idea settings" of [MENTION=5403224]Targaeryan[/MENTION]! :)
[Nexus 4 Original Android Development] eduardozeassesme:
Thanks man, I love your Kernel [emoji8] [emoji7]
[Nexus 4 Original Android Development] Vinnom:
I think that is hard to build something better than Hyper. It is so smooth! Alucard can give a good battery life, so it is hard to move on to other governors :(

But i think I'll give it a try :)

Vinnom - Sent from mako
[Nexus 4 Original Android Development] defconoi:
faux is an awesome developer, better than most, I'll be using this governor for a lil while seeing how it performs, will upload soon.
[Nexus 4 Original Android Development] calav3ra_de:
Just a question, why does Synapse revert the zram lz4 setting every time i reboot it back to lzo? same goes for number of channels!

i'm on frankened rom .99999/earlier b21s, with my N4...
[Nexus 4 Original Android Development] frikakwa:
True.. and we all know this but you should ask [MENTION=5658634]apb_axel[/MENTION] on his thread! ;)

Even if by knowing this """issue""" that's not a big deal to be handled! ;)
[Nexus 4 Original Android Development] xflori:
Anyone give me some settings for a good battery life:)?
[Nexus 4 Original Android Development] defconoi:
Kernel Update

ion-storm - update version to 97u

Lasse Collin - lib/xz: enable all filters by default in Kconfig
Lasse Collin - lib/xz: add comments for the intentionally missing break statements
Paul Bolle - decompressors: fix typo "POWERPC"
Florian Fainelli - decompressors: make the default XZ_DEC_* config match the selected architecture
Florian Fainelli - decompressors: drop dependency on CONFIG_EXPERT
Florian Fainelli - decompressors: group XZ_DEC_* symbols under an if XZ_BCJ / endif
alucard24 - alucard_hotplug: Use INIT_DELAYED_WORK for RQ_AVG calculation.
ion-storm - intelli_hotplug: Remove unused cur_max percpu variable
ion-storm - Disable slim cpu governor, already have a ton of cpu governors, slim tends to use more battery anyways
ion-storm - cpufreq_intellimm: remove common function, setup for io_is_busy
ion-storm - cpufreq_intellimm: intelliminmax cpu governor initial baseline commit
ion-storm - enable msm_limiter by default
ion-storm - update live scaling freqs/hotplugs in Synapse
Pranav Vashi - msm: limiter: Add readable tunable for current frequency
Pranav Vashi - msm: limiter: Do not store governor locally
Pranav Vashi - cpufreq: Make get governor interface always return good value
Pranav Vashi - msm: limiter: Simplify and debugify min/max freq
Pranav Vashi - cpufreq: Add interface to set/get min/max freq
alucard24 - alucard_hotplug: now nr_run_avg calculation is correct.
Pablo Neira Ayuso - netfilter: nf_conntrack: decrement global counter after object release
Jordan Crouse - sync: Only print details for active fences
Jordan Crouse - sync: Add a "details" callback for sync points
ion-storm - allow all hotplug/cpufreqs to get cpu utilization

Download
[Nexus 4 Original Android Development] txuki2005:
Thanks [MENTION=1316336]defconoi[/MENTION] at this moment i am testing 96u with awesome performance and battery life with smartmax and msm hotplug, best combination for me so far.

Miles thanks.
[Nexus 4 Original Android Development] Targaeryan:
My body is readyyy! Wait..I mean my phone :p
[Nexus 4 Original Android Development] eduardozeassesme:
You are fast man, thanks for you best work and best kernel for my mako [emoji1]
[Nexus 4 Original Android Development] Targaeryan:
[MENTION=1316336]defconoi[/MENTION] I have synapse fritzing out a lot in 97. It locks up after changing CPU gov and then force closes. For some reason the 3rd and 4th cores are stuck at max freq.. I deleted synapse and flashed the kernel again and it ended up with the same issue.. I'll check and see of it still occurs after a while.
[Nexus 4 Original Android Development] defconoi:
I noticed this too, Its a bug with synapse, its because of the new cpu governor having a rather large multi_freq_tbl setting, restart synapse/force close it and it will be fine
[Nexus 4 Original Android Development] Vinnom:
Later, can you give us directions to tune the new governor? :)

Vinnom - Sent from mako
[Nexus 4 Original Android Development] Targaeryan:
Weird.. I did that several times.. My device also started locking up and lagging. I'm gonna reflash and check the settings again! :)
[Nexus 4 Original Android Development] d9ny:
i've got freeze synapse when change governor to IntelliMM...i dunno why

Btw i use this settings : https://drive.google.com/file/d/0B1RFIRMdBHJrNUo4VGRuaVhBaXc/view?usp=sharing
[Nexus 4 Original Android Development] Targaeryan:
Yeah its intellimm.. I restored my old profile and it was smooth.. Hotplugging properly, freq scaling properly.. The moment I changed one gov to intellimm, it went nuts.. Synapse started lagging and crashing.. And the gov settings for intellimm kept changing and not applying. I'll wait for other users to comment on their experience and see if I'm the only one going through this, till then I'll use my restored profile :D
[Nexus 4 Original Android Development] defconoi:
Happened to me, clear synapse data, also reopen and all will be fine
[Nexus 4 Original Android Development] Tech_Savvy:
new release working great here...i gotta say I've tried all kernels just because i love to flash stuff...your has by far the best and most options....one thought...is it possible have for example long press home button to screen off/lock ? i find my self sometimes having to swipe a couple times before i get it to lock...but thanks for everything that you do!!!
[Nexus 4 Original Android Development] defconoi:
yes its possible, but only rom side, ask your favorite rom developer and maybe they can implement it, last time I checked I think I had sweep2sleep in this kernel for n4
[Nexus 4 Original Android Development] defconoi:
I'll be fixing synapse after thanksgiving, for now u need to force close it and reopen after changing settings, I just gotta add the freq tbl to ignore
[Nexus 4 Original Android Development] xflori:
Can anyone tell me good settings for a good batterylife? The profiles wont work for me

Nexus⁴
[Nexus 4 Original Android Development] edilber:
gpu_mv_table ?

What happened to uv gpu (gpu_mv_table)?

I can set 900mv for all freq gpu (large energy savings) without any problem.

Please include uv gpu kernel. and I was thinking to suggest a frequency above 487mhz since 900mv works perfect (for me).

Excuse my English.
[Nexus 4 Original Android Development] pianistaPL:
Amazing update, thanks. Hope that we will se dedicated Nexus 5 thread soon :)
[Nexus 4 Original Android Development] gorilla p:
A freq above 487 will not work well on this GPU. The gains from the boost from 400 to 487 have already been challenged as non existent. Not to mention going higher starts holding more risk than reward.
[Nexus 4 Original Android Development] Tech_Savvy:
could someone share the best battery friendly settings for this kernel?
[Nexus 4 Original Android Development] rohit297:
+1
[Nexus 4 Original Android Development] gorilla p:
[emoji215] Happy Thanksgiving![emoji215]

I wanted to give thanks for the XDA community that I interact with daily. I put together a couple small presents for everyone.

[emoji92] Updates on bit.ly/makostuff[emoji92]

Added latest HD L12 Kernel

Added latest Unleashed 97u Kernel

Added latest SuperSU flashable zip

[emoji315] Added cool new wallpaper packs with AOSP, Nexus 4 and Android L themes

[emoji445] Added GalaxyS5 and LG G3 soundpacks[emoji445]
[Nexus 4 Original Android Development] sakis_the_fraud:
I was getting that annoying thing when you receive a call, you hear the ringtone, phone is vibrating and screen is OFF!!!

so i aborted [MENTION=4215628]Targaryen[/MENTION] 's profile.

Generally speaking, what's the cause of this and how it can be fixed?
[Nexus 4 Original Android Development] Targaeryan:
[MENTION=2145830]frikakwa[/MENTION], you facing this?

Maybe the screen off freq is too low or min freq is low.. Try increasing and see if it occurs..

What ROM you using?
[Nexus 4 Original Android Development] dannycardoz92:
yes the max screen off freq being too low is the cause of this..

594 MHz seems to work for me
[Nexus 4 Original Android Development] zellleonhart:
Had 2 freezes yesterday and one reboot since I used intellimm governor on all CPUs. Didn't happen before when using HYPER. Though I don't have logs :/
[Nexus 4 Original Android Development] Blue305:
Lookin forward for that too!
[Nexus 4 Original Android Development] rrohanjs:
actually i don't know much .. hence asked to know about it from scratch
[Nexus 4 Original Android Development] defconoi:
I'm not quite sure if intellimm is better for battery, I actually took a performance hit using it in benchmarks. Going to have to investigate further.
[Nexus 4 Original Android Development] rohit297:
I am not able to select any profile on synapse ,after selecting the profile when i press the restore profile button synapse get force close and i have to clear its data to get it working again, btw i am using latest 97u on android l aosp
[Nexus 4 Original Android Development] pianistaPL:
[MENTION=1316336]defconoi[/MENTION] Can you write few words about Alucard governor which is default gov for N5 kernel? I can't find any informations about this gov.
[Nexus 4 Original Android Development] frikakwa:
Not sure but you'll maybe find more information there.
[Nexus 4 Original Android Development] Vinnom:
Read the posts after op. There are a bunch os descriptions there.

For those who are having problem with synapse profiles, do you want to try my script? Download it and replace your default 99defcon. For daily usage (social networks, whatsapp, a few games) I feel it very smooth and battery friendly. Have a try :)

If you want to change things, use synapse. To apply my script settings, don't forget to reboot.

Download here

Vinnom - Sent from mako
[Nexus 4 Original Android Development] aviz1911:
hey [MENTION=1316336]defconoi[/MENTION], i implemented neobuddy's hotplug with the sched patches and the cpu-boost driver it needs in my kernel. Added the tunables in my ramdisk file. I set input boost freq to 1.1ghz and the min cpu is also stuck at 1.1ghz. I tried to change it in synapse but it again goes to 1.1 ghz.

Any specific reason why it's acting like this. BTW before adding cpu-boost the min freq is fine and it goes to 192mhz

thanks
[Nexus 4 Original Android Development] lordvj:
Does this work with latest slimkat with f2fs?
[Nexus 4 Original Android Development] Pollie81:
I think you're right.. I'm back to hyper because my phone was getting hot on intellimm and my phone never gets hot. I could see in synapse that the cores stay longer on high frequencies with intellimm.
[Nexus 4 Original Android Development] edilber:
and uv not think it beneficial? :rolleyes:
[Nexus 4 Original Android Development] kniffo80:
I have a problem with latest kernel on Android L. Music playback via Bluetooth is stuttering every 30 seconds up to once a minute. This only occurs, when screen is off. Tried already different settings, but stuttering still exists. Anyone got a solution for that?
[Nexus 4 Original Android Development] Tech_Savvy:
dont want to sound stupid but how do i apply this?
[Nexus 4 Original Android Development] shadeMe:
I'm having a number of issues with the latest release 96u. Synapse constantly shows the commit/discard buttons in the action bar, particularly when the CPU governers are changed. Using the alucard governor on any of the CPUs randomly reverts the Hotplug driver to alucard. Setting the input boost duration to zero doesn't disable it. Anyone else seeing this on their end?

I'm on the Nexus 5 Experience ROM, but I intend to switch to stock shortly.
[Nexus 4 Original Android Development] gorilla p:
OK so for everyone who says they're ha ing trouble with the profiles, please look through this thread. The proper way to restore the profiles has been written up multiple times.

I am aware that synapse is force closing but just about all of the settings, if not all of them, are being applied.

I've been chasing this issue around and nobody has been providing any kind of detailed information. I was wondering why it seemed to be working fine for me, but nobody else. Then after a little research, it is working fine for most, just force closing upon applying.
[Nexus 4 Original Android Development] d9ny:
I've been applied your script and so smooth, but after i had upgraded to latest frank by [MENTION=1050103]sykopompos[/MENTION] after replace 99defcon, i didn't any settings change on synapse like before...any suggestions?thanks

---------- Post added at 06:46 AM ---------- Previous post was at 06:21 AM ----------

Someone can tell me how to active dt2w for bottom half and s2w sweep2sleep only using 99defcon script please...thanks
[Nexus 4 Original Android Development] Vinnom:
Replace your /etc/init.d/99defcon fo the new one.

For the guy above and you, don't forget to change the permissions to 755.
[Nexus 4 Original Android Development] gorilla p:
Battery on latest release is awesome
[Nexus 4 Original Android Development] kskevinstewart7:
Settings for the awesome battery plz?
[Nexus 4 Original Android Development] d9ny:
Would you tell me how activate dt2w for bottom half and s2w just for sweep2sleep only by modifying 99defcon script?

There is UKM script which have default script inside init.d right?should i deactivate it by changing permission? which we only need 99defcon being running on boot..
[Nexus 4 Original Android Development] gorilla p:
I upload all synapse profiles to bit.ly/makostuff.

People have been saying theyre having trouble loading profiles but if done properly, there's no problem.

Select profile, click √

Select restore.

Synapse will force close

When it opens, click X

All settings should be applied then

The only settings that don't seem to be applied is the msm limiter (tick enable for msm limiter)

PE-WQ should be ticked and applied as well if not already set.
[Nexus 4 Original Android Development] shadeMe:
Anybody else having issues with the front camera on the latest build (97u)? The camera app freezes when I switch to the front camera mode and the trusted face provider tells me that the (front) camera isn't available. I reverted back to 95v2 and it's working again (but it's quite slow/laggy). Gonna try 96u. I'm on stock, FWIW.
[Nexus 4 Original Android Development] Targaeryan:
No issue here.. Using with frank linaro build. Its a bit slow but no freeze.
[Nexus 4 Original Android Development] Shooting Star Max:
For now, laggy front camera is a common bug on Lollipop. I have it too, but since I almost never use that camera, I don't really care.
[Nexus 4 Original Android Development] Ciao600:
I wiped cache and Dalvik cache and flashed Unleashed 97u and rebooted but I don't see Synapse app. Shouldn't it be installed? Or have I to install it from play store?

I have n5x Rom by Anderson Aragao. EDIT: in app list I see Synapse but it is written "app non installed". What should I do? Install it from playstore?
[Nexus 4 Original Android Development] melih_1991:
Is the last version compatible with kitkat?

Edit: Ok, got it.
[Nexus 4 Original Android Development] gorilla p:
No. The UKM script is installed, which Synapse relies on, but synapse has to be installed from play store.
[Nexus 4 Original Android Development] Defferex:
Maybe you can just post your settings here? Because I have Synapse FC with all profiles and I need to clean synapse data to fix it.
[Nexus 4 Original Android Development] Pollie81:
no, since i believe it was 95u UKM as well as Synapse should be installed when you flash the kernel.

so installing synapse thru play store shouldn't be necessary.
[Nexus 4 Original Android Development] rohit297:
I am following same method but when it force close after restoring profile, i have to clear data to make it work again otherwise it keeps on force closing, so i cannot then click the × button