yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] dmourao:
Amazing kernel, very stable and smooth. Took 50+ pics yesterday and about 30 mins of video recording (I was at a concert) and still got something like 17hs overall time/2h30 min OST with data ON most of the time, no random reboots or lags. :good: :cowboy:

Ps.: Can I make a small request? :fingers-crossed: Would be amazing if you could add Kel Ghu's gamma 2.2 color preset too. Thanks!
[Nexus 4 Original Android Development] elderap:
Excellent battery management, for me the best!

Enviado de meu Nexus 4 usando Tapatalk
[Nexus 4 Original Android Development] loldroid23:
Hey guys is it safe to overclock the GPU to 487mhz for a long time (1 hour+)? I already tested it at 487mhz for several minutes and its stable. I don't know how it will affect the GPU long-term and I don't want to brick it.
[Nexus 4 Original Android Development] n2d551:
Been running my Gpu at that ever since the release. It's a definite that anything mathkid puts out will always be safe for your device and has been tested thoroughly!
[Nexus 4 Original Android Development] elderap:
Guys, I wonder if the kernel version frequently gpu stock, also comes with stock cpu voltage? I upped increase in 100v, but I was wondering if this was already standard

Enviado de meu Nexus 4 usando Tapatalk
[Nexus 4 Original Android Development] C4SCA:
Both versions are underclocked by -100mv

sent from my Nexus 4 tasting KitKat for the first time.
[Nexus 4 Original Android Development] DxTcmix:
Anyone having bad lag playing Asphalt 8 and sonic 1 & 2? On 12.5? To troubleshoot I installed the newest ak xgenesis kernel and don't have the same issue.
[Nexus 4 Original Android Development] Voltaine:
[MENTION=2677519]mathkid95[/MENTION]

Thank you very much for the new version

I don't know what you did or if it is even a result of your kernel update (might be result of rom update too), but since I installed v12.5 i got accurate battery reporting for the first time :good:

Before battery would jump up and down, drop by 2 or 3 percent at once,.... (No matter what rom+kernel combo i had installed)

Now this gone

Plus, SOT also improved greatly from little bit above 3 hours, to 4 even 5 hours (light usage, no gaming) :)

Really happy that this is fixed now :good:
[Nexus 4 Original Android Development] MotoFlasher:
[MENTION=2677519]mathkid95[/MENTION]

Many, many, many thanks for 12.5! :good: :highfive:

There is nothing more to say than .... BRILLIANT ... as always!!!

These values/screenshots ​​are from 12.0

cpu @ all to max 1026 / ondemand

I/O deadline

gpu 200 / simple

jelly ca.46min

g+ ca.33min

and browser (no idea why chrome is not listed :confused: ) ca.28min

play music ca.15min

And other things ...

Um ... and whatsapp forgotten ...

And I did not have good cell phone reception. From time to time ....

2 days long the battery does not need to charge!!! I'm really impressed. And there's more inside (the Kernel) !!!!! ;)
[Nexus 4 Original Android Development] Andre_Vitto:
Wat iis BLX?
[Nexus 4 Original Android Development] deani77:
Battery life extender...
[Nexus 4 Original Android Development] hughfollett:
Hi guys! On the OP I've read that thermald and mpdecisioon have been removed? Are they replaced with something custom? TIA

Edit: I've found in the changelogs that it's using a custom thermald, but could someone say which one? Thanks!
[Nexus 4 Original Android Development] iskandar1023:
use ondemand governor and set max freq to 1,5ghz of course :D
[Nexus 4 Original Android Development] Dan1234567890:
Thx for the great kernel, it is been my daily driver for couple od months!

I have a problem with trickster, it been playing tricks on me, so eventhough I have enabled ""set on boot", in average, the kernel options are set 1 in 10 times after reboot. ☺

So I'm thinking of adding terminal commands in init.d script so that after booting I do not need trickster.

All I change in trickster is:

Battery life extender on 90

Sound control/basic/fixed gain (dB) 20

CPU governor Wheatley

Can somebody help me with terminal commands to do this?

TIA!!! :beer:
[Nexus 4 Original Android Development] davej23:
How does battery life extender work?
[Nexus 4 Original Android Development] themike10452:
it doesn't give you more usage time, it makes your battery live longer, and keep good condition, and that by making the phone charge stop at 98% for example to prevent overcharging the battery which will reduce its life as some sources say.

Sent using my nexus⁴ running crDroid Simple 4.4.2 (Dalvik) powered by Bricked CM Linux 3.4.0 kernel.
[Nexus 4 Original Android Development] davej23:
Ah thanks.
[Nexus 4 Original Android Development] themike10452:
use the button mate :P

Sent using my nexus⁴ running crDroid Simple 4.4.2 (Dalvik) powered by Bricked CM Linux 3.4.0 kernel.
[Nexus 4 Original Android Development] SweetPant:
Was the default color preset for this kernel (pre-12.5) PA Halfbreed?
[Nexus 4 Original Android Development] arffrhn:
Yes it was.
[Nexus 4 Original Android Development] Voltaine:
I'm satisfied, taking into account the mobile signal wasn't that good most of the time

Light usage

Slim + matrix
[Nexus 4 Original Android Development] cheech87:
Am I understanding this correctly: There is no way to fix the deadlock issue on matr1x v11.0 (4.3.1 JSS-based). (even after flashing the jss to jwr screen tear fix posted in another thread). Running AOKP milestone 1 for 4.3.1 (JLS based)
[Nexus 4 Original Android Development] snak3ater:
Using Matrix v.11 and 4.3 :eek:

No lift to kitkat
[Nexus 4 Original Android Development] Sir_gpm:
Wich is the best trickster setting forma battery life?.

Enviado desde mi Nexus 4 usando Tapatalk 4
[Nexus 4 Original Android Development] dmourao:
Pretty good for my average daily usage!
[Nexus 4 Original Android Development] themike10452:
interactive or Wheatley

Sent using my nexus⁴ running crDroid Simple 4.4.2 (Dalvik) powered by m_plus-0.1.2_CM Linux 3.4.0 kernel.
[Nexus 4 Original Android Development] ImperatorShade:
Using v12.5 with the latest Purity, and I've got to say, the fastest and snappiest combo I've ever used. Loving it!!
[Nexus 4 Original Android Development] SweetPant:
Rastakat + Matrix 12.5 (GPUOC)

All default settings except LCD preset.

:good::good::good:
[Nexus 4 Original Android Development] davej23:
My nexus 4 is not charging with wireless charger using this kernel. My nexus 7 on complete stock works fine but the nexus 4 says charging then stops and I get a flashing blue light on the charger. Its expower wireless charger, also called lerway.
[Nexus 4 Original Android Development] iskandar1023:
I hope this kernel is tc enabled, i just miss swipe media skip :(
[Nexus 4 Original Android Development] snak3ater:
Just got a confirmation from TC dev..He is working on a new TC app..Its Engine is completely rewritten and new functions are coming with it ;)

New Kernel modules will take some time.So lets wait
[Nexus 4 Original Android Development] hooliganx:
don't understand [MENTION=4880721]iskandar1023[/MENTION]

he "thanks" the post of bponury talking about it... and now.. ask for it :screwy:

N4*SlimKat-b2-T49H*Piasek.v7*psx.patch-dalvk*TWRP.2.6.3.3*0.98
[Nexus 4 Original Android Development] iskandar1023:
I saw something new is coming, so i thanked him.

Something wrong with that??

Ok now i will staph OT.

SONE!!
[Nexus 4 Original Android Development] hooliganx:
nothing wrong. ;)

just saying. sometimes oje post have many informations. but understand you. maybe old module works too, like in hells.

no fight dude. :D

good day. :thumbup:

N4*SlimKat-b2-T49H*Piasek.v7*psx.patch-dalvk*TWRP.2.6.3.3*0.98
[Nexus 4 Original Android Development] snak3ater:
Oops.. Just saw that bponury posted it in his thread as well...my bad...anyways..let's wait for him to finish the new app
[Nexus 4 Original Android Development] Dan1234567890:
Sorry guys for bumping...:p

Can I get some help, please if anyone knows this kernel well enough...I need terminal commands for matrix 12.5 for these settings:

BLX on 90

Governor on Wheatley

Sound control/basic/fixed gain on 20

Anyone...??:beer::beer:
[Nexus 4 Original Android Development] mierdaseca:
How do I change the color preset to the previous 12.0 one?

Enviado desde mi Nexus 4 mediante Tapatalk

---------- Post added at 11:52 PM ---------- Previous post was at 11:23 PM ----------

Nevermind, found it
[Nexus 4 Original Android Development] iskandar1023:
Hahaha no fight from me too, i dont like fight :D

but already try with v11 module and no work. Maybe it is kernel side..

SONE!!
[Nexus 4 Original Android Development] Voltaine:
Does the battery life extender patch in the kernel also work if the phone is turned off while charging?
[Nexus 4 Original Android Development] Dan1234567890:
Since the kernel is responsible for charging process and the phone is not in the deep sleep during charging, I would say yes. But you should try it and see...nothing bad can happen. ☺
[Nexus 4 Original Android Development] Wassupdog:
Where can I download the APK of this kernel (I mean app for this kernel).

Thanks!
[Nexus 4 Original Android Development] SweetPant:
What do you mean? Kernel is not just an apk.

Do you mean Google apps? Or app that control the kernel settings.
[Nexus 4 Original Android Development] iskandar1023:
if you mean the app for controling the kernel, i'm using trickstermod.

but kcontrol is good also
[Nexus 4 Original Android Development] Dan1234567890:
Ok, I see I wrote reply which can be a bit confusing... To make a long story short, in answer to your question, yes battery life extender should work even if the phone is off. I have not tried it, but you can, if it doesn't work as it is supposed, nothing bad can happen, only your phone will be 100% charged that one time... :thumbup:
[Nexus 4 Original Android Development] xbaker:
how it works with 4.4.2?
[Nexus 4 Original Android Development] arffrhn:
It works great with 4.4.2. :):thumbup:
[Nexus 4 Original Android Development] iskandar1023:
Ok i confused. I was talking about kernel control app and now you talk about blx. :confused:

SONE!!
[Nexus 4 Original Android Development] Dan1234567890:
sorry, my bad. since you were quoting me (by mistake I suppose, because I do not understand your question, if there is any...?), I thought you are the same guy from before and I continued to talk about same subject I did with him...I should be more careful with whom I am talking to. :cowboy:
[Nexus 4 Original Android Development] iskandar1023:
Ok maybe it's my fault. I quote the wrong person

It was 12pm and im so sleepy :D

I was mean to quote the guy below your post

I must be moreeeee careful ;)

SONE!!
[Nexus 4 Original Android Development] _Sparks:
I am using v12 of this kernel and I like it a lot, it gives me great battery life - around 5 hours Screen on time

I would like to know if its worth upgrading to v12.5 and if there is any improvements in battery life or performance.

Thank you.
[Nexus 4 Original Android Development] SweetPant:
Just upgrade. But note that 12.5 has new default color preset. If you prefer PA Halfbreed, you need to use app like TricksterMOD to set that.
[Nexus 4 Original Android Development] bertgau:
Even with Trickster pro, changing color doesn't stick. If I select any other one: back to Google (too bluish) as soon as I sweep to next screen! I've to modify all screen colors.
[Nexus 4 Original Android Development] Broooooook:
The color presets in trickster mod is only designed to "set" colors, and does not actually indicate the current color profile. So if you select, say LG, press "set", swipe to next page and switch back, it will show Google, but actually the color is changed to LG, which you can check from values on the last page (gamma calibration).

If you do notice a color change visually when swiping to next page, then I have no idea whats going on.
[Nexus 4 Original Android Development] bertgau:
That's true, values in colors screen change if I choose LG. I didn't notice that point before. Shame on me! Thanks Broooooook.
[Nexus 4 Original Android Development] xenyz:
Hey,

I'm pretty new to custom kernels, but can anyone tell me why the ondemand governor allows CPU cores to go offline but the wheatley governor keeps them all online at 192 MHz, and what sort of difference, if any, would there be in terms of power saving?

Other than that, this kernel is fantastic. I flashed the GPU OC on my stock Nexus 4 and I can certainly tell the difference while browsing poorly coded websites in Chrome. On stock, Chrome would stutter and lag, but on Matr1x, it hasn't skipped a frame yet. Thanks dev!
[Nexus 4 Original Android Development] gordonbennet:
Thanks mathkid for a cool kernel. Just converted from hells today. Trying to get the most juice out of the device and had a question. Using the non GPU of version:

* I've changed the governor to wheatley but have kept everything else default including the GPU freq and governor. Would you recommend any other changes for more battery life and maximizing screen on time? Quite a heavy user, mostly web browsing and emails.

thanks all.
[Nexus 4 Original Android Development] Sir_gpm:
What is fsync for? Is On by default. Wich planner will be more battery friendly? Deadline by default?.

Enviado desde mi Nexus 4 usando Tapatalk 4
[Nexus 4 Original Android Development] arffrhn:
Schedulers does not really have much effect on battery afaik (of course this depends on how you use your phone too). Governor yes, and ondemand is the most balanced battery friendly and performance gov for on screen usage (as was tested before..more info in trinity thread..there a diacussion of it lately and link to spreadsheet was posted). From the result of the test, deadline/noop schedulers are the most suitable for ondemand. I think that's why OP set it up that way as default.
[Nexus 4 Original Android Development] SweetPant:
Should I reflash the kernel after I flashed a new gapps package?
[Nexus 4 Original Android Development] hooliganx:
nops. ;)

N4*SlimKat-b2.3*Piasek.v8*ART*TWRP.2.6.3.3*0.98
[Nexus 4 Original Android Development] snak3ater:
Governors explained
[Nexus 4 Original Android Development] davej23:
Wireless charging doesn't work. My phone starts charging then I get a flashing light on the charger and it stops straight away.
[Nexus 4 Original Android Development] dunni88:
which charger? The nexus 4 isn't Qi compliant so there are a lot of them that it doesn't work with. I got the Nokia dt-900 and it does exactly what you describe.
[Nexus 4 Original Android Development] davej23:
Its expower, which is lerway in USA. Its cheap but it worked fine on stock kernel.
[Nexus 4 Original Android Development] Raider1284:
How do you enable Ziddey's USB OTG mod? Im not seeing any way to mount a usb flash drive. A USB mouse and keyboard work though!

Thanks in advance.

[EDIT] If I install https://play.google.com/store/apps/details?id=eu.chainfire.stickmount as well as this kernel I can get my flash drives mounted! Does ziddey's mount only support FAT16? I tried a FAT32 drive and it didnt work unless I installed stickmount.
[Nexus 4 Original Android Development] xenyz:
From my limited knowledge, it looks like the kernel installer doesn't add anything init.d related. I'd imagine if you flashed it over an existing ROM/kernel with init.d support, it would stay, but it doesn't add the support itself.

Now if I'm wrong and I just can't find where the entry is to sysinit, please let me know. Or another method to apply kernel settings via script on boot. Thanks!

---------- Post added at 08:35 PM ---------- Previous post was at 08:26 PM ----------

To answer my own post, the reason why it seemed that the wheatley governor was keeping all cores online was something dumb: whilst on the wheatley governor, I also had my phone on the charger, and a custom charging animation in the status bar was hogging CPU. When I tested the ondemand governor, I was running on battery. Be careful when testing. :)
[Nexus 4 Original Android Development] goofball2k:
Depends on your ROM. Do you have the proper y cable to get it to work? I had better luck with Paragon NTFS vs using stickmount. All my storage drives are NTFS, not FAT32 since I need large file support.
[Nexus 4 Original Android Development] Raider1284:
I do have the proper y cable and I am providing external power.
[Nexus 4 Original Android Development] goofball2k:
What ROM are you using? I haven't tried it using Codename but when using Purity ROM and trying to get it to mount using settings -> Storage -> mount usb storage, I couldn't get any storage to mount. Using stickmount, was iffy. Paragon had much better results. Also tried using settings -> storage when using slimkat ROM and couldn't mount anything as well.

I only have one FAT16 drive and it mounts properly using 3rd party tools. Don't have any FAT32 drives to test.
[Nexus 4 Original Android Development] IndDoc:
I'm sure people must have pointed this out, but the screen switches off throughout a call. Even if you take it away from the ear. The proximity sensor doesn't work at all. Happens with all ROMs I tried.
[Nexus 4 Original Android Development] mohitgalaxy3:
Hi I want to make some changes in default iphone color profile, can anyone tell me where it is located in system??
[Nexus 4 Original Android Development] jaison thomas:
You can use trickster mode. Or franko nexus 4 color control app too wrks perfectly

---------- Post added 19th January 2014 at 12:01 AM ---------- Previous post was 18th January 2014 at 11:58 PM ----------

Battery hits that 5 hour sot for the first time. Stock setting with interactive governor and wifi on always.
[Nexus 4 Original Android Development] xenyz:
Hey [MENTION=2677519]mathkid95[/MENTION], just to let you know, the kernel's default gamma settings don't match with bundi22's iPhone5 settings.
[Nexus 4 Original Android Development] snak3ater:
I also noticed the same thing..color values are different when compared to bundi22's ip5 profile..i use halfbreed so never bothered about bundi22 profile :p
[Nexus 4 Original Android Development] jel7:
Can you please share your settings? That's VERY impressive!!
[Nexus 4 Original Android Development] dmourao:
Right now I have 40% left with 2h30m screen on and 1d4h battery time.

And that with default settings... If I'm on Wi-Fi all the time I can achieve about 1d15h and 4h OST.
[Nexus 4 Original Android Development] 26.2man:
Did you ever share your settings. That sot is amazing!
[Nexus 4 Original Android Development] RealSlimShadyMC:
Ummm the Nexus 4 is Qi complaint...
[Nexus 4 Original Android Development] playya:
gotta read his post man he stated what he did to achieve that goal
[Nexus 4 Original Android Development] Sherrillface:
Could you please add multirom patch
[Nexus 4 Original Android Development] Raphael17:
Random Reboots

Hey, I flashed your kernel on Mahdi's 1/11 build and I'm getting random reboots heres a logcat maybe you can help me out? Thank you guys so much!
[Nexus 4 Original Android Development] goofball2k:
Could be the undervolting, the default undervolt is 100 on this kernel. Try raising the voltage
[Nexus 4 Original Android Development] elderap:
I just removed the undervolt and changed the cpu governor

Enviado de meu Nexus 4 usando Tapatalk
[Nexus 4 Original Android Development] okanb3:
Changed to what?
[Nexus 4 Original Android Development] elderap:
Sorry, moved to Wheatly

Enviado de meu Nexus 4 usando Tapatalk
[Nexus 4 Original Android Development] snak3ater:
It depends on how you use your phone... With the same setting, you'll get different sot.. so it doesn't matter.. Just change the governor & you might get more sot.. try Wheatley
[Nexus 4 Original Android Development] SweetPant:
Anyone ever got score 0 for 3D Graphics in AnTuTu? It just happened to me two times. I don't know it's pertinent to the kernel or the app.

PS. Using 12.5 GPUOC.
[Nexus 4 Original Android Development] xenyz:
Did you happen to deselect the GPU test? I'm running the same and get scores around 1600 for 2D and 4800 for 3D.

Edit: looked a little closer at your screenshot and I now see you get results for 2D but not 3D. That is bizarre...

Did you screw around in developer options related to GPU rendering? Or change the GPU governor from the default?
[Nexus 4 Original Android Development] SweetPant:
Nope, I did run the full test. It randomly happened to me though.

---------- Post added at 01:52 AM ---------- Previous post was at 01:51 AM ----------

The only thing I changed is LCD Preset to PA Contrasty. No CPU/GPU whatsoever changed.
[Nexus 4 Original Android Development] Raider1284:
He got that battery life by not using his phone and having it sit idle the entire time. ;)

Getting 5900 on the 3d GPU score with this awesome kernel and the n5 image on my Nexus 4.
[Nexus 4 Original Android Development] adamz667:
It's easier to use TricksterMOD to change kernel settings and stick on boot ;)
[Nexus 4 Original Android Development] xenyz:
Agreed it's easier, but unfortunately my phone has a problem with the default undervolt and I have to raise it as quickly as I can. Trickster mod or any other app has a minute or so before they autostart, and running with a bunch of other apps on startup may even trigger the undervolt problem itself.

init.d lets you do a lot more than this as well, but I can understand most people would never need it.
[Nexus 4 Original Android Development] Dan1234567890:
Great mate! do you know maybe, how to tweak blx and sound by script? I would like to set blx to 90 and sound cotrol/basic/fixed gain to 20...
[Nexus 4 Original Android Development] adamz667:
I was using init.d scripts for lot of things on my older devices. But now I don't have time to write and test scripts, so I just use GUI apps for that.

You can just build your own fork of Matrix without UV, it will also lets you to do more things :)
[Nexus 4 Original Android Development] xenyz:
Wow, those scores are a lot better than mine on stock 4.4.2 Nexus 4. Can you elaborate more on the n5 image for Nexus 4? What's different, any drawbacks, will it update OTA, etc?
[Nexus 4 Original Android Development] Raider1284:
This is the image I'm using on my n4: http://xdaforums.com/showthread.php?t=2507021 Basically it just the stock image that comes on the n5, but modified to work on the n4. It will receive OTA updates, but I believe once you install this custom Matrix kernel, that stops this ability.

I also have the dalvik optimizations installed which increases performance quite a bit: http://xdaforums.com/showthread.php?t=2546120
[Nexus 4 Original Android Development] xenyz:
For BLX:

#!/system/bin/sh

echo 90 > /sys/class/misc/batterylifeextender/charging_limit

Now, for the audio controls it's a bit more complicated. I did a find /sys -name '*fixed*' and it came back with some controls in /sys/devices/i2c-0/0-0058

However I'm not exactly sure how to go about setting these. Anyone else have an idea?

---------- Post added at 06:12 PM ---------- Previous post was at 06:04 PM ----------

Ah that is probably it. I've read that it helps a lot in benchmarks but not in actual use. See this video. Thanks for the info, though!
[Nexus 4 Original Android Development] JayXL14:
Hey guys I was running Matr1x for a long time when I first got my Nexus 4.. but at some point maybe 2 months ago I recall the dev saying he had to take a bit of a break because he was busy; I then unforunately had to switch to franco which has been okay

However, franco lately hasn't been doing so well for me in terms of battery life. I remember when I used Matr1x that the battery life was pretty good, and that's one of the main things I was looking for.

I'm using the KitKat Purity ROM right now.. how is Matr1x these days? Also in comparison with Franco?

Thanks in advance guys
[Nexus 4 Original Android Development] Husy:
It's great. In my eyes, this beats every kernel out there for balancing battery and performance! :)
[Nexus 4 Original Android Development] JayXL14:
Thanks for the quick response. And care to explain at all? (I don't need much convincing; if you can just name a couple things about it that you like I'd be sold). I read the features and whatnot myself but I sometimes get confused by the technical stuff.

Does it get updated often? This doesn't matter that much to me but I like the feeling that it's getting improved every so often