yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] Targaeryan:
Yup it werkzzz!

You can try out my settings.. Min freq 81, max 1612 for all CPUs.. Governor from CPU0-3 bacon, hyper, bacon and alucard. Hotplug alucard.
[Nexus 4 Original Android Development] caluz78:
No led working here on latest release
[Nexus 4 Original Android Development] defconoi:
I never knew there was one? I re-added led triggers 3 releases ago. What about leds are not working?

compiling a new kernel without Stratosk's LED Thermal Triggers, they must be interfering
[Nexus 4 Original Android Development] txuki2005:
[MENTION=1316336]defconoi[/MENTION] be quiet all go fine here with leds :P
[Nexus 4 Original Android Development] defconoi:
u sure? im actually compiling 2 new kernels, 2 ppl just said leds dont work so i dunno lol, they worked for me
[Nexus 4 Original Android Development] :
LEDs work fine since the fix.
[Nexus 4 Original Android Development] defconoi:
now I need to test the leds, someone send me a msg lol
[Nexus 4 Original Android Development] kalpik:
Lol! LEDs all fine here :)
[Nexus 4 Original Android Development] hardwareadictos:
Guys when i set cpu to minimum 81mhz when phone idles only reaches 384mhz, with smartmax and included on 95u synapse :(
[Nexus 4 Original Android Development] Defferex:
But LED work fine for me on 94u and Nexus 4.
[Nexus 4 Original Android Development] defconoi:
you need to tune smartmax to use lower freqs more, I'll tune it better in my next release ;)
[Nexus 4 Original Android Development] Defferex:
Same problem. Occurs on 94u too.
[Nexus 4 Original Android Development] chineel:
94u CM version working fine On my Beanstalk ROM
[Nexus 4 Original Android Development] Defferex:
Maybe you can write for us description about governors & hotplugs tunables? So many settings here but most of them have confusing names.
[Nexus 4 Original Android Development] rodries:
About init.mako.rc

Hi

I've seen that your init.mako.rc is very different from r7 (not talking about freqs, thermal or governors)

Example

Your init.mako.rc

service conn_init /system/bin/conn_init
class late_start
user system
group system wifi
seclabel u:r:conn_init:s0
oneshot

mako r7 branch init.mako.rc

service wcnss_init /system/bin/sh /system/etc/init.mako.wifi.sh
class late_start
user system
group system wifi
seclabel u:r:conn_init:s0
oneshot

Is this done on purpose?
[Nexus 4 Original Android Development] dannycardoz92:
been working since 92_a8 perfectly ..!!!

thanx def..!!!
[Nexus 4 Original Android Development] defconoi:
my kernel does not include these changes, the only change to the init is that it adds init.d support to the end of init.rc and uses sed to disable mpdecision
[Nexus 4 Original Android Development] rodries:
Thanks a lot for clarification, I was looking at your github source.
[Nexus 4 Original Android Development] defconoi:
which branch, its possible your on an older branch
[Nexus 4 Original Android Development] defconoi:
were you looking at the ramdisk directory? I need to delete that, thats old, look at the Anykernel directory

https://github.com/ion-storm/Unleashed-N4/tree/Unleashed-aosp/AnyKernel
[Nexus 4 Original Android Development] kalpik:
Yeah, I wasn't over clocking. Seems that the kernel ignores the max CPU frequency, as set in synapse.
[Nexus 4 Original Android Development] defconoi:
Ya, seriously don't complain about reboots hen using an obscene speed that your phone can't handle, lower it down to stock speed and up the minfreq to stock as well.
[Nexus 4 Original Android Development] kalpik:
I had set max 1.5ghz on synapse. It still ends up using 1.9ghz :(
[Nexus 4 Original Android Development] defconoi:
Something is wrong with your settings, in weeks my phone has never touched that frequency.
[Nexus 4 Original Android Development] kalpik:
Thanks. I'll check again. Sorry for the trouble.
[Nexus 4 Original Android Development] Mata99:
[MENTION=1316336]defconoi[/MENTION]

What do you think of compiling a kernel with o2 or o3 Optimisation?

I would also point out that it is sep version 4.10 of Linaro.

what do you think you would say to remove all bugs to improve performance?
[Nexus 4 Original Android Development] justthefacts:
Where can I get the Build.prop tweaks for TMobile ?
[Nexus 4 Original Android Development] defconoi:
OK, I'd check other root apps that manage freq and remove all init scripts and uninstall synapse and reinstall it, something is making the freq go too high in your setup, nobody else experiences this issue
[Nexus 4 Original Android Development] txuki2005:
No problem here yet [MENTION=1316336]defconoi[/MENTION]

Miles thanks for fix all bugs.

Only now waiting [MENTION=5658634]apb_axel[/MENTION] to fix synapse for this great kernel.

P.D: is it possible to ad elemtalx governor? from [MENTION=4684315]flar2[/MENTION] dev?
[Nexus 4 Original Android Development] bitstra:
[MENTION=1316336]defconoi[/MENTION],

if you havn't seen it - the N4-L-port-bunny-thread reached10,000 postings today :http://xdaforums.com/showpost.php?p=54877529&postcount=10000

Thanx for your hard and brilliant work!
[Nexus 4 Original Android Development] sykopompos:
Its a party and to celebrate, we are knocking it all down and rebuilding :D

We can rebuild it and make it leaner, faster and stronger. We have the skills and technology now

Sent from my LG-D851
[Nexus 4 Original Android Development] defconoi:
Sure, I'll try to implement all kernel features, also guys, let me know about any other features you'd like to see, I'll try my best to add everything I can :)
[Nexus 4 Original Android Development] aviz1911:
[MENTION=1316336]defconoi[/MENTION] No random reboots for me. Rocking the latest version with -100UV, bluactive CPU governor(I'm a fan of purified kernel), 81min and 1512max, intelli_plug with conservative(4). Getting 3-4hours SOT and my mako is super cool when playing riptide and boom beach ;)

I see hysteresis value for intelli plug is changing to default(8) when ever I close and re-open synapse. I always need to press the x at the top to stop it from changing to the default value. Other than this all the other tunables I tested are working fine :D

DEAL WITH IT !!
[Nexus 4 Original Android Development] defconoi:
Thanks [MENTION=4914494]aviz1911[/MENTION], that means allot coming from an awesome dev like yourself! Guys allot of code here implemented is from aviz so he deserves some credit for this kernel, so does [MENTION=4316709]savoca[/MENTION], [MENTION=2923435]barome[/MENTION], [MENTION=3795148]neobuddy89[/MENTION] @ak, and others. All I did really was throw the best of the best, by the best of the best devs together in one kernel. I'd like to think its an indirect collaboration of these devs work :)
[Nexus 4 Original Android Development] bart.found:
I tried a lot of kernels for my mako! Franco is a simple kernel, it works out of the box and I used it when I wasn't so expert in kernel matters... then I tried HellsCore, AK, and HellsDoctor.. HellsCore is neat and easy to setup... HellsDoctor is a great kernel (in theory) but my mako never found a real feeling with those kernels (probably for the different frequency table I had a lot of SoD)... AK was my kernel when I was on kitkat, I love it, and I'm very pleased that [MENTION=4450732]CallMeAldy[/MENTION] is continuing @ak's work... but [MENTION=1316336]defconoi[/MENTION] made a masterpiece! This kernel is only for power user.. but it has everything you can imagine! Thank you!
[Nexus 4 Original Android Development] gorilla p:
The URL listed in the comment you replied to
[Nexus 4 Original Android Development] kalpik:
Already done all that. Seems frequency was fine this time. But got a watchdog reboot :(

https://www.dropbox.com/s/yv84nufaa3ksf8t/last_kmsg-2014-08-18.06.18.23.txt
[Nexus 4 Original Android Development] kalpik:
CrDroid. CM based. Using CM version of your kernel.
[Nexus 4 Original Android Development] sykopompos:
We are ready for you on flo for your kernel [MENTION=1316336]defconoi[/MENTION]. Base 81c previews are up and fully working for flo and hammerhead with my aosp ramdisk with permissive selinux and full working root so you can get working on flo without worrying bout me messing your kernels up.

Mako is getting rebased on a clean base now but I won't be modifying the ramdisk yet but it will be slightly just to get certain things the same across devices

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

Small update:

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 - dont comment out cpuboost, set 500ms boost at driver level
ion-storm - upstream fixes for cpufreq.c

AOSP/L

CM11
[Nexus 4 Original Android Development] caluz78:
Ok I understand what's going on: led not working if i enable interruptions. I think it's something wanted by Google.. Strange, cause led doens't make noise! :)
[Nexus 4 Original Android Development] TheDarkDefender:
Damn. Sorry, I assumed it was known, from what i read.

Anyway, my LED is partly borked. Notifications work fine, well mostly. Charging LED and low battery indicator either do not work at all or are sporadic. :/

Running 92-u8
[Nexus 4 Original Android Development] mammenj:
This version is laggy, also thermal removed?
[Nexus 4 Original Android Development] hardwareadictos:
Okay men! Thanks! Is there any gobernor that can substitute it while you do the magic? :D
[Nexus 4 Original Android Development] defconoi:
Change this setting lower, I upped it to stay in lower freqs longer to increase battery life. As you see small changes like this can effect performance overall, thermal was not touched, if its missing from synapse, reset synapse/reinstall kernel
[Nexus 4 Original Android Development] Defferex:
In Synapse go to Misc, scroll down and set everywhere «none» under LED control.
[Nexus 4 Original Android Development] defconoi:
Already tuned in 95u-v2
[Nexus 4 Original Android Development] TheDarkDefender:
Sorry, I use trickster mod

Is there no other way?
[Nexus 4 Original Android Development] defconoi:
your going to have tons of issues with trickstermod.... I do not recommend at all to use that with my kernel.

Do not set any cpufreqs/overclock/underclock with trickstermod, your gonna have problems, also most features will not show up in trickstermod and wont be compatible, I advise strongly against it at least until trickstermod gets updated to support all features
[Nexus 4 Original Android Development] Ginel:
if i dont use any kernel tool manager is any problem??? i just want to flash it and stay stock and not to tweak it. is any problem?
[Nexus 4 Original Android Development] hardwareadictos:
Sorry [MENTION=1316336]defconoi[/MENTION], 81mhz still not scalling, min freq. Keeps on 384mhz :( con ver.2
[Nexus 4 Original Android Development] rodries:
Yes, you are right, I was looking at ramdisk directory. Now I understand that your kernel doesn't modify the ramdisk you are using the original.

Thanks a lot
[Nexus 4 Original Android Development] TheDarkDefender:
Ok, so I'm flashing this zip and then installing Synapse or whatever that is. Is that all?

Hope that fixes my LED problems
[Nexus 4 Original Android Development] frikakwa:
Just flash the kernel and SuperSu! This is enough as UKM and Synapse are included! ;)
[Nexus 4 Original Android Development] TheDarkDefender:
Whoa.. I mean wow! Synapse looks like a frickin cockpit of an airplane! So many controls!

Well, for starters, I tried applying the gamma profile,halfbreed, but it doesn't really apply. So I had to use trickstermod just for that.
[Nexus 4 Original Android Development] defconoi:
lol, that works ;)
[Nexus 4 Original Android Development] a g bell:
Any love for nexus5?
[Nexus 4 Original Android Development] defconoi:
yea, working on that now actually ;)
[Nexus 4 Original Android Development] a g bell:
Aha???
[Nexus 4 Original Android Development] Blue305:
Everytime i select a profile in synapse and try to restore it, i get FC. Anyone has the same problem?
[Nexus 4 Original Android Development] evie12604:
Open synapse again and hit the x and the profile will set. This is normal
[Nexus 4 Original Android Development] Ginel:
is this kernel working without synapse and ukm and other kernel tool? i just want to flash it and that all nothing to set nothing to hurt my head :D
[Nexus 4 Original Android Development] frikakwa:
Would it hurt if you would just read the 20 last posts from this thread? You'd get your answers! :rolleyes:
[Nexus 4 Original Android Development] defconoi:
yea, but you wont be able to customize it to how you like! ;)
[Nexus 4 Original Android Development] defconoi:
I'm compiling the Nexus 5 kernel now :)
[Nexus 4 Original Android Development] hardwareadictos:
[MENTION=1316336]defconoi[/MENTION] same issue with lower than 384 mhz frequencyies with u95v2 (smartmax)
[Nexus 4 Original Android Development] Blue305:
For those who have led issues, just go and search on the playstore for Light Manager, give him notification access and customize your own. Works like a charm for me!!
[Nexus 4 Original Android Development] defconoi:
Set smartmax ideal freq lower than 384/702
[Nexus 4 Original Android Development] sga999:
[MENTION=1316336]defconoi[/MENTION], I posted about a problem in posts 2860, 2872, 2880. It relates to setting a specific gamma profile. It occurred when using unleashed on Kitkat before, but I decided to go to Lollipop to see if the problem was still there with your latest unleashed kernel. Yes, it is still there. Someone suggested turning off C1 retention, but that does not fix the problem. The build.prop change (see post 2872 for a link) fixes the problem in Kitkat, but it does NOT fix it in Lollipop. The problem does not occur with the Faux kernel.

To make this problem happen:

1. I'm using this Lollipop rom, which allows me to change the display option for navigation bar height to 0%.

http://xdaforums.com/nexus-4/development/rom-nexus-5-experience-factory-image-t2537932

But all that is really necessary is getting rid of the navigation bar (I had used xposed/GravityBox in Kitkat).

2. Use Synapse - Gamma to set the Obsanity_Amoled profile (then turn display off/on).

3. Bring up Settings and watch what happens! Without touching the screen at all, one of the options is "clicked automatically", for example, it might display the Data Usage screen. Depending on which option it selects, it will keep "clicking automatically" to subsequent screens. (This is referred to in other threads as a "flickering screen problem").

Please let me know if you have a problem reproducing this. It happens for me consistently.
[Nexus 4 Original Android Development] nibla101:
Did you remember to turn off and on your screen after applying the gamma settings in Synapse? I made that mistake coming from trickstermod:p
[Nexus 4 Original Android Development] aymnahmd:
I think defconi means lowering:

Suspend ideal freq. below 384000

Awake ideal freq. below 702000
[Nexus 4 Original Android Development] defconoi:
yea, I have Unleashed tuned for performance, lowering these two settings will keep freq's lower
[Nexus 4 Original Android Development] defconoi:
[MENTION=3846540]a g bell[/MENTION] have you tried the Nexus 5 kernel? Let me know how it runs, I need as much input on it as possible, thankyou ;)
[Nexus 4 Original Android Development] a g bell:
[MENTION=4143702]DeFcOn[/MENTION]oi Watch dog bite reboots https://www.dropbox.com/s/ev2wdusc4o320b4/logs.zip?dl=0

Is for both of the last 2 kernel's
[Nexus 4 Original Android Development] gorilla p:
Update on bit.ly/makostuff

Added latest Unleashed 95u V2.

Updated Synapse Profiles for 95u V2

Bat-Bal (intellidemand)

Bat-Bal2 (SmartMax)

Balanced (SmartMax)

Bal-Perf (Hyper)

Performance (intelliactive)

Updated Recommended Apps list

Added Latest LBE Security Master 5.4.x (English Add-on)

Added latest Wugz Root Toolkit 1.9.8

Added latest Minimal ADB and Fastboot 1.2
[Nexus 4 Original Android Development] defconoi:
check the latest v6 kernel, when does it reboot exactly? Also which rom, this kernel is meant for Stock L, their could be compatibility issues with CM
[Nexus 4 Original Android Development] aalvico:
Viper4android stopped working for me (last kernel) :/
[Nexus 4 Original Android Development] TheDarkDefender:
yes I did.

And I also did a very foolish thing of turning SELinux to Enforcing via Synapse. Aaaand boom! Constant bootloops, tried several flashes, clean/dirty with retaining data but all attempts were futile. I finally had to switch back to my stock nandroid. FML.

Still running Unleashed, but I will never try synapse, ever again :/
[Nexus 4 Original Android Development] eduardozeassesme:
Wow, a good battery

Thanks [MENTION=1316336]defconoi[/MENTION] you're best man
[Nexus 4 Original Android Development] jsmonu:
Since the last release, my "Min Freq." and "Max Screen Off Freq." don't seem to be changing from 1134000 .. whatever Governor i try.. :( any clues? I did restart, turn screen off and on, etc. nothing helps.
[Nexus 4 Original Android Development] kalpik:
Do NOT flash UKM. Just install kernel. It has it's own modified UKM.
[Nexus 4 Original Android Development] aburyan1:
Which kernal exactly you are using ? Sorry for the question but am new to kernals
[Nexus 4 Original Android Development] johnb380:
Also enable and activate msm limiter and ur new settings will show... At least they did for me after

[MENTION=1316336]defconoi[/MENTION]

I'll tell you [MENTION=1316336]defconoi[/MENTION] this new kernel is nice but u might want to write up a new HOW TO post because your kernel with synapse and ukm the settings are getting to be kinda confusing and also kinda difficult to understand what everything does and how everything interacts and intertwines together!

Also I'm wondering if u can add back the settings for max screen off cores on intelliplug? I dont see it anywhere...

Also explain some of the newer settings and things in synapse app from your kernel. Like maybe write up a scenario like if u use "hyper" governor for cores 1 and 2 and "smartmax" governor for cores 3 and 4 together then u need to set clock speed to this and that for battery or perf ... Lol idk if I'm making sense to you but there are a lot of variables now that I'm unfamiliar with the effects of their combinations together and I'd like to be able to understand what is happening in different settings when set one way or another!

Thats why we use Synapse to have control right...!? And also what each one does individually and together and how maybe using some setting one way can benefit u more for battery or performance or both!

Thanks in advance and I hope you understand me! This kernel is awesome BTW I'm just kinda defuddled by some of the newer settings!

Like the msm limiter and its function why we wanna use it or not and when does it activate and why... because my new freqs wouldn't show live until I activated that! Also hotplug suspend it says allow the hotplug governor to not suspend? (WHAT?) and what that does on or off?

I'd just like a kinda FAQ about all the new additions and the interactions between them?

Sorry if I sound retarded.... ??????
[Nexus 4 Original Android Development] Targaeryan:
Uh.. You're in the unleashed kernel thread and the user shared his battery stats with this kernel.. So yeah he's using unleashed kernel...
[Nexus 4 Original Android Development] aburyan1:
Thanks for your response, yes i known that but what I meant what version he using because there's many and am not familiar with the kernals stuff, all I want is to use the stock lollipop with kernal that is good with battery
[Nexus 4 Original Android Development] Targaeryan:
So you were asking which version.. You can use the latest one always.. Its stable, for battery profile, you can use some of the profiles shared here for example by [MENTION=4362467]gorilla p[/MENTION]. He always posts updated profiles for battery/perf etc.. I'll post my profile as well so you can give it a go..

---------- Post added at 04:15 PM ---------- Previous post was at 04:10 PM ----------

https://www.dropbox.com/s/p75r9djcfncc2l1/mine.tgz?dl=0

Put this in the synapse saved profiles folder using file explorer and the in synapse at the last page restore the profile.. This profile is for the latest version of the kernel.
[Nexus 4 Original Android Development] aburyan1:
Thanks a lot I'll try it and report back
[Nexus 4 Original Android Development] emanuele1986:
No gpu voltage with latest version?
[Nexus 4 Original Android Development] frikakwa:
Thanks mate for sharing: I'm trying your profile right now! My first feeling is that is as smooth and snappy that it was with my own settings but by checking the different settings you use, I'm sure my battery life will be better! :)

Just one thing: I had the JSON issue when restoring your profile. (not your fault I know!) Solved by cleaning the cache of Synapse! ;)
[Nexus 4 Original Android Development] Vinnom:
Hi guys, after reboot, has someone experienced kernel panic? Some versions back then, [MENTION=1316336]defconoi[/MENTION] smashed this issue, but now it is back. However, I've tried a few times (4 or 5) and it didn't occur in all of them, only 3 times. One of them, gave me such a poblem that I stuck in boot logo and found it better to clean caches and flash the kernel again.

One more report =P

I decided to use synapse, to have better control in gamma profiles, as tried to understand in some threads how to tweak it via script and synapse seemed better. But, all the other options I set via script. When I opened synapse, one setting was weird: CPU1 max freq. All others was just the values I had set, what made me look at 99defcon to see if I made a mistake when typing. So I saw that in the script, everything was fine.

# MSM Limiter disabled by default, 384000/1512000 already coded in driver as default
echo 1 > /sys/kernel/msm_limiter/limiter_enabled
echo 270000 > /sys/kernel/msm_limiter/suspend_min_freq_0
echo 162000 > /sys/kernel/msm_limiter/suspend_min_freq_1
echo 162000 > /sys/kernel/msm_limiter/suspend_min_freq_2
echo 81000 > /sys/kernel/msm_limiter/suspend_min_freq_3
echo 594000 > /sys/kernel/msm_limiter/suspend_max_freq
echo HYPER > /sys/kernel/msm_limiter/scaling_governor_0
echo HYPER > /sys/kernel/msm_limiter/scaling_governor_1
echo alucard > /sys/kernel/msm_limiter/scaling_governor_2
echo nightmare > /sys/kernel/msm_limiter/scaling_governor_3
echo 1512000 > /sys/kernel/msm_limiter/resume_max_freq_0
echo 135000 > /sys/kernel/msm_limiter/resume_max_freq_1
echo 1134000 > /sys/kernel/msm_limiter/resume_max_freq_2
echo 1026000 > /sys/kernel/msm_limiter/resume_max_freq_3

All of them but cpu1 max freq was wrong and the value displayed was the value to cpu1 suspend freq. So, with synapse I have set the right value, so it doesn't bother me anymore =)
[Nexus 4 Original Android Development] Targaeryan:
Hope it will be better! I reached 5h SOT on WiFi with 10% left yesterday.! :p

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

Yeah.. Seems to have been removed/disappeared..
[Nexus 4 Original Android Development] chosen14u:
This causes all my apps to FC and then I can't turn the screen on and have to force a restart.

Why is this? I followed everything to the T and have always had issues with restoring peoples profiles.

I'm not an idiot so I know how to follow all proper instructions.
[Nexus 4 Original Android Development] kskevinstewart7:
[MENTION=5403224]Targaeryan[/MENTION] . Can u tel me some of your main settings??
[Nexus 4 Original Android Development] Targaeryan:
That's weird.. Shouldn't cause apps to fc at all.. Are you on the latest version? Can you see all the settings in synapse (ability to set diff CPU governor etc)? I assume that synapse fc would be cause as [MENTION=2145830]frikakwa[/MENTION] pointed out which happens.. But other apps I don't think it would. If not best you should try applying the settings one by one to see what is causing the issue.. Maybe its OC or too high UV (mine is -115uv across all freq and increasing 81mhz to 710mv). I'll post my settings since the other user above asked.