yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] sirxdroid:
How often do you plan on making stable releases? Thanks.
[Nexus 4 Android Development] jassycliq:
Yeah that's my usual. Its very battery friendly. Been messing with interactive though. I had just recently tried francos and noticed how smooth it was... But it got hot very easy. I'm trying to mimic that without sacrificing battery life though.
[Nexus 4 Android Development] dondadah88:
I'm dying to try this out. Just waiting for an update. Lol
[Nexus 4 Android Development] alphadog32:
Is it possible to add USB Audio out to this kernel? Like an USB DAC maybe?
[Nexus 4 Android Development] jassycliq:
I don't use it but just asking, have you tried it? Last time I checked the OTG thread, ziddey said support was native.
[Nexus 4 Android Development] alphadog32:
I can try it again maybe just my car is incompatible with Android, I doubt it butight be a driver problem.
[Nexus 4 Android Development] yyz71:
Love the kernel but i'm getting audio clipping :confused:

Sent from my Nexus 4 using Xparent Skyblue Tapatalk 2
[Nexus 4 Android Development] yyz71:
Is this thread dead? :confused:
[Nexus 4 Android Development] jassycliq:
Can you explain? RE: audio clipping
[Nexus 4 Android Development] yyz71:
When listening to my music i get sound distortion and no sounds mods are used.. Flashed another kernel it was gone:confused: But i came back to yours which i like anyways smooth and fast but it's just the audio clipping that's driving me nuts...
[Nexus 4 Android Development] jassycliq:
Have you tried using a different min frequency? 384 or higher maybe.
[Nexus 4 Android Development] yyz71:
Will do thanks bro:)
[Nexus 4 Android Development] hospital349:
Community WIKI is now available. [MENTION=3424800]jassycliq[/MENTION] - consider it a gift. Enjoy! :good:
[Nexus 4 Android Development] bboti86:
ADK

Hey,

do you guys think that this kernel would support the ADK (Accessory Development Kit)?

I'm new to this world and I'm trying to make my arduino talk to the phone, but it looks like it's only outputting random characters in the serial line.

Thanks

B
[Nexus 4 Android Development] noobOTT:
Has this gone dead?
[Nexus 4 Android Development] jassycliq:
Sort of... Should be rebooted soon though ;)

Intelli-thermal

Franco gamma

New default setup

Plus more!

Laptop comes in Monday :)
[Nexus 4 Android Development] edilber:
thanks

thanks for this great kernel

containing great init.d

grateful excellent work
[Nexus 4 Android Development] jassycliq:
AFAIK Franco's optimizations tend to be towards the hotplug driver. Ive used a few of them from Trinity also. And I have net seen that last one. On top of that its -O3 optimized which is the reason for the big size. Other than bricked kernels, I wouldn't know of another kernel like this. I'll see about the toolchain, though I'm quite happy with the one I'm using now.
[Nexus 4 Android Development] jassycliq:
A lot honestly. This one has 3 hotplug drivers and that it is more up to date. Also iirc the ones in shows thread were based off of fauxs enhanced stock branch. This is based off of his rb........ branch. OTG, new governor, cleaned up ondemand and interactive since I didn't like the way they functioned with fauxs kernel, and much more that I can't think of off the top of my head.
[Nexus 4 Android Development] jassycliq:
I think it depends. I want to make sure everyone's happy with this setup, if so I'll merge it into the master branch
[Nexus 4 Android Development] Connor Baker:
Thanks man! If you're ingested in finding the kernel, look at their repo. It isn't distributed separately, and only comes with the CodeFireX ROM.

https://bitbucket.org/codefirex/kernel_lge_gee_mako

Their Tool Chains can also be found on this website along with all their repos:

https://bitbucket.org/codefirex

Best of luck on your project!

Connor Baker
[Nexus 4 Android Development] IAmAN00bie:
Can I use this kernel to change my screen color to #33b5e5? I heard that's the "in" thing right now, according to /r/androidcirclejerk.
[Nexus 4 Android Development] leventccc:
Sounds awesome but I'm gonna wait until a fully compatible kernel control application for this one comes because I dont think current kernel control tools are capable of handling this much of awesomeness!
[Nexus 4 Android Development] android88:
FauxClock should work pretty well.
[Nexus 4 Android Development] sirxdroid:
init.d scripts to the rescue. I trust them more than the apps, easier to have different scripts and switch between them and also back them up to the PC. The problem I have with something like Trickster is that the backup story is very weak if you switch ROMs a lot. The apps are useful to quickly change and play with various settings (where possible) before making persistent changes via scripts.

But yes, I'd love to see a dedicated app that supports this community kernel. If someone's working on such an app, please don't forget settings profiles and easy backups to the sdcard that can survive full wipes :)
[Nexus 4 Android Development] jassycliq:
Not really, the only thing FauxClock can do is toggle MPDecision or intelli-plug.

You guys should post on the Trickster to see if he'll add support for kernel based mpdecsicion (show-p1984's hotplug driver)

I also might be able to get somebody else to make a small little app to toggle the hotplug drivers. We'll see :)
[Nexus 4 Android Development] Connor Baker:
I may just be derping,but when I click the source link, I get a 404 error...

Connor Baker
[Nexus 4 Android Development] jassycliq:
let me look at that. I'll also post the github link

Here jou go

https://github.com/jassycliq/mako/commits/test
[Nexus 4 Android Development] jassycliq:
Its not an amazing application but its something :) I'll work on it a bit more.

http://www.mediafire.com/?dzeoh8skb2umzd4
[Nexus 4 Android Development] Connor Baker:
I noticed the 26 suffix... Did you really go through 25 other versions?

Connor Baker

Edit: Ohh... It's pretty :P I like it. Great little set of settings :P
[Nexus 4 Android Development] Nerd019:
whats up jasscliq orphanscode here
[Nexus 4 Android Development] jassycliq:
Yeah lol was trying to get the hang of how to do it. I had never done this before so it was a tiny learning curve :P I'm working on a new one as we speak. I'm trying to get it to display the results hopefully. Also making it one-click instead of a series of clicks.

Edit: also going to make it that a long press creates an init.d script for that specific hotplug driver :)
[Nexus 4 Android Development] jassycliq:
Yo :beer:
[Nexus 4 Android Development] Connor Baker:
I know this might sound crazy, but is there any chance of CPU OC to 2.1ghz and GPU OC to 525mhz? Just wondering.

Connor Baker
[Nexus 4 Android Development] jassycliq:
Doubt it. Kernels that say they go past 1.9ghz tend to actually lie, especially on phones. We wouldn't want it either way with how unstable this phone is. Plus chances are the phone won't be able to handle it. Mine can't even handle 1.7ghz honestly :(

GPU I'm not sure of. I'll have to look into that one. Though chances are it won't happen. The other devs tend to do a good job at pushing the limits. :)
[Nexus 4 Android Development] :
This kernel makes me to root it at 4:20 friends
[Nexus 4 Android Development] Connor Baker:
Jassycliq, I've been following this thread for a while and have been interested in it.

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

Right now, the Dev of the thread is very busy with life and exams in school, but if he does manage to achieve better recording some time on in the future, without any negative consequences, would you consider adding it in to the kernel? I understand if you don't want to, but I just wanted to ask.

The kernel has been running really smoothly for me today, and I look forward to future updates.

Connor Baker
[Nexus 4 Android Development] BurnRubber90:
Root it.
[Nexus 4 Android Development] jassycliq:
http://www.mediafire.com/?aoe3ohy332t8mb4

Refinement of the app. At least I hope so :p
[Nexus 4 Android Development] apatal:
Is this the same one included with the latest test kernel? Or is this newer?
[Nexus 4 Android Development] jassycliq:
Newer. Its even under a new name for now since it only controls the hotplug drivers. I'm already creating a different section for other stuff.
[Nexus 4 Android Development] 0.0:
Intellidemand isn't included as a governor?

I read the first post. I'm wondering if it's included since it includes a lot of other stuff from all the devs

edit: would it be possible to make a non-OC version of this kernel?

Sent from my Nexus 4
[Nexus 4 Android Development] apatal:
Minor bug on the last Hotplug Drivers app: when choosing Hot plugging options, all show a "Success" toast except for Qualcomm's mpdecision. Been checking with Perfmon so I know the switch worked, it's just not showing the toast for it. Could just be me though. :)
[Nexus 4 Android Development] jassycliq:
Still trying to find a sure way of knowing that qcoms mpdecision is running. With others I can read a file and if it has a 1 its on, otherwise its off.
[Nexus 4 Android Development] sirxdroid:
If you use Trickster it should show whether MPDecision is on/off and you can even toggle it from there. Not sure how Trickster does it but I know they use a bunch of scripts, maybe you can look at the installed scripts. Also not sure whether it's reliable or not.

Edit: MPDecison is also its own process, is it not? Would a 'ps' work? Or is it possible that the process is there but the feature disabled?
[Nexus 4 Android Development] Ranaquajaro:
Hey jassy, any idea why I have to manually insert the wifi module even though I have init.d and busybox?
[Nexus 4 Android Development] jassycliq:
Look in your init.d folder, if you have another script that starts with 00 rename the wlan to something else.
[Nexus 4 Android Development] jassycliq:
http://buildmachine.zapto.org:88/projects/5/builds/0a8b0db80af6285a33f5dcafde190e39bcb866c5 :)

Having issues connecting to the FTP server (my issue) so i couldn't update the APK.

Change log:

23f2b45d3 Paul Reioux freezer: shorten freezer sleep time using exponential backoff 31 minutes ago

ff4bd25c3 Colin Cross freezer: skip waking up tasks with PF_FREEZER_SKIP set 31 minutes ago

3995281e3 Colin Cross freezer: add new freezable helpers using freezer_do_not_count() 31 minutes ago

abeafac97 Colin Cross binder: use freezable blocking calls 31 minutes ago

ce6c00ae4 Colin Cross epoll: use freezable blocking call 31 minutes ago

87e95420f Colin Cross select: use freezable blocking call 31 minutes ago

b7b7d430b Colin Cross futex: use freezable blocking call 31 minutes ago

a479733ff Colin Cross nanosleep: use freezable blocking call 31 minutes ago

74e437e7a Colin Cross sigtimedwait: use freezable blocking call 30 minutes ago

b9451d3e7 Colin Cross af_unix: use freezable blocking calls in read 30 minutes ago

2f521e917 Paul Reioux Sound Control: Added headphone poweramp controls 30 minutes ago

0a8b0db80 Francisco Franco input: lge: re-work the patches I just reverted to fix a bug that w...
[Nexus 4 Android Development] Ranaquajaro:
There isn't but I'll rename it anyway and see if that fixes it :)
[Nexus 4 Android Development] sirxdroid:
Interesting post about some upcoming changes in Trickster when using MPDecision:

https://plus.google.com/101668730902908762044/posts/hkqVMGd29ad
[Nexus 4 Android Development] apatal:
Already using the beta build. It's working superbly! ;)
[Nexus 4 Android Development] meangreenie:
jassycliq, I noticed when using any kernel that uses qualcomms mpdecison that if you use _motleys inert powerhal it disables the min freq touch boost. I find this smooths out some quirks in certain apps.. example spb3d shell desktop scrolling.

But this does have the downside of introducing lock-screen/screen-on lag when pressing the power button, i guess because of mismatched lower frequency.

Could a proper inert power hal be made for qualcomms mpdecision ? Don't know if it's worth investigating.
[Nexus 4 Android Development] jassycliq:
Same here, running showp's mpdecision with 2 cores min. Battery life is actually doing better than I expected that way :)
[Nexus 4 Android Development] jassycliq:
From the sound of it you want a powerhal that works with mpdecision. If so all you need to do is reflash whatever ROM you're on and then this kernel.
[Nexus 4 Android Development] show-p1984:
[MENTION=3424800]jassycliq[/MENTION]

You still haven't added build badges! :p

master:

test:
[Nexus 4 Android Development] iplexus4:
I try semaphore and beta trickster mod, in enabled mpd (seems to me) nexus go hot faster in difference disabled mpd option, maybe i do it wrong?
[Nexus 4 Android Development] sirxdroid:
May be worth posting the same question in the Semaphore kernel and Trickster threads.
[Nexus 4 Android Development] jassycliq:
Well I don't know what the developer of trickster is thinking. There's no way mpdecision runs cooler. Even with the device in airplane mode it'll heat up a lot. Every custom hotplug driver I've used doesn't run as hot. Does it run smoother? Yes, no questions at all.
[Nexus 4 Android Development] iplexus4:
Ok, no matter, but if mpd enabled i looking on only 2 working cores, on high load mpd unlock 4 cores? or actually mpd = shutdown 2 cores?
[Nexus 4 Android Development] sirxdroid:
Isn't it a matter of the voltages used rather than mpdecision? It is true that the stock kernel runs hotter than other custom kernels that allow under-volting with the same stock mpdecision+ondemand settings. This can be seen for example using Faux' Enhanced Stock or Harsh enhanced stock kernels which are stock with undervolting.
[Nexus 4 Android Development] jassycliq:
This kernel allows use of mpdecision and I like running it every now and then when I know I'll be pushing the phone. The voltages don't really play that much of role considering how mpdecision runs. Every hotplug routine (aside from mpdecision) constantly onlines core 0 and core 1 with the frequencies jumping around a bit. Then almost as soon as you stop interacting they tend to offline core 1 and just idle with core 0. Whereas mpdecision keeps 2 cores online for 2 seconds (iirc) with a min of 1ghz. I see it jump around 1ghz and 1.5ghz often, generating plenty of heat. Something as minuscule as reading a webpage (already loaded) doesn't require 2 cores at 1ghz which will happen if you swipe to read more. The reason many people like it though is because of how smooth this overkill is :)
[Nexus 4 Android Development] jassycliq:
Yes, Qualcomm's mpdecision does a very good job at onlining/offlining the 3rd and 4th cores.
[Nexus 4 Android Development] jassycliq:
[MENTION=4195844]show-p1984[/MENTION] I think i did it correctly... I couldn't figure it out at first :l
[Nexus 4 Android Development] Audioboxer:
Thanks for the effort going into this community kernel, let's see how it goes :highfive:

Are any of the CPU apps okay to use at the moment? :confused:
[Nexus 4 Android Development] jassycliq:
They're all ok to use.

Kernel Tuner (check Play Store) is the only one that I know of that can handle the 3-phase thermal though.

Also make sure to use the included application (hotplug drivers) to change the drivers. It turns off the ones that aren't chosen to avoid any issues :)

THE NEW TRICKSTER BETA ALLOWS TO CONTROL ALL FUNCTIONS IN THIS KERNEL. JUST REMEMBER ONLY RUN 1 HOTPLUG ROUTINE AT A TIME. Basically, don't try and run intelli-plug and in-kernel mpdecision at the same time. Or anything like that.
[Nexus 4 Android Development] Audioboxer:
Thanks, I enabled hotplug control in Trickster with shows mpdecision and that seems to have done the trick.

Not sure what scroff_single_core means, but its off.
[Nexus 4 Android Development] jassycliq:
It stands for

Screen off single core. You'd want that one on ;)

EDIT: BTW guys, be careful with trickster. It won't do checks to make sure you're not running many different hotplug routines. I'd still highly recommend the little app I made to do the switching.
[Nexus 4 Android Development] apatal:
+1

Exactly what I do when using this ComKen. (See what I did there? ;)) HotPlug app + Trickster = profit!

When I switch to other hotplug options or turn mpdecision on. I can usually confirm on Trickster as it shows the correct state of mpdecision at any instance. Inversely, if you know you are using a different hotplug routine and you see mpdecision enabled on Trickster, you'll know you're doing it wrong. :)
[Nexus 4 Android Development] apatal:
Hi guys, question: it's the first time I've encountered the in-kernel mpdecision. Been trying it out and notice CPU stats say it doesn't go any lower than 1GHz while I'm using my phone. Is this the correct behavior for that hotplugger? Still testing it for impact on battery..
[Nexus 4 Android Development] apatal:
BTW, I know what Qualcomm's mpdecision does which is boost CPU freq to 1GHz when you're touching the screen but when you check at CPU stats while using it, you'll see that it goes down to lower frequencies when you're not touching the phone, and while charging. With in-kernel mpdecision, it stays at 1GHz eben while charging. Is this normal for the said hotplugger?
[Nexus 4 Android Development] jassycliq:
Both you and the guy above need to change the mins. At boot and when you guys play with qcoms mpdecision the min is being set to 1ghz. When you guys start using shows mpdecision though it'll keep that min (remember you just touched the screen) I wanted to add that to the app but I know some peoples phones can't do 162mhz or so. I'll probably add a popup menu so you guys can set the min value :)

Edit: tapatalk acted funny, it showed two different people for the comments lol, I see it was you both time now though. Sorry CD
[Nexus 4 Android Development] jassycliq:
YAY!!!! The build status badges are working :D You can see that one of the latest build failed because one of the commits!!! :D ... sorry i think thats cool :cool:
[Nexus 4 Android Development] jassycliq:
CHANGELOG:

cfcfcbe4 Revert "msm: kgsl: Add GFP_NORETRY to the page_alloc flags and handle errors"

4750928 defconfig: Update for new touch_boost feature for kernel based mpdecision.

085ba61 msm: kgsl: Reduce cmd buffer size for adreno_iommu_setstate

caed023 msm: kgsl: Fix hang detection to be 50ms or more

bf9a788 msm: kgsl: Add minimum amount of wait in adreno_waittimestamp

28780a3 msm: kgsl: Lower bounds check the number of power levels

3a7120b msm: kgsl: Avoid NULL pointer in adreno setstate functions

5db5ceb msm: kgsl: Fix guilty context logic for GPU hangs

eab59a3 msm: kgsl: Remove an uneeded register write for A3XX GPUs

da07ff9 msm: kgsl: Remove non-critical error messages

f33358f msm: kgsl: unprepare clocks when we move from NAP to SLEEP

3efbea6 msm: kgsl: Do not allocate space in ringbuffer for hung context

f41b6a2 msm: kgsl: Do not save context if it is being destroyed

b1d7357 fix error

d663e19 msm_fb: display: update var in display commit

f2c1e69 msm: display: non-blocking for overlay update

6fe5638 msm: kgsl: Remove extra interrupts when setting MMU state

7e8a134 msm: kgsl: Support user specified timeouts in adreno_waittimestamp

cf18f63 msm: kgsl: Move the adreno WPTR poke logic to the hang detection

6a808d0 msm: kgsl: Invalidate base pointers when tlb is flushed

a8bafcd msm: kgsl: Add GFP_NORETRY to the page_alloc flags and handle errors

cef0287 msm: kgsl: Fix adreno idle detection during hang

29916e4 msm: kgsl: Do not check for hang when graphics core is idle

01c3627 msm_mpdecision: input event boost: fix not resetting boost if cpu was unplugged before

643164e msm_mpdecision: add sysfs interface for input event boost

55f7b76 msm_mpdecision: add input event boost [read more]

As you guys can see, it has show's new stuff and I also merged a lot of GPU stuff. Hopefully better performance.

Should appear on goo.im's servers in a few mins :)
[Nexus 4 Android Development] jassycliq:
I must say... Shows new stuff is amazing. His hotplug routine actually behaves a lot like qcoms mpdecision now. It'll change the min to 1026, the best part though is that its configurable you can control how long it boosts. Even better is that you can control the min freq it jumps to by core! O.O

I have mine set up to 1026 for first core then 702mhz for the rest. The experience is literally as smooth as qcoms mpdecision but with less heat. Battery life I have no idea on, its 2am so I'll need to post about it some other time but considering it doesn't stay boosted as long as before and that only 1 core is a 1ghz I expect it to be better. Who knows. Anyways, just suggesting to anybody who hasn't used shows mpdecision ;)

If you guys want I'll upload a script later to use my setup. I changed ondemand to mostly stay at min but games still seem smooth (I'll also try this later, I need sleep first lol) well hope you guys enjoy that new release, it seems like GPU is also a bit tamed. It idles at 128 a lot more now and doesn't constantly jump up to 487 for no reason anymore. :) ecstatic for this last release, it seems to be doing awesome so far. Well, at least for me xD
[Nexus 4 Android Development] Audioboxer:
Any reason WiFi will sometimes start on boot for me, but will fail other times?

edit: It seems to be staying on after reboots now.

edit2: Eeeek, another issue, core0 won't drop below 1026mhz with showps new settings. It's not related to mpdecision, trickster is set to use 162mhz.
[Nexus 4 Android Development] jassycliq:
The WiFi issue is fixed now at least I was hoping. If it comes back I'll have to look into it more. Are you sure about the min? Sometimes trickster shows the min as what it was in qcoms mpdecision but if you switch the hotplug driver itll use 1ghz. Then if you dont close out itll show 162min even though that has changed. This is the only reason i prefer fauxclock itll change and reflect the change in min live. I used shows routine all morning and its been acting as it should. Of course this is relatively new so there could be issues. So please check :)
[Nexus 4 Android Development] sirxdroid:
In Trickster you can press the back button (rather than the home button) to leave the application. That will close the app and next time you start it it will show updated values on all screens (if you press the home button it may still show cached values). I asked the dev to add a Refresh button in Trickster to force all the data to be re-read from the sysfs but he said he was not going to do it.
[Nexus 4 Android Development] jassycliq:
I had this issue also. It seems that trickster isn't doing something correctly because if you use it to change the hotplug drivers you'll have this issue. I used my little script app and everything is operating normally.
[Nexus 4 Android Development] iplexus4:
So, set up lowest frequency at 162Mhz has no sense? I'll get bigger life battery when i listen music and device (!presumably) will be working on 162 Mhz?
[Nexus 4 Android Development] sirxdroid:
I think Trickster is great to play with and make non-persistent changes in real-time to see whether you like them or not. For persistent settings, I would use init.d scripts once you settle on a kernel and a set of settings rather than any of these apps with the 'set on boot' option.

The problem I have is that I can't seem to ever settle on a single kernel and a set of custom settings, there's always a "better" kernel to try or a newer version with a new tweak :) Looks like Nexus 4 owners are doomed into becoming flashaholics :)

---------- Post added at 11:05 AM ---------- Previous post was at 11:03 AM ----------

Try Faux 014, I think it allows going down to 162. See how that works for you.
[Nexus 4 Android Development] jassycliq:
Yes, because when music plays the phone doesn't sleep. So it uses the freq steps you provide. Thus having lower freq should (in theory) help battery life.
[Nexus 4 Android Development] sirxdroid:
There's a comment by faux123 in his kernel FAQ:

http://xdaforums.com/showpost.php?p=34502852&postcount=4

Any concerns around using a freq < 384?
[Nexus 4 Android Development] jassycliq:
Yeah, I used to be that way about ROMs but it seems to me that its all about the kernels on the nexus lol

162mhz is also included in this kernel ;)
[Nexus 4 Android Development] leos0000:
Wich rom u guys use with this is kernel