yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] d9ny:
have an issue here on lift to wake with latest version 92u-a8 on [MENTION=1050103]sykopompos[/MENTION] .999...it's just like inconsistent screen wake and randomly...hope it can be fix on next release. please thanks
[Nexus 4 Original Android Development] defconoi:
Big update coming:

UKM auto install

Tuned for performance
[Nexus 4 Original Android Development] defconoi:
Kernel Update

AOSP/L Only for now :)

Download:

https://www.androidfilehost.com/?fid=95784891001612252(link updated) v2

After some testing i'll throw up CM11 version, this is bleeding edge, UKM/Synapse is auto installed with busybox

Changelog:

Project name: Unleashed

ion-storm - Finish this baby :)
Pranav Vashi - msm: limiter: Add controls for per cpu governor
Pranav Vashi - cpufreq: Add interface for gov change
Pranav Vashi - msm: limiter: Introduce initial multi cpu control
ion-storm - drivers: cpufreq: Upstream optimizations
ion-storm - Revert "UNI_CPU_POLICY_LIMIT: cpufreq_cpu_put cpu0_policy."
ion-storm - Revert "Implemented config MULTI_CPU_POLICY_LIMIT to apply policy limits on all cpus"
ion-storm - Revert: "Enabled Async CPU CORE. + Config Interface thanks to @Alucard24"
ion-storm - msm: Add CPU freq limiter driver
ion-storm - Revert "Revert "Revert "MULTI POLICY LIMIT: do not export CPU0 controls. read more."""
ion-storm - re-enable HYPER/intelliplug as default
ion-storm - 99defcon: set alucard hotplug as default, misc fixes
ion-storm - fixup auto-init.d
ion-storm - fixup cpu-boost settings in synapse, will revisit this in the future, need to implement per-cpu boosting
ion-storm - fixup async fsync
ion-storm - set Alucard Hotplug/Cpufreq as default as test
ion-storm - page_alloc: Make watermarks tunable separately
ion-storm - boost cpu for 500 ms, AOSP L mpdecision boosts for 3 full seconds, thats too much and kills battery, this is perfect
ion-storm - zram: avoid kunmap_atomic() of a NULL pointer
ion-storm - defconfig: enable Asyncronous Fsync
ion-storm - fixup Asynchronous Filesync
ion-storm - Asynchronous Fsync: initial extraction of Async Fsync from HTC
Dorimanx - ARM acpuclk: Inline heavy used functions to reduce overhead. by duki994@xda
Steve Kondik - debug: remove: arm unwind: remove logspam while in debug mode
ion-storm - Add Synapse/UKM Auto installer
ion-storm - bootimg.sh: auto install init.d support/sed disable mpdecision since it is no longer needed
ion-storm - make cleaner clean more
ion-storm - init.d support added to ramdisk, no longer needed
ion-storm - fix dmesg touch_boost spam, this kernel has an in-kernel solution
ion-storm - mako_defconfig: enabled CONFIG_DM_VERITY
ion-storm - bring back led triggers
ion-storm - re-enable leds

just a summary, per core cpu boosting, per core cpu min/max freq, per core cpu governor, Auto Init.d installed to ramdisk, Auto install of Synapse/UKM, busybox for ease of use, you just need to flash kernel and then flash latest SuperSu 2.22+ with AOSP/L
[Nexus 4 Original Android Development] defconoi:
ooo ooo, gotta fix up hotplug settings, will be done quickly ;)
[Nexus 4 Original Android Development] defconoi:
small update to fix missing hotplug settings in synapse ;)

https://www.androidfilehost.com/?fid=95784891001612252
[Nexus 4 Original Android Development] iRefleX202:
Does the kernel work with stock 5.0?
[Nexus 4 Original Android Development] Mercado_Negro:
[MENTION=1316336]defconoi[/MENTION]

What do you mean by UKM auto install? Does it flash UKM 3.5 and we just have to install Synapse from the Play Store? Or does it flash both 3.5 and the app?
[Nexus 4 Original Android Development] defconoi:
exclusively
[Nexus 4 Original Android Development] defconoi:
Installs the app AND UKM, no need to install Synapse or UKM any longer ;)
[Nexus 4 Original Android Development] Mercado_Negro:
That's cool. Thanks. I'll give it a go on a clean stock install I'm planning in a few minutes.
[Nexus 4 Original Android Development] defconoi:
thanks, your welcome, did everything install well?
[Nexus 4 Original Android Development] :
Mind Blown

Just a slight hiccup...other than that I'm enjoying all the little descriptions of each option :good: Makes making whether or not to turn on said option much easier :victory:

Now if you included a benchmark test option [MENTION=1316336]defconoi[/MENTION] that would be uber
[Nexus 4 Original Android Development] defconoi:
Tips

For a good boost in performance set HYPER responsiveness cpufreq to 1512000, this is the stock value, I lowered it for improved battery, also lowered it in pegasusQ and intelliactive, reset those settings and you'll get benchmarks over 27k if your phone is nice and cool and doesnt throttle . Since we now have per core control, I overclock cpu0 and put on Power Efficient workqueue with UV of -110 on low freqs -150 on high freqs.

So for battery turn on Power efficient workqueue, underclock cpu0, up the upthresholds a bit in cpufreqs, UV, lower cores boosted from 3 to 1 and lower cpu-boost freqs to 810mhz or below.

There is lots and lots of potential for customized profiles here, I'd like everyone's input on battery efficient settings as well as performance settings, I will consider putting the best profiles in the ROM :)

My current favorite performance Governors are Bacon, HYPER, and intelliactive. Powersave i'd recommend intellidemand and smartmax, I wonder what combining these will do :)
[Nexus 4 Original Android Development] defconoi:
aha, thanks for the heads up, forgot to change the version # :) got excited to release ;)
[Nexus 4 Original Android Development] TheDarkDefender:
Wow. This is the best 5.0 kernel at the moment. Except for the LED issue, everything else is great. Please look into that.

Thanks defcon!
[Nexus 4 Original Android Development] nasgadth:
Edit
[Nexus 4 Original Android Development] zellleonhart:
Hey defconoi, the version number still shows up as 92-a8 in "About Phone" but it is fine though, very smooth so far, will report back after few days :)
[Nexus 4 Original Android Development] aalvico:
Updatetd to 93 and PPTP VPN still doesn't work for me as work with stock, Actually by now I didn't find any custom kernel that I can use for Hulu, anyone has a VPN service that don't use PPTP settings that is not blockeck by Hulu and works with this kernel ? By now my only solution is reflash stock when I like to watch...kind of annoying :/
[Nexus 4 Original Android Development] dcop7:
So, which is the last version that works with kitkat?
[Nexus 4 Original Android Development] frikakwa:
92a2
[Nexus 4 Original Android Development] SebiC98:
I need some help here please. I flashed universal kernel manager and the kernel but....
[Nexus 4 Original Android Development] frikakwa:
Defconoi explained that for his last kernel version, UKM and Synapse are included. You have now to faslh the kernel then SuperSU and this should work fine! ;)
[Nexus 4 Original Android Development] seilogeo:
I can say 92a8 is working fine on kk
[Nexus 4 Original Android Development] pables123:
Cpu0 bug. Its not lowering down to 81 mghz and i raise the min higher than default it is still stuck with default freq.
[Nexus 4 Original Android Development] frikakwa:
Possible but there is no "guaranty" kernels will work on KK after 92a2 as they are now "L optimized"! ;)
[Nexus 4 Original Android Development] Targaeryan:
Works here. Only thing that didn't work for me was changing hot plug from alucard back to intelliplug,though I haven't tried that after wiping synapse data yet.
[Nexus 4 Original Android Development] emanuele1986:
I installed latest kernel but synapse doesn't work. It shows no uci support detected. I installed busybox and ukm 3.5 but synapse app show that message.

Advice?
[Nexus 4 Original Android Development] frikakwa:
Why you guys don't try to read at least the 3 last pages? Defconoi said UKM and Synapse are now included into his kernel. Just flash the kernel then SuperSu!
[Nexus 4 Original Android Development] emanuele1986:
ok thank you :D

---------- Post added at 01:44 PM ---------- Previous post was at 01:33 PM ----------

I reinstalled the kernel and super su but always show no uci support detected.
[Nexus 4 Original Android Development] Targaeryan:
Did you try clearing synapse data and restarting it? If that doesn't work, try uninstalling it and downloading again from the play store and see.. Another way you could delete synapse from SuperSU permissions and start synapse again.
[Nexus 4 Original Android Development] d9ny:
Would you share your best profile backup of synapse including favorite setting, performance, battery saver? That would be nice...after all the latest 93uv2 running smooth..i love it...thanks man
[Nexus 4 Original Android Development] frikakwa:
Back to Unleashed for testing multiple governors (alucard,hyper,bacon and hyper... thx [MENTION=5403224]Targaeryan[/MENTION]) and first thing which is... incredibly obvious is how snappy it is! Woow...

Will see now what about the battery but.... so far so good: thanks a lot for this kernel [MENTION=1316336]defconoi[/MENTION]! :thumbsup:
[Nexus 4 Original Android Development] Ciao600:
I installed Lollipop Rom by Anderson Aregao like secondary rom with multirom.

Can I flash this kernel on it?
[Nexus 4 Original Android Development] emanuele1986:
Nothing , i tried it but synapse doesn't work
[Nexus 4 Original Android Development] Targaeryan:
Wait are you on the factory image? If so there was something wrong there... Ukm script doesn't run in factory image if I'm not mistaken.. Check out the ukm thread.. You need a link?
[Nexus 4 Original Android Development] frikakwa:
Weird: I've just installed 93u v2 as explained (using Lollipop Frank .999... flashing the kernel then SuperSu!). What rom are you running?
[Nexus 4 Original Android Development] head_banger:
Have you flashed supersu v2.22, that seems to sort it
[Nexus 4 Original Android Development] Targaeryan:
Try this

http://xdaforums.com/showthread.php?p=56828789
[Nexus 4 Original Android Development] frikakwa:
v2.23 is out! ;)

Good idea!

su
uci reset
uci

This has indeed solved the issue for some people (but he should first ensure SuperSu is running fine!).
[Nexus 4 Original Android Development] eduardozeassesme:
Guys, someone with a little delay/flickering in scrolling?
[Nexus 4 Original Android Development] defconoi:
What app is this? I'll check it out, sometimes CPU boost and cpufreq settings keep it from lowering.
[Nexus 4 Original Android Development] Defferex:
It's a System Monitor. It has floating widgets.

And may I ask about a CM11 version of 93u?
[Nexus 4 Original Android Development] Ciao600:
No one can answer me? ☺
[Nexus 4 Original Android Development] defconoi:
Yes u can
[Nexus 4 Original Android Development] Targaeryan:
93 aosp werking well :p CM version coming soon? wanna give it a go with Liquidsmooth lollipop
[Nexus 4 Original Android Development] defconoi:
I'll compile it today :)
[Nexus 4 Original Android Development] kskevinstewart7:
4:30 hours SOT! On Official L with a8. All 4 cores @ 81-1512mhz , -125mv , HYPER ;) best kernel! [MENTION=1316336]defconoi[/MENTION] :thumbup:

Does anybody know more settings I can play with to improve battery life?? :sly:
[Nexus 4 Original Android Development] fedevd:
[MENTION=1316336]defconoi[/MENTION] can you share your Synapse profile, please?
[Nexus 4 Original Android Development] defconoi:
Mine is basically stock, I set HYPER min_freq_threshold to 70-90 to stay in lower freqs longer for battery, UV -110 lower freqs and UV -150 on high freqs. And of course set min freq to 81mhz
[Nexus 4 Original Android Development] kskevinstewart7:
[MENTION=1316336]defconoi[/MENTION] , I cannot find min_freq_threshold under CPU in synapse. Could u guide me
[Nexus 4 Original Android Development] PsyAlik:
i think it's : up_threshold min freq am i right?
[Nexus 4 Original Android Development] defconoi:
Yea :)
[Nexus 4 Original Android Development] fedevd:
MSM Limiter enabled or disabled? I have it disabled to prevent too much freq changes because I lock and unlock the screen a lot so I preffer the normal wsy to slow down freq
[Nexus 4 Original Android Development] defconoi:
I enable MSM Limiter and use it to control minfreq and sometimes overclock cpu0 and use a combination of governors to test, you wont be able to control the freqs without enabling it
[Nexus 4 Original Android Development] iRefleX202:
So if I'm rooted and I want to flash the kernel do I have to flash SuperSU again?
[Nexus 4 Original Android Development] Targaeryan:
Not necessary.. Might be best to use the latest supersu version though..
[Nexus 4 Original Android Development] defconoi:
Kernel Update

Small update, tweaked CPU Governors more for performance, removed ASYNC fsync because of a slight IO speed regression after implementing it, also updated version information to 94u:

AOSP/L

CM11

CM11 version is untested, test it out and let me know how it runs
[Nexus 4 Original Android Development] curiouso9:
Just want to clear some misunderstanding

so the latest lolipop kernel provide here also support f2fs?

so i can convert lolipop rom to f2fs and get it working with this kernel?
[Nexus 4 Original Android Development] defconoi:
last time I checked F2FS works, let me know how that goes.
[Nexus 4 Original Android Development] Targaeryan:
Cm version boots! Will let you know if there are any anomalies! Maybe it should be cm11/12 now :D
[Nexus 4 Original Android Development] Defferex:
CM version works fine except that I haven't Synapse (and UKM probably) after flashing. But you said that Synapse + UKM now installs automatically...
[Nexus 4 Original Android Development] defconoi:
ah, the directory structure is different in CM11 than L now, did it change in CM12? You may need to install Synapse, I think UKM could work, I designed it for L

edit: im downloading CM12 to test in multirom
[Nexus 4 Original Android Development] kskevinstewart7:
MSM limiter doesn't stick?
[Nexus 4 Original Android Development] Defferex:
Don't know about CM12, I'm currently on CM11 based ROM (PAC-ROM). Yes, UKM installed successfully.
[Nexus 4 Original Android Development] defconoi:
it sticks, but cpu boost boosts the minfreq on touch for half a second
[Nexus 4 Original Android Development] Ciao600:
I don't know how to set the kernel with new per core governor and freq settings.

Could you please suggest me an optimal configuration for battery life or I can just leave all like I did with previous versions?
[Nexus 4 Original Android Development] hks18psigst:
Hmm.. CPU min and Cpu screen off doesn't stick

Edit: CM11
[Nexus 4 Original Android Development] nickslg:
cm 11 version works flawlessly on liquid smooth lollipop rom thanks
[Nexus 4 Original Android Development] defconoi:
yea it does:

<6>[ 5135.349548] mipi_lgit_lcd_off finished
<6>[ 5135.349579] mipi_dsi_panel_power: mipi lcd function started status = 0
<6>[ 5135.355317] lm3530_backlight_off, on: 0
<6>[ 5135.364870] AutoSMP: suspended
<6>[ 5135.364992] [POWERSUSPEND] suspend completed.
<6>[ 5135.365175] msm_limiter: Set MAX 810MHz for CPU0
<6>[ 5135.365266] msm_limiter: Set MIN 81MHz for CPU0

what your seeing in Synapse is a scaling freq for touch-boost
[Nexus 4 Original Android Development] defconoi:
awesome, did it install synapse in CM11? Or did you have to download it from play store?
[Nexus 4 Original Android Development] defconoi:
yes it sticks, what your seeing is the freq scaling up because input boost in synapse, msm limiter sets the min/max freq and they stick
[Nexus 4 Original Android Development] nickslg:
i already had it installed so im not sure ..... great work your doing :good::good:
[Nexus 4 Original Android Development] gorilla p:
[emoji92] Updates on bit.ly/makostuff[emoji92]

Added latest 94u Unleashed Kernel for AOSP and CM

Added latest L10 Hells Doctor kernel for Android L/5 AOSP

(Created new folders for 4.4 and 5.0 kernels)

[emoji367] Added Bat-Bal Synapse profile for Unleashed 94u

[emoji360] Added latest beta SuperSU 2.23 flashable zip

[emoji260] Added latest Greenify beta 2.5b5

[emoji341] Added Android L/5 (KK compatible) hybrid radio flashable zips.

27/104

33/104

Sent from my Nexus 4
[Nexus 4 Original Android Development] Vinnom:
I'm between autosmp and alucard hotplugs... the others gave me or poor battery life (dyn_hotplug) or lag (intelliplug) with little gain in battery. I'll test a couple of days to choose one ^^
[Nexus 4 Original Android Development] Targaeryan:
Ah. I had it just now in liquid smooth lollipop..I did a bunch of things.. I uninstalled synapse and reinstalled from play store and it was the same, I flashed ukm 3.5 and it was the same and finally I went back to recovery and flashed unleashed again then it fixed itself..

---------- Post added at 05:42 AM ---------- Previous post was at 05:40 AM ----------

I'm using alucard hotplug, its darn good... Governors bacon,hyper,bacon and alucard for cpu0-cpu3 respectively.. Min 2 CPU online and max screen off 2 CPU. 81 min freq and 1612 max
[Nexus 4 Original Android Development] S2Powa:
Its normal this settings?
[Nexus 4 Original Android Development] Vinnom:
Yeah, when I tried alucard I got almost the same with my autosmp, and performance seemed better. I think that I'll stay with alucard, but will test some more ^^
[Nexus 4 Original Android Development] Targaeryan:
Yeah that's what it flashed with for me as well.. You can change it to your liking now.

---------- Post added at 05:50 AM ---------- Previous post was at 05:47 AM ----------

Yeah its performance is impressive. I put CPU2 and 3 with alucard gov usually since they seem quite performance oriented while bacon and hyper alternate between battery and perf.. Bacon and hyper also hold 81mhz better than the rest of the gov..
[Nexus 4 Original Android Development] :
Weird Settings

Not quite sure what happened here :confused:

Was messing around with Google Play Services and all of sudden this happened

As far as restoring with Synapse, it's still not 100% :(

Certain options ✓ don't show up
[Nexus 4 Original Android Development] frikakwa:
Had the same issue yesterday.

Solved by cleaning cache of synapse, restarted in recovery, flashed kernel, flashed supersu and... Restarted. Voilà.
[Nexus 4 Original Android Development] hardwareadictos:
For me the same [MENTION=1316336]defconoi[/MENTION], not sticking after aplying :(
[Nexus 4 Original Android Development] :
Band-Aid for Now

Of course I did that [MENTION=2145830]frikakwa[/MENTION] :p

That's the panic move :highfive:

Doesn't solve why it's continuing to happen, just a band-aid for now ;)

There are just way to many errors showing up in CatLog :eek:
[Nexus 4 Original Android Development] gorilla p:
For some reason, I still only have 1 single governor option and min freq stuck at 1134mhz

Edit: I rebooted to recovery, wiped cache, flashed Unleashed 94u only (didn't flash UKM) and rebooted. It seems to have went back to normal again.

Sent from my Nexus 4
[Nexus 4 Original Android Development] defconoi:
Looks like your running an old kernel or flashed over UKM, dont flash over UKM anymore, my kernel has its own UKM profiles, that's the old synapse interface, remove synapse/ukm, this kernel auto installs ukm/synapse, those with issues try a clean rom install, I successfully flashed on L stock and CM11 without issues, just tried and confirmed.
[Nexus 4 Original Android Development] defconoi:
no weird, settings that is correct, I redid UKM myself to show the new MSM Limiter interface in place of the CPU Governor/min/max freq settings.
[Nexus 4 Original Android Development] defconoi:
Just an FYI Guys, if you install UKM over my kernel's embedded UKM, you will have many many many problems, freq's wont stick, the old cpu frequency interface is gone for a reason, now there is a dedicated driver to control min/max freq's as well as governors, its msm_limiter. If you do not see MSM_limiter in place of CPU Settings you did something wrong.

Instructions:

Flash rom(clean)

Flash SuperSU

Flash Kernel
[Nexus 4 Original Android Development] defconoi:
glade you sorted it out, advise everyone not to flash over UKM, it'll mess things up. As I add features I will be updating UKM myself in kernel.
[Nexus 4 Original Android Development] defconoi:
Kernel Update

I'll be releasing a Small update to tweak CPU Freq's, add msm_limiter settings to 99defcon init script

removed the links, missed a few additions ;)
[Nexus 4 Original Android Development] Vinnom:
Man, I'm on 92u8 and will flash 94u soon. But, I don't like using UKM and Synapse and will continue using only 99defcon script to set things up. To control CPU freqs like I'm doing in 92u8, I need to enable msm_limiter or the script will remain functional?

EDIT:

Oh, you already enable it hahaha

MSM_limiter have better control in CPU work?
[Nexus 4 Original Android Development] defconoi:
you'll have to update your script, I updated 99defcon to show u the sysfs files for msm_limiter
[Nexus 4 Original Android Development] Tech_Savvy:
You probably had many stupid questions..but im new at this..if i understand correctly i flash this rom [L][5.0] Frank with N6 parts N4 [B22s 11-05-2014] and then flash su and then your kernel?
[Nexus 4 Original Android Development] kskevinstewart7:
[MENTION=1316336]defconoi[/MENTION] , each time I flash an update of your kernel.. Do i have to finish a few battery cycles (0-100-0) to settle the battery and battery stats???
[Nexus 4 Original Android Development] defconoi:
No
[Nexus 4 Original Android Development] defconoi:
Yea
[Nexus 4 Original Android Development] Vinnom:
baterry cycles are good after a period without doing it. It helps the battery (the real one, not stats) to adjust itself. Battery University has great articles about it. If I'm not mistaken, full battery cycles are recommend to be done after 40 half-charges (not literally half) or after a month from the last full cycle.
[Nexus 4 Original Android Development] pables123:
Wer do hi freq start?
[Nexus 4 Original Android Development] PsyAlik:
By full cycle you mean i need to go to 0% and let the phone turn it self off?
[Nexus 4 Original Android Development] gorilla p:
Update on bit.ly/makostuff

Added more Synapse profiles for Unleashed 94u

Bat-Bal - intellidemand

Bat-Bal2 - SmartMax

Balanced - Smartmax

Bal-Perf - Hyper

Performance - intelliactive

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

Small update coming to address max freq stuck while screen off, also a performance boost of 1000k+ by syncing cpufreq.c upstream
[Nexus 4 Original Android Development] TheDarkDefender:
Any luck in fixing the LED issue?
[Nexus 4 Original Android Development] defconoi:
Kernel Update

95u:

Bookmark this URL, this is all my kernel releases:

https://www.androidfilehost.com/?w=files&flid=18189&sort_by=date&sort_dir=DESC
[Nexus 4 Original Android Development] pables123:
May n4 freezes on 94u
[Nexus 4 Original Android Development] mammenj:
I am 94u, so far no issues. Should I flash 95? or wait for 96 ;)
[Nexus 4 Original Android Development] hash87:
I have no idea why, but when i try to restore your profile in synapse i get FC. I have to clear synapse data to make it work again. Can you help me with this problem?
[Nexus 4 Original Android Development] emanuele1986:
I solved with latest supersu beta, now synapse works. Thanks

When i opened synapse, governor were all on performance. Is normal?

I undervolted gpu -50mv, can I still go under?
[Nexus 4 Original Android Development] Targaeryan:
Good to know toy got it fixed.

Yeah it was flashed with that.. Now you can go crazy!
[Nexus 4 Original Android Development] Vinnom:
Oh yeah... full battery cycles are done with full charge - full discharge - full charge.
[Nexus 4 Original Android Development] aymnahmd:
Hello,

Can anyone tell me in an easy way how to tune this kernel with synapse for good performance, suitable for daily usage.

I need the performance of KK, without any lags.

This great kernel contains hundreds of controls, which is so difficult for semi-noobs ?? like us to understand.

Thanks soo much.
[Nexus 4 Original Android Development] TheDarkDefender:
Guys, could anyone mention the last kernel release where the LED worked flawlessly? This is kinda driving me crazy and I don't wanna move away from this kernel, so... Thanks..