yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.26] Harsh Kernel build Jan-22 - PGM

Hey Harsh.

Tried franco today, since someone reported that it fixed data issue for them (yep, still going strong :banghead:).

And here's the surprise. Not sure about data drops yet, but my speeds both on wifi and mobile have gone up considerably. Battery life seems to be decent too but I haven't used it enough to say for sure. Speed on par with yours, almost. Very close at least. Do you have any idea what would affect data speed so much? I mean mobile almost doubled in some places and wifi probably reaches phone capability, not bothered about wifi, but mobile data difference is really intriguing.

Anyway, just some food for thought. Also will report back on data drops.

---------- Post added at 05:55 PM ---------- Previous post was at 05:43 PM ----------

Aaaaand, data drops still present. Damn. I wish Google released 4.2.2 sooner so I know wherever to rma it or not...
[Nexus 4 Original Android Development] Harsh:
Thanks for reporting about it. Will check on whats causing the issues in data speed on my kernel.... But again for me its all working same.
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.26] Harsh Kernel build Jan-22 - PGM

You are getting same speeds on both kernels? If so, don't bother looking into it. :)

Maybe they upped the signal while I was flashing it, who knows.
[Nexus 4 Original Android Development] dwang:
data speeds perfectly fine here with jan 22 build.
[Nexus 4 Original Android Development] Harsh:
New build 2312 with In Kernel mpdicision.

Changelog: Build 2212

Updated Latest OnDemand governor from codeaurora

Codeaurora mpdicision InKernel Solution (possible to set max frequency below project butter :D)

InKernel mpdicision is new approach from Codeaurora sources and not similar to show-p1984(s2w salute :cowboy:)

EDIT1: Next update would be to lower minimum frequency to about 300 MHz :D
[Nexus 4 Original Android Development] show-p1984:
I wouldn't touch that caf mpdecision with a 10 foot long pole, just a friendly hint :cool:
[Nexus 4 Original Android Development] patsmike:
Having trouble downloading the latest builds.... Anyone else?

Using chrome on my phone.
[Nexus 4 Original Android Development] Harsh:
Thanks... I guess it needs more refinement. And would take long time to be as good as your mpdecision. You have been working on your mpdecision since long so must have ironed out all problems.

Thanks once again, will surely investigate further on this.

Sent from my Nexus 4
[Nexus 4 Original Android Development] solarding:
After applying the latest kernel. When using Ondemand governer the first CPU keeps at 1.51 and when using powersaver it stays at 384. Seems to be different from earlier versions
[Nexus 4 Original Android Development] Imperticus:
Yeah its the new mpdecision from aurora. You can install the standard version and that works fine.
[Nexus 4 Original Android Development] Harsh:
I would be removing InKernel mpdecision. Thanks to Imperticus who pointed out that cores are not going offline, which reduce standby battery performance, and showp-1984 also suggested to stay away from it. :D
[Nexus 4 Original Android Development] Harsh:
New Christmas build 2512 with Sweep2Wake added

Changelog Build 2512:

Merry xmas

Reverted back to original mpdecision (thanks showp-1984 and Imperticus)

Added Sweep2Wake (thanks again showp-1984 genius )

Warning: Sweep2Wake only active for bottom part of screen (navigation bar area)
[Nexus 4 Original Android Development] solarding:
This version is very unstable, reboot all the time.

Could you take a look? Thx.
[Nexus 4 Original Android Development] eep2378:
Umm... a little more info would be helpful. Logcat?
[Nexus 4 Original Android Development] Harsh:
What kernel are you coming from? And been playing NFS for 2 hours, no problems at all.

If you could get get logs, we can find your cause of reboot. And do you use any kernel control apps for UV or anything?
[Nexus 4 Original Android Development] solarding:
Ok if you guys dont have problem maybe it is just me.

Yes i use system tuner and set -50mv. ROM is maddoggin.

I did a mistake that after flashing the 2512 kernel i didnt follow the wipe cache , davikcache....routine. i did however those steps after experiencing the reboot problems, yet it didn't help anymore. So I rehashed the ROM for the default kernel.
[Nexus 4 Original Android Development] Imperticus:
The kernel is already undervolted by default (amount of UV depends on your processor), so maybe the additional -50 may be causing the issue.
[Nexus 4 Original Android Development] zhuozhi211:
First of all thanks for sharing your personal kernel Harsh!

I flashed ROM and mod quite a bit, but not so much on Kernel. Only decided to flash Kernel with my N4 as I was not happy with its battery life.

My priority is battery life, and keep the phone smooth for simple tasks (I dont play game). I have no itention to OC, or play around with kernel setting. I am really fascinated by S2W too! As such when I saw your ROM I thought that fits what I want, and decided to give it a try.

Everything runs well during normal operations. However my phone could not detect any touch, after it sleep for a while (probably went into deep sleep); the phone could be turned on using the hardware button, and the phone seems running fine, but it just could not detect my finger touch nor S2W. I had to force restart the phone.

I didnt configure anything... just flashed the kernel to stock, and flashed yours. Anything I did wrong, or need to do?

Thanks.
[Nexus 4 Original Android Development] Harsh:
Can you get logs if it happens next time? And today i will be updating newer build, which is more cleaner than previous one.

Not having single issues in that one.

And sweep2wake is only in bottom part of screen to prevent accidental screen wake ups.

Sent from my Nexus 4
[Nexus 4 Original Android Development] Harsh:
New build 2712 uploaded

Changelog Build 2712:

Completely Cleaned all remaining Qualcomm InKernel mpdecision traces

Should be perfectly stable now.​

Download link in OP, and let me know how it goes.
[Nexus 4 Original Android Development] maufega:
Testing

So far so good, smooth and expeditious

I will continue to test

Thank you very much
[Nexus 4 Original Android Development] zhuozhi211:
This is very NOOB of me - how do I create logs? I have CPU spy installed to check the clocks...

Updated thanks!

Hung once on me this morning, when I leave it charging. The notification led was blinking, but I could not turn on the screen with S2W and power button. Had to force restart.

Monitoring...

I like this arrangement too.
[Nexus 4 Original Android Development] Harsh:
You can install any free logcat apps (lumberjack) from market, and keep it on record when you put your phone to charge next time. As it never happened to me I cant make logs myself.

And if you are making any more UV it may happen, try not to set UV on boot in any apps. Also if you have 2 apps to control kernel they may have been creating conflicts, so remove any one of it.
[Nexus 4 Original Android Development] Zanr Zij:
Standby battery need to improve according BetterBatteryStats

Rom: Paranoid

Kernel: Harsh 2712

Sent from my Nexus 4
[Nexus 4 Original Android Development] Harsh:
I just did a test with few kernels, and for me data and wifi remain same over all tested kernels including stock.

Thanks, yes its perfectly fine :D :good:
[Nexus 4 Original Android Development] Pedro Peguero Jr.:
Re: [KERNEL][UV][Linux 3.4.26] Harsh Kernel build Jan-22 - PGM

Stupid question.

What do I download and flash?
[Nexus 4 Original Android Development] Harsh:
Re: [KERNEL][UV][Linux 3.4.26] Harsh Kernel build Jan-22 - PGM

First page of this thread, first post. There is download link. Download, save in your sdcard and use cwm recovery to flash it.

Sent from my Nexus 4
[Nexus 4 Original Android Development] Pedro Peguero Jr.:
Re: [KERNEL][UV][Linux 3.4.26] Harsh Kernel build Jan-22 - PGM

Idk how I didn't see that. My bad!
[Nexus 4 Original Android Development] Imperticus:
Re: [KERNEL][UV][Linux 3.4.26] Harsh Kernel build Jan-22 - PGM

Got my first ever 5+ screen on time, spent a fair amount of time playing game too. ROM is PA beta 23.

EdIt: can you add fast charge support? Thanks
[Nexus 4 Original Android Development] gianton:
Re: [KERNEL][UV][Linux 3.4.26] Harsh Kernel build Jan-22 - PGM

Harsh,

Trying these color settings link http://xdaforums.com/showthread.php?p=37059356

Maybe you could give them a try.

BTW, Jan 22nd rel is running great with AOKP Steve's latest build.

Thanks
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.26] Harsh Kernel build Jan-22 - PGM

Harsh, you can smack me on the head if you want, I deserve it. Data drops due to sim. :banghead:

http://xdaforums.com/showthread.php?t=2084706

Last page.
[Nexus 4 Original Android Development] eep2378:
Re: [KERNEL][UV][Linux 3.4.26] Harsh Kernel build Jan-22 - PGM

WOW! :eek::eek: I had a sneaking feeling it was an "easy" fix;)

I'll smack you for him ;):p

---------- Post added at 05:26 PM ---------- Previous post was at 05:23 PM ----------

Also I flashed 1/22 and had a couple random reboots. Camera/gallery fc'd, play store FC's as well. I also installed touch control free and it worked fine but even after uninstall still had FC's. Not sure if it was kernel of touch control app. In any case, went back to 1/21 and problems went away.
[Nexus 4 Original Android Development] Notorious544d:
Harsh, do you plan on adding the Westwood TCP algorithm?
[Nexus 4 Original Android Development] Harsh:
So finally nexus4 is not so bad with DATA now :D

It should not be kernel as for 21 and 22 everything is same. I have no fc's maybe it caused by rogue app, Or touchcontrol.

What are advantages of Westwood over reno or cubic?
[Nexus 4 Original Android Development] Notorious544d:
It's apparently faster. AFAIK, its not very hard to add on and .motley has westwood+ which sounds intriguing.
[Nexus 4 Original Android Development] Harsh:
Re: [KERNEL][UV][Linux 3.4.26] Harsh Kernel build Jan-22 - PGM

Yes Westwood plus is already inside kernel sources, just have to enable it. I was just asking for advantage, because if it's better I make it as default :)

Sent from my Nexus 4
[Nexus 4 Original Android Development] Guto ViP:
In Terminal Emulator adb shell dmesg | grep PVS command give me "error: device not found"
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.26] Harsh Kernel build Jan-22 - PGM

In the OP :rolleyes:
[Nexus 4 Original Android Development] zarboga:
noted. I didn't see the button while browsing using XDA-App via phone.
[Nexus 4 Original Android Development] linelock:
Re: [KERNEL][UV][Linux 3.4.26] Harsh Kernel build Jan-22 - PGM

Make sure you run it right after a reboot
[Nexus 4 Original Android Development] kashsih93:
where can i find the "reset kernel"?

do i have to flash it or what?

n whats "OP"?
[Nexus 4 Original Android Development] Pedro Peguero Jr.:
Re: [KERNEL][UV][Linux 3.4.26] Harsh Kernel build Jan-22 - PGM

I know this isn't a Q and A thread but I'm just a bit concerned about this. X rayed my device and I'm vulnerable to mempodroid. Any reason why there is a vulnerability in this kernel?
[Nexus 4 Original Android Development] eep2378:
Re: [KERNEL][UV][Linux 3.4.26] Harsh Kernel build Jan-22 - PGM

The OP stands for "original post/poster" or founder of said thread. It also refers to the FIRST post. It contains all the pertinent information you need regarding this kernel.
[Nexus 4 Original Android Development] ctexpa:
Re: [KERNEL][UV][Linux 3.4.26] Harsh Kernel build Jan-22 - PGM

If you are in terminal emulator on the phone you don't need to type adb shell. After reboot type sudo to get root access, then dmesg | grep PVS.
[Nexus 4 Original Android Development] nycelitemaster:
i think it is better to run the command dmseg | grep PVS on stock kernel to display accurate. I had fast binning before, once i installed this kernel it display #1, not like it really matters... but honestly, i have no issue with kernel, and battery life is self explanatory.
[Nexus 4 Original Android Development] Notorious544d:
I got this from Franco's galaxy nexus thread: Link

He did a few tests and found Westwood to be fastest. I also ran a few speed test runs and found Westwood to have a faster download and upload speed when I was on Franco's kernel.

Also, your kernel is just ridiculously good! I was stuck on Faux's enhanced kernel because of the gamma controls (once you apply them, you cant go back) and because I found his mainline kernel to be stuttery, but this kernel is smoother than stock. Stock is 'buttery smooth,' but this is 'silky smooth.' Keep it up man :good:
[Nexus 4 Original Android Development] Guto ViP:
Stay the same.. :(

Now i'm using stock and i see the same 1.
[Nexus 4 Original Android Development] :
Been about a day since I started using Harsh and as Notorious544 says I actually tested a minute ago to confirm, this kernel is smoother than stock and had about 2hrs screen on with 70% battery left, problem I experienced was it suddenly started stuttering at some point, after testing stock kernel and reflashing Harsh its back to its great performance
[Nexus 4 Original Android Development] gianton:
Try this in terminal after a reboot.

su (enter)
dmesg | grep acpuclk (enter)

This is mine:

Harsh's explanatory post re CPU binning here.
[Nexus 4 Original Android Development] Harsh:
Re: [KERNEL][UV][Linux 3.4.26] Harsh Kernel build Jan-22 - PGM

Westwood will be added and set as default. I did some tests and yes it's faster indeed. Thanks

Have you flashed faux kernel before? It may be because of his kernel as he got updated table names.

In my kernel it should definitely show as names, Try using fastboot erase boot, and flashing kernel using fastboot once. It may solve your problem.

Shuttering? Were you doing some intensive tests and phone was warm, because when phone gets warm it throttle down CPU to cool off and protect your cpu and battery.

And glad you like this kernel :)

Sent from my Nexus 4
[Nexus 4 Original Android Development] Notorious544d:
Out of curiosity, what's the difference between Westwood and Westwood+?
[Nexus 4 Original Android Development] :
Not really tests just browsing web and was switching between games, made some calls and left my phone alone, so it shouldn't have been warm if I wasn't using it for some time, I'll test some more and report, might have been something I did that caused instability, thanks for speedy reply
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.26] Harsh Kernel build Jan-22 - PGM

It happens. It's android for ya. Just close all the recent and it should be fine.
[Nexus 4 Original Android Development] Guto ViP:
Worked but i got number 1 again...I will try flash Reset Kernel and Harsh Kernel to do this command again.

So, my CPU is nominal, right? :(
[Nexus 4 Original Android Development] Audioboxer:
Just FTR, my fast chip would do 1025mv at 1.5ghz (anything lower almost instant freeze). This faster chip has come down to 987mv. Not that much lower, and I've seen others go down to about 965mv.
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.26] Harsh Kernel build Jan-22 - PGM

My faster can go to 1000mV minimum on 1.5. Still, keeps it cool enough so I don't mind.
[Nexus 4 Original Android Development] Audioboxer:
Yeah it's a good bit lower than stock anyway. I can't even remember what the stock Google voltages were, anyone else?

I've done two RMAs now and I think I'll keep this handset. Still suffers from noticeable light bleeding along the taskbar and my volume rocker was loose until I applied a fix from XDA (cut up sticky tape halved so it's not sticky any more, and placed in volume rocker gap). However the faster chip is nice and everything else is okay :good:
[Nexus 4 Original Android Development] Harsh:
New build 24 Jan uploaded links in OP (First Post) :D

Changelog:

Build Jan-24

Linux 3.4.27

Added westwood+ and set as default

Removed lot of logging and debugs

xz compression

Kernel size reduced.

And UV is now -100 mV across the board as per many requests.​

And friends as usual, HIT THANKS if you like it.....
[Nexus 4 Original Android Development] albundy2010:
Re: [KERNEL][UV][Linux 3.4.26] Harsh Kernel build Jan-22 - PGM

Keep in mind that running at the very minimum voltage your phone can handle doesnt always mean it is the most power efficient.

Each chip design is different and not many people actually test it in a controlled environment but somebody did on the nexus s.
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.27] Harsh Kernel build Jan-24 - Westwood+

True. I'm going to test is with default - 100mV just out of interest. Biggest issue for me is heat. That's the only reason I uv.
[Nexus 4 Original Android Development] Audioboxer:
Touch control module is failing to load (reboots phone) on new kernel :crying:
[Nexus 4 Original Android Development] Harsh:
Ahhhh not again.... I will check now whats making it a mess.

Should be lots of logging stuff I removed, maybe they were needed for it.
[Nexus 4 Original Android Development] Audioboxer:
When I tried to load it the app tried to load the "franco module" settings it seemed. Not sure if that is any help or not. Don't think I seen franco mentioned on build 22.
[Nexus 4 Original Android Development] Harsh:
Thanks, I have no idea how its loading different modules... bit crazy when App Developer cant set one module for all, even when all kernels dont change anything in input drivers.
[Nexus 4 Original Android Development] Svenmaster:
AW: [KERNEL][UV][Linux 3.4.27] Harsh Kernel build Jan-24 - Westwood+

I think im very lucky then, mine (faster) handles 912.5mV on 1.5ghz :D

Makes a big difference on temperature..:D

If its not placebo :rolleyes:
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.27] Harsh Kernel build Jan-24 - Westwood+

It's not. I monitor cpu temp religiously. UV keeps it at around 37c when in use, no uv and it hovers at around 42c and shoots up in a heartbeat.
[Nexus 4 Original Android Development] dark_ente:
Mine is also fast but I can go to 987 just fine.

Maybe even in the same class there's different

btw, great kernel Harsh, really like the added gamma control. That's the only thing that force me going back to faux everytime I flash another kernel. Battery here is superior, last night I hd 19% battery, after one night it's still 19%.
[Nexus 4 Original Android Development] Harsh:
Uploading second build for Jan-24 with TouchControl fix.... And now I know how that APP is looking for modules. Its based on compression and logs. Not optimized way to do it, but it works :D (just giving headache to us devs)

And putting download links here so you guys dont have to go to OP once again. Sorry for my previous build which breaks TouchControl, but I dont use it.

harshkrnl-nexus4mako-Jan-24-2

hit THANKS button, its free :D
[Nexus 4 Original Android Development] dark_ente:
I flash your kernel just 2 min ago :(

anyway, thanks a lot!
[Nexus 4 Original Android Development] Harsh:
Dont need to flash again if you dont use TouchControl app.... :laugh:

But flashing is fun :D
[Nexus 4 Original Android Development] Bluewall:
TCP Westwood doesn't exist anymore. It has been replaced by TCP Westwood+.

If you see "westwood" in a kernel those days, it's likely to be the + version.

For more technical informations, I'm quoting wikipedia cause i'm too lazy to type (sorry, it's my beer time here :D)

" The main novelty of Westwood+ was the algorithm used to estimate the available bandwidth end-to-end. In fact, it was soon discovered that the Westwood bandwidth estimation algorithm did not work well in the presence of reverse traffic due to ack compression. This phenomenon was explained in terms of aliasing effects. The new version Westwood+ was implemented for the first time in the kernel of Linux 2.4 by Roberto Ferorelli and in the kernel of Linux 2.6 by Angelo dell'Aera, both working at Politecnico di Bari as undergraduate students in 2003 and 2004."
[Nexus 4 Original Android Development] dark_ente:
Btw, when I'm on motley, I can UV my CPU to 600 volt at 1026 mhz, but with your kernel I can't undervolt less than 750, do you know why?
[Nexus 4 Original Android Development] Harsh:
In my kernel I have minimum set at 700 mV. And in motley kernel you dont use mpdecision to ramp up 1026 MHz on touch, so less use of 1026 frequency actually. In my kernel its use is fairly well. So conclusion can be that its not stable in motley kernel too but as you are not using that frequency too much, its okay. (jumping to either higher or lower frequency, not staying at 1026).

With Qualcomm's mpdecision binary, touching screen = 1026 MHz frequency as min frequency. Remove your finger from screen 384 MHz as min frequency.

EDIT: And I dont even know if in motley kernel your 600 mV is really sticking at 1026 MHz, seems like a bad reading or something else.
[Nexus 4 Original Android Development] dark_ente:
I actually run stability test for 15 min at 1026 mhz @ 600mv before being going to the next frequency. And the reason I mention 1026 is because I use mpdecision so it's the most used frequency.

But on your kernel whenever I go under 750, my phone reboot.

I wonder what can affect the voltage?

EDIT: I think it's stick because for 1134, I have to set the UV to 850 otherwise I'll get reboot. 1026 @ 600 is perfectly stable though
[Nexus 4 Original Android Development] Skkip:
from what i can see on github https://github.com/bhanvadia/lge-mako-kernel/commit/fca820cf8308d1b6534fb8a78ba17ab14f1db237 you didn't reset all votlages to stock -100mv but only nominal?

thx in advance
[Nexus 4 Original Android Development] sophan:
touch control

Touch control still not working after flashing ver 2, touch control loading successful but gestures not working.
[Nexus 4 Original Android Development] nycelitemaster:
Re: [KERNEL][UV][Linux 3.4.27] Harsh Kernel build Jan-24-2 - Westwood+

Harsh what app do you use to uv?? Any recommendations. Thx in advance.

Sent from my Nexus 4
[Nexus 4 Original Android Development] Harsh:
I need to check more. I am not using that app, and in free version it says its not available in free version on each and everything. So no idea.

Hi,

I do not use any cpu controlling apps at all. For uv i compile whole new kernel for me with lower UV as i want (i got fast binned chip).

But I recommend trickster mod, its fairly easy and can do almost all regarding kernels.

Other frequencies were already at -100 mV from stock voltages. So no need to change there. (I had nominal CPU before so i had it tweaked as my liking, in my previous Nexus4)
[Nexus 4 Original Android Development] pro.aggro:
AW: [KERNEL][UV][Linux 3.4.27] Harsh Kernel build Jan-24-2 - Westwood+

s2w does not work with 24_2.

I set it up with Trickster MOD but nothing happens.

Sent from Nexus 4 powered by PARANOIDANDROID
[Nexus 4 Original Android Development] Harsh:
Re: [KERNEL][UV][Linux 3.4.27] Harsh Kernel build Jan-24-2 - Westwood+

Hi. It's working for me. Enable in trickster click apply, and it's working.

Try sweep2wake widget, its awesome.

Sent from my Nexus 4
[Nexus 4 Original Android Development] Hrithan2020:
Re: [KERNEL][UV][Linux 3.4.27] Harsh Kernel build Jan-24-2 - Westwood+

Can you consider adding an option of uv upto 600mv. I am having a faster binned cpu and am easily able to run uv. Have conservatively set my 304 mhz at 650 without any issues. ( Can actually set it lower, but not going to mess with the stability for now )

There are quite a few lucky phones I suppose who might be able run the first few frequencies below that.

Sent from my Nexus 4
[Nexus 4 Original Android Development] Skkip:
AW: [KERNEL][UV][Linux 3.4.27] Harsh Kernel build Jan-24-2 - Westwood+

I am still suffering from sleep of death having a fast cpu. Maybe -100mv is too much at some freq here... :( gonna try -75mv and report back...

Gesendet von meinem Nexus 4 mit Tapatalk 2