yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] Harsh:
Sure I will do it when I get my laptop back in use. Till than maybe relax. Me too using stock ROM and kernel for now. ;)
[Nexus 4 Original Android Development] undercover:
Thank you. You are a star. No rush, as I said.

This is the only annoying thing for now, don't think phone gets as hot anyway, haven't bothered to collect any data :D

Bastards could have calibrated it though...
[Nexus 4 Original Android Development] thracemerin:
If you're looking for something for right now, you can try the build I posted in my _motley thread, it's 4.3 stock with UV, gamma and a few other fun things.
[Nexus 4 Original Android Development] undercover:
Will have a look mate, thanks a lot. :thumbup:

Oh, and I did check, 44-45c° at CPU again, so they didn't bother with voltages.
[Nexus 4 Original Android Development] carburano:
My nexus4 (after a huge drop and screen self replacement) is still on 4.2.2 with your kernel and I will update tomorrow to 4.3. then I will wait your release in august :)

BTW: like you i did a promise to my girfriend: 6 month without rom cooking and modding... 3 months to go :)
[Nexus 4 Original Android Development] omnikai:
This would be very much appreciated! I'm very grateful of your wonderful support for my phone :)
[Nexus 4 Original Android Development] undercover:
Bumpidy bump

Yep, just like a noob.

[MENTION=1628685]Harsh[/MENTION], just a casual question on a progress ;)
[Nexus 4 Original Android Development] carburano:
My nexus4 needs your magic! Month without computer is done... Isn't it?

Inviato dal mio Nexus 4 con Tapatalk 4
[Nexus 4 Original Android Development] zyonee:
A small contribution

My kernel is based off Harsh's. I'm taking the liberty of putting a one-time build here, since Harsh seems busy or absent. Most of the work in my kernel is his, the rest are just small additions, mostly from other kernel devs that I've cherry picked. Mine is compiled with the Linaro 4.8.2 toolchain and with -O3 optimizations, so it's quite fast. Tested with PAC-man ROM (should therefore also work perfectly with CM 10.2 and other 4.3 AOSP based ROMs).

If you want a change log, please look at commit history for the cm-10.2-linaro branch in the source link I've provided.

Flashable zip: Here

img file: Here

Source @ github: Here

Harsh: In case you don't want this in your thread - my apologies, please remove this post.

And everyone else, please remember that any problems in the kernel I've posted are strictly not Harsh's fault and should not be discussed at length in this thread. I will not provide support for it, but I do use this one as my own daily driver.
[Nexus 4 Original Android Development] sean222:
Tried this on crDroid (JSS) and just got the Google logo boot-looping :(
[Nexus 4 Original Android Development] zyonee:
That's odd. You could try flashing the boot.img but you'll need to manually push the newer wifi driver files or wifi won't work.
[Nexus 4 Original Android Development] ctfrommn:
Same for me, my guess is its only working on CM based Roms.
[Nexus 4 Original Android Development] Harsh:
Hey guys, got my new laptop.... :D but its Macbook Air :crying: ... still great battery. And enough to compile kernels..

I will be back soon :D.... downloading sources back, sync.... Need to get updated too
[Nexus 4 Original Android Development] undercover:
Yay

Yay

Yay

Yay

Yay

Yay

Yay

Yay

Yay!

Not a bad laptop either :thumbup:
[Nexus 4 Original Android Development] fabian.m:
Finally *o* can't wait!
[Nexus 4 Original Android Development] zyonee:
Cool! Please have a look at my fork of your kernel. There are probably be some commits you may want to pick into your source.

Here's the commit history. Be extra careful to include the Aug 20 commits and the more recent gamma calibration commit, as many of them are required for CM10.2 to run. You don't need to pick the overclocking commits of course.
[Nexus 4 Original Android Development] zyonee:
So the same kernel as before, but working this time:

Flashable zip

I had to adjust the ramdisk offset. Source @ github, please see my previous post.
[Nexus 4 Original Android Development] Brad1971:
Glad your back. Your kernel was the best I've used. Tried others but always came back.Missed your kernel!
[Nexus 4 Original Android Development] :
Yes, can't wait for a new harsh kernel.
[Nexus 4 Original Android Development] Assis Brandão:
and mine is which?

Number: 4
[Nexus 4 Original Android Development] grisha1:
Could you put a link for the zips as well? Would love to try but have no PC access to fastboot flash :cool:
[Nexus 4 Original Android Development] Harsh:
If you are running Jan 07 than stable build is same, probably without changes.

Jan 09 experimental build is me adding Google interactive governor patches and few extra patches from caf to make it work without reverting. I am on phone away from home would do it when i am back. :)

Sent from my Nexus 4
[Nexus 4 Original Android Development] Harsh:
First time posting screen shots of battery. :)

All on stock rom and my kernel. With all stock kernel settings no tweaks. Sweep2wake active when I am awake and using phone frequently. And that mediaserver 2 hours is my vibar call :)

Sent from my Nexus 4
[Nexus 4 Original Android Development] grisha1:
Looks good? Which version? New stable to be or the next beta? And always on wifi or also with 3G? Lots of questions, sry :cowboy:
[Nexus 4 Original Android Development] Harsh:
It's a latest stable version. Always on wifi. But trust me on this my kernel is the only kernel now running with 3g power saving tweak without data drops :cool:

So in theory it should have better 3g battery than on all other kernels (just based on 3g modem consumption)

Edit1:

New build uploaded, changelog in OP and dont forget to hit thanks.

Also have put both download version

1. zip for cwm install, and

2. boot.img file for fastboot for those who are running stock dont have cwm installed
[Nexus 4 Original Android Development] kevinnol:
Is there a way to cap all Core to a specific freq ?

Core0 is max at 1242

Core1-3 scale higher from time to time

Nice kernel btw :p
[Nexus 4 Original Android Development] Harsh:
with mpdecision on we really cant control it. Why would you like to slow it down when you can have 4+ screen hours with full speed?
[Nexus 4 Original Android Development] kevinnol:
1,2ghz is smooth and I assume the phone produces less heat (?)

Almost everyone here stays at 1,5Ghz or want to OC .. I think I'm the only one who actually UC the S4 :p

--

Build Jan-11 runs very well :o
[Nexus 4 Original Android Development] anthonyp326:
Does only two cores working?
[Nexus 4 Original Android Development] kevinnol:
If the Kernel feels like there's need for core2 or 3 to be activated :p ... he activates the 2 cores other than that only 2 cores are running // Saves battery life

All cores work
[Nexus 4 Original Android Development] trismegistos:
I....smell...inter......active....

Gesendet von meinem Nexus 4 mit Tapatalk 2
[Nexus 4 Original Android Development] aletto:
I have two issues with this otherwise excellent kernel:

So after a little bit of searching, I found out that mpdecision manages the CPU behaviour in a way that the user loses (partially) control. For instance, it keeps ramping up the CPU clock to 1026 mhz. So why do we keep using it anyway? What are its benefits?

Also, is it possible to enable Sweep2Wake for the whole screen?

That said, I'm really grateful that you didn't include OC of any kind. IMO it's unnecessary on the N4. So, kudos to you, harsh!
[Nexus 4 Original Android Development] Harsh:
Mpdecision was qualcomm/Google's choice to have smooth feeling when you are interacting with your device.

And sweep2wake is tweaked for my personal usage (full screen is not my preference for wake up when i have many false wake up). Hope showp implements user selectable area on screen.

And thanks for testing.

Sent from my Nexus 4
[Nexus 4 Original Android Development] jackdonogy:
Harsh -- LOVING your kernel!

Any chance we can set the CPU to lowest freq, without using faux's app?

an I set the CPU to the lowest freq. Without using faux's app?
[Nexus 4 Original Android Development] Harsh:
Hi. CPU lower frequency will not stick. As my kernel use mpdecision binary, So you will not be able to control frequency for now.

And can you explain why you want to change min frequency? Its already set to 384mhz which is lowest on frequency table i am using. Or maybe i m not understanding your question

Sent from my Nexus 4
[Nexus 4 Original Android Development] kennyp987:
Holy crap man I'm getting really good battery life with the Jan 07 build and xylon nightly....kernel is smooth and rock solid...love the simplistic approach thank you
[Nexus 4 Original Android Development] aletto:
I've used non mpdecision kernels before and there was really no differences (normal usage, e.g. browsing, watching videos, small games)

But that's your decision.
[Nexus 4 Original Android Development] grisha1:
To be honest, the only kernel not using mpdecision and being as smooth (almost) is the motley, no other can match stock smoothness. And battery is on par here.

I love it that this kernel uses mpdecision and combines it with uv and working 3G/signal patches :thumbup::thumbup::thumbup:

Great kernel, I will stay with it. Donation on the way

:beer: 3R612783G1544733A :beer:
[Nexus 4 Original Android Development] Harsh:
Thanks a lot that was my first for Nexus4 :D...

And for mpdecision it does not effect much. I always get same battery with and without it. But mpdecision definitely removes shutters which can happen in some apps (xda :mad:)..
[Nexus 4 Original Android Development] eep2378:
Here's your second :D:highfive:

Confirmation number: 5SR43182LY3997934
[Nexus 4 Original Android Development] nycelitemaster:
I am really kernel less right and checking this thread everyday in hope of harsh to come and update.. I will never give up hope! Waiting for kernel update :)

Sent from my Nexus 4
[Nexus 4 Original Android Development] drdrewdown:
haha kernel-less
[Nexus 4 Original Android Development] nycelitemaster:
That is true.. Stock kernel is like not having kernel.. Sigh.. I got baby otherwise i would have started deving..

Sent from my Nexus 4
[Nexus 4 Original Android Development] carburano:
Hi harsh... Stock kernel is boring :) cannot wait to test your work

Inviato dal mio Nexus 4 con Tapatalk 4
[Nexus 4 Original Android Development] nycelitemaster:
Harsh is busy in wedding season of india.

Sent from my Nexus 4
[Nexus 4 Original Android Development] nycelitemaster:
Anyone know a kernel that doesnt modify much of system like harsh kernel. I dont want ramdisk mod.. Some plugs for core bla bla. Just kernel similar to harsh plus uv. Thx

Sent from my Nexus 4
[Nexus 4 Original Android Development] sirxdroid:
Look at Faux enhanced stock.
[Nexus 4 Original Android Development] nycelitemaster:
I think it has modified files / drivers no? I was looking into his kernel zip.

Sent from my Nexus 4
[Nexus 4 Original Android Development] Kelvino9:
Is this Kernel project still alive?
[Nexus 4 Original Android Development] MikeChannon:
Closing for now. It will be re-opened on Developer's request.
[Nexus 4 Original Android Development] Harsh:
Thank you a lot. And how is latest Jan 11? Data issue should be completely solved...

Its my 3rd for today itself, something like this never happened before :D
[Nexus 4 Original Android Development] eep2378:
Latest build is running nicely. No data issues so far. Also I've noticed read ahead buffer size has been increased to 2048 as default? Improvement? Can't say I notice much difference from the last few builds.
[Nexus 4 Original Android Development] kevinnol:
The read ahead buffer size is 512 (?) im in Bild Jan 11
[Nexus 4 Original Android Development] eep2378:
hmm...interesting. Not sure why my default is different.
[Nexus 4 Original Android Development] kevinnol:
Maybe my default is different. :silly:

Battery life is great. First charge after 22 hours 35% left

Played games for 50mins and almost 3 hours screen on time :good:
[Nexus 4 Original Android Development] dwang:
Want to try this kernel as it seems to be one of the few that has all the msic wakelock fixes but without the data issues.

However, I keep on getting blank screen after a while and I'm unable to turn the screen back on and I have to press and hold the power button to reset the phone.

I'm using the default setting with no additional underclocking and I have a fast binned cpu.

Upon reboot, I don't see a /proc/last_kmsg file either.

Is there any other info you'd like me to collect to help debug this issue?

Also, flashed reset kernel first before flashing jan-11 build.

No other kernel seems to exhibit the screen lock up for me except this one.
[Nexus 4 Original Android Development] Harsh:
What Rom are you coming from? And screen problems you are reporting never happened to me nor to anyone else. Maybe it's Rom problem, but if you can't get screen on you can still get adb logs with usb

Sent from my Nexus 4
[Nexus 4 Original Android Development] kevinnol:
Newb answer: try to change the voltage add 25 or 50mv :confused:

--

Harsh is the default read ahead buffer size 512 or 2048 ?
[Nexus 4 Original Android Development] dwang:
Paul obriens ROM. Basically stock with small tweaks.

Tried adb. Won't connect after screen lockup.

Again no issues w any other kernel so it can't be ROM problem.

I'll try upping the default voltage. I'm using motley and its already UV to 725 and I've never had any lockups w his kernel.

Edit: upped the voltage by 25 still lockup. OK back to motley.
[Nexus 4 Original Android Development] kennyp987:
01/07 build + xylon 01/07 nightly....going to try the new build now...best kernel I have tried for the N4 and I have tried a lot
[Nexus 4 Original Android Development] Harsh:
Hi... I can't think of anything now. Probably you can try my boot.img and don't flash just try booting up with fastboot.

Fastboot boot boot11jan.img

Do let me know how this goes...

And default read ahead is 512.... :)

Sent from my Nexus 4
[Nexus 4 Original Android Development] franciscofranco:
What was causing the data derps? Tried to see from your git but you haven't updated it from your current binary. Thanks.
[Nexus 4 Original Android Development] fucheeno:
I flashed the zip file but just got stuck on the boot screen. Am I missing something. I am using CWM touch fwiw.

Thanks. Looking forward to trying something different.
[Nexus 4 Original Android Development] trismegistos:
Coming from Franco? Flash your room first again and then the kernel?

Gesendet von meinem Nexus 4 mit Tapatalk 2
[Nexus 4 Original Android Development] Harsh:
I am not at home, will update git when reach home. But it's a patch from caf for data probing.

if coming from franco flash Rom and after that kernel. Or boot into fastboot and apply boot image flash using commands I posted before. Download of boot.img version is in first post. But I recommend cwm flash.

Yes exactly... thanks

Sent from my Nexus 4
[Nexus 4 Original Android Development] JmPTaz09:
1/11 kernel paired with killrom (real one, not xda kang), very smooth combo! :thumbup:

If you build it, they will flash.

p.s. I don't know if you are still tweaking the colors to your liking, but my colors look spot on right out of the box on this version. :beer:
[Nexus 4 Original Android Development] franciscofranco:
Thanks man, looking forward to see what CAF did :)
[Nexus 4 Original Android Development] jackdonogy:
Just flashed the latest build and loving it! Seems like sweep2wake is more responsive! :)

Xylon nightly + harsh kernel is amazing! Never had a data issue and I'm on Fido LTE!

Thank you Harsh!
[Nexus 4 Original Android Development] dark_ente:
Trying this kernel now, thanks

Sent from my Nexus 4
[Nexus 4 Original Android Development] Harsh:
Sorry on being late for pushing, I was working on another branch with 100s of changes, cant push other branch until I stash or commit current working Head. So could not do it earlier. And you work really fast man, I wake up in morning and see your new builds with all patches back. :D

Sweep2wake is unchanged, still waiting for showp's newer version. But I like what we have now, good for day use.

Do let me know how it goes :D
[Nexus 4 Original Android Development] Craxx:
Hy Harsh,

knowing your kernel from lg optimus speed now i have a nexus4 (lg2x - > s3 - > gnex - > nexus4) with xylon 16 and your latest kernel. Great kernel... I love it. Thx a lot great work!!! :D

Before i tested faux kernel but i think at this time your kernel rules ;)

Craxx;)

Send from my Nexus 4 with Tapatalk :)
[Nexus 4 Original Android Development] Harsh:
Thanks for feedback.... and more is coming :D..

btw: many of us LG O2x/G2x owner sworn that never lg again, and yet we all are still on LG
[Nexus 4 Original Android Development] endursa:
yeah, buts is a nexus lg that's a hell of a difference, isn't it :D?

btw, i'm on cm10.1 nightlies, and want to try your kernel, do i have to use the reset kernel from faux or can i just flash your kernel?

the problem is when i try to flash it without reset kernel, everthing boots just fine, but once the system is booted and launcher loads i got a reboot ?!

is it because I set interactive as default in the cm performance settings?

Edit: ok seems that this was the problem, deactivated the use interactive on boot option spec the reboot problem! Everything works without rest kernel :)
[Nexus 4 Original Android Development] nikzDHD:
This kernel is running well for me on latest PA.

Quite a long telephone conversation I had with this chick during the night, then left the phone on idle whilst I slept.
[Nexus 4 Original Android Development] Notorious544d:
Not sure if this has been mentioned yet but does Harsh plan on adding gamma support for the display?

As of now, only faux and the stock kernel support it. Does there need to be a certain change in the kernel itself or is it that no apps are able to adjust it atm? If the latter is true, is it possible to set gamma values via sysctl?

Thanks in advance.
[Nexus 4 Original Android Development] eep2378:
It has been mentioned in other kernel threads(faux's and showp's). Not as of now, explanation here: http://xdaforums.com/showpost.php?p=36042873&postcount=567
[Nexus 4 Original Android Development] evie12604:
Nice and happy with latest version
[Nexus 4 Original Android Development] Craxx:
Fast Charge would be great :D

Craxx;)

Send from my Nexus 4 with Tapatalk :)
[Nexus 4 Original Android Development] Harsh:
Man this is the brightest screenshot I have ever seen for settings menu. And btw you have really good battery life :highfive:

I am not implementing usb fastcharge for now, but doing something different. Updating whole battery and charger driver, there are lots of improvement.

And actually our phones were first manufactured to charge up at 1350 mAh, but after that google reduced it to 900 mAh to prevent charging heat. So even if we have phone charger supplied with 1 mAh rating, it still charger slower even on power supply.
[Nexus 4 Original Android Development] pitjago74:
I flashed from stock and from resert...and nothing.only rebooting:banghead:

www.teregalounpoema.com
[Nexus 4 Original Android Development] franciscofranco:
No problems, I figured it out for myself. Unfortunately few users still having data drops on my thread :( The latest patch from CAF might've helped tons, but few chips don't like it, maybe it needs some adjustment in the baseband, I dunno.
[Nexus 4 Original Android Development] Harsh:
were you on any other kernel before? with something like UV set on bootup or were using interactive governor?

Try using fastboot boot boot.img before flashing, this way you can test. If you phone gets automatically reboot your old kernel comes back.

Not a single problem here, probably now its Android 4.2.1 problem.
[Nexus 4 Original Android Development] franciscofranco:
I dont have any problems, but some users do. Maybe the power retention thing you merged help, I dunno, I'd rather not to mess with those low level operations.
[Nexus 4 Original Android Development] pitjago74:
Now its working!!!

I go back to the kernel resert...bootup off and change governor to odemand...and...perfect:D:cool::D Thanks

www.teregalounpoema.com
[Nexus 4 Original Android Development] Bluewall:
It's totally an Android 4.2.1 problem. Many people reporting it with the Galaxy Nexus too on 4.2.1 :)
[Nexus 4 Original Android Development] dwang:
no its not, because moving to other kernels and the problem stops.
[Nexus 4 Original Android Development] Bluewall:
Which one has no problem ? I have tried many of them but I can't remember with which one I have no problems at all
[Nexus 4 Original Android Development] Harsh:
It's because of power saving.

This one has no problem :rolleyes:

Sent from my Nexus 4
[Nexus 4 Original Android Development] dwang:
I use motley kernel and i stream pandora to and from work everyday for an hour and never had any data issues.

As soon as I flash franco r32, i get data drop issues within an hour and have to reboot.

I was testing with harsh but I get screen lock up so I'm unable to verify his kernels.

Had issues with faux before as well when he patched in the hsic 3g code, but haven't tested that much recently.

Its obvious that these data issues are related to hsic ehcb patches from CAF and not because of android 4.2.1.
[Nexus 4 Original Android Development] Harsh:
Now I know why you have screen lockup. Please try again what I posted 2-3 post back. It's probably due to your default governor being interactive.

Sent from my Nexus 4
[Nexus 4 Original Android Development] lamashat:
how can i tell which cpu chip i have?
[Nexus 4 Original Android Development] Harsh:
Many of us P990 fellows have upgraded to Nexus 4 even after saying NO MORE LG ;).

As it is UV kernel more battery is the thing you get. For me Nexus 4 is already very fast device.

And what I was talking about in previous post is different is each processor chips when manufactured even if they are all same Qualcomm S4 APQ8064, its same like we had in P990, some phones can OC higher but some can't. But good part in here is, manufacturer have an idea of which phone can OC/UV higher than other and its not as blind try and error as in tegra2 we suffered from.

You can identify you CPU chip by below command in terminal.

adb shell dmesg | grep PVS

It will give you some output as given example below

[

If you are on kernel of any other devs you will have it in strings SLOW, NOMINAL, FAST and FASTER

and if you have already flashed my kernel you will have it in numbers from 0 to 3 which indicate SLOW to FASTER.
[Nexus 4 Original Android Development] Vanhoud:
When I put dmesg | grep PVS in terminal emulator I get " operation not permitted"

EDIT: I GOT IT... "FASTER"
[Nexus 4 Original Android Development] lamashat:
How did u get it? That happens to me too
[Nexus 4 Original Android Development] rootuser11:
I am on 1
[Nexus 4 Original Android Development] Vanhoud:
From my PC I had to type a ADB shell and then hit enter first then I put the rest of the command in
[Nexus 4 Original Android Development] 4redstars:
Use terminal emulator on the market...it's free
[Nexus 4 Original Android Development] Herminator19640927:
Haha you're right. Sold my p990 in summer and i was like: "LG? Never again!"

But the difference between the Nexus 4 and other LG phones is that

the Nexus 4 is a Nexus and the others aren't :p
[Nexus 4 Original Android Development] stab244:
I did that and got to it saying:

root@android:/ #

Which is where I typed the dmesg command in.

What I got was:

dmesg | grep PVS
1 |root@android:/ #

So what I got was just a number rather than the word. I'm using _motley's kernel. The OP says it should be the word if it's not his kernel...
[Nexus 4 Original Android Development] ryan92084:
assuming you are rooted with superSU type su in to the emulator and hit enter first to grant permission
[Nexus 4 Original Android Development] abz54:
Reboot and try again, I got the same problem, somebody in another thread showed the solution
[Nexus 4 Original Android Development] UZ7:
What number did you get? The number correlates to a PVS.
[Nexus 4 Original Android Development] NYCguy2020:
Mine says 1 . Does that mean nominal??!