yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Feb-01 : Safe UV by Skkip

Hi.

Battery calibration as such doesn't exist. You don't need for kernel to "settle" either, unlike rom it doesn't need to build caches and dalvik after a flash. The reason it's best to give it 2-3 cycles is due to the fact that with more statistics you can make a better record of what the battery life is really like. Flashing itself takes a lot out of battery due to reboot, so on a first cycle you are not going to get a definitive answer unless you top it up right away.

_________________________________________

Sent from my fridge. Make : LG Model : N4
[Nexus 4 Original Android Development] gianton:
Well that's what I do and it works the best for my battery. Device always shuts down at 0% which I think it's a good thing.
[Nexus 4 Original Android Development] superleeds27:
Flashed hthe zip containing Undercovers Colour settings.

Good Job ;)
[Nexus 4 Original Android Development] Lownita:
I want to extend my script file, which already has color, gamma and vibration intensity. I would like to UV by another 50 mV (like previous low builds). How would I do this? :)
[Nexus 4 Original Android Development] oddlyshapedstickman:
Hey Harsh, the following file:

d-h.st/0LD

Is it the normal UV or the low voltage? Thanks for the awesome kernel, gamma works brilliant!
[Nexus 4 Original Android Development] Harsh:
Well there is a way to do it, check this file "/sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels" in text editor.

And echo all values you need as it is in there.

frequency : voltage for all frequency ranges. Here mistakes are not allowed :D...

Or if you set your voltage one time in trickster mod, and upload that file to me after setting voltages.

That is normal UV by SAFE100 UV. If you read there, low voltage build discontinued due to ppl having so many reports after flashing LOW build without testing their CPU capabilities.
[Nexus 4 Original Android Development] romeoliny:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Feb-01 : Safe UV by Skkip

This kernel.... Feb 2nd build is running very cool and amazing batt returned.

Literally the only thing missing is the delayed alerts during deep sleep. (Which all kernels with wake fix exhibit)

I know you're looking into this which we all appreciate but once you find the "fix" for that, this kernel will be unstoppable.

Thanks for all your hard work. You never cease to amaze.
[Nexus 4 Original Android Development] bleuf1sh:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Feb-01 : Safe UV by Skkip

Mind sharing your script? :)

sent from my nexus4 | bionic | harsh
[Nexus 4 Original Android Development] phositadc:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Feb-01 : Safe UV by Skkip

What is delayed alerts during deep sleep? You say it's on all kernels? Is it only WiFi or also mobile data?

---------- Post added at 01:42 PM ---------- Previous post was at 01:41 PM ----------

On the February 1 build my power button would not wake up my phone. Anybody else experience that? This was the build labeled "normal", not the extra low voltage one.
[Nexus 4 Original Android Development] Harsh:
Feb-01 was bad build. Making phones hotter than normal. Feb-02 is latest build. But if you want even newer here is surprise

Changelog: Build Feb-03

Safe UV adjusted.

Added Google's latest changes

Link: http://d-h.st/kNP
[Nexus 4 Original Android Development] aimcr7:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Feb-03

Downloading, will report later ;)
[Nexus 4 Original Android Development] immunityx:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Feb-03

Could you post a fastboot IMG of the latest kernel?
[Nexus 4 Original Android Development] Harsh:
Fastboot images are available from my signature dev-host folder. But as you are from Tapatalk let me post it for you in here

http://d-h.st/GpH
[Nexus 4 Original Android Development] immunityx:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Feb-03

Thanks Harsh... Flashing
[Nexus 4 Original Android Development] superleeds27:
Googles latest changes?
[Nexus 4 Original Android Development] Harsh:
https://android.googlesource.com/kernel/msm/+log/android-msm-mako-3.4-jb-mr1

look at top two commits, those were pushed out just recently with JOP40G 4.2.1_rc1.2 push.
[Nexus 4 Original Android Development] superleeds27:
Cheers for that. Updated to a JOP40G ROM lately too.
[Nexus 4 Original Android Development] Bluewall:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Feb-03

Does it still have some different gama and colours hardcoded? Just curious if my eyes are playing with me lol

Envoyé depuis mon Nexus 4 avec Tapatalk
[Nexus 4 Original Android Development] bleuf1sh:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Feb-03

Tha heck harsh.... How am I supposed to go through a few charge cycles to feel out a new release if you keep releasing so often ;)

I'm loving it :)

sent from my nexus4 | bionic | harsh
[Nexus 4 Original Android Development] Harsh:
Yes little different. My kernel default gamma are in Post3.

which would be 255,255,255, 4,0,26 2,0,16 on Google preset

Where as google's own default would be 255,255,255 0,0,31 0,0,16
[Nexus 4 Original Android Development] Tylog:
Great Kernel, thank you for your nice work.
[Nexus 4 Original Android Development] odeccacccp:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Feb-01 : Safe UV by Skkip

Liquid smooth. On 4g. Or H+

So what u guys saying is this kernel battery Is just as good.
[Nexus 4 Original Android Development] eep2378:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Feb-03

If you're primarily using mobile data than your screen time won't be as good.

Sent from the Nodes of Ranvier
[Nexus 4 Original Android Development] romeoliny:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Feb-03

When your device using a kernel with wake lock patches or HSIC fix have a tendency to delay data messages on WiFi when in deep sleep.

To test this allow your device 5-10 min of sleep then message your device using WhatsApp or LiveProfile messenging apps. Even emails but its less accurate checking the time lapse due to slow servers.

Hope that helps!
[Nexus 4 Original Android Development] gianton:
If I'm on 4G/H+ I get about half the screen on time. So it's OK for you too.
[Nexus 4 Original Android Development] Harsh:
Thanks :D... do let me know how it goes around this time.

Hope you are having great start of new year.

ROW scheduler is new thing and is constantly being patched and developed. It is an IO scheduler which give read more priority than write. Not sure if I would be using it, because I am satisfied for what we have right now cfq and deadline, I do like SIO maybe add it too in future. If I add ROW i would remove noop as I assume no1 would be using it.
[Nexus 4 Original Android Development] undercover:
Thanks for explanation. I pulled a fast one here without thinking, should have searched myself really. :o

So, in reality, it would only be useful when updating apps, as this is the only time I can think of that I noticed lag during write. If that's the case, it's not a big deal imho.
[Nexus 4 Original Android Development] jarjar124:
yeah it prioritizes read over write hence ROW . i found it a big difference in my opinion on franco, but i miss uv and sweep2wake so i switched back to harsh
[Nexus 4 Original Android Development] undercover:
Could you explain please what sort of difference? When using what?
[Nexus 4 Original Android Development] jarjar124:
the overall experience. might be a placebo, but when streaming videos/music it feels slightly faster( didn't have to buffer at all on youtube when I usually do buffer) It's all based on opinion I guess. One might like deadline while others like ROW. ROW I/O Scheduler = Read Over Write. Chances are that, using a mobile device you will need to read something from the storage (to play game, play music, place a phone call, etc.) rather than to write to the storage. To put it in another way, smartphone is made to consume (read) content, not to create (write) content. So ROW should theoretically give better user experience by prioritizing reading threads over writing threads. If Harsh does include it, he can remove noop since no one really uses it.
[Nexus 4 Original Android Development] Harsh:
See it coming in next build :silly:...

Noop is vanishing sooner than I expected :D.
[Nexus 4 Original Android Development] jarjar124:
hehe alright :D
[Nexus 4 Original Android Development] undercover:
Have an issue, only one though, the rest, including battery life is good. When exiting wifi range, data shows as connected, but doesn't actually connect. Quick flick of data off/on brings it back. Seems to be Harsh related, as I didn't have such a problem on other kernels. If you remember, I'm running a clean install.
[Nexus 4 Original Android Development] Harsh:
Thanks. I will look into it. Will have to do some walking for that :rolleyes:

Sent from my Nexus 4
[Nexus 4 Original Android Development] undercover:
Lol. You range can't be THAT great. Is there anything I can do to help you with troubleshooting?

So far 3h42m screen on, 6h something off charger with 27% left. Not bad for the first boot. Let's see how much I can get out of it. :)
[Nexus 4 Original Android Development] Harsh:
New build 0201-2013 uploaded

Changelog Build 0201:

Added ROW iosched and set as default

Removed some governors (ondemand is default and preferred)

Qualcomm Secure Execution Environment Communicator fixes which were missed out before.​

Download LINK in OP as always.

Hit THANKS if you like it... :D
[Nexus 4 Original Android Development] jarjar124:
Alright
[Nexus 4 Original Android Development] eep2378:
Still trying to kill the 3012 build :D

4 hr screen time and 30 min voice calls still 40% left. :beer:

Edit: still -100 UV as default ?

Sent from the Nodes of Ranvier
[Nexus 4 Original Android Development] Harsh:
No change in UV, same as previous. Need to be stable for all phone right :angel:?

Thats some impressive battery results, voice calls are battery killer on nexus 4.
[Nexus 4 Original Android Development] undercover:
8h24m, screen in 4h54m,6 percent left. So I finally hit 5h. Stock clocks (as I find it pointless downclocking since it only affects cpu0. Another - 50 uv. Charging and flashing next one :D

Hmmm, my battery keeps being measured at around 1800mah in battery widget monitor pro... I wonder how reliable that is.
[Nexus 4 Original Android Development] Harsh:
This is with sweep2wake enabled, suspend_backoff wakelock caused when sweep2wake is enabled. Probably you would have 10 mins more screen on time if sweep2wake disabled, but its a feature good to use :D
[Nexus 4 Original Android Development] undercover:
It only works for me half the time, so I don't use it anyway. What's the best way to disable it completely? (even with reboots). I use System Tuner, so don't want to use another app just to turn it off.

Oh, and I would have got another 10 minutes of screen on regardless, since I had just over 100mv left in the battery till the full discharge. ;)
[Nexus 4 Original Android Development] Harsh:
Create bash script and place it in init.d folder with some name starting with numbers and put below line in that script

echo 0 > /sys/android_touch/sweep2wake
[Nexus 4 Original Android Development] pixiebob:
harsh: could you make sweep2wake working on whole screen please my friends. :D
[Nexus 4 Original Android Development] DowntownJeffBrown:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Feb-03

It matches any kernel I've tried as far as battery but IMHO this kenel has the best performance and smoothness. Harsh has gone the route of using mpdecision as Google does unlike other devs who like u to turn it off or get ride of it all together. Also the undervolting on Harshs kernel is just perfect. I can just flash his kernel and leave it instead of changing dozens of settings to get my end result of good battery and in turn losing performance. You will just need to try out Harsh and try out different kernels and find the best fit for you. My best fit is right were I'm at and what u are looking into which happens to be Harsh. His relationship with his users is par none also. Every issue I've posted that needed his help or input has been responded to by him. I'm not saying other devs don't have a great relationship with their users but this thread is defiantly the most supportive and without flaming. Just pure help and the thread always takes a mirror image of its dev or op.

Sent from my Nexus 4 using Xparent BlueTapatalk 2
[Nexus 4 Original Android Development] 75markus:
Word !
[Nexus 4 Original Android Development] gianton:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Feb-03

+1 Well said!

Sent from my Nexus 4
[Nexus 4 Original Android Development] odeccacccp:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Feb-03

Ok I see, great thanks.
[Nexus 4 Original Android Development] romeoliny:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Feb-03

Harsh,

Before I get too excited... Can you verify something for me? My alert delay on WiFi deep sleep seems to have gone away in Feb 3rd build.

I verified device is in sleep and on WiFi. Can you or anyone test as well? If so I'm officially in heaven. But it's working for me over 5, 10, & 15 min increments in deep sleep.

Thanks!
[Nexus 4 Original Android Development] meangreenie:
Anyone else getting the purple durples :) on darker blues using the LG settings from post 3?
[Nexus 4 Original Android Development] Austin Ag06:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Feb-03

I just rooted my phone yesterday and installed the latest harsh kernel this morning. I wiped cache and dalvik cache but I'm getting sod. I reverted back to stock for the time being
[Nexus 4 Original Android Development] rskyline:
What should i do to test if gamma changes works on cm stock kernel? I tried flashing the zip and putting script on init_d folder but i can't see a difference, only when i flash your kernel and made the changes it works! Thanks :D
[Nexus 4 Original Android Development] 75markus:
gamma control has to be added in kernel, so stock CM kernel = no go

Build Jan-29: Gamma

Added Gamma control possibility using script or terminal

Step forward in CLEANER device (no kernel controlling apps)
[Nexus 4 Original Android Development] rskyline:
Thanks for reply, i'll stay with harsh then :)
[Nexus 4 Original Android Development] -iNSiGhT-:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Feb-03

Hi Harsh and everyone!

Just received my N4 (yes, it has been looooong)

I'm on PA and when I try you terminal command on first post (to know what CPU we have) I have :

Error : device not found

Any idea?

Thanks.

Paranoid Nexus4...
[Nexus 4 Original Android Development] ckret:
flash harsh kernel

reboot and use the command in terminal

"su

dmesg | grep PVS"

shouldnt interest you anyways... its more something for devs and not for normal users
[Nexus 4 Original Android Development] 75markus:
IMHO it´s the better alternative anyway ;)
[Nexus 4 Original Android Development] inzaghi75:
I have flashed the latest kernel. Do i need to use the google preset script too?
[Nexus 4 Original Android Development] DowntownJeffBrown:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Feb-03

It comes with Harshs defults which can be seen in post 3. Best color setup in my opinion. He's defults are using Googles presets

Sent from my Nexus 7 using Xparent BlueTapatalk 2
[Nexus 4 Original Android Development] flxdms:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Feb-03

Checking the output of PVS is important if you want to UV.
[Nexus 4 Original Android Development] inzaghi75:
So I need only to flash the kernel?
[Nexus 4 Original Android Development] syncopy:
SOD? Can you explain further?

Which *version* did you flash, by the way?

Edit: I am aware of SOD. Was quite a nightmare on the GNex. Just want to get clear picture here.
[Nexus 4 Original Android Development] DowntownJeffBrown:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Feb-03

Yes if u flash his kernel u will get his kernel default automatically that's correct.

Sent from my Nexus 7 using Xparent BlueTapatalk 2
[Nexus 4 Original Android Development] estallings15:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Feb-03

Harsh, I can't seem to figure out how to use the echo command on multiple lines of text. How would I arrange a script to put in init.d with this voltage table?

384000: 700000

486000: 700000

594000: 712500

702000: 737500

810000: 775000

918000: 787500

1026000: 812500

1134000: 862500

1242000: 887500

1350000: 912500

1458000: 925000

1512000: 937500

Thanks for your help and the fantastic kernel.
[Nexus 4 Original Android Development] 75markus:
if you like to try the LG preset from harsh´s OP, you can have a look at my zip

http://xdaforums.com/showpost.php?p=37389987&postcount=1392
[Nexus 4 Original Android Development] pitjago74:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Feb-03

Well. I have those with 3FEB :D

www.teregalounpoema.com
[Nexus 4 Original Android Development] estallings15:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Feb-03

No you don't. I'm on Feb 3.
[Nexus 4 Original Android Development] Lownita:
Curious: Is there any safety mechanism with setting voltages, or could I fry my CPU by rising voltages by let's say 500 mV? :D
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Feb-03

It would shut down. It's hard to fry it, but if you tick set on boot it is possible. Give it a go and let us know :D
[Nexus 4 Original Android Development] Lownita:
Haha sorry mate, it took me nerves of steel to get this phone, would be too much of a tragic loss for me :silly: :laugh:
[Nexus 4 Original Android Development] Mr Djoegoe:
''Those having kernels with modified RAMDISK and other things, do flash RESET kernel(provided by other great devs in their kernel thread) before flashing this kernel.''

Im using the LiquidSmooth rom http://xdaforums.com/showthread.php?t=2056803 how can i see if the ramdisk is modified or not?

Thanks in advanced :)
[Nexus 4 Original Android Development] rskyline:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Feb-03

For sure it will fry but you're free to try that lol

Enviado desde mi Nexus 4 usando Tapatalk 2
[Nexus 4 Original Android Development] estallings15:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Feb-03

Just flash a reset kernel, or better yet the stock kernel, and then flash harsh kernel right over the top. That's what I do. It takes 10 seconds.
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Feb-03

Especially as you can stack zips in recovery.
[Nexus 4 Original Android Development] hospital349:
This made me move over to Harsh Kernel.

You're completely correct and I'm glad I took a moment to allow what you wrote to sink in. Immediately after flashing the Kernel plus LG Gamma Presets, I felt something about my N4 that I haven't felt for a long time. That being; the power of Mako. However, actually this time was a variation in feeling. Harsh Kernel feels more like Stock+ (and I mean that in a good way, of course.)

No performance is lost and from what I gather via battery result discussions, battery life appears to be extended. (I'm looking forward to experiencing this also). This is all I want really. I purchased an N4 for its raw power and don't want to lose any of that just because battery life on stock isn't up to scratch. Now I don't have to lose any of it and have everything to gain from using this Kernel.

Thanks Harsh & thanks JeffBrown for giving all us non-Harsh Kernel users an heads-up.

Oh yeah, and LG Gamma Presets are just what the doctor ordered. Utter perfection. :good:
[Nexus 4 Original Android Development] Harsh:
Guys dont worry, there is nothing to fry :D

we have safety mechanism. Max voltages cant go above 1300 mV. So i think its okay.

and for echo command for multiple line

echo -e " 384000: 700000\n 486000: 700000\n 594000: 712500\n 702000: 737500\n 810000: 775000\n 918000: 787500\n 1026000: 812500\n 1134000: 862500\n 1242000: 887500\n 1350000: 912500\n 1458000: 925000\n 1512000: 937500" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

note: spaces used by me are not necessary but I just did to make it as in original.
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Feb-03

Aww. I wanted to see a melted N4....

Feb3 is sweet. Not sure about notifications yet though, as I just reflashed stock images,and done a very very clean install of everything:D
[Nexus 4 Original Android Development] casonswag:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Feb-03

Where can i get the stock images i cant find them
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Feb-03

Battery improvement thread, post no 2.
[Nexus 4 Original Android Development] trueblueram:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Feb-03

Does that work over multiple times, the flashing stock images thing? As in surely there is no incremental improvement each time we re flash?
[Nexus 4 Original Android Development] romeoliny:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Feb-03

Undercover,

I did several tests and notifications seem to be working on Feb 3. (Arrive on time during deep sleep on WiFi)

I asked others to test as well but no one responded. I'm used to being ignored though. Lol
[Nexus 4 Original Android Development] casonswag:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Feb-03

Thanks
[Nexus 4 Original Android Development] Higgsy:
I've moved over too :good:
[Nexus 4 Original Android Development] Harsh:
You are not being ignored mate. But I have not got change to test it, as i am using it on 3g and it always used to work on 3g. Currently typing this with my laptop connected to my nexus4 wifi-hotspot :D
[Nexus 4 Original Android Development] christophs01:
AW: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Feb-03

Does anyone else have the problem with 3rd feb build, that the g sensor doesnt work correctly in temple run?

Gesendet von meinem Nexus 4 mit Tapatalk 2
[Nexus 4 Original Android Development] -Asskicker-:
I have no idea what's going on, but I just flashed to the latest version of raspbeanjelly and harsh kernel.

I booted my phone and now it's constantly at 1Ghz to 1.5Ghz, and the phone heat gets to 48!

I removed trickster, rebooted, cleaned cashe but still the same...

Any ideas?
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Feb-03

Exactly that. That's why I mentioned it in the first place ;)

Thanks for reporting, I will do too when I can.

---------- Post added at 09:11 PM ---------- Previous post was at 09:09 PM ----------

Remove all kernel control apps and Reflash kernel. No such problem here.

Btw, guys, don't you think it's time to buy Harsh a beer or two?
[Nexus 4 Original Android Development] DowntownJeffBrown:
Re: [KERNEL][UV][Linux 3.4.28] Harsh Kernel build Feb-03

Or two :thumbup:

Sent from my Nexus 4 using Xparent BlueTapatalk 2
[Nexus 4 Original Android Development] hospital349:
Definitely give your device some time to settle after flashing. Although are you 100% sure that these are the only 2 frequencies being used? Does it read as this under INFO via Trickster Mod?

My frequencies fluctuate when I touch the screen (for obvious reasons) but it does read as 384MHz being used under INFO.

Trickster Mod's min_freq (under general) always seems to be set as 1026MHz and even when I change it, it always seems to change back. However, lesser frequencies are being used regardless of this, so I just ignore this app bug completely.