yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] sirxdroid:
Yes, I traded my ROM flashing addiction for kernel flashing. For ROMs I settled on EOS as I like it pretty close to stock, not a lot of tweaks. In terms of performance they all feel fast and smooth for me, unless you hit a dud once in a while but that's immediately obvious. The only one that for whatever reason I find to have a slight edge is MMuzzy, though it could be all in my head.

Sorry, it's hard to keep up with all kernels. Must have thought I was in the _m+ thread when I posted :)
[Nexus 4 Android Development] jassycliq:
Not at all. I remember on my sensation it would sometimes stutter with that min and like described above it was just unstable. I don't feel that that's the case with the APQ8064 though. I've been running stable at 192mhz since showp first added it and now at 162mhz since faux added that. I have ondemand set up so that its not as lax. It mostly idles with 1 core at 162mhz and sometimes ventures to 1ghz. Was actually thinking of adding the screen off cap.
[Nexus 4 Android Development] sirxdroid:
Screen off cap sounds nice. But then again, there's the question of "race to idle". What's better for heat and battery: finish the task quickly by running at a higher freq or take more time to do the same work at a lower frequency?
[Nexus 4 Android Development] jassycliq:
I don't think the race to idle is as big a deal as developers make it seem. The way I see it is it probably takes maybe half a second at most 2 seconds more with the cap at something like 702mhz. Of course I don't have any hard numbers... But then again this should be user configurable. :)
[Nexus 4 Android Development] show-p1984:
I have a dire suspicion that we actually never reach any frequency lower than 384Mhz and all of that frequency patching is bull. How do I know that? I am currently running at 27Mhz min/max, which is just idiotic. (the phone should be sooo laggy, or rather crashing because processes are being starved. Yet my mako is still reacting faster than my hero in ui interactions...)

I suspect it is somewhere overridden again, there is also a warning during bootup mentioning that 192Mhz cannot be used.
[Nexus 4 Android Development] jassycliq:
But then that leaves me questioning the people who have issues running their phones anything under 384mhz. The only thing I can think of is that the voltage would be too low but even then wouldn't the phone react by shutting down? Cause they talk about stutters such as music playback.
[Nexus 4 Android Development] show-p1984:
Well apparently that min clock is accepted sometimes but not always. Kinda strange and (at least it seems so) random behavior. I have to test a bit more.

Too low voltage might not always trigger a shutdown, too many calculation errors because of too low voltage may surface as stutters. As might the fight between the current user policy and the override.
[Nexus 4 Android Development] TJ_Ahluwalia:
Hey guys, I am installing the kernel and its stuck at 65% (Renaming binaries /system/bin/thermald -> thermald_bck). Not moved for a very long time..
[Nexus 4 Android Development] jassycliq:
First reboot the phone with the 3 bottom combo. Then try again, if that doesn't work check that the md5 is correct or download the package again with a different browser.
[Nexus 4 Android Development] jassycliq:
Also use the one from may 5. May 7 is not ready for prime time. Its usable but it requires a few workarounds.

I figured out what the issue was with the whole getting stuck at 1026mhz. You have to disable the boost

echo 0 > /sys/kernel/msm_mpdecision/conf/boost_enabled

It was weird that I didn't get that issue at first (didn't happen till I rebooted) but I talked to [MENTION=4195844]show-p1984[/MENTION] so he said he'll look into it. (unless I misunderstood him) which then I'll work on making the little script app work with it better.
[Nexus 4 Android Development] jassycliq:
http://www.mediafire.com/?o7a4h6x2gjy6j2d

Updated the app thingy. Still very much a wip but for now it'll take care of those issues with getting stuck. Use this one to switch hotplug for sure.
[Nexus 4 Android Development] TJ_Ahluwalia:
Thanks, I used the 3 button combo and got out of it for now.. I downloaded the May 7th on with a dl manager, I'll try without it now. Thanks again for quick reply.
[Nexus 4 Android Development] show-p1984:
if ((cpu_policy->min != per_cpu(msm_mpdec_cpudata, cpu).boost_freq) &&
(cpu_policy->min != per_cpu(msm_mpdec_cpudata, cpu).norm_min_freq)) {
pr_info(MPDEC_TAG"cpu%u min was changed while boosted (%lu->%u), using new min",
cpu, per_cpu(msm_mpdec_cpudata, cpu).norm_min_freq, cpu_policy->min);
per_cpu(msm_mpdec_cpudata, cpu).norm_min_freq = cpu_policy->min;
}

http://repomachine.zapto.org/bricke...mmit/7dc471ccf51cd150a9d68680ded5d091fcaa12f0

or

https://github.com/showp1984/bricked-mako/commit/7dc471ccf51cd150a9d68680ded5d091fcaa12f0

Here b1tch: :p

<6>[ 190.506088] [MPDEC]: cpu2 min was changed while boosted (384000->192000), using new min
<6>[ 190.512406] [MPDEC]: CPU[2] on->off | Mask=[1100] | time online: 1305
<6>[ 190.706119] [MPDEC]: cpu1 min was changed while boosted (384000->192000), using new min
<6>[ 190.713963] [MPDEC]: CPU[1] on->off | Mask=[1000] | time online: 1706
<6>[ 191.456126] [MPDEC]: cpu0 min was changed while boosted (384000->192000), using new min
[Nexus 4 Android Development] jassycliq:
4c59771 defconfig: Update defconfig. Turn on intelli-demand and smartmax

596b56b cpufreq: Add smartmax. Let's test this, see how it does.

1cb9bb0 msm: cpufreq: Always update frequency limits when core is online

d822b01 msm_mpdecision: boost: detect changed min frequency and update accordingly

213609a msm_mpdecision: tune hotplug values

goo.im should be updated soon.
[Nexus 4 Android Development] Audioboxer:
New version is working good here, plays good with trickster mod, and WiFi is all good.

edit: Oh my its smooth! Shows work seems to be bang on!
[Nexus 4 Android Development] jassycliq:
Best of all you can tune how long it lasts and which freq the boost uses.

To change the length of the boost (default is 1sec) time is in millisecond

echo 1000 > /sys/kernel/msm_mpdecision/conf/boost_time

Then to change the freqs, which can be configured by core.

echo "1 702000" > /sys/kernel/msm_mpdecision/conf/boost_freqs

replace 1 with the core you want to change. Remember it starts at 0 and goes up to 3. Then the 702000 can be whatever freq you want.

If you don't want boost enabled.

echo 0 > /sys/kernel/msm_mpdecision/conf/boost_enabled
[Nexus 4 Android Development] Audioboxer:
That's awesome! I think for the time being I'll leave it on defaults, as they seem to be working great! Unless you have some even better settings on hand :)

Edit: By the way, do you think all the frequency steps are really needed? There seems to be an excess compared to some other kernels.
[Nexus 4 Android Development] jassycliq:
For shows mpdecision, I like this.

It'll mostly stay with dual core which is enough for mostly everything. I don't game much so I can't say that I've checked how smooth it is on games.

For the touch boost, I use 1ghz for core 0 and 702mhz for then rest.

Yeah, I was thinking on removing some of them.
[Nexus 4 Android Development] iplexus4:
Only for me in trickster mod sound controls not work? well, you know, mic boost or speaker or anything else. Maybe reboot required, how it works?
[Nexus 4 Android Development] jassycliq:
Just tried it since I normally use Fauxs app and its working :)
[Nexus 4 Android Development] Audioboxer:
Can't believe how smooth everything is. No other kernel has achieved this, well done show. Thanks jassy for putting things together, I really need my gamma controls!

By the way slightly off topic, but do any of you guys have an opinion on this? http://xdaforums.com/showthread.php?t=2145133
[Nexus 4 Android Development] sirxdroid:
We've got 2GB of RAM on the N4, we don't need it.
[Nexus 4 Android Development] iplexus4:
It's really work, you feel changes if increase or decrease values? For me no difference if value 40 or 50 or 30 or... do'nt know what wrong..
[Nexus 4 Android Development] jassycliq:
Copy the values I used on there. You'll notice the difference. Just let it set for 3 seconds then you'll hear the difference :)
[Nexus 4 Android Development] iplexus4:
Ohh.. still not work, maybe i need use specific player or etc? Sound control not work and it make me sadly... I use beta trickster mod, it's important?
[Nexus 4 Android Development] DontPushButtons:
Keep in mind you also have to pause/stop playback completely, and I believe you need to leave the process in memory (use home key not back) and verify that it's still in your recent apps list. If it's not in recent apps, it's not on. This could've changed in one of his builds, but to my knowledge that was how it worked.
[Nexus 4 Android Development] iplexus4:
yep, need kill from recent apps, working. i set 50 in speaker and 30db for main boost (just in case) and ofcourse set max system volume... scared ****less
[Nexus 4 Android Development] sirxdroid:
Any plans to pick up the ondemand early demand patches as seen in the Semaphore kernel? Or are they here already?
[Nexus 4 Android Development] jassycliq:
I'll look into it.

Sorry for the delay but I can't build any kernels on my local machine. It errors out but if I push to the build machine it'll build perfectly fine :confused:

New update. Check the master branch.
[Nexus 4 Android Development] sirxdroid:
Thanks. I think ondemand w/ early demand might pair nicely with showp's built-in mpdecision, for a better-than-stock experience.
[Nexus 4 Android Development] show-p1984:
Because build machine = in my basement. It is infused with the sheer bodacious awesomeness of my presence. ^^

It's faster than your machine either way :p

If you would have posted the error you are getting locally then maybe I could have helped you? :)
[Nexus 4 Android Development] jassycliq:
I've actually been using the smartmax + shows touch boost. It is mighty fine with battery. That governor is.... Different though o.O I've looked into it and it has 2 different touch boost interfaces (according to the sysfs) one looks like shows touch poke interface. Either way that's what ive been using. I'll push an update to master with the early ondemand right now ;)
[Nexus 4 Android Development] jassycliq:
You know, for some reason I don't doubt that explanation. :sly:

Error is

fs/namei.c:2795:2: Warning: 'name' may be used uninitialized in this function
[Nexus 4 Android Development] show-p1984:
arm-eabi-gcc -v

?

2749:

-	char * name;
+	char * name = NULL;

should fix it though.

But the difference between the buildmachine and your local machine is probably the used toolchain. You can update the one on my buildmachine over your ftp account.

What the compiler tells you with "may be used uninitialized in this function" is pretty simple. You declared a variable or a pointer, but didn't give it any initial value (you didn't initialize it) before it is being used. That is potentially unsafe because in the case of a pointer it may happen in certain situations that the pointer is pointing to everything in the stack after it's random value.

Usually this happens in situations like this one:

int i;
if (someimportantvalue < 5)
i=1;
someimportantfunction(i);

Now you can see that i wouldn't be initialized if someimportantvalue is >= 5.
[Nexus 4 Android Development] Audioboxer:
Thanks for the updates!!!

Still too many frequency steps, but I guess that does no harm :p
[Nexus 4 Android Development] jassycliq:
I'll get there eventually :P

I'm just glad I'm able to build again. I had really messed up my repo for a few days :/
[Nexus 4 Android Development] fishhelmet:
So today's test build seems to be missing the really important part. There's no zip file. Did you pull it for some reason?
[Nexus 4 Android Development] jassycliq:
Yes, it has issues. The latest master is working great though :)
[Nexus 4 Android Development] fishhelmet:
Well yeah but i gots to been the bleeding edge here
[Nexus 4 Android Development] jassycliq:
I saw 4 downloads on the latest test. Avoid it. It runs but its not optimal. It'll randomly reboot. (I tried hiding it before people could download but goo.im was down for me)
[Nexus 4 Android Development] jassycliq:
check the new test build ;)
[Nexus 4 Android Development] Connor Baker:
Just curious, but would you be able to implement an option in the kernel that lets the user remove frequency steps? Or is that done at compile time? Just asking because I only use 1.944ghz, 1.026ghz, 702mhz, and 168mhz. Also, how should this bench? I notice that Trinity is pretty much the undisputed kernel to use when benching. And yes, I know that benchmarks don't reflect real life performance, but when you score 10k on the Nexus 4, obviously something is horribly wrong.

Connor Baker

---------------------------------------------------------------------------------------------------------------------POST ADDED-------------------------------------------------------------------------------------------------------------------------------

Also, Franco said that he majorly improved IO performance. Just wondering if you had seen this :P

"r135:

* Major I/O handling improvements"

http://minooch.com/franciscofranco/Nexus4/4.2.2/appfiles/nightly-changelog
[Nexus 4 Android Development] Audioboxer:
Thanks, I'll check it out!

BTW is there any point in updating the linux kernel build?
[Nexus 4 Android Development] Connor Baker:
It's basically the same as "Why update to a newer version of Android?" Newer versions typically include bug fixes, new features, as well as optimizations. In the case of the Linux kernel, it's mostly optimizations.

Connor Baker
[Nexus 4 Android Development] jassycliq:
Not sure on this one honestly. I know min/max have been able to be chosen in the past. Would have to look into the intermediate steps.

Here was one of my scores from a week ago. Keep in mind that this was on a CM nightly build, no benchmark fixes :P

Hm, i had recently just gone through his repo, I have a few of those already but i'll update the kernel right now. An update will be pushed as soon as i get those in ;)

EDIT: Just pushed those commits. An updated build should be up soon.
[Nexus 4 Android Development] jassycliq:
Like Connor said, its mostly incremental updates to the Linux kernel. Some of them affect our devices, others don't.

EDIT: Fix typo :P
[Nexus 4 Android Development] ks2332:
Is this the correct test build that's semi stable you wanted us to try

http://goo.im/getmd5/devs/jassycliq...mmunity_mako_20130515_034633_test-ed33eae.zip
[Nexus 4 Android Development] jassycliq:
Not semi-stable. That is stable. I've hidden all the ones that were broken.

The newest one is this one

http://goo.im/devs/jassycliq/mako/t...mmunity_mako_20130515_043536_test-a973096.zip

it has all the commits from franco to improve i/o :)
[Nexus 4 Android Development] Connor Baker:
Jassy,

I was wondering if you wouldn't mind looking at the CFX source for their kernel (https://bitbucket.org/codefirex/kernel_lge_gee_mako), as they have A SH*T TONNE of optimizations and flags that super-duper boost performance. Also, are you thinking about including the Prima drivers to fix the delayed WiFi notification issue (http://xdaforums.com/showthread.php?t=2272140)?

Connor Baker
[Nexus 4 Android Development] jassycliq:
lol you'd be surprised with the sh*t ton of optimizations [MENTION=358990]show[/MENTION]p1984 has added. I'll still look through but just saying he doesn't kid when he says that he's optimized his crud.
[Nexus 4 Android Development] Connor Baker:
Awesome... Awesome to the max :P

Connor Baker
[Nexus 4 Android Development] ks2332:
Which i/O is optimized and which is best based on your uses personally I usually use fiops based on fauxs settings
[Nexus 4 Android Development] jassycliq:
It doesn't optimize any scheduler per se. It actually optimizes the mechanism that is concerned with i/o. I use FIOPS also. Its does best for me.
[Nexus 4 Android Development] apatal:
Question: how can you actually tell when a scheduler "works best" for you? I've been trying about a bunch of them but don't notice anything drastically difference in my experience in performance, etc.
[Nexus 4 Android Development] jassycliq:
Honestly without benchmarks you can't really tell. Gallery... Sometimes, it could just be placebo though.
[Nexus 4 Android Development] Connor Baker:
Jassy,

One last post and them I'm off. Are you thinking about including Franco's touch filter sensitivity boost thingy? Sorry I don't really know how do describe it :P

Connor Baker
[Nexus 4 Android Development] jassycliq:
The kernel uses his touch filter values. It doesnt have his mod that exposes the values. If you're talking about the boost when you touch the screen, in short... no. I prefer the method showp uses since it's completely configurable.
[Nexus 4 Android Development] Connor Baker:
Thank you very much Jassy :P You're always great about replying to stuff in this thread (and yes, I was talking about the touch sensitivity boost), and I really appreciate it. GOOGLE I/O TODAY. WHOOP. WHOOP. WHOOP.

Connor Baker

Edit: Now I'm off to school :(
[Nexus 4 Android Development] Connor Baker:
Posted this in the Sabermod thread:
[Nexus 4 Android Development] jassycliq:
I've seen a few kernels compiled with 4.8 already. I keep my toolchain the same as on the build machine and considering it took me a few hours for the toolchain I use tight now, id like to avoid downloading a new one :)
[Nexus 4 Android Development] iplexus4:
Can we get additional sweep2lock option, without sweep2wake? it wil be great, no power consumption in sleep and no need using power button on wing device
[Nexus 4 Android Development] nileshgr:
devs, can you add intellidemand governor?
[Nexus 4 Android Development] Connor Baker:
Hey Jassy,

Happy Friday :cowboy:

Not sure if you've seen this kernel on some German forums (http://www.android-hilfe.de/custom-...kernel-jb-hells-core-b16-o3-15-05-2013-a.html), but apparently it has some GPU optimizations in it. Also, it has more tweaked governors, such as the "Badass" governor, as well as Intellidemand and Wheatly. Just wanted to bring this to your attention. Also, his Github for the Nexus 4 is here: (https://github.com/hellsgod/lge-kernel-mako)

Hope your Friday was better than mine!

Connor Baker
[Nexus 4 Android Development] ctfrommn:
I didnt see a download link for that, any idea?
[Nexus 4 Android Development] jassycliq:
http://d-h.st/IoI

lol
[Nexus 4 Android Development] jassycliq:
Would anybody be interested of a version with Franco's hotplug/gamma?

Basically what the kernel is now, but instead of Fauxs gamma, itll be francos and instead of mpdecsion/intelli-plug it'll be franco's hotplug.
[Nexus 4 Android Development] Connor Baker:
Would it be possible to put both versions into the kernel so people could choose? I mean if not, I guess I prefer Faux's gamma because of the amazingly large number of values. I do like Franco's hotplug because it's very easy to turn on and off, as well as tune... But it's not essential.

It's your kernel man, go "cray cray" :P

BTW: Is it possible to turn hotplugging completely off in the current kernel?

Connor Baker
[Nexus 4 Android Development] jassycliq:
On the hotplugging, yes it is possible to turn everything off.

I would use trickster and turn off intelli-plug and mpdecision.

Then in mpdecision-control turn off all the switches. (id recommend leaving screen off single core though, considering that our chip has a hardware bug where only core 0 can go into the deeper sleep states.)

Also if you're going to lower the max cpu freq id recommend using snake charmer (don't know how to turn it on w/o fauxs app honestly) it keeps the max at the set value.
[Nexus 4 Android Development] ctfrommn:
Must be blind or ad blocking prevented me from seeing that link. Thanks. Yes, Franco's gamma is worlds better IMHO.

Sent from my blazing bionic Nexus 4
[Nexus 4 Android Development] sirxdroid:
So you mean just download Franco's kernel? :)

I'd like to see Franco's gamma interface with mpdecision/intelli-plug. Franco's gamma + Franco's hotplug, well I can just flash Franco. What's interesting is combinations that don't exist in other kernels (what I mean is something like Franco's gamma + showp's mpdecision + ondemand w/ early demand or some other combo like this that cannot be tried anywhere else).
[Nexus 4 Android Development] ctfrommn:
+1 to that. I assumed that was the intent, but if not, I agree that would be the draw.

Sent from my blazing bionic Nexus 4
[Nexus 4 Android Development] jassycliq:
Not just Franco's kernel. This kernel is highly optimized, has 3phase thermald, faux sound/speaker, and many more behind the scene updates to the kernel. If it would just be Francos kernel then id link his kernel :p
[Nexus 4 Android Development] Connor Baker:
With stock Qualcomm MPDecision, will GPU/CPU OC still work? I'm kind of lost...

Also, I would LOVE a kernel with Franco's hotplugging :D I'm up most of tonight and I would love to test it if you need any halp :P

Connor Baker

EDIT: I was just flipping through your sources and branches when I saw Franco-Test and I was like "HOLY S***."

Is that just for his optimizations, or for his hotplugging too?
[Nexus 4 Android Development] jassycliq:
Don't remember honestly... I don't have that branch locally anymore. Need to look at it now lol. It was a test I did a bit back, it would randomly reboot though. Pretty sure it had to do with a different reason though.

BTW: not home and I won't be in a while so I won't be able to churn something till later tonight. I'll most likely be up a bit late tonight, ~12am PST.
[Nexus 4 Android Development] sirxdroid:
Did this actually make it into master or you meant to say test? I see the last commit to master is dated Apr 29, unless I'm looking in the wrong place.

https://github.com/jassycliq/mako/commits/master
[Nexus 4 Android Development] ks2332:
Been running the German guys kernel for a few days it's amazing it's faux on roids
[Nexus 4 Android Development] sirxdroid:
Every new kernel is amazing :) Every kernel has its fans :) Nothing personal with the comment above, just something I observed :)

As for me, I like them all and try them all. I think the N4 is such a nice device and it has such a good stock kernel, it's hard to make a dud kernel for it if you start with stock and don't mess up.
[Nexus 4 Android Development] ks2332:
None taken but I've tried them all and this has been my favorite
[Nexus 4 Android Development] jassycliq:
:banghead:Well my laptop died... So yeah lol I guess this is on hold till I get a new one. Should be soon hopefully as I need it for college. :)
[Nexus 4 Android Development] Connor Baker:
Ouch... :( Got a new laptop in mind? I try to buy from Newegg because they have great prices :P

Connor Baker
[Nexus 4 Android Development] jassycliq:
Yeah, I always go either newegg, tigerdirect, or microcenter. Then I'll price match at Fry's sometimes, especially if I don't want to wait lol no idea on what I want yet. Probably going to choose an Acer or Asus. Avoiding Gateway, have had issues with those POS in the past.
[Nexus 4 Android Development] brolic925t:
woah op is too long lol...

i just wanna know how this compares to fauxs intellidemand settings with his fauxclock and kernel on battery and performance?

and if its better whats the recommended setup i dont understand the whole hotplug driver thing and can i use fauxclock with this still? sorry for being such a noob
[Nexus 4 Android Development] jassycliq:
Choose which one you want.

Go to the hotplug driver app and choose it.

Use fauxs app to change the min cpufreq.
[Nexus 4 Android Development] Connor Baker:
I feel like sometimes threads get forgotten when they shouldn't. That makes me sad.

This project has amazing potential, and I would like to see it updated.
[MENTION=3424800]jassycliq[/MENTION], I know you're having computer problems, and if you need anything just let me know how I can help.

Connor Baker