yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] gorilla p:
Perhaps you're right. Either way, Installing synapse from play store won't hurt.

I'm going to check now. I'll uninstall both and see if they install with the kernel. Who knows, the profiles might work better that way.
[Nexus 4 Original Android Development] Ciao600:
At the end Synapse worked but it isn't so good as it really is. After force reboot I had to unistall and reinstall it again and after that it said me there wasn't UCI support. I rebooted again and it worked but I can't do so every time I reboot.

I'll try this kernel after some more releases , now it is really unfriendly.
[Nexus 4 Original Android Development] gorilla p:
I took screenshots of all synapse settings that were changed and saved them to a zip on bit.ly/makostuff in the synapse profile folder.

This is for the Bat-Bal profile.
[Nexus 4 Original Android Development] Defferex:
Great! Thank you, will try it :)
[Nexus 4 Original Android Development] Pollie81:
how did you install exactly?

I flash new roms on a regular basis and I always use unleashed but I never encountered any problems. so there must be something wrong in the install process or whatsoever. I don't think your problem is caused by the kernel itself..
[Nexus 4 Original Android Development] Vinnom:
Man, I looked into UKM code and to activate dt2w and s2w and you can put this to your 99defcon:

# DT2W
echo "value" > /sys/android_touch/doubletap2wake,
Values:{ 0:"Disabled", 1:"Center (Default)", 2:"Full", 3:"Bottom half", 4:"Top half"

# DT2W Feather (to control the allowed distance between tap #1 and tap #2)
echo "value" > /sys/android_touch/doubletap2wake_feather
Min value: 50
Max value: 2560

# S2W
echo 2 /sys/android_touch/sweep2wake #for sweep2sleep only.

About UKM script running at boot, I don't see a reason to remove it from boot process if you use Synapse, however if don't use Synapse anymore, just remove it or remove its execution permission.
[Nexus 4 Original Android Development] Ciao600:
Wiping cache and Dalvik, flashing kernel and then installing it from Playstore.
[Nexus 4 Original Android Development] Pasimpalad:
This work on Captivate CM 11?
[Nexus 4 Original Android Development] Vinnom:
Defconoi already told us to not use synapse from play store. He had to modify some synapse settings and ukm because his kernel tweaks and unique tunables.

Next time, do this in the process of update kernel.

Flash:

UKM uninstaller

Flash latest unsleashed, in this case This work on Captivate CM 11?

You can try and report :)

If you get bootloop, then you know it don't and you can flash another that works ^^

So keep an extra kernel (cm stock if you can) to save you if things go wrong
[Nexus 4 Original Android Development] fr3quency:
If we don't use Synapse from Play store what will we use? >_>
[Nexus 4 Original Android Development] frikakwa:
The one built into kernel! ;)

UKM and Synapse are both built in now and that's the reason of new flash procedure: flash kernel zip then SuperSU and that's it!
[Nexus 4 Original Android Development] fr3quency:
Perfect. The previous guy's post was incomplete as he didn't give us this info. :p

---------- Post added at 18:14 ---------- Previous post was at 18:04 ----------

Some help to make interactive more performance-wise? Screw battery. You end up charging your phone every day either way.
[Nexus 4 Original Android Development] Vinnom:
I forgot to say that ukm and synapse comes built in now.
[Nexus 4 Original Android Development] y3mita:
They do come pre built in but for some weird reason synapse its not showing on my drawer
[Nexus 4 Original Android Development] defconoi:
Kernel Update soon

Currently working on a nice kernel update implementing 2 new cpu governors, Blu-Active and ZZMove, currently testing them and working on Synapse, will have an update maybe today, if not tomorrow, busy day here :)
[Nexus 4 Original Android Development] stylazation:
Question:

Should I be using battery apps like "Du Battery" "Battery doctor: cheetah mobile". Or just stick with the settings provided in the unleashed kernel that I'm using and it already gives fair amount of battery usage. Still just wandering installing battery Apps would cough up while being on with the kernel that has it's own battery monitoring options and all.

Please explain. Looking fwd to answer. Thanks in advance.
[Nexus 4 Original Android Development] frikakwa:
Kernel is part of the battery saving but cannot do everything. Don't know the one you're talking about but personnaly, I'm still using Greenify to manage opened apps running in background.
[Nexus 4 Original Android Development] stylazation:
Yeah well one thing the kernel cant do is trickling. So the other apps I used to have before having the kernel used to do that as in more like expanding battery life.

Totally different from managing opened apps. I guess one touch boost by clean master does that pretty well for me.
[Nexus 4 Original Android Development] gorilla p:
For questions regarding battery life, please see the optimal battery life document on bit.ly/makostuff
[Nexus 4 Original Android Development] stylazation:
Talks about profiles. All the profiles available are made on 4.4.4 and doesn't work with 5.0 resulting in crash or other behavior. Waiting for profiles made using 5.0 for 5.0 so I can load then on my kernel running over a custom frank 5.0 ROM to enjoy fast and long lasting battery charge.
[Nexus 4 Original Android Development] d9ny:
Waiting for amazing kernel ever....I still got buggy when switching to IntelliMM so I can't try it.....btw thanks man..good work
[Nexus 4 Original Android Development] gorilla p:
Please actually read the document.

It has nothing to do with profiles.
[Nexus 4 Original Android Development] Targaeryan:
You mind adding my profile as well to your folder? [emoji14] its a combo of batt and performance from what [MENTION=2145830]frikakwa[/MENTION] and another user reported (I tested it as well).
[Nexus 4 Original Android Development] stylazation:
Could you please link so I can bookmark it. Thanks.
[Nexus 4 Original Android Development] dannycardoz92:
https://drive.google.com/folderview?id=0B77BTW0zStYCSTRIYWpZQS1nOWs&usp=sharing
[Nexus 4 Original Android Development] nixie2121:
What are the performance/battery hits/gains when changing the minimum from 384 to 81 on all cores? Thanks
[Nexus 4 Original Android Development] Vinnom:
Not that I'm the expert to talk about it, but I think that use 81 MHz on all cores it is too much or too little, if you prefer.

If you awake the phone, it'll have to jump to higher frequencies more often... the gap between minimum and maximum can't be too big, I think. Personally, I found 270 MHz to CPU 0, 162 MHz to CPU 1 and CPU 2 and 81 MHz to CPU 3 to have better responsiveness. CPU 3 will be less activated than other 3, so it can have a small minimum, however my maximum isn't to big for this one.

The thing is, first and second core will be more used, so it is a good practice to let them be used while the others sleep, so it is good let them more performance set up. In the end, it is better to find a balance that suits your needs.
[Nexus 4 Original Android Development] Rohit02:
The ringtones zip is flashable one or you need to extract and manually add them?
[Nexus 4 Original Android Development] dannycardoz92:
pretty sure they're not flashable..I've added them manually
[Nexus 4 Original Android Development] iskandar1023:
Anyone got ambient display wake feature working with this kernel?

It works when i use simpleaosp with stock kernel, but i cant get it working with this kernel

posted by mako
[Nexus 4 Original Android Development] Targaeryan:
Works with frank ROM. But picking up to show doesn't work. But when notifications are there, it pulses on and off in black and white to show there is. But if screen is off and you pick up it doesn't work so far (if that's what you're talking about).
[Nexus 4 Original Android Development] iskandar1023:
Thats what i mean, it works with stock kernel shipped with simpleaosp

posted by mako
[Nexus 4 Original Android Development] Targaeryan:
I see.. Like I mentioned.. Pick up to display for some reason doesn't work. Only ambient display when the phone is down works.
[Nexus 4 Original Android Development] nixie2121:
Can someone explain what I am doing wrong?

So I love the kernel, my issue is that I set all my settings with Synapse and everything is good. Upon reboot, no settings are loaded ad synapse says it was unstable. I hit cancel but the settings are not as I had them. I tried to back up my profile, but upon restore I get a force close and my settings are not applied?

Is there something I need to do in synapse to make it just apply my settings upon reboot without my needing to check and fix?

Thanks so much!
[Nexus 4 Original Android Development] txuki2005:
new kernel version .105 :P
[Nexus 4 Original Android Development] avinashjirapure:
Where have you found this :cool:.....any download link?
[Nexus 4 Original Android Development] Targaeryan:
After it force closes after restoring profile, go back to synapse and click the "X" on top and then your settings will be applied.
[Nexus 4 Original Android Development] nixie2121:
Thanks.. Will try that.. So is it normal that it won't just apply at reboot?
[Nexus 4 Original Android Development] Targaeryan:
It will apply on reboot most of time. You have to wait at least 2-3 mins to see the message (sometimes occurs faster depending on number of Also going through to get root access and which are in line first).

When updating to new version of ROM/kernel it doesn't usually apply on boot so you have to restore profile.
[Nexus 4 Original Android Development] memi_pt:
No UCI support detected for me by synapse!

any other software for control it?
[Nexus 4 Original Android Development] Targaeryan:
Did you flash the newest version? Did you flash ukm after it?

New versions do not need ukm. Try flashing the kernel again and synapse should work.
[Nexus 4 Original Android Development] skurtov:
Can't seem to set my lowest cpu frequency below 1134mhz. Any ideas?
[Nexus 4 Original Android Development] memi_pt:
I flashed 97 on android 5! No ukm... What is wrong with me? Flash it again and notting happened.
[Nexus 4 Original Android Development] Targaeryan:
Can you try clearing synapse data and restarting it?

---------- Post added at 04:43 AM ---------- Previous post was at 04:42 AM ----------

Which version are you using? Did you enable msm limiter?
[Nexus 4 Original Android Development] skurtov:
Just flashed the newest 97u AOSP after re installing the ROM, and UKM 3.5.

MSM Limiter has been turned off.
[Nexus 4 Original Android Development] Targaeryan:
Turn msm limiter on and try again pls.
[Nexus 4 Original Android Development] skurtov:
Problem still persists.
[Nexus 4 Original Android Development] Targaeryan:
Wait.. Do you see options to set freq for individual CPU cores or just two sliders with max and min?
[Nexus 4 Original Android Development] skurtov:
Max and min sliders
[Nexus 4 Original Android Development] Targaeryan:
Yeah that's wrong.. Means you flashed ukm.. Go back to recovery and reflash the kernel. If that doesnt work I think it'll be better if you dirty flash the ROM and then the kernel.

---------- Post added at 05:01 AM ---------- Previous post was at 04:57 AM ----------

I think this might be the problem. Stock, if I'm not mistaken doesn't support init.d and ukm included in unleashed or ukm in general requires this. I'm not too sure about this.. Can you check using a root explorer go to /etc/init.d and see if there's ukm there or if you even have a init.d folder..
[Nexus 4 Original Android Development] skurtov:
AHA! Thank you
[Nexus 4 Original Android Development] memi_pt:
Yeah man that is there!

So what?
[Nexus 4 Original Android Development] Targaeryan:
Try this or flash a custom rom like frank rom by sykopompos as custom roms have init.d support.

http://www.theandroidhow.com/2014/06/how-to-enable-initd-support-on-android.html
[Nexus 4 Original Android Development] txuki2005:
[MENTION=1316336]defconoi[/MENTION] blue-active governor is not from [MENTION=3873953]eng.stk[/MENTION]`s kernel code blue? I use it on nexus 5 over kitkat.
[Nexus 4 Original Android Development] :
New Toy

[MENTION=1316336]defconoi[/MENTION] has a new shiny toy to play with. He's MIA for a while :p
[Nexus 4 Original Android Development] defconoi:
Lol yea got a nexus player it rocks, sorry guys been playing with it, and busy with family. New kernel is built just gotta upload, bluactive runs well :).

Currently laying in bed though, been a super long week, hope to get it uploaded tomorrow.
[Nexus 4 Original Android Development] defconoi:
Yea its engstk's, I also have it in my nexus 5 kernel
[Nexus 4 Original Android Development] Karo.:
wake up defconi its a new day
[Nexus 4 Original Android Development] Pollie81:
no problem.. we'll be patiently waiting..

relaxing and enjoying other things is very important in life and it's well deserved.
[Nexus 4 Original Android Development] defconoi:
Thanks, currently working on the Nexus 4 kernel now, finishing my Linux 3.9y Workqueue backport ;)
[Nexus 4 Original Android Development] defconoi:
Ok finishing up, did a quick test, gonna upload :) BIG UPDATE, overall performance increased.
[Nexus 4 Original Android Development] eduardozeassesme:
[emoji33] [emoji33] [emoji33] [emoji33] [emoji33] the next nexus 4 unleashed kernel release will be 3.9? Thanks for you time and work [emoji1]
[Nexus 4 Original Android Development] defconoi:
Kernel Update

Unleashed 98u Nexus 4 Kernel Changelog:

Upgraded to Linux 3.4.105

Optimized with ARM Cortex A-15 4.9.3 Linaro Toolchain

Backported Linux 3.9y Workqueue with mod_delayed_work(first for mako)

Introduce blu_active cpu Governor

Overall Performance & Battery Life Increased

Optimized & Updated Alucard Hotplug

All Hotplugs & Drivers upgraded and Optimized to new workqueue for efficiency & performance

Binder: Change MMutex to rtmutex

Synapse: Updated live CPU Monitor & Hotplug monitor & Misc performance fixes

AOSP

CM11
[Nexus 4 Original Android Development] cfrank38:
Small test. Its not booting ... Waiting and waiting on the flying balls... Test it later with more time back con 97 ...
[Nexus 4 Original Android Development] txuki2005:
Awesome update man!!!
[Nexus 4 Original Android Development] defconoi:
Which kernel? Cm or aosp? Works for me on aosp L
[Nexus 4 Original Android Development] defconoi:
as a test just reflashed stock L and its booting, current dexopting
[Nexus 4 Original Android Development] defconoi:
thanks, let me know how it runs
[Nexus 4 Original Android Development] defconoi:
reminder

As a reminder, just flash rom, supersu then kernel, do not flash UKM or install Synapse, it comes pre-installed, if you derped, wipe System in TWRP flash rom/supersu then kernel, no need to wipe data unless things are really derped
[Nexus 4 Original Android Development] mumaster20:
Will try, thanks for the reply!
[Nexus 4 Original Android Development] patil.ketan:
If you are using multirom, try making the rom with this kernel the primary rom.
[Nexus 4 Original Android Development] ntn359:
Yeah I did. I'm using only l with this kernel. And after installing ukm it's fine.
[Nexus 4 Original Android Development] Devin Cuthbertson:
I was keeping up with the updates until after 62u. I can't download the complete file off of media fire, I usually get to 98 KB before it says download complete, am I doing something wrong?
[Nexus 4 Original Android Development] kroizo:
tap and hold download button and choose "save link as.." ;)
[Nexus 4 Original Android Development] frikakwa:
Copy-paste the link from mediafire into Chrome in incognito mode and this should resolve your issue! ;)
[Nexus 4 Original Android Development] defconoi:
Kernel Update

Bug smashing update:

Project name: defcon Kernel:

ion-storm - thrash was removed long ago, removed from Makefile

ion-storm - enable O3 optimization(was Ofast before)

ion-storm - enable swap so ZRAM works, derp...

Stratos Karafotis - cpufreq: Initial CPU utilization should be 0

ion-storm - defconfig: disable STACKTRACE and TRACING

Paolo Pisati - regulator: core: if voltage scaling fails, restore original voltage values

72u-r3:

https://www.mediafire.com/folder/d9ya70vd25cykzr,6d4bwg6qu1355mt,qcgk6b2263kuzgh/shared
[Nexus 4 Original Android Development] Jakkumn:
Been using this kernel on L since the beginning. Still loving it. Keep up the good work! Its always fun coming back from work and seeing a new kernel to flash.

-Jakkumn
[Nexus 4 Original Android Development] 0.0:
Will there be an any kernel version?

sent from Nexus 4
[Nexus 4 Original Android Development] gorilla p:
I have a couple suggestions.

What do you think about shortening up the OP and just keeping a text file for change logs?

You could probably take down the links for old builds.

It would probably help to put the following into the OP along with a link to bit.ly/makostuff. It would save a lot of commonly asked questions.

1 - Flash kernel

2 - Flash UKM

3 - Install busybox - You can install via BusyBox on Rails on play store

4 - Install Synapse from play store

5 - Don't UV. 81MHz should NOT go below 700mv (Only exception is some "faster" binned CPUs

6 - Maximum screen off freq 702-1026

7 - For battery life improvement read optimal battery doc on bit.ly/makostuff
[Nexus 4 Original Android Development] ten_tickles:
What is UKM? :eek:
[Nexus 4 Original Android Development] gorilla p:
Required for synapse to work properly. Download latest from bit.ly/makostuff
[Nexus 4 Original Android Development] defconoi:
Im trying to get zram to actually use swap, but it seems the lowmemorykiller stops processes before it allows it lol
[Nexus 4 Original Android Development] gorilla p:
I flashed 72u and initial reboot rebooted in bootloop. opened synapse and it showed really weird settings. Min and max were both set at 81mhz, neither mpdecision or intelliplug were selected, GPU max freq was set at 200mhz.
[Nexus 4 Original Android Development] Defferex:
Fastest developer on XDA.

Thanks for your work, everything works like a charm on 72u-R3.
[Nexus 4 Original Android Development] defconoi:
hook me up with a log, you may need to clear synapse, also android L sometimes bootloops on initial boot, what rom?

cat /proc/last_kmsg
[Nexus 4 Original Android Development] defconoi:
its really weird intelliplug got disabled and the freqs were at 81mhz, id like to see a log and know which rom you flashed, thats weird. One thing I do know is disabling intelliplug will make it bootloop, mpdecision does not exist in my kernel.
[Nexus 4 Original Android Development] aviz1911:
This happened for me too. Clean flash on Mahdi ROM and max,min are 81mhz, governor is ondemand and GPU max is 200 and all the 4 cores are online. Phone was just hanging like hell and I flashed Franco - everything is fine then.

So, for intelli_plug profiles to work you say we need to change the max online cores too? Then what is the use of selecting a profile?
[Nexus 4 Original Android Development] Zirillian:
I too had this happen along with gorilla p. I am on latest Mahdi ROM (4.4.4). I did not bootloop, however, but noticed settings were super funky in Synapse....I corrected them all back to normal and have been fine since. This has happened twice now on different kernel versions (probably 70 and 72 maybe, I don't remember).

The next time it happens I will get a log for you.

Otherwise, big fan of this kernel. Keep it up. I'm coming from AK and was really worried about the kernel situation after he migrated to the One+ until I found this.
[Nexus 4 Original Android Development] letroll59:
Is it possible to add this patch? https://github.com/pelya/android-keyboard-gadget
[Nexus 4 Original Android Development] defconoi:
just an fyi, I stopped supporting Kitkat roms, if you use Kitkat, consider it experimental, off hand I forget which kernel was fully kitkat compatible, maybe 94u? I'm developing for Lollipop exclusively now
[Nexus 4 Original Android Development] cfrank38:
Android l ... Will now test again with new download

---------- Post added at 04:03 PM ---------- Previous post was at 03:59 PM ----------

Redownloaded and working :rolleyes: strange
[Nexus 4 Original Android Development] Vinnom:
If I'm not mistaken, 92u asomething was the last that you said that would fully support kk roms. The others were reported as working in some kk roms, but idk how many of them.
[Nexus 4 Original Android Development] Targaeryan:
Yeah 92u was the last working on stock kk ROMs. I did get 95 cm to work on liquidsmooth kk. Now I'm on L as well so its all good.
[Nexus 4 Original Android Development] Karo.:
good job [MENTION=1316336]defconoi[/MENTION] awesome update

tested on rostapop
[Nexus 4 Original Android Development] ktetreault14:
[MENTION=1316336]defconoi[/MENTION] I'm sorry if this was answered already but did you update to 5.0.1 sources?
[Nexus 4 Original Android Development] defconoi:
nothing changed in kernel source from 5.0 to 5.01 for nexus 4 so yes, its updated, and this kernel was the first kernel to support Android L
[Nexus 4 Original Android Development] ktetreault14:
It's just that I can't get this kernel to boot on 5.0.1 but Nash r8.1 boots, and sources were updated. I'll see if it was my mistake.
[Nexus 4 Original Android Development] Benjamin_L:
Working fine here on rastapop, slim and Euphoria. So i guess its a problem in your side
[Nexus 4 Original Android Development] ktetreault14:
Thanks for confirming. I'm am trying on simple aosp. R6
[Nexus 4 Original Android Development] iskandar1023:
Works well here

posted by mako
[Nexus 4 Original Android Development] ktetreault14:
Wow I'm just rally having problems then. Lol
[Nexus 4 Original Android Development] :
Alucard Against Hyper

[MENTION=1316336]defconoi[/MENTION] the latest release 98u works good, responsiveness has really improved. I compared Alucard with Hyper, it seems the former offers better scrolling and faster opening of apps. Hyper is still very good though, I'm satisfied with it, but I'll give Alucard an extensive test when I got time.
[Nexus 4 Original Android Development] d9ny:
Try blu-active...compare with hyper...i feel better battery life i think..
[Nexus 4 Original Android Development] R-Rizzo:
Kit Kat seems so antiquated now.
[Nexus 4 Original Android Development] kskevinstewart7:
98u works perfectly here with LRX21T :)
[Nexus 4 Original Android Development] sykopompos:
That's like so old now... :p
[Nexus 4 Original Android Development] hardwareadictos:
Can someone recommend me a good battery saving governor? :)

And one more question: i read somewhere that setting min freq to 81 mhz is worst for battery than set it to 168 because of changing more times cpu speed, is it true?
[Nexus 4 Original Android Development] kskevinstewart7:
0 HYPER 1 HYPER 2 HYPER 3 conservative
[Nexus 4 Original Android Development] d9ny:
Try :

0 hyper 1 hyper 2 alucard 3 nightmare

0 blu-active 1 blu-active 2 alucard/hyper 3 alucard/hyper
[Nexus 4 Original Android Development] edilber:
?

(Uv gpu) is will return include gpu_mv_ table ?
[Nexus 4 Original Android Development] nixie2121:
What's the highest undervolt that is safe? I do global -125 with no issue.. Should I try for more or leave as is? Thanks
[Nexus 4 Original Android Development] Targaeryan:
At whichever point your device reboots, that's the lowest uv you can go ;)

But it depends though.. My device can survive global 125 but I need to up the voltage for the 81mhz to 700mv for it to be stable. You should go -5mv step by step and see if it reboots. If it does maybe up the lowest freq voltage by 5 and see if it's stable.. End of the day it's trial and error. If you wanna go lower to find ideal my for every freq step then you have to expect lots of reboots. I'm satisfied with 125 global.
[Nexus 4 Original Android Development] txuki2005:
[MENTION=1316336]defconoi[/MENTION] ... All go fine here with last version on SimpleAOSP, stable,fast, efficiency, battery.... only need love with this version XDDDDDDD

Thanks you!!
[Nexus 4 Original Android Development] :
5 lbs Weight Gain

It's all good [MENTION=1316336]defconoi[/MENTION]

New toys and Thanksgiving sleep coma :highfive: means belated releases.