Tag Archives: Matr1x Kernel

Matr1x kernel for Nexus 4 Jelly Bean

Hey guys,

This is the JB version of the Matr1x kernel and it works on 4.2.


  •  Based on Linux kernel version 3.4.0
  • Built with GCC 4.7 from Google
  • Voltage Control Interface (by faux123)
  • Gamma Control Interface (by faux123) with PA tweaked colors
  • FauxSound (by faux123)
  • Speaker amp control (by faux123)
  • Accuracy Filter Control (by franciscofranco)
  • GPU OC to 487.5 Mhz
  • Thermal tweaks (thanks to franciscofranco)
  • UV by 100mV for all frequencies and cores
  • SIO, ROW and FIOPS I/O Schedulers
  • Wheatley governor (by Ezekeel)
  • Touch screen improvement tweaks (revert firmware update and extra tweak by faux123)
  • Reduced msm_hsic_host wakelock duration
  • Thermald and mpdecision removed
  • Various performance tweaks
  • CPU Voltage table for “faster” binned chips
  • 192 Mhz frequency for better battery when idle
  • Fast Charge (thanks to franciscofranco and _motley)
  • BLX (Originally by Ezekeel and ported to Nexus 4 by me)
  • Sweep2Wake (thanks to showp1984)
  • Sweep2Wake gestures (thanks to faux123)
  • PGM support (thanks to bponury)
  • ARM hotplug driver (thanks to _thalamus) with min_online_cpus value and max_online_cpus value
  • USB OTG (thanks to ziddey)
  • Touch Wake (thanks to stratosk)


v1.0 Initial release: stock 3.4.0 kernel with added deadline I/O scheduler tweak.

v1.5 Added overclocking capabilities to 1.728 Ghz.

v2.0 Removed OC capabilities, added GPU OC to 450 Mhz, 100mV UV across the board, ARM CPU Topology (which improves the efficiency of multi core devices), and various performance tweaks.

v2.5 Added SIO I/O Scheduler, touch screen improvement tweaks (see http://forum.xda-developers.com/show….php?t=2027476 and extra tweak by faux123), UV’ed all cores and frequencies by an extra 50mV for a -150mV overall, and switched to the AnyKernel template. (thanks _motley!)

v3.0 Reverted the extra 50mV of UV that caused instability and added faux123’s voltage control interface for manual voltage adjustments.

v3.5 Added the reduced msm_hsic_host wakelock tweak, ROW I/O Scheduler, removed thermald to allow kernel to manage the heat using its own drivers, some ondemand governor tweaks, tweaked ARM CPU topology, and lowered the minimum voltage for voltage control interface (test your phone’s limits).

v4.0 Reduced the minimum voltage for voltage control interface even more (test your phone’s limits), added the CPU Voltage table for “faster” binned chips (still -100mV UV), added Fast Charge, added a 288 Mhz CPU step for better battery when idle, and added the BLX mod (see here: http://forum.xda-developers.com/show….php?t=1257497).

v4.5 Added the proper reduced msm_hsic_host wakelock tweak, fixed the “faster” CPU table (users who have “faster” chips should have no trouble now), added showp1984’s Sweep2Wake, and partially reverted a display tweak from Google (this should provide a bit better display color than stock).

v5.0 Added Sweep2Wake gestures by faux123 with the touch events patch (no more frozen touch screens), switched to the GCC 4.7 compiler from Google, removed mpdecision and added _thalamus hotplug driver, and added the min_online_cpus module capability for the hotplug driver.

v5.5 Removed the 450 Mhz GPU OC and bumped it up to 487.5 Mhz, added thermal tweaks (to manage phone temperature) by franciscofranco, updated the interactive governor and ROW I/O scheduler to the latest version, and tweaked the auto hotplug driver for better battery life.

v6.0 Fixed the msm_hsic_host wakelock once and for all (You may still see it but it shouldn’t be running that much), added PGM support (thanks to bponury), and added faux123’s gamma control interface.

v6.5 Tweaked auto_hotplug to try to further improve battery life, removed Sweep2Wake (attempt to solve any touchscreen freezing issues), updated ROW I/O Scheduler, removed some CPU frequency steps (only kept the useful steps), added the FIOPS I/O Scheduler, and added the PA tweaked display colors.

v7.0 Merged the Android 4.2.2 kernel code, added the final PA colors from molesarecoming, added _motley’s generic color control interface to allow easier scripting, and _motley’s tweak to allow color changes to be “refreshed” automatically.

v7.5 Fixed the PGM touch control issue, added faux123’s speaker amp control mod, added franciscofranco’s accuracy filter control mod, updated the ROW I/O scheduler to the latest version, and added several ondemand governor update patches.

v8.0 Added fix for sporadic WiFi drops, added faux123’s FauxSound mod, removed sweep2wake completely (attempt to fix power button issue), and added data drop fix (by faux123).

v8.5 Added the max_online_cpus mod by _motley (You can make your device single core, dual core, etc.), added a 192 Mhz CPU step (This should help with battery), and added the Wheatley governor by Ezekeel (#23 on http://www.alliance-rom.com/communit…ors-explained/).

v9.0 Added USB OTG by ziddey, updated the FauxSound to v2.1, added the idle drain patches, updated the ROW I/O Scheduler to the latest version, added Touch Wake by stratosk, and got rid of the touch_boost errors in the logcat.

Click Here for Downloads


Link to source: https://github.com/mathkid95/linux_lg_jb.git

1 Comment

Matr1x Kernel for Nexus S and Nexus S 4G! [ICS]


  • Based on Linux kernel version 3.0.26
  • I/O Backport from 3.2 kernel (Thanks to franciscofranco)
  • OC to 1.46 Ghz
  • Voodoo sound and color (Thanks to supercurio)
  • BLN (Thanks to neldar)
  • BFS (Thanks to Con Kolivas) + -ck tweaks
  • SLQB memory allocator
  • Deadline, SIO, and BFQ I/O Schedulers
  • Additional governors (Smartassv2, Lazy, Minmax, InteractiveX, Lulzactivev2, Intellidemand, Wheatley, Savaged-Zen)
  • Stochastic Fair Blue (internet packet queue management algorithm)
  • INIT.D
  • USB OTG (Thanks sztupy!)
  • KSM (Kernel SamePage Merging)

**Ezekeel’s mods** (Thanks to Ezekeel)

  • LiveOC
  • BLX
  • BLD
  • Ezkeel’s voltage mod
  • Touch Wake
  • Bigmem



  • v11.0 Applied pvr and mxt patches to Matr1x gingerbread source for ICS compatability.
  • v11.5 Applied all of the updated ICS patches from Kwiboo and fixed BLN.
  • v12.0 Fixed the wifi for alpha12+ compatibility, added Ezekeel’s bigmem mod, and updated his liveoc mod.
  • v12.5 ICS 4.0.3 compatibilty and any Ezekeel mod updates.
  • v13.0 Fixed the YouTube video decoding, added voodoo, and uploaded wifi script for Iran i9023 users (thanks Alireza Asgari!).
  • v13.5 Added the 100% “battery tweak”, patched up to 3.0.14, added the LagFree and InteractiveX governors, BLN app support, INIT.D support, and any Ezekeel bug fixes.
  • v14.0 Added the Lulzactive governor and fixed the deep idle wake issue.
  • v14.5 Added SIO I/O Scheduler, Lulzactivev2 governor, BLN blink interval code, and green screen fix.
  • v15.0 Updated kernel base to 3.0.17, added the Wheatley governor by Ezekeel, BFQ, USB OTG support, and any Ezekeel bug fixes.
  • v15.5 Updated kernel base to 3.0.18, I/O Backport from 3.2 kernel, USB OTG build 5, some ext4 tweaks, conservative governor + tweaks, and v® I/O scheduler.
  • v16.0 Fixed the 0.00B ram issue, updated kernel base to 3.0.19, removed deep idle and added cpuidle backport from 3.2 kernel, added the Intellidemand governor, and added some various performance tweaks.
  • v16.5 Put deep idle back in, added some performance tweaks, added any ezekeel bug fixes, updated kernel to 3.0.20, and added the Lionheart governor.
  • v17.0 Updated kernel base to 3.0.21, added KSM, and added some performance tweaks.
  • v17.5 Updated kernel base to 3.0.22, added the smartassv2 bug fix by abev66, added the Savaged-Zen governor (Thanks Savaged-Zen team), and added some performance tweaks.
  • v18.0 Updated kernel base to 3.0.24, added byeonggon’s Selective LiveOC, added SWAP capabilities, and added some performance tweaks.
  • v18.5 Updated kernel base to 3.0.26, added Fast Charge by Chad Froebel (Be sure to get his widget here: https://play.google.com/store/apps/d…stchargewidget), removed SWAP due to lag, and added some performance tweaks.
  • v19.0 Updated kernel base to 3.0.28, added the updated SIO I/O Scheduler, added the 4.0.4 ICS code, added the Bigmem mod from the CM9 kernel, and added some performance tweaks.
  • v19.5 Updated kernel base to 3.0.30, fixed the ondemand sampling rate issue, added CM9 wifi support, and added some performance tweaks.
  • v20.0 Updated kernel base to 3.0.32, changed the refresh rate to 50Hz, added some performance tweaks, and changed some governor tunables.

ICS kernels are NOT COMPATIBLE with Jelly Bean ROMs, for Jelly Bean ROMs, please see Matr1x Jelly Bean Kernels!

Links to ICS version:

Click Here for Downloads

Link to source: https://github.com/mathkid95/linux_samsung_ics_real


1. How do I flash this kernel?

You can flash from CWM recovery or rom manager. Make sure you wipe dalvik
cache before flashing.

2. After flashing, why does it get stuck at the google logo or get bootloops?

Make sure you are flashing the right kernel version for your rom and reflash. If
it still does it, then just let me know and I can take a look.

3. After booting up and using it, why does the kernel seem very laggy?

I would suggest you OC it or liveoc it from 1Ghz. If you liveoc it, I would raise
all voltages first by at least +15. Say if you liveoc with 105, you can go +15-
+25 across the board.

4. Why am I getting random reboots?

You probably have it oc’ed too high or your phone can’t handle the uv. If you
get random reboots, first try raising all voltages. If that doesn’t help, then
lower the clock speed.

5. What’s the difference between CFS and BFS?

This is a good thread: http://forums.miuiandroid.com/showthread.php?3520-

But CFS is a nice overall scheduler, with nice stability and it is good for a

BFS is a performance scheduler giving more performance to the currently
running app, like a game. So if you aren’t really a multitasker or if you play a lot
of games, BFS is a better choice.

BFS is sometimes a bit unstable though.

6. What are the governors?


7. How can I tweak the voltages?

I would recommend using SetCPU and looking at the “voltages” tab and altering from there.


CodeName ICS ROM + Matr1x Kernel for Nexus S/S 4G!

Looking for a good Nexus S or Nexus S 4G ROM that works well with the Matr1x kernel?

Check out CodeName ICS ROM + Matr1x Kernel, it gives you great performance, battery life, and wings!


Download CodeName ICS ROM for Nexus S 4G

Download CodeName ICS ROM for Nexus S

Download Matrix Kernel (works on both Nexus S/Nexus S 4G)

Credits – Link