yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] gorilla p:
I downloaded the profile and imported it again with no problems.

Please look up the proper way to restore profiles and confirm you are doing it properly, as this message is given when not restored properly.

http://xdaforums.com/showthread.php?p=55006460

Sent from my Nexus 4
[Nexus 4 Original Android Development] defconoi:
Added Alucard Hotplug Tunables to post #2
[Nexus 4 Original Android Development] gorilla p:
Thanks for posting the info in there regarding the tunables.

I had been wanting to try Alucard, but I didn't understand everything going on in there.

When you have time, could you post that information for some of the other governors (Hyper, intellidemand and SmartMax preferably)?

Thanks again for your time.
[Nexus 4 Original Android Development] defconoi:
Ryan, thanks for the Donation, really appreciate it ;)
[Nexus 4 Original Android Development] kskevinstewart7:
Can anyone tel me what's deep sleep exactly? And why it is different from 81Mhz ?? :what:
[Nexus 4 Original Android Development] Targaeryan:
Deep sleep= no cpu activity

81mhz=cpu is still on and is using running at 81mhz=battery still being drained.

Well that's the gist of it.. There are different sleep States also.. C0-C3 explained inside Synapse.
[Nexus 4 Original Android Development] gorilla p:
Update on bit.ly/makostuff

Latest TWRP 2.8.2.0 added

SuperSU beta 2.27 and new hybrid LTE modems available as well.

Added new AK kernel v500

(Profiles on the way)

Time to get your flash on

Sent from my Nexus 4
[Nexus 4 Original Android Development] sakis_the_fraud:
it's true, i wasn't applying the settings before clicking restore.

but now i get "unfortunately synapse has stopped". :/

i have to clear data to use synapse again...
[Nexus 4 Original Android Development] dannycardoz92:
choose the profile you want to set..click the tick mark and then click restore..synapse will close..it's normal

then wait for a few seconds it will open up..if it doesn't open it yourself and click the 'x' and NOT the tick mark ;)
[Nexus 4 Original Android Development] stylazation:
do need to flash fresh rom? or can install over the current and with current kernel that i suppose is stock custom rom kernel.
[Nexus 4 Original Android Development] dannycardoz92:
you need to be rooted ..flash supersu 2.27 to get root..should work with that build

you're using b22 right
[Nexus 4 Original Android Development] stylazation:
Yes, [Mako-LRX21M-Frank-B22.zip] to be exact. Already Rooted: Yes.
[Nexus 4 Original Android Development] BB6H22LUDE:
Someone said to post last_kmsg to post. Like copy and paste? If so it's too long and says so.
[Nexus 4 Original Android Development] Vinnom:
With your rom you can install without problems.

Vinnom - Sent from mako
[Nexus 4 Original Android Development] sakis_the_fraud:
After step 3, i get " unfortunately synapse has stopped working"....
[Nexus 4 Original Android Development] dude6595:
most likely cause thats step 4 ;)
[Nexus 4 Original Android Development] sakis_the_fraud:
After this, every time i try to open synapse i get the same error.

In order to open it properly i have to clear data.
[Nexus 4 Original Android Development] dude6595:
you sure your using the correct profile(s) for this kernel and not one of the other by mistake?
[Nexus 4 Original Android Development] sakis_the_fraud:
I suppose yes, i am using 95uv2 and the profiles are for 95u.

Do you think that this error occurs because im using the version 2 of 95u?
[Nexus 4 Original Android Development] dude6595:
looking at that screen shot the name looks a little different than the one on bit.ly/makostuff .....maybe try downloading again....at least till someone else has an idea
[Nexus 4 Original Android Development] stylazation:
Thanks.

What additional programs do you prefer to use as to control the kernel. If u may please.
[Nexus 4 Original Android Development] a g bell:
[MENTION=1316336]defconoi[/MENTION] any chance of releasing a version without ukm and synapse scripts built in..
[Nexus 4 Original Android Development] CamoGeko:
Haha wow, sounds like you're barking up quite literally the wrong tree :p

Its been the anykernel setup for like ever lol :D
[Nexus 4 Original Android Development] a g bell:
Ehh?

---------- Post added at 08:58 PM ---------- Previous post was at 08:57 PM ----------

The nexus5 kernel doesn't require you to install ukm and synapse they are built in to the kernel

Don't remember it being that way on the 4.
[Nexus 4 Original Android Development] CamoGeko:
Oh right, but thats Nexus 5 lol

New era of Unleashed :p
[Nexus 4 Original Android Development] a g bell:
Just its causing many issues using various ROMs? would be nice to have a choice

Having one thread for both confuses me??????
[Nexus 4 Original Android Development] Vinnom:
Synapse is built in. I don't use it, I use init.d script.

Vinnom - Sent from mako
[Nexus 4 Original Android Development] stylazation:
Alright.

getting this.

defcon-95u-v2-unleashed-CM11_mako.zip

size:

6MB

dated:

Nov 19, 2014
[Nexus 4 Original Android Development] shadeMe:
[MENTION=1316336]defconoi[/MENTION], what's the feasibility of implementing a volume-rocker-wake feature at the kernel level?
[Nexus 4 Original Android Development] gorilla p:
I wonder if it is a L/5.0 issue.

Also, I created the profiles using KK/4.4.4

Sent from my Nexus 4
[Nexus 4 Original Android Development] defconoi:
Honestly, I'd much rather pocket mode proximity dt2w than this feature, but features like this can be done ROM side
[Nexus 4 Original Android Development] sakis_the_fraud:
It's time for an update then :P

Anyway, could you suggest some battery saving features, like governors for example.

Right now i'm using only d2w and UV -70mv.
[Nexus 4 Original Android Development] gorilla p:
Well first, you need to use synapse to take advantage of the features.
[Nexus 4 Original Android Development] sakis_the_fraud:
I'm using synapse for these changes, but there are too many options and features in there that i got lost!
[Nexus 4 Original Android Development] stylazation:
Any thread to learn to use synapse? Or best so settings for mako.

Should set maximum frequency for CPU 0 or all CPUs. Would like to learn.
[Nexus 4 Original Android Development] dannycardoz92:
whoa wait...if you're using B22 the don't flash this version ..its for CM11

you need to flash the latest aosp version https://www.androidfilehost.com/?fid=95784891001613122

There's an explanation of each tunable in the synapse app for this kernel which pretty much lays out what each option does :)

gorilla p has posted a link to different profiles for this kernel..battery, balance, performance etc you can apply those
[Nexus 4 Original Android Development] karanrajpal14:
Synapse crashes every time I try to restore a profile. I'm running 95v2 and I'm attempting to restore the battery balanced profile. Any ideas?
[Nexus 4 Original Android Development] dude6595:
if you can start the program after the crash and press the X then this is normal....
[Nexus 4 Original Android Development] karanrajpal14:
Can't even start it. It just crashes after opening.
[Nexus 4 Original Android Development] prithvic:
Info for tuning profile Synapse

1.Screenshots for Manual Tuning(for those cannot restore using Synapse as it crashes on restore)

2.Drop-box Link for restore-able profile

Thanks [MENTION=5403224]Targaeryan[/MENTION] for sharing it with me, People looking for a battery + performance profile and are new to kernel tuning, give it a try too!

Link & profile credits: [MENTION=5403224]Targaeryan[/MENTION]
[Nexus 4 Original Android Development] dude6595:
i think it may have something to do with KK and L....i tried restoring one of your profiles on L and its crashed and even killed root but if i restore my own i created it works just fine so it has to be something there.... :confused:
[Nexus 4 Original Android Development] stylazation:
Would like to get my hands on that link.

Still I was confused if to increase cpu0 only or all CPUs to the same value. And how to get battery to give more juice. Yes all options give out detailed overview what they do. Most if the parts are having two three words that I have to google to know about what does that mean.

And my google now stopped working right after installing. don't know if that's a feature or error.
[Nexus 4 Original Android Development] defconoi:
badass, I've been bug smashing with my kernel, banging my head on fixing a few bugs, has 81c for mako been worked on since oleg did his first work on it a few days ago? Right now im working on fixing this one random reboot, once its fixed I'll move on to flo ;)
[Nexus 4 Original Android Development] sykopompos:
Nope, he just merged in the n5 differences which brought even more hybrid and extra stuff in.

I'm rebasing completely on the n7 81c image because I was hitting the wall with aosp because of how mixed it was so now I will have a completely clean base to work with and most of my issues I was hitting should be gone

Sent from my LG-D851

---------- Post added at 10:43 PM ---------- Previous post was at 10:41 PM ----------

[MENTION=1316336]defconoi[/MENTION] the base images for you to get started on. Everything is up on github in the rebase repos

Sent from my LG-D851
[Nexus 4 Original Android Development] defconoi:
Syko, do you have a thread for your N7 rom yet?
[Nexus 4 Original Android Development] defconoi:
I uploaded a kernel with some fixes, im not sure if it will fix your issue, please thoroughly test this. You seem to be the only one with random reboots, but I'd also like anyone who can to test this as well, especially DT2W and testing suspend/resume normal usage

Changes:

Sahitya Tummala - mmc: block: Fix error path of mmc_blk_alloc_req()
Tatyana Brokhman - block: do not notify urgent request, when flush with data in flight
Vinayak Menon - staging: binder: add vm_fault handler
ion-storm - disable debugging on some modules

72-r2:

https://www.mediafire.com/folder/e229odo9cbn499q,q46bwrk86cu06vg,c506ad61hozoe99/shared
[Nexus 4 Original Android Development] sykopompos:
Not yet. Once we get it fully up to were bunny stew is and past there I will be making a flo Dev thread. I wanna keep them consistent across devices right now on where we are at before making new threads.

I'm rebasing the entire thing with new repos as part of the breadcrumbs series so everything can be traced all the way up.

Mako hasn't been started yet, just forked and staged. The template repos are just that. A base permissive template of 81c with root to use for other devices and is not to be directly worked on.

Only working projects so far are flo and hammerhead. I'll add the readme to them tomorrow as they are just staging points for right now

Sent from my LG-D851
[Nexus 4 Original Android Development] Roye_V:
I'm getting random reboots too.

On omni rom. Seems only to happen when I'm on hyper with conservative intellplug
[Nexus 4 Original Android Development] gorilla p:
I've had no reboots using HYPER gov on Dirty Unicorns, ART, (No Xposed, dalvik patch, etc)

Can someone tell me what the micro_freq_up_threshold does?

Also is up_threshold_min_freq, the min load required to leave the minimum freq (I.e. 81mhz)?
[Nexus 4 Original Android Development] aviz1911:
The new intelli_plug profiles, are they working correctly?? I tried profiles like Eco(2), tri etc but when opening an app all the 4 cores are online.

EDIT: Tried tweaking it in both synapse and init file, but no luck.

Can you just remove these init scripts and just set defaults from defconfig file so that synapse will read the correct values and it will be easy to tweak the kernel- Personal opinion only :)
[Nexus 4 Original Android Development] iskandar1023:
Same with me, lol i just want to ask about this and then i saw your question[emoji16]

I've wondered why mc5 gameplay is so smooth even with only 2 cores on[emoji15]
[Nexus 4 Original Android Development] kalpik:
That's what I noticed too. The kernel doesn't seem to obey a lot of the options set in synapse.
[Nexus 4 Original Android Development] sidnoit22:
Dont forget i have MS Paint. :fingers-crossed:
[Nexus 4 Original Android Development] ntn359:
Why am I getting no UCI supported in synapse
[Nexus 4 Original Android Development] sykopompos:
You don't have busybox installed

Sent from my LG-D851
[Nexus 4 Original Android Development] manulemaboul:
Do you have UKM ?
[Nexus 4 Original Android Development] defconoi:
You have to set Max cores online as well when setting the profiles. They seem to cancel each other out. Neobuddy changed a few things that I'm looking into, also hysteresis setting is useless and pretty much unneeded now.
[Nexus 4 Original Android Development] zakk87:
[MENTION=4875073]ntn359[/MENTION] flash this zip http://xdaforums.com/showthread.php?p=54870135
[Nexus 4 Original Android Development] defconoi:
Also it seems hysteresis is no longer a changeable setting, changing max cores changes hysteresis.
[Nexus 4 Original Android Development] mumaster20:
Just got a random freeze and reboot.

Been running the same setup as previous kernel (hellscore) -100mV across the board, min 81 MHz max 1512 MHz.

Do you know whats the reason for the reboot? Maybe the undervolt not being stable on your kernel? Which seems strange because from 4.2 and onwards i could undervolt by 100mV stable.

Link to last kmsg: https://www.dropbox.com/s/9wxi9xojdmy3j40/last_kmsg.log
[Nexus 4 Original Android Development] defconoi:
The voltage table on this kernel is a lil lower by default, so you may not be able to undervolt the same amount as hell score since its already uv'd
[Nexus 4 Original Android Development] defconoi:
This message here is a HW error, it doesnt like your UV on 81mhz, up that a lil bit and this may go away:

[ 178.102456] L1 / TLB Error detected on CPU 0!
[ 178.103311]	CESR = 0x00000002
[ 178.104074]	CPU speed = 81000
[ 178.105447]	MIDR = 0x510f06f2
[Nexus 4 Original Android Development] dannycardoz92:
check the profile of [MENTION=5403224]Targaeryan[/MENTION] linked above

these are the [MENTION=4362467]gorilla p[/MENTION] profiles

https://drive.google.com/folderview...&usp=sharing&tid=0B77BTW0zStYCSTRIYWpZQS1nOWs

try switching the block offensive words lol

clear data of google search and try rebooting or downloading again
[Nexus 4 Original Android Development] gorilla p:
I think you may have another issue going on, because there is no way a synapse kernel setting profile is going to break your rootm
[Nexus 4 Original Android Development] dude6595:
either way root isnt the point....just trying to help with the issue of profiles not working for the other guys.....obviously there is an issue somewhere :)

i think i just found the issue....send me a new profile (if you can) with your selinux set to permissive......i was looking at yours and its showing that the profile is set to enforcing...mine is on the left in the screenshot

View attachment 3029309
[Nexus 4 Original Android Development] stylazation:
Yeah, been there. Ain't working. ?

Thanks for the tips. ???
[Nexus 4 Original Android Development] humba80:
I can't get my VPN to work. I read in this thread, that other people have this problem too. Is it Kernel related? Because when I flash stock-kernel (Mahdi-Rom) the VPN works. Is there gonna be a fix for that? Thx!
[Nexus 4 Original Android Development] gorilla p:
Please try the Unleashed 95u Bat-Bal Test profile and report if that one fixes the problems. It has SELinux set to permissive which very well could have been a problem on 5/L.
[Nexus 4 Original Android Development] dude6595:
think that was it, no crash this time :highfive:
[Nexus 4 Original Android Development] Vinnom:
[MENTION=1316336]defconoi[/MENTION]

Doesn't the pump_dec_step feature do the inverse of pump_inc_step?

In your description of it in second post is lot different from what I expected, I'm just trying to confirm ^^

Vinnom - Sent from mako
[Nexus 4 Original Android Development] defconoi:
your right, good catch, fixed:

pump_dec_step_1-4:

Governor should decrease CPU0 frequency by n step each time CPU load reaches dec_cpu_load default 30%
[Nexus 4 Original Android Development] sakis_the_fraud:
it didn't work for me :(

[MENTION=3611149]karanrajpal14[/MENTION] did it worked for you?
[Nexus 4 Original Android Development] seilogeo:
Sorry if my question is completely wrong but shouldnt the " pump_dec_step_1-4 " be measured in steps and not in % ??

As the " pump_inc_step_1-4:" and the " pump_inc_step_at_min_freq_1-4:" do?
[Nexus 4 Original Android Development] pianistaPL:
Hello [MENTION=1316336]defconoi[/MENTION] I can't find a thread with this fantastic kernel for Nexus 5. Am I blind or you really didn't open any thread? I just realized that you build a kernel for hammerhead. I think many people doesn't know about your amazing work.
[Nexus 4 Original Android Development] Shad0w32:
Answered here:

http://xdaforums.com/showthread.php?p=56889073
[Nexus 4 Original Android Development] pianistaPL:
Thanks. This kernel is something amazing, I'm really happy that I found it.
[Nexus 4 Original Android Development] Shad0w32:
Indeed. With Syko's Frank, it just perfect
[Nexus 4 Original Android Development] defconoi:
Yes, alucard has this in his app unsure why he has 30% set. Pump Dec step is 1 as default
[Nexus 4 Original Android Development] defconoi:
To be honest I haven't had the time yet to make one, but I will be doing so, the nexus 5 kernel is pure awesome, especially the latest. A lil news on that, the next release will probably be reverted to Linux 3.4 from 3.4.104 because I actually pulling in Linux 3.10+ stuff that is incompatible because its old. My kernels are more linux 3.8+ than 3.4.104. Eventually we will be at Linux 3.10+ already half way there :)
[Nexus 4 Original Android Development] gorilla p:
OK, so I upgraded to 5/L. Velocity has a 5/L release and it is excellent and perfectly stable so far.

The PA GApps 5/L Alpha

Unleashed 95u

Synapse

SuperSU Beta 2.27

Are all working perfectly.

<Soapbox>Getting everything working perfectly with this latest Android release has been a very time consuming challenge (especially for Chainfire)

PLEASE consider donating to your devs. Even if its only $2, if everyone donated $2, it would add up. </Soapbox>

If anyone wants to try out Velocity, PM me as the dev has requested that it not be shared on XDA, so I'm not comfortable with sharing it in here publicly.

Anyways, I created a new Synapse profile in L (Unleashed 95u Bat-Bal v2.0.

Can someone test this and see if it works for them?
[Nexus 4 Original Android Development] defconoi:
How does unleashed run on velocity? Pm me the link, BTW is it same google drive link as before?
[Nexus 4 Original Android Development] spider623:
velocity is so fast that the clock doesn;t have time to sync on boot but it also drains the battery like crazy and doesn't include webview that is a must to use the wifi in the campus, the real challenge is to get more battery saving that the stock rastapop :p
[Nexus 4 Original Android Development] gorilla p:
I have latest velocity and webview is installed. Whether via that or something else.

I copied the webviewer apk to the apps folder on bit.ly/makostuff in case you or anyone needs it.

Idk if it'll work

---------- Post added at 08:18 PM ---------- Previous post was at 08:03 PM ----------

No, Its not on there. I've pmd you the link
[Nexus 4 Original Android Development] kskevinstewart7:
1.Stock lollipop and unleashed 95u v2, when using 3G , my N⁴ heats up and I have battery drain, but on WiFi and 2G no problem's.

2. I get random 2 second freezes. (especially when using chrome)

Any suggestions people?
[Nexus 4 Original Android Development] zellleonhart:
Flashed Velocity ROM with 95u v2, and all the necessary stuff, feels smooth and no problems so far.

Love the 0.75x animation speed :D
[Nexus 4 Original Android Development] kskevinstewart7:
How's the battery drain? ;)
[Nexus 4 Original Android Development] zellleonhart:
Not sure, my battery life/drain has been bad no matter what ROM I use. So far it seems to drain slightly faster than syko's frank but I can't say for sure.
[Nexus 4 Original Android Development] rrohanjs:
can someone provide me a link where i can learn about synapse and the battery profiles and how to use it and stuff like that .. i tried searching dint get much
[Nexus 4 Original Android Development] :
Eliminating Annoyances

I hate stutters when scrolling my Google Now page, when pressing the home button from any screen to my home screen, I hate the jerks when swiping pages in my app drawer or when scrolling the notes in my Google Keep widget, I hate the delays even in microseconds when opening apps or when when multitasking, I so hate this badly coded Hangouts app that scrolling contacts and messages is so jerky and laggy. What's Google been doing. All these, to me, are annoyances.

I so love it that Unleashed gives me an option to eliminate these issues. If you hate the things I've mentioned, then you might as well try. Please note that I am not battery-obssesed, so this is certainly not for those who are. This is for people who love seeing their device work smoothly and still get a battery life that's better than Google's stock kernel.

On 95u-v2.

1. All CPUs overclocked to 1836MHz

2. CPU Max Screen Off to 702MHz

3. CPU Boost Duration to 60MS

4. Input Boost Duration to 1000MS

5. CPU Input Boost Frequency 1350MHz (All CPUs)

6. Undervolted by -110mV

7. Double Tap to Wake and Swipe to Sleep active.

Observations:

1. In this settings, screen off time should be a little bit, but insignificantly better than stock Unleashed.

2. Majority of CPU usage is at 1350MHz at around 15%. Google stock settings is at 1512MHz so, this is better, plus the efficiency of Intelliplug.

3. I tried setting CPU Input Boost Frequency to 1512MHz, I saw a good bit of battery used up but smoothness isn't significant from 1350MHz.

4. CPU usage only hits 1836MHz during heavy load or multitasking which in my case, constitutes around 7.5%.

I still get 3-4 hours of screen on time on a 14-16 hour cycle, depending on my activities. This is achieved with WiFi on all the time, 2 Google Accounts, 1 IMAP and 4 Exchange Accounts to sync, plus Skype, Viber, Hangouts, Facebook App and Messenger, Cerberus all running actively. Add to that the constant notifications I received from Tapatalk.

The usage of each user is different and unique. But this one fits me well.
[Nexus 4 Original Android Development] dannycardoz92:
there are details within synapse itself about each tunable... gorilla p has provided some profiles here https://drive.google.com/folderview...&usp=sharing&tid=0B77BTW0zStYCSTRIYWpZQS1nOWs

I guess you know how to apply the profiles in synapse

hate them bloody things as well :p

firstly..thanx for providing the settings..nice of you to share the details and experience too :D :good:

I'm going to tweak mine accordingly ;) cheers
[Nexus 4 Original Android Development] :
You're welcome. Also, overclocking is not necessary to achieve the same level of smoothness as I further observed. Have fun tweaking.
[Nexus 4 Original Android Development] k3vink3vin:
No battery drain but I get that random 1-5 second freezes in chrome too. Stock lollipop.

My setting follows Targaeryan's

http://xdaforums.com/nexus-4/orig-d...nel-series-t2845768/post56907554#post56907554
[Nexus 4 Original Android Development] llevin:
OP says:

Coming from Hells Doctor, is there any way to flash stock without reinstalling the entire ROM? (Frank .99999)
[Nexus 4 Original Android Development] Targaeryan:
Flash just the rom.. Don't wipe anything.. This way the rom kernel is installed.
[Nexus 4 Original Android Development] aalvico:
Maybe is a kernel related since it works with other ones, the option for me is to use apps, try VPN root, it works for PPTP also open VPN works for what it supports, with them I can get data after connection what doesn't happen if adding from settings.