yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] Skkip:
as for battery life: interactive uses a much smarter way to predict which frequency should be used. (see: choose_freq in cpufreq_interactive.c)

So after all it will safe battery, decrease temperature and still keeps the device as snappy as it used to with ondemand.

Just for testing I ran Antutu with interactive and 1026000 hispeed_freq. The result does not seem to be any lower than with ondemand (for me it is better :)) but the cpu time_in_state is much better balanced than it used to :)

I'm afraid you get irritated by my posts, but for battery and performance it may be a good idea to consider interactive with these values and perhaps a bit tuning of downscaling :D
[Nexus 4 Original Android Development] Harsh:
First of all, dont be afraid when suggesting for improvements. :good:

And second I will do tests today for interactive governor with your values. I have no idea about interactive governor settings, so I better rely on someone (you) who use it and tweak it.

My previous and 1st kernel was for LG O2x, which had tegra2 without any governors to control. :eek:

And I am trying to have this kernel for Nexus 4 as my hobby, just sharing what I use. I dont tweak much on CPU handling but try to fix issues ppl have with stock. Example HSIC, 3g Data battery drain (patches were from caf but I got them on our device :angel:). And now I am working on battery driver and new camera driver.

Tweaking I leave it on other devs :D.. they know better because they have been making kernel since way longer than me.
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.25] Harsh Kernel build Jan-18 - Interactive Gov now fixed

One of the reasons I stick with Harsh is that I can openly criticise something (doesn't happen often) and he will not get butthurt like some and will actually look into it. :thumbup:

That's what you call teamwork :)

Thanks Harsh.
[Nexus 4 Original Android Development] estallings15:
Re: [KERNEL][UV][Linux 3.4.25] Harsh Kernel build Jan-18 - Interactive Gov now fixed

Harsh, I went from Franco, to stock (ran hot), to your Jan 18 build. After an 87.5 mV UV, this thing runs cool and blazing fast. Thank you for this. The thermal throttling was making me crazy.
[Nexus 4 Original Android Development] eep2378:
Re: [KERNEL][UV][Linux 3.4.25] Harsh Kernel build Jan-18 - Interactive Gov now fixed

You don't say......;)

Staying on 1/16 for now. I don't see the need for interactive governor atm. Ondemand is plenty quick :D

---------- Post added at 09:18 AM ---------- Previous post was at 09:13 AM ----------

If only more people here on these forums thought this way......you come across as someone who truly, GETS IT! Kudos my friend. :D
[Nexus 4 Original Android Development] albundy2010:
Re: [KERNEL][UV][Linux 3.4.25] Harsh Kernel build Jan-18 - Interactive Gov now fixed

When talking about how snappy the device is benchmarks are irrelevant.
[Nexus 4 Original Android Development] dwang:
I was finally able to get the jan 18 build to run without my screen locking up.

I'm not getting any data loss on 3g with this kernel and i'm definitely seeing lower hsic wakelocks. However, this doesn't seem to be translating into any better battery life.

I'm getting the same deep idle battery drain with this kernel compared to Motley's kernel that doesn't have the 3g hsic wakelock fixes.

same location, same software, both on 3g, no wifi. Notice the higher hsic wakelocks on motley, but battery drain are both the same. 93% after 5 hours of deep sleep.

Harsh Jan 18 build:

https://www.dropbox.com/s/rign95r5cffhfou/2013-01-19 07.05.10.png

https://www.dropbox.com/s/w2e3bqedmiu6or2/2013-01-19 07.05.35.png

Motley b21 build:

https://www.dropbox.com/s/7jmvmy97xju4kei/2013-01-19 13.14.30.png

https://www.dropbox.com/s/zytptcsu8ohrlyv/2013-01-19 13.14.38.png

EDIT: I'm not trying to minimize anybody's hard work. I do appreciate everybody's efforts on this. Just trying to share my findings with everybody.
[Nexus 4 Original Android Development] guapinoy:
Re: [KERNEL][UV][Linux 3.4.25] Harsh Kernel build Jan-18 - Interactive Gov now fixed

I also have similar findings. The wake lock fix doesn't really extend battery for me either. But as far as these two kernels I would say that they are my favorites. I alternate between these two kernels on an almost daily basis. Since I like the stock ROM so much, the different kernels offer a change of pace. Thanks Harsh.
[Nexus 4 Original Android Development] dwang:
Re: [KERNEL][UV][Linux 3.4.25] Harsh Kernel build Jan-18 - Interactive Gov now fixed

I must say however that build 18 is ultra smooth. Even smoother than motley's kernel.
[Nexus 4 Original Android Development] Harsh:
Re: [KERNEL][UV][Linux 3.4.25] Harsh Kernel build Jan-18 - Interactive Gov now fixed

Also ultra stable.... No reboots. :)

And no adjustment. And if you get same battery in my kernel with mpdecision than I must say this kernel have better battery management :p. Mpdecision is too aggressive to make it all smooth. While on other hand hotplug by other devs is designed to save power. Totally different concept of implementation regarding cpu control.

Sent from my Nexus 4
[Nexus 4 Original Android Development] kevinnol:
So harsh.. 5 AM sunday :p ?

18. Jan. is smooth + some Interactive love. Really like it.

With touch control it is the perfect kernel. I know, I know.. sweep2wake but it's not the same :/
[Nexus 4 Original Android Development] Harsh:
Re: [KERNEL][UV][Linux 3.4.25] Harsh Kernel build Jan-18 - Interactive Gov now fixed

Yes just woke up... :).. for me everyday is Sunday. Student in Germany, and don't work (no need lol)

Touch controls work for you? I though it's not working for any custom kernels and developer is fixing it.

Sent from my Nexus 4
[Nexus 4 Original Android Development] jassycliq:
Re: [KERNEL][UV][Linux 3.4.25] Harsh Kernel build Jan-18 - Interactive Gov now fixed

Hey harsh, have you thought of making a kernel without mpdecision? Just asking, I understand its your personal kernel, not being demanding :D anyway thanks for your work
[Nexus 4 Original Android Development] Harsh:
Re: [KERNEL][UV][Linux 3.4.25] Harsh Kernel build Jan-18 - Interactive Gov now fixed

Yeah I tried. Also tried showp's in kernel mpdecision. And after some testing decided that having mpdecision is not really that big of a problem. If you compare battery results with kernels without mpdecision it's not that big of a difference or no difference at all, but smoothness we get with mpdecision is amazing and easy to notice.

Sent from my Nexus 4
[Nexus 4 Original Android Development] jassycliq:
Re: [KERNEL][UV][Linux 3.4.25] Harsh Kernel build Jan-18 - Interactive Gov now fixed

Yeah, I do a lot of browsing and Pandora so mpdecision is a huge drainer for me. I don't need two CPUs at 1Ghz just for that lol really thankful for all the hard work you put into the wakelock patches though, data drops are nearly non existent for me. Wish more devs wouldve done it right.

Edit: BTW how hard would you say it would be to fork your source and implement an open source hot plug mechanism? I've done some kernels before but it was just applying patches I grabbed.
[Nexus 4 Original Android Development] Harsh:
Re: [KERNEL][UV][Linux 3.4.25] Harsh Kernel build Jan-18 - Interactive Gov now fixed

It would be quite easy as you have done previously some kernel patches.

Fork my repo, remote add repo of dev from where you want hotplug (franco, matrix, motley) and cherry pick commits related to hotplug. Resolve accurately if you get conflicts.

I suggest franco or matrix(mathkid)...

Sent from my Nexus 4
[Nexus 4 Original Android Development] Audioboxer:
Re: [KERNEL][UV][Linux 3.4.25] Harsh Kernel build Jan-18 - Interactive Gov now fixed

Harsh out of interest what was it you done in the kernel for the camera test, updated a driver?
[Nexus 4 Original Android Development] kevinnol:
Sorry the kernel would be perfect Wirth touch controls. Like the missing 5% too be perfect:p
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.25] Harsh Kernel build Jan-18 - Interactive Gov now fixed

The best scaling you get is with Bricked. Every step is being used. So if someone doesn't need project butter I recommend using that. However, I didn't find battery life much different from Harsh and it's very noticeably more sluggish.

Harsh wins for me, minimal changes, custom uv, some wakelock fixes. That's all I need. Btw, Harsh, have a look at the thread I started in General ( Battery Improvement).
[Nexus 4 Original Android Development] cescof:
I m really satisfied with this kernel...but with 16 genuary rel I've some issue and overheat with drain battery when I use Skype...

Yesterday after a ten minutes skype videocall my n4 was really hot and battery was dropped over 15% down....

Any suggest? Is it normal? Is it kernel related?

Regards
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.25] Harsh Kernel build Jan-18 - Interactive Gov now fixed

You need to uv I think.
[Nexus 4 Original Android Development] cescof:
Uv?? But how and how much with Harshkernel?

Regards
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.25] Harsh Kernel build Jan-18 - Interactive Gov now fixed

It's already UV I think. Try to lower it by another 50mV across the board. You can use trixter mod or system tuner.
[Nexus 4 Original Android Development] Harsh:
Yes I saw your thread. I was anyways going to flash .tot firmware file using LGEFlash tool. Its more deeper flash... but after reading your post I just did what you had posted. flashed all JOP40D files...

It should not happen so fast. Phone getting hot is okay as its using screen, audio, video and internet all at one time.. nothing to worry. Just I am thinking why is it loosing 15% in 10 mins. It should be about 25-30 mins to loose 15% battery..
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.25] Harsh Kernel build Jan-18 - Interactive Gov now fixed

Hope results are as positive as they were for me :thumbup:
[Nexus 4 Original Android Development] cescof:
Ok thanks now i've 1037.5 at 1.45 1050 at 1.51 1025 at 1.35 which one i've to reduce i suppose just the highest one or not??
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.25] Harsh Kernel build Jan-18 - Interactive Gov now fixed

All of them across the board by equal amount. I guess you can drop by 50mV.
[Nexus 4 Original Android Development] Harsh:
New build uploaded:

Changelog Build Jan-20:

Updated to Linux 3.4.26 (too many changes)

Camera driver tweak testing (not proven improvement but does not harm either)

Enabled CIFS suddenly I had need for this one

As always, hit THANKS :D... have fun.

Test camera and do let me know. Should we keep it or not.
[Nexus 4 Original Android Development] ckret:
downloading and testing :)
[Nexus 4 Original Android Development] Harsh:
I forgot to mention in changelog.

I removed other io schedulers. ROW is default and only io scheduler available now.
[Nexus 4 Original Android Development] Nitroz:
Its very rare I post on XDA anymore but I wanted to stop by and say thank you for all the awesome work you have done on this kernel. After bouncing from Franco to Faux, I couldn't make a decision as to which kernel I wanted to try, so I tested Harsh and its been the smoothest and most battery efficient kernel I have used to date. I will post battery stats when I'm done on my 2nd charge cycle.

Awesome work, Harsh!
[Nexus 4 Original Android Development] Harsh:
Thanks. Glad you like it. :cowboy:

And for camera guys, I can confirm its just placebo. (makes actuator sound more, more travel from near to far). Will revert it in next release, or if people want I can re-upload new build Jan-20 right now without camera changes.
[Nexus 4 Original Android Development] Nitroz:
Does it actually break anything? If not, why not just leave it until the next proper release? I'm happy with having a placebo on my device :p
[Nexus 4 Original Android Development] gianton:
Tested most kernels available and reverted to Harsh, simple yet very fast and battery friendly. Will flash Jan 20th release soon.

Thanks.
[Nexus 4 Original Android Development] iFalcon:
Re: [KERNEL][UV][Linux 3.4.26] Harsh Kernel build Jan-20 - Camera Driver (please test

Harsh

First time with your kernel and love it. I also like your choice of color settings.
[Nexus 4 Original Android Development] Harsh:
And gianton i saw your post on faux's thread about you CPU binning.

You have 0 and 4.

Your first 0 was about selecting CPU type from various apq8086 types. 0 is for our apq8086 with 1512 MHz... and 1 for 1.7 GHz and 2 for v2 8086, and so on.

As per number system goes.

0 = slow

1 = nominal

3 = fast

4 = faster

So when you get PVS = 4, it means you have faster CPU :D... just enjoy your phone without thing about this. I just am giving you info.
[Nexus 4 Original Android Development] gianton:
Good to know mate, thanks for the info!

I will enjoy it even more, not that I would really mind if I had the "slow" CPU. I remember my first smartphone the Samsung Omnia how fast was for those times, now 1.5GHz with 4 cores and 2GB RAM, Nexus 4 is like my laptop!

BTW, build quality of N4 (coming from an iPhone 4 and a Galaxy nexus) is equal or even better than iPhone 4! LG did a great job with this device. GPS is awesome I get lock of 6 sats indoor!

Sorry for the off topic.
[Nexus 4 Original Android Development] Bluewall:
Re: [KERNEL][UV][Linux 3.4.26] Harsh Kernel build Jan-20 - Camera Driver (please test

One little question that I'm not sure to understand. Does your kernel recognize which type of CPU we have and change automatically the voltage? Or this need to be done with an app like, why not, system tuner ?

Anyway, thanks for your work mate

Envoyé depuis mon Nexus 4 avec Tapatalk
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.26] Harsh Kernel build Jan-20 - Camera Driver (please test

Yes, it does it. It had 4 tables. I do uv by another 50mV though.
[Nexus 4 Original Android Development] Harsh:
Can anyone design good signature for HarshKernel ??

Not so huge, but something that simple :highfive:

Thank you.

Attached image thanks www.android-hilfe.de
[Nexus 4 Original Android Development] gianton:
Harsh,

Do you think you could try adding the gamma controls as faux123 uses in your future releases? Thread here.
[Nexus 4 Original Android Development] port76:
Re: [KERNEL][UV][Linux 3.4.26] Harsh Kernel build Jan-20 - Camera Driver (please test

I'm loving your kernel what does everyone else think with new camera drivers?
[Nexus 4 Original Android Development] Nitroz:
As far as I'm aware, Faux closed source his Gamma control for whatever reason. You'd have to ask him why.
[Nexus 4 Original Android Development] boykioy:
Απ: [KERNEL][UV][Linux 3.4.26] Harsh Kernel build Jan-20 - Camera Driver (please test

Harsh with todays version and previous one my screen goes unresponvive,any ideas?

Στάλθηκε από το Nexus 4 μου χρησιμοποιώντας Tapatalk 2
[Nexus 4 Original Android Development] gianton:
From what I understand at the thread I mentioned the OP is trying to patch these gamma values in a custom kernel. Maybe is doable by Harsh or other devs as a team.

It would be great if it's done.
[Nexus 4 Original Android Development] christophs01:
Coming from franco, going to test your Kernel now :) I had your Kernel with my lg2x already!

Does someone know, which are the default volt values for nominal kernel?
[Nexus 4 Original Android Development] Harsh:
Maybe you can find it from here https://github.com/bhanvadia/lge-mako-kernel/commit/fb3f43f0757a5816de4e306b4a8e5844e832f6e1
[Nexus 4 Original Android Development] christophs01:
AW: [KERNEL][UV][Linux 3.4.26] Harsh Kernel build Jan-20 - Camera Driver (please test

Thanks.

I thought your kernel does automatically UV? Trickster MOD shows me the default values for nominal CPU? :confused:

Gesendet von meinem Nexus 4 mit Tapatalk 2
[Nexus 4 Original Android Development] Harsh:
Re: [KERNEL][UV][Linux 3.4.26] Harsh Kernel build Jan-20 - Camera Driver (please test

It does come with uv. If you notice those values they are already lower than stock. As u asked for values i pointed out current values.

But do remember kernel is already with uv of -100 mv or even more.

And for people with touch screen lockup do check if you have sweep2wake enabled or have lower uv than your phone can handle. Get me logs if it happens next time. We can find solution about it.

Sent from my Nexus 4
[Nexus 4 Original Android Development] gianton:
Re: [KERNEL][UV][Linux 3.4.26] Harsh Kernel build Jan-20 - Camera Driver (please test

Haven't noticed such thing with Jan 18th and 20th releases. I'm not using Sweep2Wake, using Smart Screen ON instead.
[Nexus 4 Original Android Development] sMtt:
These values are default for your kernel or are they stock voltage values? I'm changing to your kernel now and wanna know how far I can undervolt in total according to stock values :angel:
[Nexus 4 Original Android Development] linelock:
stock is 1.15v at 1.512ghz

edit: At least on my fast binned chip, I'm not sure if stock values change with binning.
[Nexus 4 Original Android Development] trismegistos:
@Harsh are all mhz undervolted with -100? i am currently discussing with one other guy a very funny thing. he can set additional -50uv with you kernel and if he is doing the same with matrix (which is -100uv on all Values per default) his device reboots. I can set matrix -50 and it works. If i set -50 on alle Values with your kernel it reboots directly.. i am a little bit confused..
[Nexus 4 Original Android Development] boykioy:
Απ: [KERNEL][UV][Linux 3.4.26] Harsh Kernel build Jan-20 - Camera Driver (please test

I dint eather.in fact i dont ude any mod app like trickster mod.dont know maby i need to reflash my rom.

Στάλθηκε από το Nexus 4 μου χρησιμοποιώντας Tapatalk 2
[Nexus 4 Original Android Development] gianton:
Re: [KERNEL][UV][Linux 3.4.26] Harsh Kernel build Jan-20 - Camera Driver (please test

Not all devices are the same.
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.26] Harsh Kernel build Jan-20 - Camera Driver (please test

You need to find out your bin for cpu. I can't remember where to look for the instructions on how to.
[Nexus 4 Original Android Development] gianton:
Re: [KERNEL][UV][Linux 3.4.26] Harsh Kernel build Jan-20 - Camera Driver (please test

In terminal

su

dmesg | grep PVS
[Nexus 4 Original Android Development] trismegistos:
i know but it does not make sense, that one device likes 150uv on one kernel and not on an other...or am i wrong?
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.26] Harsh Kernel build Jan-20 - Camera Driver (please test

Might need to reboot before doing it.
[Nexus 4 Original Android Development] gianton:
Re: [KERNEL][UV][Linux 3.4.26] Harsh Kernel build Jan-20 - Camera Driver (please test

Yes it needs to be done after a reboot.

---------- Post added at 09:57 PM ---------- Previous post was at 09:54 PM ----------

Yes makes sense, kernels are not equally coded/written. But why all the fuss about UV? I'd say leave it as is and the most you might loose is 1-2% juice in a day.
[Nexus 4 Original Android Development] trismegistos:
as i mentioned, i try to find the reason for a guy in the matrix thread :)...i never use more uv then -125 :)
[Nexus 4 Original Android Development] Harsh:
Re: [KERNEL][UV][Linux 3.4.26] Harsh Kernel build Jan-20 - Camera Driver (please test

Because at some frequencies my kernel is uv more than -100 mv... So you can't do same uv as in other kernels which have exactly 100 mv uv across all.

Sent from my Nexus 4
[Nexus 4 Original Android Development] joho5:
so this kernel is undervolted across the board starting -100 right?
[Nexus 4 Original Android Development] Harsh:
no.

This kernel is undervolted across the board -100 mv, and at some selected frequencies its undervolted more -25 mv
[Nexus 4 Original Android Development] drewtang:
Re: [KERNEL][UV][Linux 3.4.26] Harsh Kernel build Jan-20 - Camera Driver (please test

Just flashed your kernel for the first time today, batter was at about 60% when I flashed it. Impressed.
[Nexus 4 Original Android Development] gianton:
Re: [KERNEL][UV][Linux 3.4.26] Harsh Kernel build Jan-20 - Camera Driver (please test

With Jan 20th rel lost 1% in 8h overnight all disabled. ROM is AOKP Steve's latest build.
[Nexus 4 Original Android Development] kennyp987:
whoa

First full discharge of 1/20 build using Paranoid android pie beta 1....super super smooth....no noticeable difference in camera quality...maybe a tiny tiny bit better...excellent work :good:
[Nexus 4 Original Android Development] Harsh:
Re: [KERNEL][UV][Linux 3.4.26] Harsh Kernel build Jan-20 - Camera Driver (please test

PA pie mode is what i am rocking too. Freaking awesome...

And guys one more question, should i set more -25 uv by default, so people would not need to use those frequency control apps.

And faux's gamma control is coming in next build as sources are out.

Won't push that on github until he put it there himself. Just incorporate in future builds.

Sent from my Nexus 4
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.26] Harsh Kernel build Jan-20 - Camera Driver (please test

No to UV. Quite likely to cause problems for people. I'd limit it to - 100mV across the board too so it's not as confusing for people, but that's just an imho, I absolutely don't have a problem with how it's done atm. I set my own voltages anyway lower than that. :)
[Nexus 4 Original Android Development] kennyp987:
Pie makes the stock navbar feel ancient (especially the last build)...I say no to the UV...the kernel is very efficient how it is...that being said it wouldn't hurt to go ahead and do it for a test build and see if everyone's phones can handle it...thats the only thing i would be worries about...but for me its perfectly fine the way it is
[Nexus 4 Original Android Development] Harsh:
Re: [KERNEL][UV][Linux 3.4.26] Harsh Kernel build Jan-20 - Camera Driver (please test

Thanks for feedback. Uv would just mess with mind of some people. Like i was able to uv -100 before but now it reboots at -100. They just don't notice that actually it's having -125 uv than stock. So i think i will make uv -100 default across the table. And special build for more custom uv (my personal build) so that i don't need to use any further apps (it just works), and share that build with frequency table.

Will have to ask mod to get me 2nd past in thread so that i can put it all down there efficiently.

Sent from my Nexus 4
[Nexus 4 Original Android Development] kennyp987:
Sounds like a plan
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.26] Harsh Kernel build Jan-20 - Camera Driver (please test

Suggestion regarding gamma control. Since you set up kernel the way YOU like it (and I like every little adjustment you make btw, there is not one thing that I change) why don't you go through a spreadsheet for gamma control and hard set your own default values? I have a feeling we will like similar setups :) but if not, I'd be changing it anyway from stock, so it doesn't make any difference. I'm sure your other users will enjoy it too.

I like your mentality of having a minimum of third party apps controlling things ;)

My last entry on spreadsheet is a good starting point to have it as closely calibrated to 2.2 as possible. From there it should only be one or two steps you'd need to adjust in amp0. That's if you like that setup obviously.
[Nexus 4 Original Android Development] Harsh:
Re: [KERNEL][UV][Linux 3.4.26] Harsh Kernel build Jan-20 - Camera Driver (please test

I will see to it :)... Thanks.

Battery is awesome on PA ROM, 88% remaining with 1 hour screen on time. PA pie control is innovation 5 years ahead of ios, and minimum year or two ahead of Google themselves (if they don't pick it up in next version)

Loving it...

Sent from my Nexus 4