yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] Stylez Ray.:
Well, to be honest I can't tell for sure...I rarely look at my battery stats and even then they don't say much to me as I am often just plugging my phone to the charger at random times.

Usually I unplug my phone at 06:00 and go to work. At break 12:00 I have left 60% usually but then I charge the phone while taking a break. I had a try last week where I didn't charge throughout the day and I ended with almost 30% at 17:30 and something like 2,5 hours screentime.

At the moment I have this stats: Awake 1h50m (56,4%) and Screen On 48m39s (24,9%) while having 67% battery.
[Nexus 4 Original Android Development] Skkip:
AW: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-28

I have a solution for this. Will send harsh the information later and maybe it gets in the next kernel version :D

Harsh, I hope you are interested in a safer UV approach ;)

Gesendet von meinem Nexus 4 mit Tapatalk 2
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-28

Would you care to expand what approach and how is it safer? In simple terms, i'm a noob :)
[Nexus 4 Original Android Development] WoozyBE:
Probably less undervolting at the lowest frequencies I guess.
[Nexus 4 Original Android Development] Skkip:
AW: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-28

Basically yes :thumbup:

Gesendet von meinem Nexus 4 mit Tapatalk 2
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-28

I don't have a problem with UV on lower frequencies. I can go really low on them and still not have an issue.
[Nexus 4 Original Android Development] Bluewall:
Excuse my noobish question but i'm not sure to understand.

The classic version is UV or is it stock preset ?

When I use Faux i usually go to -150mv (still stable for me). But Faux doesn't care about my CPU which is "faster".

So which version should I choose ? :p
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-28

Harsh recognises 4 cpus, including faster. So your starting point will be a touch lower than stock. I have faster and ran LOW no problem, but I stick to -100mV version, since difference in battery life is negligible and I'd rather not starve cpu of voltage.

Edit. And since when are a noob Bluewall? :D

tinky1 ;)
[Nexus 4 Original Android Development] Bluewall:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-28

Thanks for the explanation Sir! It's clearer in my brain now, almost midday and still haven't eat anything so I'm a bit out lol :D

Nice to meet your here btw! :)

Envoyé depuis mon Nexus 4 avec Tapatalk
[Nexus 4 Original Android Development] gianton:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-28

No problem with UV rel with my faster chip too. Device is running cool and battery life is awesome!

Sent from my Nexus 4
[Nexus 4 Original Android Development] jiujitiancai:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-28

Hi Harsh

First thanks for your great kernel.

Any chance to enable snake charmer(snake charmer allows max colck frequencies for all cores to be capped to a limit set by you) the stock kernel has this which can be enable by fauxclock

When play games I often under clock, but the 2th core always go to 1.5 GHz even I set the limit.: (
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-28

Snake charmer only works with intellidemand and modified (or removed?) mpdecision. Harsh has taken a different approach with his kernel.

The way I see it, all heavily modified kernels are basically devs trying reinvent the wheel (not saying it's bad) , where harsh tries to make existing wheel lighter, less rolling resistance, better rubber.
[Nexus 4 Original Android Development] Lownita:
Curious: What does "westwood" mean?
[Nexus 4 Original Android Development] Bluewall:
It's a type of TCP (Transmission Control Protocol). Westwood if one of the TCP algorithm (it's like governor for CPU if you want). This how the data transfer is handeled.

Actually, westood stand now for westood+ (enhanced and optimized version of the original westwood algorithm) but we still call it westwood :p

For more informations, you can look here http://en.wikipedia.org/wiki/Transmission_Control_Protocol :)
[Nexus 4 Original Android Development] Harsh:
OP has been updated. And redone so that download links are easy accessible. Changelog moved to 2nd post, and about Gamma control in 3rd.

New build with Gamma control ability using script or terminal is up.

Changelog:

Build Jan-29: Gamma

Added Gamma control possibility using script or terminal

Step forward in CLEANER device (no kernel controlling apps)​

Hit thanks button when you download it :D

Take help from advanced users if you cant modify script yourself, but please dont mess up your device. Asking is simple or better search for answers :D...

And always read carefully.
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-28

What are default settings?

Half way report on exp kernel.

+ about 40 minutes music in the morning. Current estimate 0.5h+ more screen on than on Harsh. O.o
[Nexus 4 Original Android Development] Bluewall:
Damn, I've just flashed the 28 build :D

But I don't use gamma control so I'll try the 28 build i've just flashed first I guess #BadLuckBluewall
[Nexus 4 Original Android Development] gianton:
Flashed the LOW rel and copied my script file with my gamma settings in init.d folder, all working good! How do we know if the gamma settings are applied on reboot other than our eyes? If I open fauxclock app it shows the stock default settings.

Thanks for your hard work mate. :good:
[Nexus 4 Original Android Development] Harsh:
You can go to /sys/devices/platform/mipi_lgit.1537/kgamma_r to check your values.

or use cat /sys/devices/platform/mipi_lgit.1537/kgamma_r in terminal to see your values.

Highly unlikely, or new ondemand governor stuff is messy :(
[Nexus 4 Original Android Development] Bluewall:
What do you mean exactly by "step forward in cleaner device" ? :P just curious
[Nexus 4 Original Android Development] ssauger:
I tried this kernel since the 28 jan. version. Very happy to have a custom kernel with mpdecision, cause i feel that others aren't smooth like stock when mpdecision is off. Curios about, i got a fast binned chip, flashed the 28 low version and got reboots when i played angry birds star wars or by other actions. So i flashed the -100mV and all was fine. Now i tried the 29 low version and it seems to run without any problems.

Thanks for the fantastic work.
[Nexus 4 Original Android Development] eep2378:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-29 : Gamma

I think his overall goal is to eliminate the need for multiple apps/app to control the various settings, gamma, etc
[Nexus 4 Original Android Development] gianton:
Here is my script file values:

#!/system/bin/sh

# First we set colors
echo "255 255 255" > /sys/devices/platform/kcal_ctrl.0/kcal

# Now Gamma, need to change values at place 6 and 7 only
# value at 6 is amp0 and at 7 is amp1
# kgamma_r is for red, g for green and b for blue

# values amp0 and amp1 are located below $$$$
# ---------------------$$$$$-----------
echo "208 114 21 118 0 17 00 80 48 2" > /sys/devices/platform/mipi_lgit.1537/kgamma_r
echo "210 114 21 118 0 16 00 80 48 2" > /sys/devices/platform/mipi_lgit.1537/kgamma_g
echo "212 114 21 118 0 15 00 80 48 2" > /sys/devices/platform/mipi_lgit.1537/kgamma_b
# undercover's LG Preset values :D, thank you.

But I get these values after the command cat /sys/devices/platform/mipi_lgit.1537/kgamma_r in terminal.
[Nexus 4 Original Android Development] Harsh:
Did you check permissions? Also need to know if init.d script is being executed or not. Depends on ROM and ramdisk.

if not you can execute using terminal.

because what i see is my default values.

Sorry thread was just locked by mistake. All is back to normal now.
[Nexus 4 Original Android Development] gianton:
Permissions are OK, I think it's because of my ROM (Liquidsmooth). I'll try it with another ROM too.
[Nexus 4 Original Android Development] Harsh:
it may not be rom if you did flash using fastboot. Because in my boot images as it is using stock ramdisk and init.d is not executed.
[Nexus 4 Original Android Development] gianton:
I did flash the boot.img using fastboot, should I reflash the kernel using recovery?
[Nexus 4 Original Android Development] Harsh:
No need. Can you dirty flash first your rom back, and then flash kernel with recovery. So that you get your ROM's original ramdisk back.
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-29 : Gamma

I'd say from around 13th builds have slightly decreased battery life. No hard data, just a hunch. My setup hasn't changed apart from kernels and rom updates and I closely monitor temp and discharge graph. One thing for sure, discharge graph is a lot "nicer" as of steadier without jumps on stock uv version.

Are you willing to try another add on? Just hsic wakelock fix + custom UV table. If that is better or same then we can try gamma in top of it later.
[Nexus 4 Original Android Development] Harsh:
Well we can try if its improving :D....

And stupid me made mistake in RAMDISK, Building boot images again. init.d scripts would work fine after that.
[Nexus 4 Original Android Development] gianton:
I'll wait for the fixed rel, maybe it'll work without reflashing my ROM again. :good:
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-29 : Gamma

I mentioned "nicer" graph.

From today, not discharged fully yet. Stock uv.

This one from yesterday, Harsh 28 - 100mV

See them little dives when waking phone up?
[Nexus 4 Original Android Development] Harsh:
fixed boot images are already online. Download links changed in OP. :D
[Nexus 4 Original Android Development] pitjago74:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-29 : Gamma

Well your allready know im "nominal" i have 28 low and i did more UV with out a problem:D

www.teregalounpoema.com
[Nexus 4 Original Android Development] gianton:
Followed your steps, reflashed my ROM/gapps, then your kernel, fixed permissions in recovery and I think it works! :good: No more app to control my kernel!!

Here is a screenie with my settings:

---------- Post added at 03:54 PM ---------- Previous post was at 03:52 PM ----------

See my post below, it's fixed following your instructions with the 1st rel. :good: I'll flash the updated kernel anyway, thanks mate!
[Nexus 4 Original Android Development] Harsh:
Compiling one now. Let me know how it goes when I give u link. Anykernel or boot.img???

And with GAMMA control with init.d scripts added.
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-29 : Gamma

Any kernel please. PC still not setup :eek: :)

Will finish this one today and test the other one tomorrow.

Thanks again. *bows*
[Nexus 4 Original Android Development] aimcr7:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-29 : Gamma

Hey guys i am new to this phone, coming from galaxy nexus, flashed latest kernel jan-29 low and lowered even more by 12.5mV. Running it for almost a day and no problem at all, battery life is pretty good also. :)

What color setting do you find the best for you? Please share with me ;)

And what the best configuration of this kernel, i read couple pages back harsh mentioned that ondemand on the latest one is lil bit messy, and i cant find recommended tunable for interactive.

Thanks for your help guys, already read some pages back and following this thread for 2days but cant find a good answer. :)
[Nexus 4 Original Android Development] Luigi_2:
is it just me or the minimun freq keeps sticking at 1026000? jan - 29 build
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-29 : Gamma

For colours look for the spreadsheet thread in general forum.

For kernel, leave as it comes. That's the whole point of this kernel, no messing about with setting. :thumbup:
[Nexus 4 Original Android Development] gianton:
Only setting I change is for the gamma with a script file in init.d folder, this kernel needs no app or extra settings. :good:

My fav gamma settings are:

LG Presets 255 255 255, 17 16 15, 0 0 0

Try more here.
[Nexus 4 Original Android Development] Imperticus:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-29 : Gamma

Great work harsh with the gamma controls. LG preset definitely looks better than Google, which is too washed out.
[Nexus 4 Original Android Development] Harsh:
Thank you.

Using app to set it, or Script?

And I thought you didnt come online anymore... :o
[Nexus 4 Original Android Development] Bluewall:
If fast voltage table is, let's admit, x for 384Mhz

So for faster it's x-50mv ?

And because i've flashed the standard version it's x - 50mv - 100 mv ?

(asking because I have 750mv for 384mhz (which is stills stable and that's pretty awesome :D)
[Nexus 4 Original Android Development] aimcr7:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-29 : Gamma

Already using lg settings, but may someone found something better than lg setting.

Ok mate thanks :)

Thanks bro. ;)
[Nexus 4 Original Android Development] Harsh:
for frequencies below 702 MHz its all same for fast and faster... (By Qualcomm), and after that frequency table start to diverge.
[Nexus 4 Original Android Development] gianton:
Are you using an app to control the kernel? Mine's min freq is at 384MHz.
[Nexus 4 Original Android Development] gianton:
Harsh,

Are the kernels updated in OP or still the same 29th releases?
[Nexus 4 Original Android Development] Imperticus:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-29 : Gamma

Script, I always use scripts when I can.

I don't come on as much as before. Med school is taking its toll.
[Nexus 4 Original Android Development] zhuozhi211:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-29 : Gamma

Don't think stock ROM support init.d? though there's this folder.

edit: OK nvm installed SManager to run script at boot. not the cleanest but works.
[Nexus 4 Original Android Development] DowntownJeffBrown:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-29 : Gamma

If u are talking about the min MHz jumping up to your 1026 MHz when u touch the screen its because of mpdecision (project butter). Its normal

Sent from my Nexus 4 using Xparent BlueTapatalk 2
[Nexus 4 Original Android Development] 75markus:
+1, tried LG presets now, much better !
[Nexus 4 Original Android Development] noneabove:
mpdecision and project butter are slightly different though. In this case he is directly referring to mpdecision you're correct (just clarifying), it's qualcomms strategy of not letting the cpu drop below 1026 MHz for awhile after screen press, but project butter is slightly different of ramping cpu to 1026 MHz on screen touch but it can then drop to whatever it really needs immediately after (assuming the load isn't great enough for 1026 MHz)

So the point is, when you touch the screen and see your min frequency change, that's mpdecision
[Nexus 4 Original Android Development] mundixx:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-29 : Gamma

It seems the option for fauxclock to change these gamma values are gone with latest version.. Can you at least let this be optional for us who prefer the app?

It's cause every time i flash a new nightly, the my init.d script is gone..

Sent from my AOSPA Nexus 4
[Nexus 4 Original Android Development] eep2378:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-29 : Gamma

Love the new gamma support. Much more convenient than having multiple apps.

Here's my favorite gamma settings. It's an init.d script, set permissions and reboot :D

http://d-h.st/sai

Sent from the Nodes of Ranvier
[Nexus 4 Original Android Development] Luigi_2:
I think harsh keep the mpdecision, i monitored it with trickster mod, if i dont use the phone for few sec, the freq drops to 384 MHz, when I touch the screen, freq ramps to 1026, and keep scaling between 1026 and 1512, completely ignore the steps below 1026
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-29 : Gamma

That is intentional.
[Nexus 4 Original Android Development] DowntownJeffBrown:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-29 : Gamma

Yes I understand that.

Sent from my Nexus 4 using Xparent BlueTapatalk 2
[Nexus 4 Original Android Development] rskyline:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-29 : Gamma

What is the command to see which processor i have? On terminal emulator? I want to know if my processor is slow-faster...

Enviado desde mi Nexus 4 usando Tapatalk 2
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-29 : Gamma

Here is full today's report. I had extra usage from yesterday as I listened to music for 40 minutes on the way to work. Some whatsapp, few calls. Still, half an hour extra on harsh28. That's on stockUV kernel. Tomorrow testing stockUVHSIC.

Edit. Almost forgot. Noticed just now for the first time ever that plugging into stock charger resulted in it being recognised as usb. Plugged same cable into ipad charger and it shows AC. :what:

Not a kernel fault I'm sure but I wonder why...
[Nexus 4 Original Android Development] ctfrommn:
Stock charger is garbage....I stopped using that after like a week. So you are getting extra battery from Harsh's or Stock?
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-29 : Gamma

From stock with custom uv. HSIC wakelock is back,but I guess I didn't really give it a chance to munch away. It added up to just over an hour of wakelock. As I mentioned, somewhere in the middle of the month I "felt" a bit of a step back in terms of battery life. Testing some moar stuff. :)
[Nexus 4 Original Android Development] ctfrommn:
Interesting.....I will probably test that kernel too when Harsh posts it. Correct me if Im wrong, but isnt that exactly what Faux's enhanced stock is? Undervolted stock with wakelock fixes?
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-29 : Gamma

Never tried Faux. Stopped following him when he went too much into changing stuff (reinventing the wheel). Discovered Harsh and not going anywhere now :)

Edit. BTW, after charging for a bit I swapped chargers. As soon as I plugged it in it showed usb but then immediately changed to AC. O now wonder if charger is "intelligent" and is supplying lower mAh when battery is depleted to prevent it from deteriorating prematurely.
[Nexus 4 Original Android Development] eep2378:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-29 : Gamma

Read the OP:cool:

Sent from the Nodes of Ranvier
[Nexus 4 Original Android Development] ctfrommn:
Yea, I dont use Faux's anymore either, but I believe thats what he created. Now I use only Harsh or Trinity depending on my mood ;)
[Nexus 4 Original Android Development] Harsh:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-29 : Gamma

Can you share the link for hsic fixed stock with Gamma link with everyone here? Maybe they give it a shot too, I am testing same kernel. But I am away from home so maybe you can just paste my link on here, as it is not publicly visible in my dev host folder.

Sent from my Nexus 4
[Nexus 4 Original Android Development] Luigi_2:
Had about 2-3 soft reboots with build 29, standard build
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-29 : Gamma

Stock + custom uv tables + hsic fix + gamma. I think 3g battery saving is in it too.

http://d-h.st/gXY
[Nexus 4 Original Android Development] eep2378:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-29 : Gamma

Secrets out ;)

Charging up :D

Sent from the Nodes of Ranvier
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-29 : Gamma

I think sometimes "improvements" actually act opposite. Sometimes it's best to stop at some point, there is only so much you can get out of it. It can be that, although improvements individually, they just don't play well with each other. I've seen that happen before. I'm really glad Harsh is willing to roll back a bit and look into it. :thumbup: Not many devs a ready to even consider that somewhere they went over the top (not saying it happened here, but it doesn't hurt to test).

Gonna fire up PC later and send some beers (finally) :)
[Nexus 4 Original Android Development] ctfrommn:
Totally agree, I wish I knew how to compile kernels/Roms....I would cease bugging anyone else for features or enhancements. Sometimes more is truly less.
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-29 : Gamma

Do it. Then I'll be bugging you :D
[Nexus 4 Original Android Development] superleeds27:
What are the hsic fixes then?
[Nexus 4 Original Android Development] ctfrommn:
Ive tried, I am only tech savvy with hardware.....software, Linux, coding....pffft! fagetaboutit
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-29 : Gamma

Well, apparently it's easy. Just to build it. I would not have enough time (longer periods of it) and resources to build it. You need a fairly powerful machine so you don't wait for 20h for kernel to compile :D

Also, I can't dedicate my PC to Linux, since my wife would probably kick me out.

Third. I'd rather let Harsh do it and buy him a beer :D
[Nexus 4 Original Android Development] rskyline:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-29 : Gamma

Doesn't work.

Enviado desde mi Nexus 4 usando Tapatalk 2
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-29 : Gamma

Reboot then do it.
[Nexus 4 Original Android Development] ctfrommn:
I have a very powerful pc and an empty SSD to put Linux on and build, but!!!!! I cant even get Linux running properly....grrrrrrrr I feel like such and idiot every time I try to play around with it. Especially when teenagers are on here coding and building, man I feel old :p
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-29 : Gamma

Live cd will sort you out. Ubuntu will do the job. Then there are plenty guides how to do it. You learned android - you'll learn that. Just need to get your head around it once. :thumbup:

I'd try if i was you.
[Nexus 4 Original Android Development] ctfrommn:
Ubuntu is what I last tried....booted, but couldnt log in or gain "root" or admin permissions....whatever they call it. I agree its possible, but it is so much more frustrating to use then windows......why cant we build on a windows machine damnit!!!

Ok, is gamma not controllable via Faux on the new stock kernel? Each time I try to adjust it the sliders dont stay put.
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-29 : Gamma

Try

sudo apt-get brain

Lol. Nothing personal, just felt like a good time to use that joke :D
[Nexus 4 Original Android Development] ctfrommn:
The fact that I dont even get that should tell you all you need to know about my coding prowess....LMAO! :D
[Nexus 4 Original Android Development] persheshhater:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-29 : Gamma

Why does min frequency become 1026 and max 1296? Used to be 384 and 1510 or no?
[Nexus 4 Original Android Development] ctfrommn:
Those are stock frequencies from Google.
[Nexus 4 Original Android Development] persheshhater:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Jan-29 : Gamma

I asked why like that not what are those.
[Nexus 4 Original Android Development] ctfrommn:
Because this is a STOCK kernel. It will boot with stock frequencies.