yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] Azerty16:
Salut Zaclimon, great work on this, my Nexus 4 battery is terrible (less than 2hours sot), maybe it is too old and not as efficient as before but i would like to know if there is any settings in the kernel application (like underclocking, undervoltage, which governor) that could give some boost to my battery.

Merci
[Nexus 4 Android Development] dragos281993:
Read the comment above you, then take a look at the last few pages of thus that for even more info on that matter.
[Nexus 4 Android Development] Azerty16:
Already done, so undervolting can damage CPU by time ? And what about the underclocking settings, i can't find any settings lower than 1ghz, do you think there is a good value below 1ghz to maintain a fluid experience ?
[Nexus 4 Android Development] dragos281993:
The battery life issue will be addressed in the next build. V13 keeps all the cores active at the moment, so that's the main culprit here. V14 will have 2 of the "go to sleep" when they're not needed. After that the battery consumption will be normal. For advanced tweaking you can find some tutorials here on XDA and you'll see what all the options, that can be tweaked, mean, and the battery life will be improved maybe considerably.
[Nexus 4 Android Development] zaclimon:
Happy Easter early!

Hi guys, as told yesterday, here's a build that could help some of you regain some battery life. (I hope)

V14 (24/03/16)

- Disabled the 3rd and 4th CPU core by default

- Compensate the performance loss of this by adapting the frequencies in Interactive

- Changed the default frequency back to 1512Mhz.

- Misc fixes

Surely enough, I do still find the performance of my device to be smooth, I would need to check about the battery life though when I'll be back. I've also tweaked the performance profiles to take this into account. You can still enable the 3rd and 4th core in Kernel Adiutor. I plan to add a simillar functionnality into QT as well.

As there is a change in the ramdisk related parts, you MUST flash your rom's original kernel prior to flashing V14.

Both builds are available on BasketBuild.

Enjoy and have an happy Easter!! :)
[Nexus 4 Android Development] marcial0505:
Thanks, I appreciate you managed to put v14 out before Easter.
[Nexus 4 Android Development] :
the phone with the new version v.14 of the kernel is working slowly, the lack of liquidity in action.
[Nexus 4 Android Development] dragos281993:
It's pretty snappy for me. I don't see a huge difference compared to the previous version.
[Nexus 4 Android Development] :
the previous version also was not too snappy
[Nexus 4 Android Development] dragos281993:
Bro, you're using a Nexus 4. It's never gonna be buttery smooth or too snappy. It's always been like that. If someone says his Nexus 4 doesn't lag, it means that he can't see it or doesn't want to. The Nexus 4 is an old laggy device with a CPU that always had overheating issues and an overall maybe decent perfromance. It was decent when it came out, but compared to the newer devices, there's no comparison. Even compared to the Nexus 5, there's a HUGE difference in performance.

So the conclusion is that there's nothing that can be done here. The hardware is the bottleneck. Quanta gives the phone additional snappiness, but not too much because it's not possible.
[Nexus 4 Android Development] nickimsonikimsi:
İ think it must be balance performance and battery life

İ am using v12 and very stable and very good performans

What about v14 who can compare with performance

Sory for bad language thx for dev.
[Nexus 4 Android Development] zaclimon:
You could still change the max frequency to 1.7 GHz and the governor to performance also but I can't guarantee your device's battery life.

As dragos said, the one option device is struggling, the official support has ended and I don't even talk about the battery. If you're not happy, you can still change kernels. Perhaps you could have a better experience with something else.

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] Anthonius:
Testing

friends let me know if you need to make a clean install to change core or can simply change one over the other and keep trying the one that works best
[Nexus 4 Android Development] dragos281993:
Hey Isaac, I hope I won't bother you with this, but could you replace the "performance" governor with another one, like "ondemand" or "conservative" ? I'm pretty sure no one uses performance. Even "powersave" is used by very few users.

Again, I don't mean to intrude. I bet that "ondemand" and "conservative" instead of "powersave" and "performance" would make a lot of people happy.
[Nexus 4 Android Development] zaclimon:
Surely enough, I could possibly replace performance with ondemand. I know that some liked stratosk's ondemand. I can check if there aren't any dependencies (like hotplug dependent) and I could put it into a new version eventually.

I wont put conservative because it is dependent on the hotplug and I won't begin playing with hotplug drivers and such.

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] dragos281993:
Yaaay !!!

Ondemand is enough. Didn't know that conservative was hotplug dependent.

Stratosk's ondemand is awesome.

Thanks man !!! You're awesome.
[Nexus 4 Android Development] slipknot31:
I've tried and I've lost R215 CM APN
[Nexus 4 Android Development] yochananmarqos:
You tried what and you've lost what now? Kernels have nothing to do with your APN.
[Nexus 4 Android Development] slipknot31:
sure to 100℅? Is not the first time it happens .... also with other kernels to accustom
[Nexus 4 Android Development] yochananmarqos:
Nope, not yet.
[Nexus 4 Android Development] zaclimon:
Yes I added it, it's the original method as made by ziddey. I then added a sysfs entry that has been made by faux123. Honestly if it doesn't work, I don't know. :confused: I could always try to remove the sysfs entry hmm.

And also [MENTION=4549613]zadrozny91[/MENTION] you can use the dt2w.conf which is more flexible than using trickstermod.

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] justthefacts:
Why do I loose access to sdcard ?

I've tried the terminal command trick and still don't work
[Nexus 4 Android Development] gharrrrrr:
More info? ROM? Kernel version?
[Nexus 4 Android Development] HarbingerIV:
Loving this kernel, especially the optimizations and faux sound support, makes for a great combo with SimpleAOSP. I really appreciate your work! I have one question though [MENTION=4217103]zaclimon[/MENTION], do you plan on updating to 3.4.105? Just wondering is all. :p

Cheers!
[Nexus 4 Android Development] zadrozny91:
Deleted
[Nexus 4 Android Development] gharrrrrr:
http://xdaforums.com/showthread.php?p=57503812
[Nexus 4 Android Development] kermitoo:
It seems like it's a very good kernel.

I'm planning to flash it when SimpleAOSP b7 is released to replace my stock rom and stock franco :)

Thanks for your work [MENTION=4217103]zaclimon[/MENTION]
[Nexus 4 Android Development] jacoghi:
Kernel panic, the infamous L1 cache problem.
[Nexus 4 Android Development] zaclimon:
How often does this issue occur? I may have found an hint for the cause of this problem.
[Nexus 4 Android Development] jacoghi:
Second time in a week, so not a biggie. Could it be due to the fact that I had 5% of battery left?
[Nexus 4 Android Development] zaclimon:
Could be but from the last_kmsg, you were charging do I doubt it is the cause. I'll try something if I can today. :)

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] yochananmarqos:
Dunno, here's Chainfire's USB Host Diagnostics output:
[Nexus 4 Android Development] rocker86:
USB-OTG enabled in the latest version?
[Nexus 4 Android Development] zaclimon:
Ohh well, I'll remove the sysfs entry then and see how it'll work. Have you tried to enable it with faux clock (if ever you have it)

It is supposed to but it doesn't look like it is working atm.

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] rocker86:
NVM I am using Matrix Kernel atm which have USB OTG support..But I would love to have franco kernel with that patch..

Thanks..
[Nexus 4 Android Development] zaclimon:
Alright, in this Christmas day, is there any issues with the kernel aside from the L1 Cache problem mentionned earlier and OTG not working? :)

Also Merry Christmas to all of you and your families. :)
[Nexus 4 Android Development] Fenvarien:
That would be great, probably Stratosk's ondemand governor would be a good option?

[MENTION=4217103]zaclimon[/MENTION] Thanks for your Easter present, V14 is running nice and stable here! :good:
[Nexus 4 Android Development] zaclimon:
Nevermind, it has a touchboost but we do already have touchboost so let's leave it.

I think I can try something else to see how it is performing. So far, Franco hasn't really tried ondemand but that could be a good opportunity to give it a chance.

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] Cristiano Lira:
I can't see the option on Kernel Adiutor to activate/deactivate the others 2 cores. And after I flashed the CM version, differently from the AOSP, I have all 4 cores active by default and would like to know how to disable the last two.
[Nexus 4 Android Development] dragos281993:
Go to the "CPU" section and uncheck Core 3 and 4.
[Nexus 4 Android Development] Cristiano Lira:
Thanks! But I think it should be default, shouldn't it?
[Nexus 4 Android Development] jer_ying_fd:
How about mrg666's ondemand? It doesn't have touchboost but it does have stratosk's codes, as well as being backported from newer kernel versions.
[Nexus 4 Android Development] zaclimon:
It is default with V14. If you have V14 but it doesn't apply, it is because you haven't flashed your original rom's kernel.

I'm more into putting the original stuff, but that could be interesting. I'll check that out next week.

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] Anthonius:
Someone reply me

Who can explain how I install a kernel? I want to know if I can ride one over another or necessarily should reinstall rom for each core
[Nexus 4 Android Development] dragos281993:
If you're using a ROM with the stock kernel, then flash the custom kernel right over without any wipes.

If you're using a custom kernel and you want to try a different one, you MUST choose one of the methods below. Read carefully method no.2.

1. Dirty flash the ROM then flash the kernel that you desire.

2. Open the ROM.zip and extract the "boot.img" file somewhere on your computer. This is basically the ROM's stock kernel. Now copy the file to your phone, wherever you prefer. Reboot to recovery, go to the "Install" section and tap on "Install image". Search for the file you just copied in your phone and flash it. After that, just flash the new custom kernel that you prefer, and reboot. No wipes needed.

*You can also flash the "boot.img" with Flashify, then the custom kernel you prefer.

Method number 2 is much better and quicker. And you're not gonna go through the "Optimizing apps" process that appears when you freshly flash or dirty flash a ROM. It's super quick.
[Nexus 4 Android Development] nickimsonikimsi:
Sorry for asking that in here but why cant we just dirty flash kernel

İ used v12 and just dirty flashed v14

Now i can see my phone has v14

Basicly what is the reason flasing rom's original kernel

And after flash custom kernels

Sorry for bad english
[Nexus 4 Android Development] zaclimon:
http://xdaforums.com/showthread.php?p=65980002

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] tonyshixd:
My brand new battery is draining at 1% every 30 second right now
[Nexus 4 Android Development] .stendeck:
What I was wondering with v14 is: when the device is under a high load, will all CPU cores go online? (Like original Franco kernel.) Or are core 3 and 4 disabled all the time?
[Nexus 4 Android Development] dragos281993:
deleted.
[Nexus 4 Android Development] zaclimon:
They do stay disabled all the time because there's no hotplug anymore.

Just wondering, is the performance actually struggling? Because whilst I like cpu_boost, I believe that it's implementation isn't quite applicable for mako and thus, it could be better to revert to mako_hotplug.

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] dragos281993:
Seriously? I noticed some stutter while gaming but it wasn't that big. Ondemand should take care very well of how the cores handle different situations. I'm looking forward to see it in Quanta.
[Nexus 4 Android Development] .stendeck:
Ah, I already had that presumption with only 2 online cores. Until now it's smooth but in games, for example, there should be used the full capability of our Nexus 4, I think. Hard to say what I prefer. cpuboost is really nice but to stay at 2 cores permanently? Hmm…

Ouch… some minutes ago I've got my first SOD (screen of death) for month. Only could reanimate my phone with holding the power button for at least 30 seconds. Unfortunately, there isn't a last_kmsg, so I'm not sure if that was kernel related.
[Nexus 4 Android Development] hozjacz:
A few days ago I switch to CM13 (before I used Chroma with stock or Quanta v13). I flashed v13 in CM version and everything was fine. After that came v14 and first night I had (probably) SoD... It was impossible to wake my phone, notwithstanding LED blink still. To reboot I must hold power button long time. Immediately I flashed v13 and meanwhile everything looks like good.

Odesláno z telefonu N4 pomocí aplikace TT
[Nexus 4 Android Development] TheArt.:
I agree to have the option to enable the other 2 cores when needed. I noticed a little lag in a few games and in Metal app. I think now quantav14 is doing great, but sometimes those 2 cores might be useful.
[Nexus 4 Android Development] TakamatsuDev:
DT2W issue

I have Nexus 4 with Q14 kernel on [ROM][6.0.1][MAKO OFFICIAL] Resurrection Remix M v5.6.5 [14/03/16] with Kernel Adiutor.

Sometimes DT2W works sometimes it doesnt.

What is sure it's that after a reboot I have to manually wake the screen and turn it off to activate DT2W.

---------- Post added at 10:22 AM ---------- Previous post was at 10:17 AM ----------

Recomandation: Add conservative to CPU , it doesn't low the cpu as much as Power Save. It's very balanced.

The Westwood TCP Cong. Alg. its perfect.
[Nexus 4 Android Development] dragos281993:
He'll add ondemand but not conservative. Here's the post in which he explains why.

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

PS: Nu putem vorbi roamana aici, de aia mesajul e in engleza.
[Nexus 4 Android Development] blusydays:
Hi everybody,

Is it normal that all the 4 cores are online all the time ?

I'm on cm13 with Quanta CM, ans I use Kernel adiutor with Quanta tweaks.

Thanks.
[Nexus 4 Android Development] dragos281993:
V13 has this "issue". V14 is supposed to have 2 of the cores disabled. You can disable Core 3 and 4 from the "CPU" section in Kernel Adiutor by unchecking the little boxes from the left side of each core (3 and 4).
[Nexus 4 Android Development] blusydays:
That's what I did, but in this case they stay offline even if they are needed to be on. It's like to have a Dual core phone.

If Quanta 13 had the same issue, can I use Quanta 12 with CM 13 ?
[Nexus 4 Android Development] dragos281993:
No. Quanta v11 and v12 caused problems for a lot of users. V10 is the last stable version. First flash the stock kernel that came with the ROM, and only after that you can flash Quanta v10.

Here's the method to flash the stock kernel (use the 2nd method):

http://xdaforums.com/showthread.php?p=66049175
[Nexus 4 Android Development] blusydays:
Thansk, I flashed the V10 and I have now only 2 cores online and got back the beloved Hotplug :D
[Nexus 4 Android Development] zaclimon:
Alright guys, I've listened and here's the roadmap for Quanta.

I understand that cpu_boost isn't really made for our devices. Even though it was perfectly fine for my needs, I know that there are some power users among us.

For this reason, I will probably return to the V10 Era with mako_hotplug. Sorry for the bipolar 180 move right there. XD

I don't know if I'll keep ondemand or return to conservative. I'll optimize interactive as it is right now because I do feel it lool. Please let me know what do you think about this.

As far as QT is concerned, I'll add a hotplug section and probably a cpu core tweak to whether to enable it or not. I do have some neat ideas that I just don't have the time to implement just yet but stay tuned!

Envoyé de mon Nexus 4 en utilisant Tapatalk
[Nexus 4 Android Development] Bastlwastl2010:
For my personal use your optimized interactive is great!

I use tasker and the COM.FRANCO.KERNEL.POWER_SAVING if screen goes blank and com.franco.kernel.BALANCE settings if screen is active

Where: Screen Off: conservative, Screen ON: interactive

This works great fpr my use.
[Nexus 4 Android Development] dragos281993:
"ondemand" wouldn't be bad, Stratosk's ondemand is great as is. Along "interactive", it would make a great option to have.
[Nexus 4 Android Development] DingoDingo:
I was using Semaphore with ondemand on LP and was very happy, vote for ondemand and V10. It is only option I miss in your beautiful kernel.
[Nexus 4 Android Development] afolex:
I would like to thank you for your great work, keeping our 3 years old phone snappy today. I've been using this kernel first in CM and now the AOSP one, always great. The exponential brightness mode in QT is really helpful when using the phone at night at a much lower minimum brightness.

It's true that somehow with the Interactive governor the SOT and battery life overall have reduced but the performance is great, its really useful when you need the extra power. Currently I'm using V13 with the powersave governor and battery is really good but the phone lags a lot. Conservative was great, but I don't know if ondemand would be better.

Thank you again :highfive:
[Nexus 4 Android Development] underskyzx:
Thank [MENTION=3750240]stratosk[/MENTION] he made the exponential brightness commit, also responsible for the current DT2W implementation.[emoji1]
[Nexus 4 Android Development] amarprat87:
Hi, thanks for frequent updates of kernel for our device. With V14 I am getting amazing battery life and performance is also very good. I am getting SOT of 4 hours while with interactive I got only 2 hours of SOT. Interactive governor with CPU and GPU set to highest frequencies. Havenot realised any performance loss with 2 cores disabled. Having said that, I dont play games or other demanding applications.
[Nexus 4 Android Development] gutosilva:
What governors are avaliable in this kernel?
[Nexus 4 Android Development] TheArt.:
Not much:
[Nexus 4 Android Development] mcguolo:
Hi guys, I'm having a little problem: I get SOD with flight mode on and battery saving enabled during night. In the morning I find my phone freezed and the battery nearly drained. I'm using interactive with no UV. Anyone else?
[Nexus 4 Android Development] nickimsonikimsi:
İ am using performance mod and realy good perform and battery balance i think
[Nexus 4 Android Development] __GOLD_:
Testing now V14 instead of V10.

After a few days I will give you my feedback.

V14 have deep sleep is a good signal to start, let see how it's the battery life at normal day of use.
[Nexus 4 Android Development] gutosilva:
Have this kernel the configs to use 3rd and 4rd only when the device need? For example, when device is with less process the cpu will use 2 cores but when I open more process the cpu will awake the others cores.
[Nexus 4 Android Development] dragos281993:
That's how quad core CPUs usually work. The CPU will try to make the experience as smooth as possible for you, and that means making use of all 4 cores whenever it's needed.
[Nexus 4 Android Development] lars.hu:
In contrast to what [MENTION=5796730]dragos281993[/MENTION] said this kernel currently does *NOT* support hotplug. Default config is set to two cores only. You can activate core three and four (e.g. via Kernel Adiutor). But they'll stay online constantly then.

But anyway I get 4h+ SOT on wifi with still the first battery in four core configuration. Make sure your device enters deepsleep and use exponential brightness.
[Nexus 4 Android Development] __GOLD_:
I try V14 but change in the end of the day.

V10 keep's (for me) the best experience smoth VS battery life for a normal day of use.

There is a better kernel than V10?
[Nexus 4 Android Development] fefecilly:
I'm using V14 on latest RR ROM, (previous V10) all is working good, smooth, great battery life.

The best thing is that in v10 I was having my phone back extremely hot, now it remains fresh also on high CPU load.
[Nexus 4 Android Development] infidel94:
Has someone used the Quanta Kernel v14 with the last Resurrection Remix 5.6.7 ? Is this combination stable?
[Nexus 4 Android Development] zeeBomb:
Quanta and latest version of chroma good?
[Nexus 4 Android Development] infidel94:
fefecilly, which settings do you use in Quanta Tweaks and in RR Kernel Adiutor's section for a great battery life and a fresh back? Thanks!
[Nexus 4 Android Development] amarprat87:
V14 with default settings is giving great battery life.

2 cores are always disabled, so no heating at all and better battery life.

No slowdown in daily use, however games do lag. but then I dont play games on Mako now.

So loving V14
[Nexus 4 Android Development] fefecilly:
Yes, v14 is better by default, I only set the undervolt to 150mV.

Performance settings in RR give me a force close.
[Nexus 4 Android Development] kryzeK:
Guys, please. Its possible enable OTG hack using other kernel manager? I'm using Kernel Adiutor
[Nexus 4 Android Development] gutosilva:
Do you have plans to add hotplug control in next version? If Yes: When?
[Nexus 4 Android Development] shawnbrennan55:
You can use the Quanta Tweaks app from the Play store or create a text file with the following lines into the /system/etc/init.d folder and reboot.

#!/system/bin/sh

#

echo "1" > /sys/module/msm_otg/parameters/otg_hack_enable
[Nexus 4 Android Development] zaclimon:
Well:

1. The question is already replied through the post you quoted.

2. I don't have a date yet regarding this. I would like to release it at least before N releases.

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] gutosilva:
OK, thanks.
[Nexus 4 Android Development] gutosilva:
I'm using v10 with CM 13 snapshot, v10 is much better than v14 in my opnion, mainly because v10 have conservative governor and hotplug control.
[Nexus 4 Android Development] mparmpas122321:
Yeah i tried Quanta v10 with cm13 too. Much better than the cm kernel.
[Nexus 4 Android Development] veketash:
[MENTION=4217103]zaclimon[/MENTION], you were speaking about a future big good update for the kernel, with some modifications for battery improvement. When will it be? (I guess V15)

Nevermind, I forgot I saw the answer last week already. But maybe in ten days you've made yourself an idea :)
[Nexus 4 Android Development] zaclimon:
I didn't want to talk about it yet because I'm a bit far from being finished but I'll still let know what's up. This image below is what have mostly have taken all my development related work these past weeks. As you probably know, Quanta and QT always are released toghether so I'll finish this part before going into the kernel.
[Nexus 4 Android Development] gutosilva:
Hey man, thanks for support the Nexus 4 and congratulations for your great kernel. I have a question: can/will you add "Hotplug Control" in Quanta Tweaks menu? As you say v14 don't have hotplug control feature, but previous versions (like v10) have, and this option isn't avaliable in your app. Actually I'm using FKUpdater to configure this.
[Nexus 4 Android Development] zaclimon:
http://xdaforums.com/showpost.php?p=66135907&postcount=1809

It will don't worry. :)