[Kernel]STi v2.40EX14[JB 4.3 FULLY WORKING][8-28-13] - AT&T Samsung Galaxy S II SGH-I777

STi Kernel
Add some boost to your life today!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
STi Kernel is a Siyah derivative. Thank those people involved including AJ Newkirk for inspiring me.
This kernel is for AoCP / AOSP / AOKP / JB-AOKP /CM10 + CM10.1/CM10.2 / cMIUI (Only) / Sense 4 All / SAMSUNG ICS & JB Stock ROMs.
Will fill out more later.....
Whats unique:
Code:
Compiled using Linaro 13.07
Featuring new governors: Skywalker & Wrexy
Stweaks compatible
Updated often with commits from Dorimanx Kernel
Give my profile a shot in EXTweaks ;)
Changelog:
Code:
2.40
-----
Linaro Update!
Swapped STweaks for EXTweaks
Governor tailoring...
more changes.... will upload later !
2.39
-----
Custom Changes:
Linaro 4.8-2013.07
Added skywalker and wrexy back in :) ***major updates to both***
Jthatch_default is back!
Merged new linux 3.10 changes
MORE TO COME! Stay posted :)
Changlog below is directly from dorimanx's thread:
Kernel is updated to 3.10.Y and beyond.(hybrid)(we have 90% from 3.11.Y kernel!)
This is JB Tuned Kernel only! not supporting any 2.x.x/4.0.x roms!
Dual CPU support
Default CPU governor: NIGHTMARE
CFS CPU SCHEDULER Tweaks.
Default CPU frequency: 200-1200 MHz (MAX OC up to 1.6Ghz speed!)
Kernel Support STweaks and 5 Profiles.
Overclocking to 1600 MHz. (via ANY CPU Tweak Apps or STweaks)
Kernel support 16 CPU steps! 1600Mhz->100Mhz by static default!
You can set MIN/MAX CPU Freq in STweaks app! + lots of CPU tweaks.
Kernel will sleep in deep sleep on 200Mhz->800Mhz as Samsung requesting to prevent SOD.
Support undervolt/overvolting via sysfs interface/apps interface. and STweaks (800-1500mV) (all set to best)
Be very careful with voltage settings! (all set already)
Default I/O Scheduling: ROW
More I/O Scheduling present in kernel: DEADLINE, VR, NOOP, FIFO, CFQ, SIO, ZEN, BFQ
Native USB Tethering.
Native Wi-Fi Tethering
File systems support: Ext3/4, FAT32, NFS, CIFS, NTFS
Added tweaks to increase I/O Speed.
Added tweaks to increase CPU speed
Removed all the debuggers to free kernel from unneeded jobs, and logs.
More Govs present, HYPER, conservative, performance, pegasusq, nightmare, darkness, scary, zzmoove, ondemand(default sleep gov), sleepy.
ZRAM SWAP add more 150/300/600MB compressed RAM, activated by STweaks, set to off by default.
Tweak camera (better picks quality)
Kernel Include Siyah Recovery with Dual ROM support!
In Recovery you have section to select kernel profile. Performance, default, battery, the default is DEFAULT.
You can disable ROOT in STweaks app!
Tuned for I/O Mega Speed SQLite is injected to ROM after install.
BLN by GM! lights time out, and blink/breathing effect, see STweaks BLN tab to activate! (READ ABOUT BLNWW!)
New Kernel Management app STweaks by GM! installed with kernel.
BLN without Wakelock to save battery when BLN active till timed out. by GM.
Touch Keys Light change with the screen brightness! by GM.
Massive script for kernel/ROM management made by Voku,Alucard and me
It's will work by auto and set lots of tweaks: NET tweaks, GPU tweaks, CPU management, Deep Sleep Tuning, Charging states, and more!
It's name is cortexbrain-tune.sh
WE SAFE (MMC_CAP_ERASE not present) in kernel MMC Code!
MMC code merged with SAMMY Update 10 + 3.10.y updates!
FM-RADIO WORKING! (you need Spirit FM PAID!!!!) or Sammy ROM with FM APP.
Touch screen color + touch thresholds are in STweaks,
Kernel Cleaning Script is build IN! by VOKU.
BT Support for SAMMY 4.1.2 and all 4.2.X
Video(GPU) + Camera Driver from SAMMY JB/CM10.1 + patches
WIFI Driver 1.61.56 ported from SG4
Modem Driver from SAMMY JB SOURCE
SMP Processor code updated from Kernel 3.10.Y
RCU + SRCU Processor code updated from Kernel 3.10.Y
Kernel Code for on screen gestures by Tungstwenty fixed by MARIO1968
All FS used Code merged with 3.10.rc5 kernel
SLUB fully merged with 3.10.Y Google Android kernel
SCHED CORE fully merged with 3.10.Y kernel.
RAM merged with 3.10.Y Google Android kernel.
VFP updated to MAX from 3.10.Y
Slide2Wake by FLUXI, (swipe from left to right on turned off screen to wakeup device, tweak can be turned on/off in STweaks, this mod use 5% battery! (Modded by GM for less battery drain)
Sound boost controls by FLUXI in STweaks.
New Mali V2 Video Driver combined with old to support JB STOCK in one kernel(8.X branch) by Gokhanmoral/me/CM-TEAM!
In 9.X branch we have MALIv2 ONLY video driver for CM/AOKP new ROMS! no STOCK SUPPORT!.
Added mdnie interface and made hardcore’s sharpness tweaks optional by GM!
5 GPU FREQ Steps from 108Mhz to 520Mhz by GM!
Ultra KSM from 3.9.y kernel.
2.38(Special Finals Week Edition)
-----
Merge linux patch 76
Wrexy , Interactive, and Nightmare Tweaks
Adjusted profiles slightly
Added support for ShoStock
A lot of file updates (too long to list)
Some other fun stuff
2.37
-----
Still having issues with WiFi Toggle...
Updated to latest Linaro 13.03
Adjusted all voltages across the board in all the profiles
Merge linux patch 3.0.74
Some DHD Updates that haven't fixed the WiFi toggle
Looking into the AP issue too....
Some other small merges.
Fixed Voodoo Louder Compatibility(works flawlessly now)
2.36
-----
WiFi toggle should be fixed!
Newest Mali Driver from Note8
Loop.c updates
Bluetooth updates
More changes!
2.35
------
Added Hybrid Profile (Mix between battery and my default)
Better OOM Support (out of memory)
Linux 3.0.70 Main Merges
Some WiFi Tweaks
More little changes
2.34
------
Re-addded profile check feature(Fixed as of 12:14:13 EST)
Added LIFO I/O Scheduler
Tuned Wrexy a little bit more
Changed around some settings in Stweaks
Power Management Updates
Lowmemkill updates
Tuned Performance profile to be more for "Gaming"
ETC....
2.33
------
Merge some changes from newest linux 3.4
Updated all I/O schedulers a bit
Fixed Sammy JB sound fix
Made Wrexy a little less aggressive
More changes
2.32
------
Revert Linux 3.0.68
Updated BFQ scheduler
Other small merges
2.31
------
Merge Linux 3.0.68 patch
Update Nightmare Gov
Other small changes
Stweaks corrections
New Jthatch Battery Profile!
2.30
-------
RIL issue fixed
Updated to latest linaro
2.29EX1
-------
Fixed Overclocking for real :)
CM10.1 Init Updates
Merges from stuff from latest kernel release
Cleaned up redundant coding.
2.27
-------
More governor tweaks, mostly Wrexy
Added Data Auto On/Off to Stweaks
There was more but my computer died so I haven't updated github yet.
2.26
-------
Should work with roms with the JDQ39 bases(AKA AOSP Roms)
Updated Wrexy a little bit
Made some changes to some of the Stweaks profiles
Tuned MALI driver slightly (thanks to Dorimanx)
Some other goodies I'm missing!
2.25
-------
Still no luck on OC for other govs beside Performance, I'm looking into it
Updated Stweaks a little bit, set my profiles sleep I/O to ROW.
Adjusted some stuff for Wifi AP for JB roms.
Adjusted Wrexy slightly
Some other changes.
2.24
-------
Made common kernel version number.
Added performance gov to stweaks.
2.23
--------
New MALI is only compatible with newest CM10.1 2/24 build(for now)
All the stuff translates to, new MALI driver! I got it to you first because I'm the man ;)
2.22
---------
Undervolting works for real this time!
Moved Battery section in Stweaks to the top (I use reset fuel gauge a lot)
Changed default sleep I/O to FIFO
Other small changes.
2.20(Formally 2.19)
---------
Added new FIFO I/O Scheduler.
Gave Linaro 13.01 another shot.. So far so good.
Removed rav4_kar profile from stweaks.
Added 1300 MHz step back in to make coding easier.
Meh, I forget but there was other stuff. Check out github if interested.
2.18
---------
Merges from newly released Linux 3.0.66 Kernel:
2.17
---------
Changed default governor to Wrexy
Updated Exynos thermal drivers
Some more Stweaks changes
Not much else to change, running solid
2.16
---------
A few more merges from linux 3.8
Fixed some stweaks errors still showing 1.5 & 1.6MHz frequencies
2.15
---------
Removed 1600,1500, 1300, and all half step frequencies
A few stweaks changes
2.14
---------
Changed kernel name to STi kernel
Added support for Samsung JB ROMs JHLS4, ZCLSF & ZCLSH
INSTALLATION
1) Reboot into recovery.
2) Wipe Dalvik Cache and Cache
3) It was implied to install the kernel here
4) Reboot Recovery and Clear Stweaks profiles
5)Fix permissions
6) Reboot
RELEASES
2.40EX14 MICSWAP
ROM RUNNING NEWEST MALI DRIVER
SERIOUSLY DON'T INSTALL THIS ON A ROM THAT USES THE OLD DRIVER. YOU'VE BEEN WARNED
Download
2.34
http://d-h.st/9Pk
Best known version to date
2.39 NOMICSWAP
Not released yet.....
ARCHIVE
Get old versions here
NIGHTLIES
Use caution
For changes,look on github. Nightlies are not LTS releases.
Nightlies
SOURCES
Kernel Source Github
Special thanks to:
Dorimanx (Dorimanx Kernel)
Voku1987 (Dorimanx Kernel)
Alucard_24 (Dorimanx Kernel)
Entropy512 (CyanogenMod)
Gokhanmoral (Siyah Kernel)
Special thanks to my testers:
bleedingthru
topiratiko
voldomart13
RockRatt
​

Obviously if there are any issues please report them! But please only report them once.
WREXY & SKYWALKER
Wrexy is a conservative based governor. Its similiar to the Lionheart gov. It tends to stay out of higher frequencies to favor lower frequencies but performance is not hindered. Personally I use this as my CPU Awake gov
Skywalker is a SavageZen based governor. I would not recommend this as a CPU awake kernel because it'll stay in the higher frequencies... but as a Sleep kernel, it stays in the low frequencies and almost instantly puts your phone into deep sleep. You'll also experience no lag on wakeup and no skipping of music! Its the best CPU Sleep GOV in my opinion
I highly recommend running a kernel cleaning script in between installs
https://www.dropbox.com/s/wixdh29muostxl2/Ultimate_Kernel_Cleaning_Script_v2.6.5.zip
Need a 5GHz WiFi fix? Click below to grab a flashable zip!
**Note this patch is specified for people in the US**
http://db.tt/2h4N5Imt

Reserve some more :good:

Interested in developing?
Ask me the 3 lines of code that separate our phone from the I9100!

Re: [Kernel]STi v2.22 [JB/ICS]
First! Can't wait to try this out! Thanks!
Sent from my Pink Unicorn stable

Re: [Kernel]STi v2.22 [JB/ICS]
You missed a step in your installation instructions!
(INSTALL KERNEL?)
Sent from my SGH-S959G

mr-cook said:
You missed a step in your installation instructions!
(INSTALL KERNEL?)
Sent from my SGH-S959G
Click to expand...
Click to collapse
Lol that was implied but I updated the OP just for you

Re: [Kernel]STi v2.22 [JB/ICS]
This kernal is the shizzle u guys wont be disappointed
Sent from my SGH-I777 using xda app-developers app

Re: [Kernel]STi v2.22 [JB/ICS]
What does wrexy and Skywalker do?
Sent from my SGH-i777 using xda app-developers app

Re: [Kernel]STi v2.22 [JB/ICS]
jthatch12 said:
Lol that was implied but I updated the OP just for you
Click to expand...
Click to collapse
No instructions required here.
Just trying to save you the headache later. Of people having problems from fixing permissions first, or some other off the wall "I followed the instructions claim".
Sent from my SGH-S959G

Re: [Kernel]STi v2.22 [JB/ICS]
can you point me to a list of which roms have the new vs old MALI driver plz? I'm pretty sure, however, that I'm currently on the old one (jellybam 4.1/CM10). love the name BTW... although I admit I'm an R32 guy myself.
Sent from my SGH-I777 using xda premium

tonysave said:
What does wrexy and Skywalker do?
Sent from my SGH-i777 using xda app-developers app
Click to expand...
Click to collapse
Meh, thats something I was gonna fill out later since I'm at school studying:
Long story short:
Wrexy is a conservative based governor. Its similiar to the Lionheart gov. It tends to stay out of higher frequencies to favor lower frequencies but performance is not hindered. Personally I use this as my CPU Awake gov
Skywalker is a SavageZen based governor. I would not recommend this as a CPU awake kernel because it'll stay in the higher frequencies... but as a Sleep kernel, it stays in the low frequencies and almost instantly puts your phone into deep sleep. You'll also experience no lag on wakeup and no skipping of music! Its the best CPU Sleep GOV in my opinion

VR32 said:
can you point me to a list of which roms have the new vs old MALI driver plz? I'm pretty sure, however, that I'm currently on the old one (jellybam 4.1/CM10). love the name BTW... although I admit I'm an R32 guy myself.
Sent from my SGH-I777 using xda premium
Click to expand...
Click to collapse
Gotta love boost :highfive:. Um I don't have the time to make a complete list right now. If you're on the old jellybam and the new MALI driver hasn't been implemented yet, then version 2.22 is for you. I would expect to see that most of the ROMs will implement the new MALI driver soon. The newest CM10.1 build 2/24 is the first ROM(I know of ) that has the new MALI driver.

Re: [Kernel]STi v2.22 [JB/ICS]
Yea glad to see there still life for the i777. I already download and installed. This kernel seems faster than ajs on helly bean. Thanks loving the new kernel.
Sent from my SGH-I777 using xda app-developers app

Re: [Kernel]STi v2.22 [JB/ICS]
cyberbandit1998 said:
Yea glad to see there still life for the i777. I already download and installed. This kernel seems faster than ajs on helly bean. Thanks loving the new kernel.
Sent from my SGH-I777 using xda app-developers app
Click to expand...
Click to collapse
Nice to hear man. After a few weeks of testing with only good results I felt today was the perfect release date!
Sent from my SGH-I777 using xda premium

Re: [Kernel]STi v2.22/3 [JB/ICS]
Smooooooooooooooov
Android Open Collective Project 412
Samsung Galaxy SII
Boosted 2.2

I really hope this works for me, coz AJK doesn't work on my phone. Can't figure out why, hoping for better luck on this one. Finger crossed!

Re: [Kernel]STi v2.22/3 [JB/ICS]
rk249 said:
I really hope this works for me, coz AJK doesn't work on my phone. Can't figure out why, hoping for better luck on this one. Finger crossed!
Click to expand...
Click to collapse
Mail driver update
Sent from my SGH-I777 using xda premium

Re: [Kernel]STi v2.22/3 [JB/ICS]
I think I found a bug. Im oc to 1300 but it not being used. CPU spy saying 1300 unused. Using your default profile with featured governors featured on op.
PS. Changed oc to 1400 same result. No oc on oc kernel
Sent from my SGH-I777 using xda app-developers app

Re: [Kernel]STi v2.22/3 [JB/ICS]
cyberbandit1998 said:
I think I found a bug. Im oc to 1300 but it not being used. CPU spy saying 1300 unused. Using your default profile with featured governors featured on op.
Sent from my SGH-I777 using xda app-developers app
Click to expand...
Click to collapse
As stated wrexy stays out of higher frequencies. Like seriously it won't touch it. Switch to performance gov and you'll see OC is working
Sent from my SGH-I777 using xda premium

Related

[Kernel][26APR'13][RedPill] ExFAT | STweaks | Scoobydoo | UV/OC | Ext2Int

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Click to expand...
Click to collapse
"This is your last chance.
After this, there is no turning back.
You take the blue pill -
the story ends, you wake up in your bed and
believe whatever you want to believe.
You take the red pill
- you stay in Wonderland and
I show you how deep the rabbit-hole goes."
- Morpheus, The Matrix
(Copyright belongs to the Wachowski Brothers... Larry and Andy)​
Click to expand...
Click to collapse
Kernel Source: RedPill Source Based on N7100 Source Drop (until Rev1.00). Rev1.01 and beyond are currently based on N8000 sources. This Kernel is for the N7100 International Version Only!!!
MatrixPills Image by Corinne Wilger. Visit her site HERE.
What Some HyperDroid RedPill Users Have Said:
"so far this the only kernel which gives me the least wakelocks.. or hardly any.... good job..
i dont care about benchmarks which ppl are whining about.. i would say this kernel rockz" - xinfinityoO
Click to expand...
Click to collapse
"Batterywise the best kernel on my device - had not encountered just 2% loss in 7 hours at night for a very long time"- zikarus
Click to expand...
Click to collapse
"first impressions... blazing fast...smooth... hopefully no issues
(well never had one with previous releases anyways)...cheers pongster!"- jermitano
Click to expand...
Click to collapse
"I am stunned. The battery life looks great. Very smooth and stable and great response. Great work guys."- mariosraptor
Click to expand...
Click to collapse
"Awesome work! That's the least I could say. Real development and all that done during free time.
I've made donations but that won't be enough to show my gratitude. I know you don't do that for money but
that's the only way I can think of tell you all how grateful I am."- mbutandola
Click to expand...
Click to collapse
Click to expand...
Click to collapse
RedPill Features
Highlights
Exynos-Abuse Secured (Thanks to AndreiLux for the original low level patch & Samsung for the Official Fix)
SDS patch included
Ramfs from Stock Kernel + Busybox and its various functions in /sbin
Versions up to Rev1.00 were Based on Samsung Galaxy Note 2 N7100 Source Drop Release 1; Rev1.01 and up are based on N8000 Sources
Included patches for performance, stability and battery life
Init.d support
SetCPU, ROM Toolbox and Voltage Control Support
CPU Overclocking and Undervolting Support (Thanks to AndreiLux)
GPU Overclocking and Undervolting Support (Thanks to AndreiLux)
Enable or Disable File Syncing
(fsync disabled by default as I've tweaked the system for optimum latency designed for Flash Storage)
CFS Autogroup by Mike Galbraith Enabled
CPU Topology and Sched_MC enabled
AFTR and LPA enabled
A lot of tunables via sysfs included (Use ROM Toolbox or similar Utility to easily change it)
Git Implementation of SHA-1 for 12% faster boot time
CPU set at 1.6Ghz at Boot for faster boot time (Thanks to Imoseyon)
LZO compressed kernel using optimized values for the size of the kernel for faster boot time (Using faster lzo code from mainline)
CIFS Support (cifs.ko located in /lib/modules) | Tweaked Ext4 Filesystem
(Patches + Mount Options + Tweaked IO Schedulers leaning towards latency for Flash Storage)
sio | zen | row | noop | deadline (tweaked for better latency and balanced throughput for Mobile NAND based devices)
Tweaked the mount options for Ext4 to adapt to the current focus on latency
pegasusq CPU Governor (Thanks to AndreiLux for the some of the new governor specific logic he added)
WiFi Multicast Blocked (Thanks to Entropy512)
Using Google Toolchain 4.7 + compiler optimizations specific for that version (Thanks Google & Linaro)
Power Saving Features:
AFTR + LPA enabled
sched_mc enabled (set at 2 by default)
ARM CPU Topology enabled
No HZ enabled
Boot Time Features:
Used git Implem of SHA-1 for 12% Boot time improvement
Added [PATCH] arm: remove "optimized" SHA1 routines by Linus Torvalds
Added [PATCH] arm: remove stale export of 'sha_transform' Linus Torvalds
Set Clockspeed at 1.6Ghz at Boot time to ensure all critical tasks have enough power to perform them while
the governors/maxfreq isn't set yet. (Thanks to Imoseyon for this hack)
CPU Features
Supports CPU Overclocking and Undervolting (Thanks to AndreiLux)
Supports GPU Overclocking or Undervolting (Thanks to AndreiLux)
pegasusq CPU Governor pegasusq set as default (obviously)
Filesystem Features (Currently Supported)
ExFat (Using Proprietary Samsung Modules) *Stock based RedPill only
Fat32
Ext2/3/4
CIFS (cifs.ko is in /lib/modules)
Ext2Int for N7100 (Thanks to mattiadj for idea and base script that I used to get it fully working on N7100 and RedPill) (ExFAT and FAT32 only) *Stock based RedPill only
I/O Schedulers
SIO (2012 0.2 version) (tweaked for Flash) Set as Default
deadline (tweaked for Flash)
zen (Thanks to bbedward)
noop
row (Thanks to Tanya Brokhman)
Tweaked values in deadline and SIO I/O scheduler to give better than average throughput while attemting to improve latency (if not more aggressive). Based on our initial (indicative, not conclusive... yet) testing, having these in line with the vm dirty, expire, writeback values + ext4 mount options to "schedule" write outs as fast as the system can handle it works quite well to balance throughput with latency expected in a mobile device. We took the big picture view and tested our tweaks instead of copy pasting random "known" good values and challenged some assumptions even we had at the start. The result is a mobile device tuned for average throughput and balanced battery life with good latency (not the lowest latency out there, but given the benefits of better I/O throughput and potential battery savings + extending the lifetime of NAND Based storage I think it was a compromise worth taking) I could have tweaked it for extremely great throughput and battery savings but that wouldn't be fun to use. I hate micro-lags myself.
Our Test Data regarding I/O schedulers and Kernel Tweaks can be found HERE.
The blog post that describes what we are trying to do can be found on my blog post HERE. (Thanks to s2d4)
Memory Features
Custom minfree values tweaked for 2GB RAM
Tweaked vm values in sysctl that's optimized for latency
Display Features
Stock mdnie values for more vivid details on the current generation of AMOLED Displays
Performance Patches Enabled
Mike Galbraith's Ultimate CFS Performance Patch (CFS Autogroup)
*More info on this here: https://lkml.org/lkml/2010/11/20/91
Added the CGroup Patch:*Added [PATCH] cgroup: Provides a way of tasks grouping by timer slack value
by Kirill A. Shutemov Based on patch by Jacob Pan. Introduces per cgroup timer slack value
which will override the default timer slack value once a task is attached to a cgroup. It's useful in mobile devices where
certain background apps are attached to a cgroup and minimum wakeups are desired.
Experimental Latency Related Patches
Disabled "fsync disabled" by default
(can be enabled by doing an echo "0" > /sys/class/misc/fsynccontrol/fsync_enabled
in a terminal emulator or as a script for gscript or scriptmanager) (Or use STweaks to toggle it) (Thanks to Ezekeel)
Using the tweaked Ext4 filesystem + scheduler and mount options leaning towards latency + vm values in the kernel
makes the most of the speed of Flash Storage based devices. At the speed at which the data is written to and from the kernel
to the Fast Storage devices, you would only lose up to 1 second worth of data at most IF the kernel crashes.
I don't plan on that happening so I enabled the system to get the maximum possible performance in this area.
Tweaked Ext4 Filesystem (Patches + Mount Options + Tweaked IO Schedulers leaning towards latency)
Tweaked the mount options for Ext4 to adapt to the current focus on latency
3rd Party Kernel Apps Support
STweaks by gokhanmoral
ROM Toolbox by jrummy
SetCPU by michaelhuang
System Tuner
Voltage Control | ExTweaks by xan
Credits and Disclaimer
Credits: (Huge props to all the devs I've learned from by reading and studying their code)
faux123
Ezekeel
franciscofranco
supercurio
hardcore
Netarchy
Hacre/Ninpo
Chainfire
Erasmux
Imoseyon
gokhanmoral
Tegrak
Entropy512
AndreiLux
cattleprod
dvtonder
All the hardworking Kernel Devs at lkml.org
(Linus Torvalds, Jens Axboe, Mike Galbraith, etc.)
Special Mention to the following:
To my mates at the HyperDroid Dev Team: (who help me test and refine the features of our kernel for our ROM)
D.O.C. (formerly doctorcete) (for the friendship and being an example of diplomacy in
dealing with usual ****storm of questions from users who refuse to search and read)
kristofpetho (for his excellent work on the HyperNote and his patience with dealing with bugs that destroy the user experience)
Arighi (for the initial guidance on how to get the kernel booting and working & a lot of battery driven patches)
AF974 (for the Overcome based Recovery on S2 that's so bad ass I want to stay in recovery all the time.)
petsasj (for his great work on HyperDroidParts for S2 and all future Apps that are just pure awesomesauce!)
sicopat (for letting us use his server and helping us out with a lot of things smali)
s2d4 | phly-phantom | amerikian (for testing everything at the risk of the potentially time sucking Soft Brick...)
Disclaimer: I made this for my personal use and has been personally tested by me and my team (HyperDroid Dev Team).
While it may work for other N7100 International ROM's, we have not tested it personally.
You have the liberty to choose to use this Kernel and by flashing this Kernel you will have
surrendered your right to complain that you lost your Warranty. If you're smart enough to figure
out WHY you need a Custom Kernel, you SHOULD be smart enough to undo it if you need your
device serviced officially. If your device explodes, melts or otherwise disintegrates from its awesomeness
I shall NOT be held responsible.
Reposting the Kernel: Please don't repost this kernel anywhere else.
Keep the download links intact as I have taken the effort to provide fast links for everyone.
If you can't understand English well enough and feel the need to re-post this kernel on
a foreign language web site or forum, please let me know first and link to this page...
(Google Translate can make it easier to read in your Native Language)
RedPill Stable Change Log
Current and Future Changelogs can be found HERE.
Rev1.01
Completely Rebased on N8000 Source
Use newest and official Exynos-Abuse patch from Samsung (Thanks to AndreiLux for the additional patches re: static cma regions)
Fix Freezes for some Devices when transferring large files via USB
Fix SOD for some Devices
Change CPU Idle Settings back to stock
Remove Dynamic FSync (Ability to enable or disable FSync is still available)
Removed ROW I/O as sio/deadline/zen perform better in our tests
USB Charging Rate increased to 1700
Tweaked pegasusq for battery life (limit sampling rate in suspend)
Removed Conservative (as new tweaked pegasusq can save battery with the right settings)
Added Dynamic STweaks XML Implementation by AndreiLux (Thanks to AndreiLux)
Updated STweaks (Thanks to Gokhan Moral)
use get_random_int() to fix entropy depleting (Thanks to Jeff Liu)
Updated sensorhub driver, device sensors
SDS patch included (Thanks to AndreiLux)
Rev1.00
Exynos-Abuse Secured thru the low-level fix by AndreiLux (Thanks to AndreiLux)
Using Official Google Toolchain 4.6.x
Added the latest (v5.4) of the "faster crc32 algorithm" by Bob Pearson and Darrick Wong (Thanks to both of them)
Added faux123 Dynamic fsync (Thanks to faux123)
Enable Dynamic FSync and FSync Control to co-exist (Please read STweaks option to gain a better understanding)
Backported ROW I/O scheduling algorithm (Thanks to Tatyana Brokhman)
Revert to using original N7100 source bcmdhd drivers to fix WiFi for some users
Added ability to increase brightness to 255 (Thanks to nebkat)
Tick and workqueue updates from upstream kernel source (Please see commit log for details)
Remove ntfs auto mounting since people use ExFAT and FAT32 while NTFS can be loaded by 3rd party tools
Tweaked Ext2Int mount options
Tweaked System mount options
Rev0.10
Revert ExtSdCard mount points to default (To enable Ext2Int Tweak by mattiadj to work)
Added bbedward's zen i/o scheduler (Included in Stweaks options as well)
Added Option to OC to 1.8GHz after several weeks of testing for stability (Thanks to AndreiLux)
Added AndreiLux's STweaks Dynamic Config for CPU_UV, min/max freq and i/o scheduler (Thanks to AndreiLux)
Added updated pegasusq logic from newer Samsung sources (Thanks to AndreiLux for Original Port)
Added option in STweaks to swap internal and external sdcard (Thanks to mattiadj for original idea and script, which I then took and edited to ensure Full compatibility with N7100)
Added Proportional Rate Reduction for TCP (Thanks to faux123)
Tweaked deadline i/o scheduler
Rev0.9
Added Scoobydoo Sound (gokhanmoral's port of supercurio's Voodoo) (Thanks to gokhanmoral)
Added Scoobydoo specific Stweaks presets (Thanks to gokhanmoral)
Added sjkoon's Scoobydoo Sound fixes (Thanks to sjkoon)
Added android logging as a module (Use STweaks to toggle)
Rev0.8
Added STweaks support (Thanks to gokhanmoral)
Custom STweaks Entries specific to RedPill Features
Using Latest 201211 Linaro 4.7.3 Toolchain
Added NTFS Automounting support (for sdcard formatted as NTFS only, not OTG) Please Test if this works as I use FAT32
Added led blinking or fading choice from CM10 (Thanks to codeworkx and XpLoDWilD)
Rev0.7
Added UV Capability (arm voltages only) Implementation by AndreiLux (Thanks to AndreiLux)
Increase USB Charging rate by AndreiLux
Increased it even more to match AC charging rates (Experimental)
lowmemorykiller patches by Cyanogen Steve Kondik
Experimental optimizations to try and fix ZK camFW bug
Loads of Samsung OSRC updates c/o AndreiLux (Thanks to AndreiLux)
Wacom, Firmware, epen, sensorhub, camera firmware among others c/o AndreiLux (Thanks to AndreiLux)
Bug Fixes by AndreiLux on sound related source files
Rev0.6
Wakelock patch to save power (Thanks to Andrea Arcangeli)
Apply SCHED_FIFO to kthreadd (Thanks to Steve Muckle )
Testing latest Linaro 4.7 Toolchain
Camera Fix for ZKFI07 camFW (Thanks to nebkat)
Experimental Hotplug Awareness based on Load for Other Governors (Thanks to franciscofranco)
Updated lzop compression from current upstream version for a significant speed improvement (Thanks to Markus F.X.J. Oberhumer )
ARM: disable preemption in machine_shutdown (Thanks to Mike J. Chen)
Check source on github for detailed commit logs and messages
Rev0.5
Applied Vermagic patch to enable proper loading of proprietary modules (Thanks to jt1134)
Improved Latency of schedulers
Removed cfq and enabled sio as default io scheduler
Tweaked Pegasusq for smoother performance (Can be changed using SetCPU)
Ext4 patches from mainline for optimization and stability
Workqueue patches from mainline
Timer patch from mainline
Sched Race in Task Group Patch from mainline
Busfreq back to default voltages (for public release)
Fixed ExFat Loading Error (SLUB instead of SLQB)
LZO compressed kernel for more more speed
No Screen Sharpening (Only AndreiLux's Black crush fix which is in fact for the S3. Thanks for the Heads up AndreiLux)
Removed Auto EFS Backup to speedup boot process (You have an EFS Backup already, right?)
Rev0.4
Blocked multicast (Thanks to Entropy512)
Tweaked Pegasusq to start early in the boot process
CIFS built-in (no modules)
Tunneling built-in
Testing Out ezterry's 4.6.3 Toolchain
Fsync control by Ezekeel
Increased mmc timeout (Thanks to AndreiLux)
Added a few compiler optmizations for 4.6.3 Toolchain
Rev0.3
Sharpness Tweak by Hardcore (Thanks to hardcore)
Black Crush Fix by AndreiLux (Thanks to AndreiLux)
XZ Tweaked for faster boot and more efficient RAM
Enable 1.6Ghz at Boot time to speed it up just a bit more (Thanks to Imoseyon)
Various ARM topology patches
Enabled Timer Slack Controller
Rev0.2
Adjust tweaks in ramdisk
Tweaked CFQ
SMP fixes by Russel King
XZ compressed kernel (fast and small)
ARM topology
Sched_mc set at 2
Disabled Mali State Tracking
CIFS as a module
Rev0.1
Used N7100 source drop
Tweaked deadline and sio for throughput and better battery life
Tweaked conservative and pegasusq for slightly more aggressive performance
No UV
No OC
Using new SHA-1
Enabled Cleancache
Enabled Mike Galbraith's Sched Autogroup
Applied AndreiLux's sensor hub fix (Thanks to AndreiLux)
Using SLQB
CFQ by default
Using RWSEM Algorithm by Code Aurora
Tweaked kernel values using the redpill.sh in the ramdisk
Enabled init.d
Auto Backup of EFS
Using Toolchain 4.4.3
--------------------------------------------------------------------------------------
Naming convention:
x.y.z
"x and y" means they are stable releases tested by peers worldwide and have proven to be good enough to be a daily driver.
"z" is added to connote its an unstable release that is currenty being tested for new features introduced. Not for the faint hearted.
e.g. 0.2 is a stable release; 0.2.1 is an unstable test release
features in 0.2.1 that make the cut will make it 0.3 or the next stable release and so on...
RedPill Ultimate & AOSP Changelog
**AOSP (Will work with CM10 Based ROM's only)
Current and Future Changelogs can be found HERE.
Rev0.5
RedPill Stable PLUS:
AOSP specific Ramfs Tweaks
r3p0 mali
SLQB
jRCU instead of Tree Preempt RCU (Better for low latency and designed with small SMP systems like mobile devices in mind) (Thanks to Joe Korty)
mdnie, haptic, leds and touch leds patches by codeworkx and XpLoDWilD (Thanks to codeworkx and XpLoDWilD)
Added UV Capability (arm voltages only) Implementation by AndreiLux (Thanks to AndreiLux)
Increase USB Charging rate by AndreiLux (Thanks to AndreiLux)
Check source on github for detailed commit logs and messages
Rev0.6
Added gokhanmoral's additional bcmdhd-cm for CM10 (Thanks to gokhanmoral)
Experimental optimizations to try and fix ZK camFW bug
Rev0.7
Loads of Samsung OSRC updates c/o AndreiLux (Thanks to AndreiLux)
Wacom, Firmware, epen, sensorhub, camera firmware among others c/o AndreiLux (Thanks to AndreiLux)
Bug Fixes by AndreiLux on sound related source files (Thanks to AndreiLux)
Rev0.8
Added STweaks support (Thanks to gokhanmoral)
Custom STweaks Entries specific to RedPill Features
Using Latest 201211 Linaro 4.7.3 Toolchain
Added NTFS Automounting support for sdcard (Please test this as I use ExFAT)
Rev0.9
Added Scoobydoo Sound (gokhanmoral's port of supercurio's Voodoo)
Added Scoobydoo specific Stweaks presets (Thanks to gokhanmoral)
Added sjkoon's Scoobydoo Sound fixes
Remove Debugging but keep kallsyms for Scoobydoo
Rev0.10
Added bbedward's zen i/o scheduler (Included in Stweaks options as well)
Added Option to OC to 1.8GHz after several weeks of testing for stability (Thanks to AndreiLux)
Added AndreiLux's STweaks Dynamic Config for CPU_UV, min/max freq and i/o scheduler (Thanks to AndreiLux)
Added updated pegasusq logic from newer Samsung sources (Thanks to AndreiLux for Original Port)
Added option in STweaks to swap internal and external sdcard (Thanks to mattiadj for original idea and script, which I then took and edited to ensure Full compatibility with N7100)
Added Proportional Rate Reduction for TCP (Thanks to faux123)
Tweaked deadline i/o scheduler
Updated ramfs to 4.2.1
Rev0.11
Exynos-Abuse Secured thru low-level fix by AndreiLux (Thanks to AndreiLux)
Using Official Google Toolchain 4.6.x
Added Dynamic Writeback from 3.1 (Thanks to franciscofranco for the port)
Added the latest (v5.4) of the "faster crc32 algorithm" by Bob Pearson and Darrick Wong (Thanks to both of them)
Enable Dynamic FSync and FSync Control to co-exist
Backported ROW I/O scheduling algorithm (Thanks to Tatyana Brokhman)
Added ability to increase brightness to 255 (Thanks to nebkat)
Tick and workqueue updates from upstream kernel source (Please see commit log for details)
Remove ntfs auto mounting since people use ExFAT and FAT32 while NTFS can be loaded by 3rd party tools
Tweaked System mount options
Disable Ext2Int while I find a way to get around the new emulated mounts for multiuser support 4.2.1 brings (You can still use directory bind for some games and apps with large data requirements)
--------------------------------------------------------------------------------------
ULTIMATE VERSION HAS BEEN DISCONTINUED & DEPRECATED SINCE MOST FEATURES ARE FOUND ON STABLE
**Ultimate (Will not work with ExFat since I used SLQB)
Rev0.7
RedPill Stable PLUS: (New Features In Development will be on this Release)
SLQB
Busfreq Undervolting (less 100 mV)
LCD Undervolting
Touch LED Undervolting
jRCU instead of Tree Preempt RCU (Better for low latency and designed with small SMP systems like mobile devices in mind)
Added UV Capability (arm voltages only) Implementation by AndreiLux | gokhanmoral
lowmemorykiller patches by Cyanogen Steve Kondik
Check source on github for detailed commit logs and messages
Rev0.8
Experimental optimizations to try and fix ZK camFW bug
Loads of Samsung OSRC updates c/o AndreiLux (Thanks to AndreiLux)
Wacom, Firmware, epen, sensorhub, camera firmware among others c/o AndreiLux (Thanks to AndreiLux)
Bug Fixes by AndreiLux on sound related source files (Thanks to AndreiLux)
Remove all Debugging
Added STweaks support (Thanks to gokhanmoral)
Rev0.9
Using 201211 Linaro 4.7.3 Toolchain
Added led blinking or fading choice from CM10 (Thanks to codeworkx and XpLoDWilD)
Added NTFS Automounting support
Custom STweaks Entries specific to RedPill Features
Rev0.10
Added Scoobydoo Sound (gokhanmoral's port of supercurio's Voodoo) (Thanks to gokhanmoral)
Added Scoobydoo specific Stweaks presets (Thanks to gokhanmoral)
Added sjkoon's Scoobydoo Sound fixes (Thanks to sjkoon)
Added back android logging (Use STweaks to toggle)
ULTIMATE VERSION HAS BEEN DISCONTINUED & DEPRECATED SINCE MOST FEATURES ARE FOUND ON STABLE
--------------------------------------------------------------------------------------
FAAAQ's
Kernel Frequently Asked & Answered Questions (FAAAQ)
What exactly IS the RedPill?
The RedPill is a custom kernel for the Galaxy Note 2 (N7100) International version. It's aptly named to provide users a choice. This is how I would have built Samsung's stock kernel. So, I used the Samsung Source from their site as a base and added relevant patches that are built on the shoulders of giants... such as arighi, gokhanmoral, Entropy512, AndreiLux, codeworx, netarchy, hacre, franciscofranco, Ezekeel, imoseyon, Erasmux, cattleprod, hardcore, faux123, etc. and all the kernel hackers of the world that work on making this usable for all of us... I claim nothing to be original or created by myself... I simply put together features others have created that I personally would like to see and use in my own device and share it with the world because I can AND choose to do so... While I do bugfix the occasional compile error and test for near perfection, it's nothing compared to those who write most of the code for the Linux kernel. Major props to all of them!
Where is the source for building this Kernel?
You can find the source HERE. I love GPL and We should all support Open Source Software and its Developers. Please Note that Open Source doesn't mean all of this magically wrote and patched itself... it takes a lot of FREE time to do this and would appreciate if you let us know how you've improved the code.If you know what you're doing, you can easily build your own kernel too. *Please let me know if you have any improvements you feel should be included and send me a pull request. *If it tests okay, it may be included in the next release.
FYI, I'm not particularly fond of devs who release their source as tarballs. (I'm looking at 'ya Samsung!) I'm pretty sure you use a tool like git internally to manage all the changes and revisions. Why do you have to make it so hard for those that want to play with the source by releasing it in a tarball instead of publishing it on github or bitbucket? If you're a kernel dev that does this I consider you "open-forced" NOT "open source". If you don't want to use git and can't be bothered with it why not make a patch and upload that instead?
Does the RedPill support ROMs for N7105 and other N7100 variants?
As of the current Revision Released, I will not be working to making it work on a device I don't currently own. I only build kernels I can actually test myself. While "building blind" might work, I prefer to break my own device before someone else's as they probably paid good money and worked hard/smart to be able to afford the device. FYI, I'm also not in favor of devs who build blindly then ask for donations so they can support the device. I want to own my device, not let it be owned by those who donated their hard earned money to get you the device. I've seen too many "devs" build blindly then ask for a donation so they can support the device, only to find a newer, better and faster device comes out and then chooses to buy that instead of the device he built blindly for and actually got donations to buy it. Talk about Bait and Switch!
Why doesn’t the RedPill have high benchmarks?*
That’s done on purpose to keep YOU away. Seriously. The way the VM system is tweaked (dirty ratio’s, minfree values, etc.) + the focus on better latency in any type of load + a lot of other small tweaks all lead to good performance and battery drain in actual use (I like using my device and not keep it sleeping to bloat my battery stats, thank you). This may not give you the benchmark scores you want to be able to show off… which is good since it means YOU stay away from this kernel and continue to rely on benchmarks rather than actual usage.
Why should I even ROOT my device? Is a custom kernel more secure?
With the Exynos-Abuse Exploit out for ANYONE to use, you're probably better off rooting and installing a custom kernel that includes the fix of AndreiLux. (RedPill and Perseus as of this writing) Now I know it will void the warranty, as you all are aware of, but if the only way to secure your device and your personal data (You don't want anyone to see your google search terms and results as well as those "private" moments that you may have kept for yourself just like any normal person) is to root and install a secured kernel, what choice is Samsung giving you?
Can you imagine what a nefarious and talented malware developer could do with this? They could break your system and have a pop-up that says "Pay up to free your system from being one of my mobile drones"... OR "Donate to get the full features of your device" (This one actually happens a lot on XDA... some talented dev gives you partial features to lure you in... then WHAM, BAM, THANK YOU MA'AM... If you want the full features, please donate yada yada yada...) I digress, as always.
Now, would you rather wait till Samsung officially patches this exploit and run the risk of exposing yourself to the risks this exploit opens you up to? Don't assume malware devs aren't rushing their current code to try and pry their way into your system using this exploit. For all we know, they're busy trying to cover up a similar exploit and currently awaiting Play Store approval. Yes, even the Play Store Apps can compromise your system. Even if Samsung does act fast, (not as fast as AndreiLux since he fixed it in a jiffy) how sure are you that your system hasn't been compromised? You wouldn't even know it.
The best reason to root RIGHT NOW is to completely secure your system, now more than ever. If you need to claim a warranty, you can tell them:
a. I had no choice, you messed up, xda-devs cleaned it up.
b. Flash back stock kernel and remove any trace of root and your use of a custom binary.
c. Completely brick your phone and tell Samsung that the exynos-mem exploit was actually used by malware that zapped your system dead.
I'm not a fan of any of these choices since I believe warranties should be honored by the manufacturer, especially if the bug they created was the reason for the claim for warranty in the first place.
How do I know I'm secured from the Exynos-Abuse Exploit?
Don't rely on apps that tell you whether you're vulnerable or not as the low level kernel fix AndreiLux implemented doesn't need to change the permissions of the /dev/exynos-mem.
Try running Chainfires Exploit APK and try getting the exploit to say anything else but "FAILED"... or head over to the thread HERE and download the exynos-abuse binary and run it from a terminal.
$./exynos-abuse
Click to expand...
Click to collapse
If your shell changes from $ to # then the exploit was successful, if not then you're safe.
Can the RedPill be OC'd and UV'd?
It can be UV'd and OC'd.By default, I've decided to keep all voltages and clock speeds stock as experience has taught me that NOT ALL DEVICES ARE CREATED EQUAL. You can UV the CPU arm voltages and OC using 3rd party Apps that do that. (SetCPU, VoltageControl)
Can the RedPill GPU be OC'd and UV'd?
Yes. Thanks to AndreiLux. You'll need to use STweaks to fully configure this. YMMV as always.
Why a tweaked deadline and SIO I/O scheduler?
The deadline I/O scheduler by Jens Axboe has proven itself as a low overhead, high throughput and acceptable latency I/O scheduler. *When tweaked for NAND based Mobile devices, it does even better. *While it "starves" writes by default with a 2:1 Read:Write ratio, this can easily be tuned via sysfs.
Why is my favorite governor (whichever it is) not available?
Simplicity is the Ultimate Sophistication, as Leonardo Da Vinci eloquently said. *Based on extensive testing and user feedback, we gathered that these 2 governors included gave the best performance and battery life on our device. Simple choice to have only the best ones available based on actual testing and feedback. *I included only these governors so you all have a simple choice to make in finding your favorite one. *These are all tunable via sysfs so you can skew it towards battery or performance based on what is important for you. *Don't expect uber smoothness and 16 hours screen-on time though... *there will be compromises when leaning towards any of the two factors most users consider important in a kernel.
Why LZO Compression for the Kernel?
It decompresses much faster than any other, bar none. Since the kernel size and compression speed is not an issue when using LZO in the kernel. (You only decompress the zImage when booting. Compression is done when building the kernel) Don't believe me, believe the data right HERE.
Why ARM Topology and sched_mc?*(From linaro.org)
"The sched_mc function adds a power saving awareness to the Linux scheduler which is tuned for performance by default. When sched_mc is enabled, the scheduler tries to gather the running processes in a minimal number of cpus and clusters. This choice of the location of a process is done thanks to the cpu topology function which describes the affinity between cpus."
(more info HERE)
Why is my AndroidOS usage so high?
This is most likely a reporting error from Android itself. Use Better Battery Stats to closely watch what really eats your battery. That has shown to be more reliable. (If I were Android, I'd fold buy out BBS and fold its code in by default) If you still have doubts, do a real world battery test, as some have done, and they saw that their battery consumption actually remained the same or in some cases even improved. YMMV, of course. Let's not fall for "placebos" here and say that "hmmmm.... since AndroidOS must be high than my battery doesn't last as long!"
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ultimate Version FAAAQ DEPRECATED SINCE MOST FEATURES ARE FOUND ON STABLE
Why SLQB? (According to its author, Nick Piggin)* (Only for the Ultimate Revision)
”SLQB is a slab allocator that focuses on per-CPU scaling, and good performance with order-0 allocations. Fastpaths emphasis is placed on local allocaiton and freeing, but with a secondary goal of good remote freeing (freeing on another CPU from that which allocated).” Using this on the Stable version breaks ExFat from working properly. Thus, the Ultimate version is for those who don't need ExFat support.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
HyperDroidDevs FAAAQ
Where do I report Issues or Get Community Support?
Use this thread to report issues, preferably with a last_kmsg, dmesg in a text file or a logcat. How do you do those? I'll let you use XDA's brilliant search function. And no, it's not broken, the search function that is. (I've heard that so many times... "Search isn't working so I posted a question here instead...")
Where are the HyperDroidDevs and their Team from?
We are an international team of crazy people who all have real life day jobs that are mostly not related in any way to Android Development. We're crazy enough to spend sleepless nights trying to make our devices (which we all personally own and have NOT been donated) better than how we received it. We come from all over. I am from the Philippines, where it's always FUN to be! We have Devs and Team members from Spain, Greece, France, Finland, Germany, Italy, Netherlands, Canada, USA, India, Poland, Philippines and even more countries.
How do I show my appreciation? Can I donate to you?
You can show your appreciation concretely in several ways:
Pressing the "Thanks" Button on XDA
Follow me on Twitter @sarcastillo and "Like" our Facebook Page
Report issues politely and completely
Donating any amount is completely up to you. *I look at donations as a "tip" for a job well done, rather than a "wage" or a "bounty" to get things done. *And Tipping is always up to you... the tipper. *I won't stop development if you don't donate, that's for sure, as I do this mainly for myself and my HyperDroid mates to begin with. I make more money running my own business than this hobby so “tips” are not a necessity… it just tells me how many people actually find the work useful enough to say thank you via a financial gesture.
This Kernel will ALWAYS be FREE to Download and USE, even if the time spent making it IS NOT FREE. *That's Open Source. (The time people spend on open source projects could have been used to spend more time with their families, for example. But the Devs commitment to get something done right is almost always tugging at him to Dev just a little bit more) *
*I've personally donated to Devs who've done things I would never have been able to figure out at the time they did figure stuff out. *Learning anything new takes time and time, in my book, is more important than money as I can't turn back time, while I can always earn money. SO I donate to Devs who spend their free time making Stuff better and easier for those of us who haven't figured out how to get it done.
Download Links
Download Links: (CWM/TWRP Version Only)
I've put the links down here to ensure you at least TRY to read the IMPORTANT info posted above.
Don't forget to enjoy the RedPill; it's Awesomeness Delivered!
RedPill
RedPill Stable Revision 1.42:
Click to download RedPill Rev1.42 (For Samsung Based ROM's for N7100) (DEPRECATED | NOT SUPPORTED)
RedPill Stable Revision 1.47:
Click to download RedPill Rev1.47 (For Samsung Based ROM's for N7100)
RedPill AOSP
RedPill AOSP Revision 1.47:
Click to download RedPill AOSP Rev1.47 (FOR CM10.1 and 4.2.2 based AOSP ROM's for N7100) (DEPRECATED | NOT SUPPORTED)
RedPill AOSP Revision 1.52:
Click to download RedPill AOSP Rev1.52 (FOR CM10.1 and 4.2.2 based AOSP ROM's for N7100)
One more for good measure
Really. One more.
Last one for me.
pongster said:
One more for testing
Click to expand...
Click to collapse
Mine again.
you had said that you would delete it in 5 minutes ,but what time is now?
Although my English is not good, I like xda forums very much, like the each friend! I hope you can point out my grammar mistakes to improve my English, thank you very much!
Thanks!!!
C-C-C-C-C-Combo breaker!
Edit: fail. Thanks guy above me -_- lol
Sent from my Galaxy Note II using Tapatalk 2
Y test thread??
Nice to see u here..looking 4ward to great themes now..
5 minutes over
Sent from my GT-N7100 using Tapatalk 2
Me
Sent from my GT-N7100 using xda premium
Woooooohhhhhooooo
Finally d kernel I was waiting for..
(Also waiting for siyah 2 b true)
Thank you so much pongster..
Used 2 loooove ur work on s2 and now on sn2..
Thank you very much..
Sent from my GT-N7100 using Tapatalk 2
Can use the kernel on hyper Rom? Thx
Sent from my GT-N7100 using xda premium
Obviously, this isn't really a test thread. I simply named it as such for the first 5 minutes so I could reserve the necessary posts I need to establish the HyperDroid RedPill Kernel thread.
DamBadz said:
Can use the kernel on hyper Rom? Thx
Sent from my GT-N7100 using xda premium
Click to expand...
Click to collapse
On HyperNote and other Samsung Based ROM's for the N7100
hiack said:
you had said that you would delete it in 5 minutes ,but what time is now?
Although my English is not good, I like xda forums very much, like the each friend! I hope you can point out my grammar mistakes to improve my English, thank you very much!
Thanks!!!
Click to expand...
Click to collapse
Please see my response in Post#18
I would never open Off-Topic threads anywhere. On any forum.

[KERNEL] *Matr1x* v14.5 | Lollipop - 5.0/5.0.1

Hey guys,
This is the Lollipop version of the Matr1x kernel and it works on 5.0/5.0.1.
Features:
Code:
- Based on Linux kernel version 3.4.0
- Built with GCC 4.8 from Google
- Voltage Control Interface (by faux123)
- Gamma Control Interface (by faux123) with PA tweaked colors and bundi22 iPhone 5 color preset
- FauxSound (by faux123)
- Speaker amp control (by faux123)
- Simple GPU governor (by faux123)
- Dynamic fsync Control (by faux123)
- Accuracy Filter Control (by stratosk)
- GPU OC to 487.5 Mhz
- UV by 75mV for all frequencies and cores
- SIO, ROW, and FIOPS I/O Schedulers
- Wheatley governor (by Ezekeel)
- Thermald and mpdecision removed
- 192 Mhz frequency for better battery when idle
- Fast Charge (thanks to franciscofranco)
- BLX (Originally by Ezekeel and ported to Nexus 4 by me)
- Double tap to wake and touch wake support (by stratosk)
- ARM hotplug driver (by _thalamus) with min_online_cpus value (by me) and max_online_cpus value (thanks to _motley)
- MultiROM support (by Tasssadar)
- USB OTG "usb-host" mode support (by ziddey)
- MSM Sleeper Mod (Max screen off frequency) (by flar2)
- Various performance tweaks
Changelog:
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/showthread.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/showthread.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/community/wiki/governors-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.
v9.5 Removed Touch Wake by stratosk and brought back Touch Control by bponury, removed USB OTG, and added MIUI support.
v10.0 Fixed the screen on lag, added some performance patches, added faux123's Simple GPU governor, and fixed the bluetooth issues some users were having.
v10.5 Added support for Android 4.3 (JSS15J).
v11.0 Switched to the Anykernel zip template, updated Fauxsound to the latest driver, added faux123's dynamic sync control mod, and added support for bponury's touch control.
v11.5 Added support for Android 4.4.
v12.0 Merged mako 4.4.1 kernel source, added s2w fixes from showp1984, and added the FIOPS I/O scheduler.
v12.5 Added Tasssadar's kexec patch (for multirom), added ziddey's USB OTG (http://m.androidcentral.com/android-advanced-usb-otg-nexus-4), put in bundi22's iPhone 5 color preset by default, and updated Fauxsound to the latest driver.
v13.0 Fixed the bundi22 iPhone 5 colors to match the real preset, added flar2's MSM sleeper mod (max screen off frequency), updated the Interactive governor to the latest version, and updated the ROW I/O scheduler to the latest version.
v13.5 Reverted the Interactive governor updates due to issues (back to v12.5 Interactive governor), added mrg666's Linux 3.6.11 workqueue backport patches in order to improve hotplug efficiency, and added CyanogenMod based ROM support (CAF).
v14.0 Added support for Android 4.4.3, raised voltages across the board by 25mV (this will help those with slower CPU bins), and added stratosk's double tap to wake and touch wake mods.
v14.5 Added support for Android Lollipop and updated the FauxSound driver.
Link to Lollipop version:
http://matr1xkernels.com/
Link to source: https://github.com/mathkid95/linux_lg_lollipop
What's up guys... this is the first release of the Matr1x kernel for N4. I am starting off real simple (I set deadline as the default I/O scheduler and tweaked some values)
There is much more to come!
Also, I will start posting the kernels at www.matr1xkernels.com soon... for now please use the mediafire link. You can flash this in recovery.
Spammer.
Where's the punchline good jerb math kid
brainmaster said:
Spammer.
Click to expand...
Click to collapse
Just so everyone else doesn't have to view op's profile, this is not a spammer and he's pretty well established on xda. Wasted a few seconds of my life trying to verify that...
Wow great to see you here man!
Sent from my Nexus 4 using Tapatalk 2
mathkid95 said:
Hey guys,
This is the JB version of the Matr1x kernel and it works on 4.2.
Features:
Code:
- Based on Linux kernel version 3.4.0
Changelog:
v1.0 Initial release
Links to JB version:
http://goo.gl/zVlm4
Link to source: https://github.com/mathkid95/linux_lg_jb.git
Click to expand...
Click to collapse
Wow look whoz here.. I'm waiting for my N4 and to have your work on it..
Loved the Matrix kernel on my nexus s.. Now it's the turn for N4
Always appreciate your work Math kid
Hung0702 said:
Just so everyone else doesn't have to view op's profile, this is not a slammer and he's pretty well established on xda. Wasted a few seconds of my life trying to verify that...
Click to expand...
Click to collapse
I confirm he's done a wonderful job since Nexus S, and i'm pleased to see him there now
Btw, flashed this and it is very nice so far : snappy and smooth. We'll see about battery life...
Ok kid. I'm awake. I'm awake, I'll flash it now. Hit me up later today so we can discuss the future of this kernel lol. Happy Thanksgiving everyone
Sent from my Nexus 4 using xda premium
Happy Thanksgiving everyone !!!
Got it flashed. Very smooth. According to system tuner only 2 cores are being used though.
I'm running a super top secret test rom and I was getting flickering unlocking the screen. It's gone after flashing this.
Sent from my Nexus 4 using xda premium
Great to see you here MK! Looking forward to entering the Matr1x with my N4.
Sent from my Nexus 4 using xda premium
Just flashed. Smooth so far. Will report back if any issues. Thanks!
Hey Mikey mind sharing super top secret test ROM
Happy Thanksgiving To All!!!!
Sent from my Nexus 4 using xda app-developers app
mikeyinid said:
Got it flashed. Very smooth. According to system tuner only 2 cores are being used though.
Click to expand...
Click to collapse
Wooooooooahhhh! What? Two cores only?
The ONDEMAND governor either shuts down two of them, or it has Hotplug enabled, or there's just some kind of a mistake. I don't know, might be a bit of a noobish comment.
Can anyone solve this for us?
DonJuan89 said:
Wooooooooahhhh! What? Two cores only?
The ONDEMAND governor either shuts down two of them, or it has Hotplug enabled, or there's just some kind of a mistake. I don't know, might be a bit of a noobish comment.
Can anyone solve this for us?
Click to expand...
Click to collapse
I wouldn't worry about it. I'm sure it's running as intended.
Sent from my Nexus 4 using xda premium
---------- Post added at 05:49 AM ---------- Previous post was at 05:48 AM ----------
buddahlou said:
Hey Mikey mind sharing super top secret test ROM
Happy Thanksgiving To All!!!!
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Haha. Sorry I can't. It'll be available to all very soon. It's worth the wait, trust me.
Sent from my Nexus 4 using xda premium
Yea seems like it been checking the tweets
Sent from my Nexus 4 using xda app-developers app
You can check if all 4 cpu's are used properly by starting Geekbench and than have a look. While geekbench is running, all 4 cpu's should be used.
Here we go! Love me some Matr1x. Accidentally fell asleep last night...sorry kid. Happy Thanksgiving!
Sent from my Nexus 4 using XDA Premium HD app
Hey mathkid, nice to see you here. Will have a look at this and report back
Gesendet von meinem Nexus 10 mit Tapatalk 2

[KERNEL][AOSP][02/22/13] Ermahgerd Kernel [LINARO]

ERMAHGERD! KERNEL!
Build 13.02.22​
Welcome to my latest learning project. This is a result of me wanting to better understand how kernels are put together. I'm dipping my toes a bit at first, but I'm going to be doing quite a few different things as time goes on, and it's only going to get more complex and I get more comfortable with the process. Successful things will stick around, unsuccessful or little used features may get squashed out over time to keep things as lean as possible.
Features:
Compiled with Linaro 13.01 toolchain and -O3 optimizations
Upstreamed to Linux 3.0.63
Undervoltable - Use SVS compatible CPU control app
Kernel mpdecision enhancements by showp1984
ARM optimized multi-core topology scheduler by the Linaro team
New I/O Schedulers:
ROW - Read Over Write - A new I/O scheduler designed from the ground up specifically for flash based mobile devices. It is designed to give priority to reads without starving writes, but does not implement any fairness. (default scheduler)
Zen - noop with a touch of deadline. Aims for simplicity. Implements deadlines for fairness and gives priority to synchronous requests. No merging or reordering of operations is performed.
SIO - Simple IO - Another mix of noop and deadline. Implements deadlines for fairness and performs minimal merging. No priority or reordering of operations are performed.
Fast charge support - Allows any charger to be seen as AC. Requires app to toggle fast charge mode
zRam (compcache) support with frontswap - Allows creation of swap space using a portion of compressed RAM, and uses free uncompressed RAM when possible to minimize I/O operations
New CPU Governors
Lionheart - A performance tuned variant of conservative
Intellidemand - Intelligent ondemand. Scales relative to GPU load
Wheatley - Governor with a great sleep profile. Perfect for users with lots of idle time
All drivers integrated into kernel
Single installer for ICS AOSP and JB pmem AOSP versions
Loads of memory and I/O optimizations for a smoother overall experience
See changelog history for even more features
To enable zRam after installation, go into a terminal and execute "zramenable" as root. It will activate immediately and reactivate on every boot. To disable it, run "zramdisable" as root. It will remove the boot scripts and immediately disable zRam and recover the RAM used. Note to ROM developers: if you include this kernel in your ROM, these files will need to be extracted from this installer and included in yours if you wish to include zRam support.
Fast charge support requires the use of a compatible fast charge toggle app, such as this or this.
Thanks go to:
Snuzzo: My kernel mentor, for pointing me in the right direction to get started, the great beginners tips, and for letting me use the installer.
con247: For the scripts used in the installer.
dsb9938: For letting me pick some things from his kernel
Chad0989: For the AOSP love that has made me love this phone.
IAmTheOneTheyCallNeo: For being Neo.​
Changelog
build 13.02.22
Upstreamed to Linux 3.0.66
Implemented iHateWebOS's video tearing fix
Discontinued ION version
build 13.02.13
Upstreamed to Linux 3.0.63
Implemented multi-core topology scheduler
Implemented optimized SHA-1 routines
Implemented optimized checksum routines
Implemented optimized idle handlers
Implemented optimized cache cleaning
Implemented ARM specific compile time optimizations
Implemented dynamic writeback throttling (backported from Linux 3.1)
Increased default SD readahead
Disabled GENTLE_FAIR_SLEEPER
Reduced CPU transition latency
Fixed possible bugs with memory compaction and proximity sensor initialization
Old Changelogs
build 13.02.05
Built with Linaro 13.01
Implemented optimzied memcopy
Implemented optimized string functions
Implemented optimized R/W semaphore functions
Prevent aliased requests from starving other I/O
Asynchronous I/O optimizations
Various I/O and memory tweaks
build 13.01.30
Upstreamed to Linux 3.0.61
Addded Zen I/O scheduler
Addded optimized CRC32 algorithm
Enabled memory compaction when killing processes
Increased the RNG thresholds a bit
Addded frontswap support
Removed powersave governor
build 13.01.25
Compiled with Linaro 12.12 toolchain
Added SIO I/O scheduler
Removed CFQ I/O scheduler - CFQ is the worst possible option to use with flash storage, and removing it trims the size of the kernel down a little
build 13.01.23
Add new governors
Wheatley - sleeps very deeply. Great as a screen off governor
Intellidemand - Intelligent ondemand. Acts like ondemand under high GPU load, but more conservatively when under a low GPU load.
Add dynamic fsync control - Automatically disables fsync when screen is on, then flushes caches and resumes normal operation when screen turns off
Increase available bandwidth at lower clock speeds - Should increase responsiveness when underclocking or running a conservative style governor (such as lionheart)
Increase RNG (random number generator) thresholds - Provides the benefits of the entropy generation tweak without requiring a background service
Add JIT (just in time) compiler for packet filters - better network performance
CPU frequency scaling fixes - sometimes, the cpu would forget it's clock speeds
OOM driver updates
build 13.01.16
Added ROW I/O scheduler
Made ROW default I/O scheduler
Made Lionheart default CPU governor
Removed InteractiveX2 CPU governor
mpdecision update to slightly increase efficiency of idle_freq checks
build 13.01.14
mpdecision updates and fixes - Check out the MP-Decision tab in Android Tuner CPU Settings
idle_freq (Plug freq in Android Tuner) added
cpu1 stays offline unless cpu0 is over idle_freq
once online, cpu1 remains online until it is below idle_freq
Other mpdecision rules still honored (the new idle_freq rules do not force the cpu on or off unless it also meets other requirements)
User controllable voltage settings - use SVS comptible CPU control app (such as Android Tuner) to control
Color scheme updated in Aroma Installer. The first screen is now readable.
build 13.01.12
Added zRam swap support
To enable, run "zramenable" from a terminal as root
To disable, run "zramdisable" from a terminal as root
Added fast charge support
Single unified installer for all 3 kernels - one download for any AOSP
build 13.01.11
Initial release
Merged Linux kernel code to version 3.0.53
Integrated all drivers into kernel (eliminate external modules)
Added Lionheart governor
Added InteractiveX2 governor
Github info
Source for this project is available at https://github.com/shrike1978/ermahgerd_kernel_vigor
Sent you pull request #1:
Swap partition support
Sent from my HTC Rezound using Tapatalk 2
Ermahgerd I must flash back to an aosp rom!! Very nice, glad you are advancing
Sent from my ADR6425LVW using xda app-developers app
Kernelnewbies.org is amazing for learning the way Linux kernel works. I'm enjoying learning kernel developing because the compile is so quick I can actually debug and test without much stress. Welcome to the kernel party! If you look through github you'll find a wealth of tweaks and improvements to port.
Sent from my ADR6425LVW using xda app-developers app
I'm gonna test it on the newest Horsey Face.
I may flash a aosp ROM just to use this. The name is boss...
Sent from my Rezound using Tapatalk 2
EPIC name!:good::good:
Whoa, nice strike.
Sent from my Nexus 7 using xda app-developers app
Tried multiple mirrors....download unsuccessful from my phone. I'll try again later or try from the pc
Sent from my ADR6425LVW using xda premium
Ermahgerd! Kerner!
Sent from my ADR6425LVW using Tapatalk 2
Going to start sending you pull requests of thing that mights be of use to you. Will have more coming your way later on.
Thanks for the new kernel! Fast charge?
Sent from my ADR6425LVW using Tapatalk 2
trainriderben said:
Thanks for the new kernel! Fast charge?
Sent from my ADR6425LVW using Tapatalk 2
Click to expand...
Click to collapse
Not yet, but in consideration.
Got it running. Seems nice so far! Thanks for all your aroma installer work. I'm still s-on and all your stuff makes it real simple for me!
Sent from my ADR6425LVW using xda premium
Jwezesa said:
Got it running. Seems nice so far! Thanks for all your aroma installer work. I'm still s-on and all your stuff makes it real simple for me!
Sent from my ADR6425LVW using xda premium
Click to expand...
Click to collapse
Thanks to snuzzo for the installer :thumbup:
Sent from my ADR6425LVW using xda app-developers app
---------- Post added at 09:29 AM ---------- Previous post was at 09:20 AM ----------
Snuzzo said:
Going to start sending you pull requests of thing that mights be of use to you. Will have more coming your way later on.
Click to expand...
Click to collapse
I vawnt some too....
Sent from my ADR6425LVW using xda app-developers app
Jwezesa said:
Got it running. Seems nice so far! Thanks for all your aroma installer work. I'm still s-on and all your stuff makes it real simple for me!
Sent from my ADR6425LVW using xda premium
Click to expand...
Click to collapse
iHateWebOS said:
Thanks to snuzzo for the installer :thumbup:
Sent from my ADR6425LVW using xda app-developers app
Click to expand...
Click to collapse
Yup. All credits for this installer go to Snuzzo (for the Aroma configs) and con247 (for the scripts).
Quite welcome guys.
OP updated with build 13.01.12
build 13.01.12
Added zRam swap support
To enable, run "zramenable" from a terminal as root
To disable, run "zramdisable" from a terminal as root
Added fast charge support
Single unified installer for all 3 kernels - one download for any AOSP
What does zram swap do? Is that like virtual memory?

|KERNEL| SaberKernel_45.3 || 3.0.97 || UC-100mhz || OC-1960mhz || exFAT | 10|03

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
SaberKernel ​This Kernel Is Compatible with all TW/Samsung based JB ROMS for this device--- (Not AOSP)​
READ, READ, READ before downloading, flashing, or posting questions
Not all phones are created equal meaning some phones will not handle Overclocking / Underclocking or Undervolting as well as others.
Features
Kernel Version 3.0.96
UC to 100
OC to 1960
UV Support
Added Support For 3rd Party OC apps---
Advanced Power Emulation
Default Scheduler= Zen
Default Governor= Pegasusq
Default boot set to 1600
Built using arm 4.4.3 toolchain
Ramdisk Mods to support Custom Boot Animations
Boeffla Sound Support
Touchwake
GPU Control
Github
In my GITHUB you can find my sources and code changes
Credits
Samsung for Official Source Code
Andreilux
Faux123
Cmenard
Simone 201
Gregkh
Sarcastillo
supercurio
Der Teufel
Ezeekel
ZaneZam
Yank
Instructions
TWRP Recovery HIGHLY Recommended!
-Download Kernel
-Nandroid
-Flash Kernel
-Boot system and DO NOT TOUCH FOR 2-3 MIN
Changelog
Code:
10|03
Upgrade to Linux 3.0.97
Revert of GPU edits to fix glitches in Graphics/reboots
Raise Voltages on 1960 for stability
Update zram_drv.c … thanks to insanemal
9|26
Raised Max Clock Speed --1960
Edits to GPU Clocks and scaling for Max performance (while preserving battery at stock values)
New compression
ADB Remount Enabled
9|18
Complete Rebuild from Updated Source
Zen default sched
Upgraded to 3.0.96
Fixed GPU freq scaling
More voodoo code removal
9|11
Upgrade to Linux Version 3.0.95
Edits to GPU Voltage Allocation
Boeffla Sound Replaces Voodoo (by request)
Boeffla and Trickster apps now added with flash
Clean Up of Version
Remove Dirty in Version Description
USB Charging Rate Increased to match A/C rate
ZZmoove Updated to 7d
Fixed Memory/cache leak that was causing instability and poor battery
8|28
I have been slacking on releasing kernels outside of my ROMs so this changelog is kind of a mess.
If you cannot follow the log please see my git for itemized changes
--Upraded to Linux 3.0.93
-- Added in exfat module source thanks to Faux123 and SORC
-- ZZMOOVE updated to v0.7 (ZaneZam/Yank)
-- LulzactiveQ added in (Gohkanmoral)
-- Upgraded to Linux 3.0.91
-- Wifi driver edit for reduce wakelock
-- All sources Merged!!
-- Upgraded to Linux 3.0.87
-- Added ZZMOOVE
---- zzmoove edited to support more frequencies
-- Edits to WIFI handling for less wakelock issues/performance
-- Some Peg gov Edits
-- Edit to I/O que
-- Edits to kernel/module.c in hopes of further work on exfat later on
7|2 --
Upgraded to Linux Version 3.0.84
New Under Clock Frequency --STABALIZED
- 100 mhz UC all set
Triangle away support
---All testers have reported back as things being stable and most
have run it through intensive and reg use and no SOD at 100mhz low.
I believe the times of certain devices not liking the low step is over. Have Fun
6|24 --
Upgraded to Linux Version 3.0.83
2 Versions
--- One with UC for those who's chips dont mind
---One Stock Low end
New Under Clock Frequencies
- 120 mhz UC VERSION ONLY
Edits to Peg GOV in Both Versions
6|19 --
Upgraded to Linux Version 3.0.82
New Under Clock Frequencies
- 160 mhz
- 140 mhz
6|13 --
Complete Clean Rebuild from updated sources
Linux 3.0.81
ZRAM
Freq Voltage Edits
Compression Edits
Freq "Bleeding" fixed
Intelliplug/Ecomode
More Mali Edits
Dynamic Filesync
5|05 --
Upgraded to Linux Version 3.0.76
GPU Handling is Back And Fixed
Touchscreeen Mods
TouchBoost Control Added
SetLocalversion Modification ( Just Shows differently in about)
More...
4|26 --
Upgraded to Linux Version 3.0.75
TouchWake Added (Control With TricksterMod)
Voltages/Voltage interface Fixed for Undervolting Compatibility
FlexRate Edits
Fsync Edits
IntelliPlug
4|18 --
Upgraded to Linux Version 3.0.74
Edits to Freq/Voltage Handling
4|11 --
Upgraded to Linux Version 3.0.72
sysfys-helpers edit
double flexrate
Voltage control/UV voltage edits
Freq Edits
3|20 --
Upgraded to Linux Version 3.0.69
Etc
3|11 --
Voodo Sound Enabled
Upgraded to Linux Version 3.0.68
2|22 --
MHL Tv Out Audio Officially Fixed Damnit lol
Updated to Linux 3.0.64
2|15 --
Edit Frequencies
-OC to 1920
-Fix for CPU sticking Etc
-Removed GPU Edits From Last Version For Now
2|6 --
Mali Rework
GPU Can Now Be Adjusted By 3rd Party App
Ramdisk Modifications
- Fixed Memory Swap
- Probable MHL Audio Fix
Edit to Module.c
Added Lazy Governor
Added BFQv5 Sched
Added V(R) Sched
Set ReadAhead to 1024
Fixed Wonky Frequencies: No Issues With 3rd Party Apps Holding Freq
2|4 --
3.0.59 Revised
3.0.60
3.0.61
1900mhz OC!
Voltage Optimization
Edits to mali/gpu
Increased Charging Rate
2|1 --
Linux 3.0.59
Deadline Edit
Edits to sched.c
Multiple Updates from Samsung OSRC
1|28 --
Updated 27 Kernel Versions to Linux Kernel Version 3.0.58
-(ALOOOTTT of code updates)
Update to device sensors
1|21-- Initial Public Release
Downloads
SaberKernel_45.3- http://d-h.st/CV7
Support this Development By clicking this Button,,, Thank you
http://forum.xda-developers.com/donatetome.php?u=4488450
Guide to Thread Participation":
Generally speaking, we are a pretty calm group of people, but as with so many other things in life, there are those that evoke a negative response from the very start. THAT is why we are such believers in maintaining a polite, respectful thread. Most everyone here is eager to help, and the only thing we ask is (despite the associated tedium) read the entire thread, it can only help. If and when you are still stuck, feel free to ask questions, we're all here to help one another.
--TMobTim
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------​
XDA:DevDB Information
|KERNEL| SaberKernel_45.3 || 3.0.97 || UC-100mhz || OC-1960mhz || exFAT | 10|03, a Kernel for the Samsung Galaxy Note II
Contributors
ptmr3
Kernel Special Features:
Version Information
Status: Stable
Created 2013-09-12
Last Updated 2013-10-03
Finally got around to bringing Saber to the 7100. Have Fun lol
The force of this kernel is strong, young padawan.
LOL. Going to test.
Simone said:
The force of this kernel is strong, young padawan.
LOL. Going to test.
Click to expand...
Click to collapse
Lol right on man let me know what you think
Sent from my SGH-T889 using xda app-developers app
Another kernel by a great developer!
Thanks man!
running sweet all morning not an issue at all but have not tested gps or bluetooth yet
looks good,does it have sds patch??
Thanks for this..
-GPS is flying
- Bluetooth is fine
Talking about 3rd party OC/UV apps, Tegrak Overclock Ultimate is not compatible.
Didn't notice any built-in OC app after flashing the kernel...
Which is the recommended one btw?
Edit- Never mind, I am using Android Tuner app for OC/UV, for now...
Perhaps I still can use Tegrak for GPU control....gonna test later....
betoNL said:
Thanks for this..
-GPS is flying
- Bluetooth is fine
Talking about 3rd party OC/UV apps, Tegrak Overclock Ultimate is not compatible.
Didn't notice any built-in OC app after flashing the kernel...
Which is the recommended one btw?
Edit- Never mind, I am using Android Tuner app for OC/UV, for now...
Perhaps I still can use Tegrak for GPU control....gonna test later....
Click to expand...
Click to collapse
Hey mate I use trickster mod for playing with CPU and hussy oc using rom toolbox
Woops gpu
Sent from my GT-N7100 using Xparent Gray Tapatalk 2
trying this kernel out instead of note2core, seems good so far.
The gpu freq settings in trickster only goes upto 440mhz, shouldn't it be 533+ for better gpu perf?
Any plan for N7105?
Sent from my GT-N7105 using xda premium
betoNL said:
Thanks for this..
-GPS is flying
- Bluetooth is fine
Talking about 3rd party OC/UV apps, Tegrak Overclock Ultimate is not compatible.
Didn't notice any built-in OC app after flashing the kernel...
Which is the recommended one btw?
Edit- Never mind, I am using Android Tuner app for OC/UV, for now...
Perhaps I still can use Tegrak for GPU control....gonna test later....
Click to expand...
Click to collapse
Trickster is recommended
Sent from my SGH-T889 using xda app-developers app
GezDixon said:
trying this kernel out instead of note2core, seems good so far.
The gpu freq settings in trickster only goes upto 440mhz, shouldn't it be 533+ for better gpu perf?
Click to expand...
Click to collapse
As mentioned in the OP the GPU is showing weird but is running at stock. Will be fixed up in next version
Sent from my SGH-T889 using xda app-developers app
theory_87 said:
Any plan for N7105?
Sent from my GT-N7105 using xda premium
Click to expand...
Click to collapse
Already made for t0lteXxx and will post today or tomorrow
Sent from my SGH-T889 using xda app-developers app
Any plans to include color calibration tweak from perseus?
WOW !
Boefla shmoefla !
Welkome back voodoo sound ! It's even enhancing MegaBass beats which is perfectly functional on the Rom I use (Criskelo)
Amazing sound I am getting
And that Trickster mod ain't bad either
Bye bye Boefla, Tegrak overclock, STweaks , etc., etc.
Congrats and thanks again
Just let me use this kernel a couple of more days, before I break once again my promise (to myself) of cutting down the donations. ....
.
Looks very very promising
ptmr3 said:
Already made for t0lteXxx and will post today or tomorrow
Sent from my SGH-T889 using xda app-developers app
Click to expand...
Click to collapse
I tried flashing at&t version and it working fine here
Sent from my GT-N7105 using xda premium
Hi, does this ROM contain the patch for the dodgy eMMC controller?
Does this kernel support CRT off? And if it doesnt, can you possibly add it?

[Kernel][Unofficial]Pimped Kernel - Z1 port [2014-07-09]

Ladies and Gentlemen,
It gives me great pleasure to introduce to you an unofficial port of the Z1
Pimped Kernel ​
This is a kernel for CM11 based ROMs and uses -caf. If your ROM isn't faily new and doesn't use -caf then don't expect this kernel to boot. It was built inside Carbon and I have tested in there, it should boot CM/FXF, SlimKat, LiquidSmooth, Carbon, Omni, etc. I don't know how well it will boot PA/PAC/etc that are further away from this codebase but you are welcome to try. As this is a first build so expect some FCs and reboots, and and not all features will work. Please read the OP to see what is on offer. Things that won't work are LCD/Touchscreen/DT2W, and others may be prone to bugs.
This has kernel is built with Linaro SaberMod Toolchain 4.7 and -O2 etc optimisations (not as many as the slimkat kernel). Performance seems good, and the ability to underclock/volt and turn off cores should give extra battery life.
Please don't use this unless you know how to get out of trouble/bootloops/non-boot/lost recovery/etc. I nor Androguide.fr take any responsibility for dead or undead Z-Ultras
Kernel features are controllable through Androguide.fr's Pimp My Z1 app, (thread here).
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Download:
togari-BluePimp-4.4.4-dt2w-ext4-20140810_1122.zip
Very minor change to LEDs, and boot splash http://forum.xda-developers.com/devdb/project/dl/?id=7497
test v0.3 for new 4.4.4 AOSP/cm-11 ROMs
togari-BluePimp-108-dt2w-ext4-20140709_1741.zip
old 4.4.4 and 4.4.2/3 ROMs
30/6/2014 4.4.4 build with dt2w
Build 4 31-05-2014
Build 4 31-05-2014 dt2w
Features (C&P from OP):
Sound Control: Faux123's GPL Sound Control 3
Color Calibration Control: LCD_KCAL interface ported to the Z1 by @DooMLoRD, gives full control over the RGB channels of the display
GPU OC: 200MHz / 320MHz / 389MHz / 487.5MHz / 533MHz / 600MHz frequency scaling steps
CPU OC: up to 2.26GHz
CPU Voltage Control: use TricksterMod for the moment
DoubleTap2Wake: double-tap the screen to wake-up the device
Intelliplug: Faux123's latest intelliplug hotplugging driver with eco mode (v5.0)
[*]MPDecision: showp1984's open-source & customizable msm_mpdecision hotplugging driver
Dynamic Fsync: Faux123's Dynamic File Sync v1.5
PowerSuspend: Faux123's power_suspend driver (replacing early_suspend)
Snake Charmer: Faux123's msm_cpufreq_limit CPU frequency limiter driver
Fast Charge: Faux123's fast_charge driver, allowing to set the amperage of the charger or USB port your device is plugged-in to
CPU Boost: Faux123's CPU Input Boost module (will soon add controls for it in Pimp My Z1)
GPU Wake-on-touch: allows touch events to wake the GPU if it was previously in slumber
KSM: Kernel Same-page Merging enabled
F2FS Support: Samsung's F2FS nand-optimized file system support
exFAT Support: Samsung's open-source exFAT driver
zRam Support: support for zRam memory compression
CPUPower: Linaro's cpupower PM driver
Async Fsync: Asynchronous file sync
MSM_Sleeper: Support for setting the max CPU frequency when screen is off through sysfs
Kernel mode NEON: NEON-accelerated XOR framework & support for NEON instructions in kernel mode
Overall Stats: CPU overall stats on a per-core basis
Compression: XZ Compressed & LZ4 compression algorithm support
Sched MC: Multi-Core Power Savings support
Sched SMT: Multi-Thread Power Savings support
Arch_Power: arch-specific power sched features enabled
Workqueue: backported from kernel 3.7, allows CPU hotplug to keep idle workers (learn more)
Toolchain: Built with Linaro GCC 4.8
Optimizations: Built with -O2 and many optimization flags
Kexec-hardboot ?: attempted to port @Tassadar's kexec-hardboot patches from the nexus 5, needs testing and confirmation that it works
Additional Governors:
Intellidemand
Intelliactive
Pegasusq
Nightmare
Hyper
Alucard
InteractiveX2
SmartassV2
Lagfree
Wheatley
Lionheart
Badass
Additional I/O Schedulers:
SIO (SImple Ondemand)
FIOPS (Fair Input/Output Per Second)
BFQ (Budget Fair Queueing)
VR
Additional TCP Congestion Algorithms:
BIC
Westwood
HSTCP
Hybla
HTCP
Vegas
Veno
Scalable
LP
YeAH
Illinois
Click to expand...
Click to collapse
Change Log:
http://forum.xda-developers.com/showpost.php?p=50603486&postcount=2
Sources:
Androguide.fr kernel sources: PimpedKernel
My additions for the ZU (see BluePimp branch): BlueEther
Credits:
Thanks to Androguide.fr fro bringing all of the together
Thanks to faux123 for all his contributions to the android kernel community, many of which are implemented here
Thanks to showp1984 for his msm_mpdecision hotplug driver
Thanks to DooMLoRD for all the cherry-picked features from his DoomKernel
Thanks to krabapel2458 for the inital port from DoomKernel of features like GPU OC, some governors and more.
And of course, thanks to FreeXperia and Kali- in particular, for the device bring-up
Click to expand...
Click to collapse
Disclaimer:
# Neither I nor any contributors to this kernel can nor will be held
# responsible for any damage or any kind of problem related to its use.
# You are using this piece of software AT YOUR OWN RISK.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
Click to expand...
Click to collapse
Disclaimer #3, I'm not responsible for dead or undead Z-Ultras from using this ROM and kernel, OC at you own peril
XDA:DevDB Information
Unofficial Pimped Kernel, Kernel for the Sony Xperia Z Ultra
Contributors
blueether, Androguide.fr, DooMLord, faux123, krabapel2458, FXP/CM, Kali-, reaper61616 (dt2w)
Kernel Special Features: Sound Control, GPU OC, Intelliplug, PowerSuspend, Dynamic Fsync, exFAT, F2FS, KSM, Intellidemand, Intelliactive, SmartassV2, InteractiveX2, Lionheart, Wheatley, Badass, Lagfree, BFQ, SIO, FIOPS, Westwood, Hybla, HSTCP, HTCP, Veno, Illinois, LP, BIC...
Version Information
Status: Testing
Created 2014-04-25
Last Updated 2014-08-09
What's working and not
Kernel Bugs:
Camera FCs - maybe more of a CM issue than this kernel
Tested ROMs:
Carbon - (non public test build): Working
Carbon - Build 8: Working
SlimKat: Working
LiquidSmooth: Working
FXF CM11: Working
CM11: Working
AOSP: Not tested yet
AOKP: Not tested yet
AICP: Not tested yet
Lungo: Not tested yet
PAC-man: Not tested yet
PA: Working
Chameleon OS: Not tested yet
GPe: Won't boot
Quick run down using Pimp my Z1:
CPU
Min/Max works after a save (pressing 'Done' does nothing?)
[*]Per core Looks to work
[*]Interactive/performance/ondemand and conservative all seem to work as expected
TCP not tested
GPU
Min/Max (200/450) Looks to work
[*]Performance/msm_cpufreq/msm_adreno-tz/powersave/etc all seem to work as expected
cpubw_hwmon reboots the ZU
Power Managerment
Multi-Core Moderate hard to tell if working
[*]Multi-Core Aggresive Looks to work as expected
[*]Intelli plug and eco mode - Look to work well except Pimp my Z1 FCs when trying to change # of cores and gets stuck on 1
Power suspend not tested
LCD Colour
Voltage controle - looks to be working
I/O, Memory and Misc. not tested but options look to work
Sound Control
Speeker Gain works
not tested the others
Touchscreen
None are active - as expected
And i am subscribed to this
Keep it up mate xD
joluke said:
And i am subscribed to this
Keep it up mate xD
Click to expand...
Click to collapse
Build 2 Uploaded.
2014-04-24
Updated to Linux kernel version 3.4.86
Re-added GPU OC up to 600MHz and hopefully fixed the issues some people had with it
Added zRam support (thanks to DooMLoRD)
Added msm_sleeper (thanks to DooMLoRD), controls coming to Pimp My Z1 soon
Added memutils optimizations (thanks to DooMLoRD)
Merged a lot of slimbus/slim-ngd/slim_msm/qdsp6v2/wcd9xxx & other audio-related optimizations from franciscofranco's nexus 5 kernel
Merged some OOM, ocmem & other memory-management-related optimizations from franciscofranco's nexus 5 kernel
Merged a fix for msm_z180 memory leak from franciscofranco's kernel
Some other random cherry-picks
Use caution when OCing the CPU/GPU
blueether said:
Ladies and Gentlemen,
It gives me great pleasure to introduce to you an unofficial port of the Z1
Pimped Kernel
Click to expand...
Click to collapse
Thanks, we will test. Good modifications.
Kernel v2 boots and works with slim kat ,thanks bro [emoji106]
t0pstar said:
Kernel v2 boots and works with slim kat ,thanks bro [emoji106]
Only display settings from the pimp my app don't work (dt2w,s2w ...)
Click to expand...
Click to collapse
Does the camera work? Just had a FC than couldn't connect
DT2W/S2W/etc all use a different touch-screen driver than we use on the ZU
blueether said:
Does the camera work? Just had a FC than couldn't connect
Click to expand...
Click to collapse
When I open camera directly after boot it works fine ,
when not I have also FC
Im using camera kk app and it works fine. Just first time camera is not moving (it stops on first "seen" frame), but it is on every kernel (maybe rom's, maybe app's bug) and after killing it in recent apps and starting again everything works fine
Strange for me is that this kernel has more governors etc, and i always thought that coz it we should have less ram, and there is more than ie unofficial slimkat kernel
Edot: Is there any chance for f2fs version in the future? Its a lot better than ext4, so it can make our ZUs fly even better than now
Sent using C6833 - Carbon KitKat/Pimped Z1 Kernel
ch3mn3y said:
Im using camera kk app and it works fine. Just first time camera is not moving (it stops on first "seen" frame), but it is on every kernel (maybe rom's, maybe app's bug) and after killing it in recent apps and starting again everything works fine
Strange for me is that this kernel has more governors etc, and i always thought that coz it we should have less ram, and there is more than ie unofficial slimkat kernel
Edot: Is there any chance for f2fs version in the future? Its a lot better than ext4, so it can make our ZUs fly even better than now
Sent using C6833 - Carbon KitKat/Pimped Z1 Kernel
Click to expand...
Click to collapse
after a bit of flashing and testing the no outgoing calls is a bug in the test build of Carbon not this kernel so all is good on this front.
This kernel boots the last couple of Carbon builds, back to at least the 19/4 so that's another plus.
I'd not really had the camera issue that many people had had in the last few weeks on the CM based ROMs so it's sort of new for me.
You made it!!! Congrats and THANKS! Perhaps it's time I go back to a non-stock ROM now, just to try this kernel...
I found other problem (at least for me) with pimp my z1. I cant set 2nd core governor, coz it always return to intelliactive last saved? (im not sure as sometimes it stays on last saved sometimes on earlier), now, as i know how it works, its not the problem to set governor I want, but its strange bug. I would use trickster but there I cant set different governors for every core (As i found out set governor is only for first core)
EDIT: Maybe someone answers: What is Pen Mode in this app? If it is what I think we dont need it as our phone support mostly everything as a pen. The same for gloves i think
Has anyone tried this Kernel on CM11, if so any problems?
Sent from my Xperia Z Ultra using Tapatalk
Next few things:
-
1. After reboot very often CPU governors are changed.
2. Additionaly to setting governors: They are setting itself. Before I set nightmare/nightmare/powersave/powersave and after going back to menu and againd CPU Control it was nightmare/<last saved?>/powersave/powersave. Now after reboot it was nightmare/nightmare/nightmare/nightmare (with per-core on) and after menu->CPU Control nightmare/intelliactive/powersave/powersave (intelliactive wasnt last saved or anything)
3. Sometimes after reboot Pimp my Z1 returns GPU settings to default ones
4. Power Managments, I/O tweaks, Memory managments too - Misc on the other hand are always remembered correctly
Yes I have "set on boot" on. Strage coz mostly (4/6 for now) everything is remembered correctly ie now after next "test" reboot
ch3mn3y said:
Next few things:
-
1. After reboot very often CPU governors are changed.
2. Additionaly to setting governors: They are setting itself. Before I set nightmare/nightmare/powersave/powersave and after going back to menu and againd CPU Control it was nightmare/<last saved?>/powersave/powersave. Now after reboot it was nightmare/nightmare/nightmare/nightmare (with per-core on) and after menu->CPU Control nightmare/intelliactive/powersave/powersave (intelliactive wasnt last saved or anything)
3. Sometimes after reboot Pimp my Z1 returns GPU settings to default ones
4. Power Managments, I/O tweaks, Memory managments too - Misc on the other hand are always remembered correctly
Yes I have "set on boot" on. Strage coz mostly (4/6 for now) everything is remembered correctly ie now after next "test" reboot
Click to expand...
Click to collapse
I'm wonder if it is more the app than the kernel?
I have managed to peg the first core at fill tilt once and another time to have all 4 core online all the time. The second issue can be solved by turning all the options off in Power Management, it's a known race condition by the looks.
~5% battery drain over night, but it looks like google services are causing wakelocks again on my ZU
Its hard to say coz there is bo more apps which can let to use most od options kernel has (ie trickstermod let set governor for all, i/o too for both memories). But i would think its app+phone compatibilty issue not kernel, but not sure about it
Sent using C6833 - Carbon KitKat/Pimped Z1 Kernel
Just flashed this kernel with the latest carbon rom and working great very fast will test for the next few days and see how the battery life is - thanks for the great kernel
Sent from my SM-T320 using XDA Premium HD app
blueether said:
~5% battery drain over night, but it looks like google services are causing wakelocks again on my ZU
Click to expand...
Click to collapse
After first night it was worse for me - 13%. It coukd be coz kernel was just flashed ot coz my set up, but its too much
But this second core governor annoying.me too. I found out that if i set it few times it stay till sometime after reboot (just after reboot and getting su rights, governors are right(. Anyone has similar problem? Can moving app to system/app helps?
Sent using TF300T - CyanogenMod 11.0/GEASS (F2FS)
ask
it work with this rom
http://forum.xda-developers.com/showthread.php?t=2606414&page=71
mimoun103 said:
it work with this rom
http://forum.xda-developers.com/showthread.php?t=2606414&page=71
Click to expand...
Click to collapse
No it wont, this is for AOSP/CM11.
The Port of DooMLorD's kernel is much the same feature wise and will work with monx's rom

Categories

Resources