[KERNEL][12/31] rohan.kernel.b7 [Linux 3.0.57][GCC 4.7][2.0ghz][S2W][INTELLI][SIO] - AT&T, Rogers HTC One X, Telstra One XL

rohan.kernel alpha builds
for the HTC One XL​
Meant for AOSP JB 4.1.X ROMs ONLY
THIS WILL NOT WORK ON 4.2.X ROMS!!!​
Features:
Code:
-Overclock-able to 2.0ghz
-Undervolted
-Loads of CPU Governors (recommended: intellidemand)
-Loads of I/O Schedulers (recommended: simple i/o)
-User controllable voltage table based off of sysfs
-XZ Compression
-sweep2wake
-Linux 3.0.57 (latest release from 3.0.x branch)
-GCC 4.7.2 Linaro Toolchain Compilation
-lowmemorykiller fixes
-Tweaked I/O Schedulers
-zRAM enabled
-Tweaked KSM
-Disabled fsync
-Increased readahead buffer
-self-powered OTG support
-NTFS read/write support
-decreased cache pressure for faster fs
-camera app flash till 5%
-various other tweaks for stability and performance
HOW TO INSTALL:
If you are on the older HBoot:
1) Flash the kernel zip in recovery
2) Wipe dalvik cache
3) Reboot and configure it to your liking
If you are on the newer HBoot:
1) Flash the kernel boot.img from the zip using fastboot
2) Reboot into recovery
3) Flash the kernel zip to install the modules
4) Wipe your dalvik cache
5) Reboot and configure it to your liking
Want to see this kernel in action? Watch this video!
Thanks to XsMagical and Team Nocturnal for the video!​
What is coming soon:
Code:
-Fast Charge for ROMs that support it (such as AOKP JB)
What I hope to add but no promises:
Code:
-MSM DCVS governor
-GPU control
-Gamma/Color control (tightly integrated... there is loose integration with current 3rd party apps)
What is never coming so don't ask:
Code:
-BS patches and features
Download: http://code.google.com/p/rohan-kernel-evita/downloads/list
b6 and onwards include two versions: a NORMAL version and a NOVC version. First try the NORMAL version. If that does not work correctly, then try the NOVC version, which includes all features except voltage control.
Click to expand...
Click to collapse
Recommended values:
192mhz Minimum
1.98ghz Max
I/O: sio
CPU Gov: intellidemand
Use an app like No Frills CPU Control and set the values you want at boot.
These are extremely alpha builds. They are not fully tested and may brick your device. If something does happen to your device, you are not to blame myself or any others involved in this kernel. Flashing this is solely your responsibility and if something happens, blame yourself. Always make a backup before flashing. Making a nandroid of your boot partition takes a few seconds but could help you save your device from bricking.
--------------------------------------------------------------------------------------------------​
My goal for this kernel is to make it simply an enhanced stock JB kernel.
If you enjoy my work or would like to encourage further development, then please consider donating. All of my money comes from donations as I am currently in high school. They are never required but always appreciated. My link is under my name on the left.
GPL: https://github.com/rohanmathur/rohan.kernel.elite

Changelog:
Dec 31 - rohan.kernel.b7
Code:
Changelog:
-Updated to Linux 3.0.57 (most recent from kernel.org)
-Includes many bug fixes & improvements
-Stability increased greatly
-Proper CPU1 Control Workaround (thanks jrior001)
-Tweaked KSM values
-Bumped GPU frequencies very slightly for smoothness
-Several cache improvements
-Many CPU frequency and GPU frequency scaling improvements
-Optimized cryptology algorithms (thanks faux123)
-Compiled with GCC 4.7.2 Linaro toolchain (thanks vanja_z... really nice work with this)
Nov 25 - rohan.kernel.b6
Code:
Changelog:
-Updated to CM status:
*Linux 3.0.52
*Switched to ION audio instead of pmem and a new memory setup
-Allow flash to work till 5% battery (previous was 15%)
-Decreased the cache pressure on certain fs
-Reverted to stock voltage values
-Other various tweaks and fixes
Nov 02 - rohan.kernel.b5
Code:
Changelog:
-sweep2wake implemented; still needs some tweaking
-deadline I/O scheduler tweaked for optimum performance
Oct 29 - rohan.kernel.b4
Code:
-Updated to latest CM kernel status which entails:
* Linux version 3.0.48
* USB OTG support (self-powered)
* NTFS read/write support
-Attempted to fix some of the cpufreq issues some people were having
-Removed a little more junk from the kernel
Oct 12 - rohan.kernel.b3
Code:
-Completely rebased off of CM10's new unified kernel, which brings with it:
100mb more RAM
Linux 3.0.45
Various other fixes and changes
-User-controllable voltage table for AOKP's ROM Control (other apps may work too)
-Removed 0.5mb of junk from the kernel (now 3.8mb in total)
-Various other fixes, tweaks, and mods
Sept 26 - rohan.kernel.b2
Code:
-Overclock up to 2.0ghz (user-selectable)
-Set intellidemand as the default CPU governor
-Removed interactiveX and brazillianwax (causing issues)
-Tweaked Deadline I/O Scheduler
-Linaro -O2 compiliation and various optimizations
-XZ Compression (reduced kernel size by nearly 20%!)
-AC Charging mode for unknown chargers
-Improved kernel logic
-Better lowmemorykiller values
-Various other smaller tweaks
-Undervolted
Sept 17 - Initial Release
--------------------------------------------------------------------------------------------------​
Thanks to:
h8rift - for being inspirational in his charge for CM and his fantastic work on CM10 and the stock kernel
intervigil - for his fantastic work on the msm8960 kernel and his work on ville (the One S)
show-p1984 - for his initial sweep2wake goodness on the international HOX
sbryan12144 - for his great work in porting sweep2wake over to our device, and for other misc commits
zarboz - for his great work in porting sweep2wake over to our device
faux123 - for being an inspiration for kernel development and a master at what he does, along with some misc commits
jrior001 - proper CPU1 control
vanja_z - GCC 4.7.2 Linaro compilation
Donators - you guys rock!
HOX Community - for always providing feedback, whether good or bad, and encouraging me to continue

Can I ask why only for AOSP?
Sent from my HTC One XL using xda premium

austinsnyc said:
Can I ask why only for AOSP?
Sent from my HTC One XL using xda premium
Click to expand...
Click to collapse
Because I do not want to manage 2 kernels at the same time, on top of my three ROMs. I will be including some ramdisk tweaks in the future, and the ramdisks vary between AOSP and Sense.

austinsnyc said:
Can I ask why only for AOSP?
Sent from my HTC One XL using xda premium
Click to expand...
Click to collapse
Because who uses Sense when you have AOSP
Sent from my One X using xda app-developers app

Rohan, you gonna implement the kernel into your ROMs once its more stable... and OTG would be great! Awesome work :thumbup:
Sent from my One XL Evita

C3RGIOSE1 said:
Rohan, you gonna implement the kernel into your ROMs once its more stable... and OTG would be great! Awesome work :thumbup:
Sent from my One XL Evita
Click to expand...
Click to collapse
Nope, I'll be keeping this kernel separate. If a user wants this kernel, then they can flash it on top of my builds I don't want to force the user to use anything they don't want.

Wow Rohan, you have been busy lately!
:highfive:
---------- Post added at 02:28 PM ---------- Previous post was at 02:26 PM ----------
Any chance we'll see the additional free RAM from the Android 4.0.4 Sense ROMs, or is that not a kernel thing?

Silellak said:
Wow Rohan, you have been busy lately!
:highfive:
---------- Post added at 02:28 PM ---------- Previous post was at 02:26 PM ----------
Any chance we'll see the additional free RAM from the Android 4.0.4 Sense ROMs, or is that not a kernel thing?
Click to expand...
Click to collapse
Most probably not, its not worth the effort IMO. Unless its something easy, that is.

Running great on build 2 of AOKP. Got a good solid base here to work with. I would like to say thanks to u and h8 for all the hard work.
Sent from my One X using Tapatalk 2

oh hell yea, going to give it a try now

Yes if OTG could be made to work that would be amazing, imagien being able to hook up a USB stick to transfer files or be able to use apps that make use of OTG yummy
Sent from my HTC One XL using xda premium

Getting a lot of reboots... Restored to backup
I must say that I am thoroughly impressed with you rohan!! You are putting in so much blood, sweat and tears into this community, and I (and I know others) are immensely grateful! Keep up the great work! Will try the kernel again beta 2!!!
Sent from my One X using Tapatalk 2

throwing this bad boy onto a fresh and fully wiped install of your AOKP Build 2, i'll check back in with some feedback soon !

rohan32 said:
Most probably not, its not worth the effort IMO. Unless its something easy, that is.
Click to expand...
Click to collapse
Makes sense! Thanks

mikelebz said:
Getting a lot of reboots... Restored to backup
I must say that I am thoroughly impressed with you rohan!! You are putting in so much blood, sweat and tears into this community, and I (and I know others) are immensely grateful! Keep up the great work! Will try the kernel again beta 2!!!
Sent from my One X using Tapatalk 2
Click to expand...
Click to collapse
Yeah I got like 2 or 3 initially but it seems fine. I think it happens right after you tweak the CPU settings. I'll be looking into it.

rohan32 said:
Nope, I'll be keeping this kernel separate. If a user wants this kernel, then they can flash it on top of my builds I don't want to force the user to use anything they don't want.
Click to expand...
Click to collapse
Respekt, thanks for all hard work!
Sent from my One XL Evita

Benchmark screenshots added to 2nd post for those who care about them.

Nice work thanks. A few reboots for me too.
Sent from my One X using xda premium

And here I was thinking H8 was running this AOSP show...
Sent From My JellyBean That Eats Apples And Poops Awesomeness

Related

[kernel][3.0.46][ics] •∞ CYMBALINE •∞ RD04 •∞ 2.8 •∞ [16-OCT-2012]

[kernel][3.0.46][ics] •∞ CYMBALINE •∞ RD04 •∞ 2.8 •∞ [16-OCT-2012]
PLEASE READ THE ENTIRE POST #1 and POST #2, UNDERSTAND, READ IT AGAIN, BEFORE YOU DECIDE TO FLASH.
* THIS KERNEL IS ONLY FOR ICS (Android 4.0.x) TouchWiz (Samsung/ATT ICS releases, i.e any UCLF6, UCLF5, UXLF3, UCLD2, UCALC2) ROMS. It is NOT for after market ROMS like CyanogenMod or AOKP.
* The ONLY device that it has been tested is ATT SGH-I727 and Rogers SGH-I727R.
* CYMBALINE 2.X is a complete overhaul from 1.X series, if you have been using 1.X series, I would strongly recommend to upgrade to 2.X series.
Click to expand...
Click to collapse
DISCLAIMER
Click to expand...
Click to collapse
KERNEL FLASHING, OVERCLOCKING, UNDERVOLTING, ETC CAN POTENTIALLY DAMAGE YOUR PHONE. YOU ARE SOLELY RESPONSIBLE FOR FLASHING THIS KERNEL.
​
TUNING SCRIPTS
Click to expand...
Click to collapse
For Gov/OC/UV/UC tuning scripts for various governors. If you don't like to use an app (as lot of them cannot do fine grained tuning) you would like to use init scripts, then please see @ReedX50v scripts in this thread. The only requirement is "busybox run-parts init.d supports", most custom ROM's with modified Ramdisk kernel image should have that built-in. If it not, then bang your ROM author to provide one.
* For Cymbaline 2.6 and above (any ramdisk version, i.e. any of the RDNN) use the information in following post #574. You might also read the post #249, for some background information. Please thanks ReedX50v.
* For Cymbaline 2.5 and BELOW (any ramdisk version). use the scripts (again thank Reed50Xv). Use the scripts from the following post #249.
​
​
FEATURES/CHANGELOG
Click to expand...
Click to collapse
You can use 3rd Party APPS for CPU and Voltage Control. For Voltage, it is using the Faux VDD tables, so the app MUST be able to understand that. (See ADDONS section below).
[RD04][2.8]
updated to linux 3.0.46 upstream.
Experimental, ported CM10 bln with blink support (updates your lights lib in ROM). Not sure how great this is but feedback is appreciated.
WiFi sensitivity restored to stock.
[RD04][2.7]
updated to linux 3.0.42 upstream.
Ramdisk updated to support boot sounds. (remove /system/etc/PowerOn.ogg if you don't want it)
merged to latest (09/09/2012) CAF relevant changes.
[RD03][2.6]
Changed Ramdisk (def. governor changed from "ondemand_sammy" to "ondemand".
updated to linux 3.0.40 upstream.
updated WiFi stack to 1.15.55
Skipped internal releases 2.4 and 2.5.
FIX: Now overclock should be fully supported.
[RD02][2.3] Minor release, only one version now. Hacked to ensure that the max. boot ramp up is only 1.566GHz. If your phone can't handle that, sorry return it .
Added two more governors as modules : "savagedzen" and "hotplug"
Unified release, hack in place to not ramp up to the MAX allowed i.e. (1.836Ghz) so all phones should boot, as the boot max is set to 1.566GHz.
merged some bt code from Cymbaline 1.5 branch.
[RD02-2.2] Please note RAMDISK change, see below
Samsung ondemand governor moved as "ondemand_sammy", did this so that I can merge the standard ondemand and mods w/o creating a merge headache. Due, to this, the SAMMY settings in the RAMDISK modified to reflect the new name.
using linux ondemand with faux mods. (thanks faux123)
added faux's intellidemand as a built-in gov, since I like it (thanks faux123).
reverted the wi-fi optimization, which was causing tethering issues. (hopefully this is fixed)
pre-emptive strike: merged all Govs from 1.5. Please don't complain that I am missing one. As usual all these are in /system/lib/modules. so you would need to "insmod" (see ReedX50v scripts for samples). Here is the remaining ones (please see RD01-2.1 ChangeLog for others)
Code:
/system/lib/modules/cpufreq_brazilianwax.ko
/system/lib/modules/cpufreq_lionheart.ko
/system/lib/modules/cpufreq_lulzactive.ko
/system/lib/modules/cpufreq_ondemandx.ko
/system/lib/modules/cpufreq_wheatley.ko
[RD01-2.1]
BLN Fix: reverted 2.0 changes, should work now
Providing two CWM flashable zips. One OC to 1.8366GHz and another with OC Capped at 1.566GHz.
Upped the voltage to 1350mV as per ReedX50v testing results and recommendation (hit his thanks button).
IMPORTANT: ALL CUSTOM GOVERNORS are compiled a Kernel Modules. Please use init script to enable the ones you want. I have done this so as to eliminate any interference from them.
This version has the following Governors: (Please see Post #420)
Code:
/system/lib/modules/cpufreq_adaptive.ko
/system/lib/modules/cpufreq_badass.ko
/system/lib/modules/cpufreq_lagfree.ko
/system/lib/modules/cpufreq_lazy.ko
/system/lib/modules/cpufreq_pegasusq.ko
/system/lib/modules/cpufreq_smartass2.ko
[RD01-2.0] Major version change. REMOVED SOME GOVERNORS, please restore to stock ondemand before flashing (i.e. disable init scripts or apply on boot settings in whatever app you are using).
Updated to upstream Kernel 3.0.38
Bunch of NetFilter kernel modules in /system/lib/modules for the interested users.
I have removed some governors, please reset to default governor "ondemand", before flashing.
cherry-picked key changes from CAF.
GPU OC (NOTE: please use sysfs interface to change the frequency the default is stock values, see post #2)
3D Mode: 320000000, 300000000, 266667000, 228571000, 200000000, 177778000, 27000000
2D Mode: 266667000, 228571000, 200000000, 160000000, 96000000, 27000000
Cherry Picked various bits from Samsung Code released for our device.
CPU OC: 192KHz - 186300KHz.
Cleaned up BLN code.
Added some WiFi fixes.
This is mainly a release based of the major overhaul.
Added more I/O Schedulers: BFQ (v3r4), Simple I/O, VR.
[1.5] Please see the posts for the evolution of this version, the last post should detail the final changes (208) #151 , #161 and #208
[1.4] Scaled down the defaul ondemand governor to 1.566 (slight oc). Should perform really well for people satisfied with the defaults.
[1.4] Added more governors for people to play around with, note, I would like to trim it down in futures versions of cymbaline. The newly added ones are (thanks to whoever developed them):
brazilianwax
ondemandx
lionheart
SavagedZen
wheatley
scary
[1.4] Moved init.qcom.post_boot.sh into the ramdisk, to not depend on ROM variances. You should use the /system/etc/init.d hook (of course busybox must be installed).
[1.3] bugfix: the max. freq. was not enabled in 1.2, fixed in this release.
[1.3] some compiler tweaks added building this version of kernel.
[1.2] Restored settings to Stock Governor & I/O scheduler.(ondemand/cfq)
[1.2] BUGFIX: BLN and TouchKey backlight interactions for the "on" settings were conflicting. restored to UCLD2 behavior.
[1.1] Default Governor is tegraks lulzactive.
[1.1] Default CPU Scaling Max. is 1.566MHz.
[1.1] Available Governors (Most governors tuning via sysfs interface please google)
smartass V2
badass
lazy
intellidemand
lagfree
interactive
lulzactive (default)
[1.1] Using Faux's CPU and Voltage table
[1.1] Faux's GPU Overclock (not tunable from userspace)
[1.1] Max Overclockable Frequency: 1.728MHz
[1.0] BLN support.
[1.0] UTF-8 Support.
[1.0] Kernel symbols enabled (some apps require it)
[1.0] init.d: via busybox run-parts, place your scripts in /system/etc/init.d/ (chown root.shell) (chmod 755)
[1.0] insecure (ro.secure=0)
[1.0] adb root
[1.0] adb default shell bash.
[1.0] All IPV6 options enabled.
[1.0] CIFS is a kernel module (/lib/modules/cifs.ko)
[1.0] bootanimation support, drop your favorite bootanimation.zip in /system/media.
[0.0-0.6] Front Camera fully functional WITHOUT any lib hacks for Skyrocket ICS ROMS. Which means keep dont change the libs.
[0.0-0.6] Back Camera working.
[0.0-0.6] Completely removed MMC_ERASE capability, that means with the running kernel any erase to internal sdcard will error out. This is implemented as per the "brickbug" recommendation.
[0.0-0.6] General code merges and cleanup.
​
DOWNLOADS
Click to expand...
Click to collapse
Always, download the latest one, unless you have a need to be on a older version.
[16-OCT-2012] [RD04][2.8] Please read the changelog above.
CYMBALINE-RD04-2.8-cwm5.zip
[16-SEP-2012] [RD04][2.7] Please read the changelog.
CYMBALINE-RD04-2.7-FINAL-cwm5.zip
[12-AUG-2012] [RD03][2.6] Please read the changelog, this post again and post #2 again.
CYMBALINE-RD03-2.6-cwm5.zip
[09-AUG-2012] [RD01-2.3] Please read the changelog, this post again and post #2 again.
CYMBALINE-RD02-2.3-cwm5.zip
[07-AUG-2012] [RD01-2.2] Please read the Changelog and post #2. Again providing two versions, if the 1.8366GHz causes problem booting (e.g. bootloops) flash the 1.566GHz one..
CYMBALINE-RD02-2.2-cwm5-1.836GHz.zip
CYMBALINE-RD02-2.2-cwm5-1.566GHz.zip
[06-AUG-2012] [RD01-2.1] Two versions available for download. If your phone cannot handle the 1.8366GHz (bootloop) then flash the 1.566GHz version
CYMBALINE-RD01-2.1-cwm5-1.836GHz.zip
CYMBALINE-RD01-2.1-cwm5-1.566GHz.zip
[06-AUG-2012] [RD01-2.0] No Overclock version. That is max. CPU is capped at 1.512GHz, use this if you are having bootloops flashing the overclockable to 1.83GHz version. CYMBALINE-RD01-2.0-NO-OC-cwm5.zip (1.512GHz Max.).
[05-AUG-2012]: [RD01-2.0] CYMBALINE-RD01-2.0-cwm5.zip. Please see the change log. (Overclockable upto 1.836GHz).
[27-JUN-2012]: (3.0.8-1.5) CWM Flashable (TouchWiz based ROMS only). Download
[24-JUN-2012]: (3.0.8-1.4) CWM flashable. ICS ROMS (SAMSUNG TouchWiz based) ONLY. NOTE: THIS WILL REPLACE YOUR /system/lib/modules with a symlink to kernel modules (Please see revert section). (installation, just flash in CWM nothing else). CYMBALINE-1.4-cwm5.zip
REVERTS
Click to expand...
Click to collapse
[STOCK-UCLF6] (Official Samsung/ATT Stock Kernel). CWM5 flashable. kernel-sgh-i727-UCLF6-cwm5.zip
[STOCK-UCLE2]: CWM flashable. ATT SKYROCKET, ICS BUILDS ONLY. Download
KNOWN ISSUES/BUGS
Click to expand...
Click to collapse
None as of now.
ADD ON/APPS
Click to expand...
Click to collapse
​
As far as I know (not tried it), only SystemTuner provides the "lipstick" for reading the voltage table and allowing you granular control of the voltage for each frequency.
Most of the other apps, can I believe allow you to change the CPU/IO scheduler/Govs, safely.
Or, if you are hardcore, please see this post 249 by ReedX50v (hit his thanks button), for graciously providing flashable init scripts, you can use one as a template to what works for you.
SOURCE AND OTHER INFO
Click to expand...
Click to collapse
As per GPL requirements, I will post the source as soon as I have me repo setup. The current version is built straight from SAMSUNG Sources for the Korean SKYROCKET LTE. You can build it yourself from here:
Source Git Hub Repo: https://github.com/mohankr/android_kernel_samsung_msm8x60.git
CREDITS/THANKS
Click to expand...
Click to collapse
Although, there was a lot of effort involved in bringing this kernel, but without the following people doing the heavy lifting, it would not be possible..to bring it so quickly.
Faux123 (for majority of the heavy lifting) (gov, oc, uv and gpu). I just ported it over to our device kernel.
tegrak (lulzactive governors)
creams (bln)
romanbb (bln)
DaG (bln)
ReedX50v for providing flashable scripts.
samsung, for at least releasing the source for a similar device, so i could bring this..
whoever were the original authors for the governors included, that were not part of the source.
Click to expand...
Click to collapse
reserved
1) ROM Developers Info.
If you are planning to bundle this kernel in your ROM. The Samsung init.qcom.post_boot.sh has been disabled and moved to the ramdisk. Your changes should be incorporated in /system/etc/init.d scripts (of course need busybox installed). NOTE: the init scripts always execute after the above script, so you can always override the values there.
2) How do I find the available governors?
Below adb command, will tell you what the available governors in the kernel are (assumes adb/rooted) (shown in 1.4 kernel):
Code:
$ adb shell cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
brazilianwax ondemandx SavagedZen wheatley scary smartassV2 badass lazy intellidemand lagfree lulzactive interactive conservative ondemand userspace powersave Lionheart performance
3) Sysfs interface for GPU OC?
The GPU OC Modes are supported:
Available frequencies:
Code:
3D: 320000000, 300000000, 266667000, 228571000, 200000000, 177778000, 27000000
2D: 266667000, 228571000, 200000000, 160000000, 96000000, 27000000
The default (and the default in CYMBALINE Version 2.0 and above) stock values are:
Code:
3D @266MHz and [email protected]
To change the values use the sysfs interface here are the relevant samples to max it all out. (you can make an init script to make it permanent)
Code:
#!/system/bin/sh
echo "Overclocking GPU"
echo 320000000 > /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/max_gpuclk
echo 266667000 > /sys/devices/platform/kgsl-2d0.0/kgsl/kgsl-2d0/max_gpuclk
echo 266667000 > /sys/devices/platform/kgsl-2d1.1/kgsl/kgsl-2d1/max_gpuclk
echo "End"
exit 0
4) Why does the CPUSpy show reaching max. CPU frequency, even though the bundled values 1.52GHz?
This is caused by SAMMY ROM ramping up the CPU's to the Max. during boot. I am looking for a clean way for this to not happen, once I find the source (I have few things narrowed down)...
This is really exciting! Read about this in your other thread and started to pitch a tent.
Bluetooth is not a deal breaker for me so let me know if you need a tester for camera.
Can test on whatever rom needed. Stock, etc.
Sent from my SAMSUNG-SGH-I727 using xda premium
Can't wait to download this when Bluetooth & camera are fixed.
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Some more great work from you mohan. Have you been looking for any possible bln/overclock patches now that you have the source? I'm happy to help in any way I can.
jomeister15 said:
Some more great work from you mohan. Have you been looking for any possible bln/overclock patches now that you have the source? I'm happy to help in any way I can.
Click to expand...
Click to collapse
Thanks. Yes, those will be the first in the TODO list..Also, people have pointed to other interesting kernel mods (like siyah)..Once the source is up I am hoping it will spur involvement from everyone, that will be great..
BLN support?
raviluke said:
BLN support?
Click to expand...
Click to collapse
Umm, look up one post?
The cm9 and aokp guys are gonna love this.
Sent from my SAMSUNG-SGH-I727 using xda premium
if da_G or faux123 does their magic with the kernel for aokp/cm9 now that teh source is avail that would be lovely .
truly
Those guys are long gone..
Sent from my SAMSUNG-SGH-I727 using xda premium
Well, good thing folks like the OP are still around then...
Thought I was noticing a theme in your rom/kernel names and was going to ask if this (and Embryo) were named for Pink Floyd songs.
But then I thought I'd use Google before asking and I found your post stating that Embryo was in fact named as a dedication to the Pink Floyd song (here: http://forum.xda-developers.com/showpost.php?p=25925976&postcount=287 ).
Would love to see you do something -- anything -- with the song, "Several Species of Small Furry Animals Gathered Together in a Cave and Grooving with a Pict"
ReedX50v said:
Well, good thing folks like the OP are still around then...
Click to expand...
Click to collapse
Agreed
Sent from my SAMSUNG-SGH-I727 using xda premium
mindmajick said:
Those guys are long gone..
Sent from my SAMSUNG-SGH-I727 using xda premium
Click to expand...
Click to collapse
Da_g is gone, he got a g-note i believe? But i'm sure faux will make an ICS kernel once the official i727 kernel source is released.
T989 source is here.
http://opensource.samsung.com/reception/receptionSub.do?method=search&searchValue=SGH-T989
3rd one down.
Sent from my SAMSUNG-SGH-I727 using xda premium
Wow thanks, mohan you rock
mindmajick said:
T989 source is here.
http://opensource.samsung.com/reception/receptionSub.do?method=search&searchValue=SGH-T989
3rd one down.
Sent from my SAMSUNG-SGH-I727 using xda premium
Click to expand...
Click to collapse
Thanks..let's see if they left the the key bluetooth files..i got camera to work w/o preview..
EDIT: cool..the bits are there ..now to compile and boot..
oh crap I forgot about mohan . apologies
Nice. Nice. Nice. Nice. Nice.
Uc/UV here we come
sent from my I727 TROLLING DEVICE using XDA premium.

[DEV] JellyX Kernel 2.6.32.60 // 10.04 [JB]

JellyX Kernel 2.6.32.60 // 10.04
If you want to report something head over here and make a "new Issue".
I followed this community now about one year and i wanted to give something back.
Since we managed it to boot a custom kernel, i started reading into stuff and trying to learn how to make the most out of it.
The result so far is my little kernel, it's mainly based on Quarx's one but has some additional features:
Added more Governors (Smoothass, Brazilianwax, InteractiveX, SavagedZen, Scary, Superbad, Lagfree, MinMax)
Added more I/O-Schedulers (Anticipatory, Deadline, V(R), BFQ v2, ZEN)
zCache Support
Cleancache Support
XZ Kernel Compression
zRam with snappy compression
Undervolted: 300/24, 600/40, 800/46, 1000/54
Optional: Choose between CFS and BFS CPU Scheduler
CFS Autogrouping enabled
Tiny RCU
Updated CRC32, jHash
FSync Control by Ezekeel (Read more about this here!)
Proportional Rate Reduction for TCP
New and shiny Wifi drivers by Quarx
Dynamic page-writeback Control v1 by Blechdose
SLUB memory allocator (instead of SLAB)
Some more little changes
Click to expand...
Click to collapse
Its mainly designed for Quarx's CM10-Rom, however if you tried another rom you can tell me the name and i add it to the compatibility list
You can find the downloads over here. There is one for CFS and one for BFS.
Installation:
Download and put it on your SD
Reboot into Recovery
Make a Backup
Wipe Caches
Recommendation: Wipe Data (optional)
Install my Kernel Flash at your own risk!
Click to expand...
Click to collapse
By the way, if you have useful patches or commits, send them to me, don't be shy Or provide me the source for a specific feature.
Click to expand...
Click to collapse
Something to read:
Governors & Schedulers.
BFS Scheduler
How to - Build your own Kernel (by Kayant)
So far confirmed to be working with:
Quarx Rom 4.1.x (18.11, 28.11, 5.12, 22.12, 31.12, 10.01, 17.02, 24.03, 26.03)
SB 3.0, 3.1
PACMAN 18.0.0
CNA 3.6.6
Click to expand...
Click to collapse
About the 3.0.x Kernel:
My 3.0 kernel shares the same advantages and disadvantages as Quarx one. However i started working on it in a very early stage.
So to keep it short, whats already working:
zCache
CleanCache
UKSM (instead of KSM)
FSync-Control
IO-Schedulers (BFQ, ZEN)
XZ Compression
Latest Linaro
"Ram optimizations"
I am working to get phone working (to help Quarx somehow..), but since many things changed related to this, this will be rather hard than simple... Help appreciated
Click to expand...
Click to collapse
Troubleshooting;
If you encounter any problems, please post full information about your system (governers, overclocked, zRam enabled, cfs or bfs version, etc...) and if the same problem exists with Quarx Kernel or with a earlier kernel.
Furthermore run "dmesg" in terminal and post it or send me a pm
And don't worry if it's not working for you, try to play around with some settings.
All in all, if you want a better kernel, try to be much precisely as possible and what steps you did. It helps lot more, if you say more rather than less.
Thanks:
czechop, Quarx, Epsylon3, Kayant, franciscofranco, Skrilax_CZ, kabaldan, Ezekeel, the CM-Team and everyone else i forgot
Click to expand...
Click to collapse
Changelog:
10.04:
Added dynamic page-writeback control (read here how it works)
Switched to SLUB
Updated interactive governor
Merged with Quarx commits (Wifi should work, you can flash this even on a older ROM version / cpcap-irq wakelock fix / usb wakelock fix)
some small changes
03.04:
Updated modules in order to let the kernel work independent of ROM version
Because of module-update some random bugs got fixed (like cpu spy)
Wifi should be on the same stage as with a .9 Kernel
Read more about this here, should be also work with CM10.1 (not tested)
22.03 && 24.03:
You may find two builds, 22.03 and 24.03 read more about those here!
Updated the lowmemorykiller
Added genlock-support
New Wifi Drivers
Reverted some stuff from 14.03 and updated interactive to be a little bit more battery friendly
14.03:
Added OMAP3 Hardware random number generator
Added frandom module
Added io_is_busy parameter to interactive (read more here)
Added pre-sweep2wake read here more!!!
Enabled dynamic fsync by default
Fixed a problem in wakelocks (by YetAnotherForumUser)
Fixed negative values in /proc/wakelocks (by YetAnotherForumUser)
Fixed display voltage values (back to stock for stability)
Fixed many unused variables
Fixed the blackscreen bug*
Set -O3 Flag
changed many other things for a smoother experience, read it here
*hopefully...
21.01:
Added Proportional Rate Reduction for TCP (Read more)
Added Dynamic FSync (disabled by default)
Added CFS Autogroup (backport from 3.0) (Read more!)
Updated BFQ Scheduler to v2
Updated pmem and ashmem
Updated memblock
Updated ext4 driver
Updated ext3 driver
Updated oom kill
Updated cache handling for our ARM v7
Optimized RCU Tiny
Disabled: AES and SHA1 routines, some slab commits
Code cleanups and optimizations and probably more
Merged with Quarx commits
Here is a nice summary about this update
30.12: Happy New Years-Edition
Added FSync Control by Ezekeel
Added ability to load ext2/ext3 filesystems with ext4-drivers
Added optimized AES and SHA1 routines
Updated CRC32-Lib
Updated vmscan
Updated SLAB
Updated jHash
Updated writeback
Fixed some unstable things
Fixed some kmemleaks
Fixed broken ram_console
Renamed lmb to memblock (for future use)
Tweaked; BFS, CFS and ARM
Merged with Quarx last commits
And some small things i forgot
Read more about this update here!
22.12:
Introduced the Block IO Controller v1
Backported therefore CFQ-Scheulder from 2.6.33
Enabled the AES HW accelerator driver
Improved CleanCache handling
Merged with Quarx (disabled trace, more ram, disabled some drivers, fixed a reboot issue)
12.12:
Added MinMax Governor
Tweaked Brazilianwax, Lagfree, Scary, Superbad (should have better battery life, need feedback..)
Introduced some parts of Googles TCP Fast Open (needs much more...)
Backported & Updated CRC32
Updated jHash to v3
Some AES HW accelerator driver tests
Some other minor things
08.12:
Fixed compatibility with Quarx Rom (05.12)
Merged Quarx commits (enabling trace)
Some optimizations for CFS and Tiny RCU
Some USB OTG tests
Some other minor things
05.12:
Added Lagfree Governor
Added ZEN I/O Scheduler
Improved Tiny RCU
Improved BFS&CFS Scheduler
Backported zlib from 3.0
Backported vzalloc
Fixed reboots with zRam enabled
Notice: There is now one build for the BFS scheduler and one build for the CFS scheduler!
02.12:
Updated BFS to v318
Tweaked BFS
Tweaked lowmemorykiller
30.11:
Applied many patches for BFS (hopefully better performance now...)
Changed the voltages a bit
Introduced Tiny RCU
Some other minor tweaks
29.11:
Added BFS Scheduler (experimental)
More undervolting for display and camera
Changed VM_MAX_READAHEAD
Some more patches and fixes
Great work! will test asap!
great work. i'll test soon.
Thanks Blechd0se! You can create a custom kernel for cm9.1? Epsylon Kernel is good but the battery life is very low!
27-11 kernel working fine in SlimBean 3.0 from Kayant.
I repeat my thanks to you men. Working great on slim beam with scary governor. I'll test a little more, but it seems to have a very good life of battery. May be no recommended for games, because it work to lows frequencys almost all the time, but it scale so fast when CPU is needed. The others features enabled, are used by default or there's a way to enable them. Thanks so much...
The thanks button doesn't bite. Try it!
If there's something that I've never thought of seeing here on Defy Dev Forum, it was an thread about an custom kernel for it.
Keep up the good work, and if you need an guinea pig for testing, you can count on me! :good:
Great developers from Germany, Maniac and You..
Thanks for sharing
Arch Linux User ..
Guys! Morning to everybody!
Is it enough to install through cwm or have to install again the nightly and gapps?
Thx
defy green powered by jb
simple question ahead...
custom or costum?
Just one correction
Custom is spelled Custom and not Constum
I'll be trying it soon...
I don't want a tapatalk sig!
---------- Post added at 11:44 AM ---------- Previous post was at 11:44 AM ----------
hunyadia said:
Guys! Morning to everybody!
Is it enough to install through cwm or have to install again the nightly and gapps?
Thx
defy green powered by jb
Click to expand...
Click to collapse
No just the kernel
I don't want a tapatalk sig!
Blechd0se
Please help to wajk wiui jb rom support this kernel and janeindiran JIUI JB rom also
Then enable the swap and otg function
You Are rocking Man .
Could this kernel used in cm7
Sent from my MB525 using xda app-developers app
cfanmaoli said:
Could this kernel used in cm7
Sent from my MB525 using xda app-developers app
Click to expand...
Click to collapse
Nope
I don't want a tapatalk sig!
@Blechd0se
You should include info if your kernel format E to EXT4 and which kernel does it.
Less experienced users might be warned about E: can't mount problems. Which sometimes* are not fixed by CWM - Tools - Format.
* when you have CMW ver. 5.0.6 for example.
The kernel doesn't format anything The zip does mainly contain the kernel.
OTG is maybe something interesting...
Blechd0se said:
The kernel doesn't format anything The zip does mainly contain the kernel.
OTG is maybe something interesting...
Click to expand...
Click to collapse
for OTG look here http://forum.xda-developers.com/showthread.php?t=960633 some related info
Good work !!
Sent from my Nexus 4.
Great! Touch wake would be amazing too, or is it working already?!
Sent from my GT-I9000 using xda app-developers app

[KERNEL][KK4.4][3.0.101] UBER KERNEL BETA2 | 1.78 GHz OC

Hey Everyone,
I'm by no means a pro at kernel building but I've put lots of effort into these kernels so I thought I'd share them with you. For the record, I use TWRP 2.6.1.0 for installation so if you encounter errors of installation it may be because you are using a different recovery than me.
If you flash one of these Kernels your warranty is void and I AM NOT RESPONSIBLE for any data loss or bricked devices etc. Please make sure to read the changelogs I post in post number 2 below. before you flash!
A Clean install is ALWAYS recommended. That does not necessarily mean you can't install these kernels on you current build it just means that you might have problems if you do.
[AOSP 4.4.2 UBER KERNEL LINK]
UBER BETA2 for SKYROCKET AOSP 4.4.2 ROMS
Installation Instructions
1. For best results a install these kernel after a fresh ROM install
2. Reboot into recovery
3. Flash Kernel Zip
4. Reboot and let settle for ~10 minutes before use.
5. Install Trickster MOD from the App Store for access to all of the options.
6. Change the settings to something other than INTERACTIVE (Especially if you run it with BFQ worst screen lag ever). Then enable "Set at Boot" or else you will lose your configurations.
7. Enjoy!!!
You can also install Hercules ROMs as long as you flash this kernel and fix the install script. Feel free to try any of my ROMs on my Goo.im account. If you take the time to fix up the build.prop and install script so that it is a legitimate port feel free to drop the boot.img and modules out of this kernel into the port and post it. You'll probably need to remove system/bin/mpdecision and system/bin/thermald because they conflict with the kernel.
​
SPECIAL THANKS TO
Samsung - for the source code to build the Tiberius Kernel (and for making the phone)
CarvsDriver - Authoring a number of commits that you'll find in this kernel.
Ayysir - for his wonderful tutorial on making a bash script to build kernels and for helping me out all of the time with everything!
Elbermu - For Bringing Thermal and Sweep2Wake to this device and for the help!
KERNEL SOURCES
My kernel Repositories can be found at https://github.com/Cl3Kener/HERC-KERNELS and are properly labeled for your convenience (see the branches)
Informational Links
Develop NOW! - A Guide for Beginning Developers!
Here is a fantastic guide on "Innards" of Kernels
Optimizing Linaro Keychains
Building a Bash Script to make Kernels
​​
XDA:DevDB Information
[KERNEL][KK4.4][3.0.101] UBER KERNEL BETA2 | 1.78 GHz OC, a Kernel for the AT&T Samsung Galaxy S II Skyrocket SGH-I727
Contributors
Cl3Kener
Kernel Special Features:
Version Information
Status: Beta
Created 2013-09-30
Last Updated 2014-01-30
UBER SKYROCKET BETA2 KERNEL​
Changelog UBER SKYROCKET BETA (AOSP 4.4.2 ONLY)
- ONLY FOR ANDROID 4.4!!!
- Kernel Version 3.0.101 - LINARO 4.7.4
- More TCP Congestion options than stock default is veno.
- USB fastcharge
- Fsync toggle - disable for better performance but beware that if your phone crashes you will lose data.
- Overclocked CPU 1782/ GPU 3D = 320 2D = 266
- IO Schedulers - cfq, bfq, row, noop, deadline, sio, vr, and zen
- CPU Governors - intellidemand, interactivex, lazy, wheatley, smartass, badass, lionheart, minmax, fantasy, savagedzen, scary, HYPER, and samsung.
- Frandom Lag Reducer
- Smaller sized kernel due to xz compression.
- CPU link - elbermu
- Sweep2wake - thanks dennis rassmann (@show-p1984) for his awesome code and elbermu for modifying it to fit this device!
- Thermal - thanks once again to dennis rassmann (@show-p1984) for his awesome code and elbermu for modifying it to fit this device!
- IO Booster
- CPU Power - Vincent Guittot
- Frontswap Support
- KGSL GPU Control - carvsdriver
- Voltage Control - carvsdriver
- Ability to mount mass storage as CD ROM - FrozenCow​
Terminal commands to enable/change a kernel features if you are don't like kernel tuning apps
Fsync
To enable - echo 1 > /sys/module/sync/parameters/fsync_enabled
To disable - echo 0 > /sys/module/sync/parameters/fsync_enabled
USB Fast Charge
To enable - echo 1 > /sys/kernel/fast_charge/force_fast_charge
To disable - echo 0 > /sys/kernel/fast_charge/force_fast_charge
Set Thermal Values
Go to /sys/kernel/msm_thermal/conf/ in a root file browser and change the values
Set MPDecision Values
Go to /sys/kernel/msm_mpdecision/conf/ in root file browser and change the values
Disable CPU Link
echo 0 > /sys/kernel/cpu_gov_sync/force_cpu_gov_sync​
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Recommended CPU Govs by Category
For Performance
Performance Governor - Full OC
Lionheart - Full OC
HYPER - Full OC
For good battery life with decent performance use
Intellidemand
Interactivex
Ondemand
Ondemandx
Samsung
Lazy
Moderately Conservative
Badass
Conservative
Wheatley (debatable could be in the above category)
Very Conservative
Powersave
SavageZen
not sufficient info? checkout out this op​
The Skyrocket is looking forward to this - and Thank You :thumbup:
Sent from my SGH-I317 using Tapatalk 4
Nice work! Thanks Will flash shortly.
No issues so far, running InteractiveX/CFQ 1.62GHz with Carbon ROM. Thanks!
JimmyD_92 said:
No issues so far, running InteractiveX/CFQ 1.62GHz with Carbon ROM. Thanks!
Click to expand...
Click to collapse
what does your kernel version say
edit: mine says 3.0.93 plus it didn't fix my rotation issues with a t989 rom
bzzybfrm313 said:
what does your kernel version say
edit: Mine says 3.0.93 plus it didn't fix my rotation issues with a t989 rom
Click to expand...
Click to collapse
3.0.93-uber-beta
Now I gotta search for rotation fix for skyrocket.
SGH-I727 Peace
Rotation is off for me also. I normally keep it locked, so I didn't catch that.
So far so good on my end, rotation is backwards but I keep my auto-rotate off so this isn't a problem for me. Though I wonder if flashing the T989 fix would work?
Running 192/1512 with Badass/noop
Hey Skyrocketeers!
I think I've figured out how to fix the rotation. I just uploaded Beta 2 with my attempt to fix the rotation. Let me know if that work for you ASAP! I hope that I can actually get out of Betas here shortly so more souls will be actually dare use this kernel!
Cheers!
Cl3Kener
PS If this does in fact fix rotation on even Hercules ROMs feel free to checkout out here (http://goo.im/devs/Cl3Kener/WICKED-4.3) for all sorts of exotic ROMs you might consider flashing
Tried dirty flashing beta 2 over beta 1 and never got to the boot animation. Dirty flash beta 1 afterward didn't boot either. Reflashed ROM and beta 2 and still no boot. Unfortunately I won't be able to test anymore tonight, but I'm sure you'll get more volunteers. Thanks!
@Cl3Kener. Thank you for supporting skyrocket. I have been porting black liquid from t989 for months and it runs awesome. Downloading uber kernel now. Very eager to try.
Edit: tried beta 1 and 2, both do not boot on my port of black liquid 09-23-13 and wantowan2s newest beanstock build.
Giving Beta 2 a flash now, will update on rotation status
---------- Post added at 04:10 AM ---------- Previous post was at 04:05 AM ----------
So same results here, beta 2 will not boot. Flashing back to beta 1 doesn't boot either. Going to try a clean flash with beta 2 now
---------- Post added at 04:23 AM ---------- Previous post was at 04:10 AM ----------
After a clean flash of PAC 9/28 nightly and the Beta 2 kernel, still no boot. Back to beta 1 for now
I guess this was more challenging than I would have thought! :/
So I just updated Beta 3. I think this time I've got it right finally! Try it and see!
Thanks for being patient with me!
Cl3Kener
Thunder22 said:
@Cl3Kener. Thank you for supporting skyrocket. I have been porting black liquid from t989 for months and it runs awesome. Downloading uber kernel now. Very eager to try.
Edit: tried beta 1 and 2, both do not boot on my port of black liquid 09-23-13 and wantowan2s newest beanstock build.
Click to expand...
Click to collapse
Any chance of making your port public?
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Beta 3 booted on carbon. Rotation fixed.
SGH-I727 Peace
---------- Post added at 09:15 AM ---------- Previous post was at 09:12 AM ----------
Thunder22 said:
@Cl3Kener. Thank you for supporting skyrocket. I have been porting black liquid from t989 for months and it runs awesome. Downloading uber kernel now. Very eager to try.
Edit: tried beta 1 and 2, both do not boot on my port of black liquid 09-23-13 and wantowan2s newest beanstock build.
Click to expand...
Click to collapse
I think beanstalk is cm based not aosp.
SGH-I727 Peace
berniesteven said:
Beta 3 booted on carbon. Rotation fixed.
SGH-I727 Peace
---------- Post added at 09:15 AM ---------- Previous post was at 09:12 AM ----------
I think beanstalk is cm based not aosp.
SGH-I727 Peace
Click to expand...
Click to collapse
Everything except for TW etc, is AOSP based - Parts of CM 's device tree may be used - but it's still AOSP ultimately.
Sent from my SGH-I317 using Tapatalk 4
Beta 3 working properly for me as well. Thanks!

[KERNEL][AOSP]Torched Kernel LP B2.5[01/01/2015] F2FS

Introducing Torched Kernel for Evita!!​
First I must give some thanks to all the great developers that paved the way for this, for I would have nothing if it wasn't for these guys. Most of this work is a collection of various pathes from many devs, adapted into our CM kernel. So, if you have the chance to speak with any of these guys, make sure you spread some appreciation around. The list includes but is not limited to:
Intervigil, H8rift, kushdeck, mdmower, flemmard, codeworxs, Faux123, Flar2, zarboz, showp1984, tbalden.
Also I'd like to add my fellow custom kernel devs rmbq (ville) and NineInchNails (evo 4G) whom i've had the oppertunity to bounce ideas off of and share some work.
Kernel for AOSP roms only!!
Based on CM's current 3.4 kernel
Compiled with Christopher83's custom tweaked GCC 4.9.3 linaro toolchain
This should work on all 5.0 AOSP roms for EVITA
FEATURES:
Interactive/ROW by default
1.7ghz OC available (1.5ghz is stock/default setting) - REMOVED IN noOC/noVC VERSION
3 stage 2D/3D GPU OC avaialable (200/400 stock/default setting, 320/512 max) - REMOVED IN noOC/noVC VERSION
Voltage Control -as implemented by Faux123 - REMOVED IN noOC/noVC VERSION
QCOM Vmin Bypass (allows CPU to follow stock voltages tables rather than qcom enforced minimum voltage for errata cases - REMOVED IN noOC/noVC VERSION
3 stagekernel based thermal control from Showp1984
S2W/DT2W/POCKET DETECTION from flar2 (off by default)
BLN (button light notification) from tbalden, blinks hardkey backlight when there are pending notifications (off by default)
Dynamic Fsync from Faux 123
Additional Gov/Sched options
USB FAST CHARGE
Faux sound control patches from Faux123
Advanced TCP Congestion Control Choices
Bunches of minor optimizations from all over github. My source is always current with my releases and possibly any new work, feel free to check in on it anytime for the full list of tweaks and thier sources.
JB CHANGELOGS
Code:
[B]Initial build[/B]
Keeping it simple for the first build, more to come
-USB fast charge (off by default,turn on w/ trickster/KT)
-Added governors ( Intellidemand, smartmax)
-Added schedulers (BFQ, fiops, SIO)
-reverted recent linux .61/.62 updates as they may be root cause of frequent bootloops (TESTING THEORY HERE)
-dynaimc fsync, advanced SHA1/AES algorithms from faux123
-better cpu freq control (will help with OC later)
-all the linaro build flags and -O2 flags
[B] B2 [/B]
- BLN is working now (off by default)
-enable with trickster/kernel tuner
-IMPORTANT NOTE: This will break variable button brightness control recently added in CM and maybe other roms as well...sorry can't have both.
-I will post a flashable revert zip for the required file permmisions change if there is a demand for it.
-Also made a few mods to boost freqs on smartmax gov.
[B] B3 [/B]
TWO VERSIONS - OC/VC and NO OC/VC
-GPU OC 266 2d / 480 3d enabled by default on both
-Kernel updated to fix display issues
-OC/VC version allows OC to 1.7, 15 at boot and remains there by default use KT or Trickster to enable
-OC/VC remove vmin errate cases that force a higher minimu voltage at low freq. Allows CPU to follow our designed coltage tables
If this causes issues on your device try raising voltage or switching to the NO OC/VC version.
[B]B4[/B]
ONE VERSION ONLY
ALL OPTION OFF/STOCK BY DEFAULT
- Faux sound control credit to Faux123
- 3 stage thermal control by showp1984
Allows users controlled controlled limits for thermal throttling
- S2W /DT2W fix from rmbq/thicklizard.
- S2W/DT2W as implemented by flar2 with pocket detection.
- GPU OC steps added and set to stock speeds by default
Again all boots up like stock... If you want the options turn them on. Most kernel apps include options to set profiles at boot :)
[B]B5[/B]
-O3 optimizations
Added optional lower min frequency (168 mhz)
All Cm updates
[B]B6[/B]
-started over from B4 base
-Dropped lower min freq from B5
-updates to smartmax freqs
-Enabled XZ compression
-Enabled Zram
-Cleaned up linaro flags and cpu freq tables
[B]B6.1[/B] && [B]B6.1.VMIN[/B]
-updates for faux sound 3.0
-VMIN version leave vmin check active, but still allows user controllable voltages
SEE VOLTAGE INFO BELOW
[B]B7 && B7-noOC-noVC[/B]
[B]FINAL VERSIONS for 4.3[/B]
-Updated with all recent CM updates including the CPUfix we are all so excited for( HUGE THANKS to Intervigil )
-bump to linux version 3.4.72
KK CHANGELOGS
Code:
[B]KK-BUILD#1[/B]
-Back to basics, starting from a clean slate again
-CPU OC, GPU OC && Voltage Control
-GCC 4.8 with CFX linaro based tool chain [URL="https://github.com/codefireXperiment/prebuilts_gcc_linux-x86_arm_arm-eabi-4.8"]here[/URL]
-optimization level -O2
-VMIN enabled for now
[B]KK-BUILD#2[/B]
-update to linux v3.4.70
-3 stage thermal control
-S2W w/ user selectable swipe buttons (use kernel tuner)
-BLN
-Faux sound control 3.0
-Vmin disabled, voltages follow qcom voltage tables
[B]KK-Build#2.1[/B]
-rework of S2W to fix initialization issues
-DT2W and pocket detection are back now as well (thanks flar2)
[B]UPDATED WITH "SAFE" VERSION [/B]
-Safe version disables all voltage/clock mods
-Operates at stock clocks and voltages w/vmin check enabled
-all other features carry over from normal build
-DO NOT FLASH VOLTAGE SCRIPT WITH THIS VERSION, IF YOU HAVE PREVIOUSLY FLASHED IT NAVIGATE TO /ETC/INIT.D/ WITH A ROOT EXPLORER AND DELETE THE OLD SCRIPT (74havsvoltage)
[B]KK-Build#2.2[/B]
-Minor update to catch up with CM
-updated to 3.4.72
-Cpufix is now integrated
- noOC/noVC version available
[B]KK-Build#3[/B]
-Most remaining features are back now
-Add governors(smartmax & Intellidemand)
-Add schedulars(BFQ,fiops,sio)
-Updates for Faux Sound (needs testing, still seems alittle off)
-USB FAST CHARGE
-optimized AES and SHA1 routines (faux123 && flar2)
-optimized string and memcopy routines from faux123
-dynamic fsync from faux123
-noOC/noVC version available as well
## All builds prior to Build 3.2 will lose WiFi on CM nightlies after 1/5/14
Use build 3.2 or newer for anything after 1/5/14 ##
[B]KK-Build#3.2[/B]
-Catch up to CM
-Wifi module now built inside kernel, makes for smaller package
[B]KK-Build#3.5[/B]
-Catch up to CM
-Bump max OC to 1.9
-remove a few commits that seem to be root cause of previous SOD issues
[B]KK-Build#3.6[/B]
-Catch up to CM
-Reduce max OC back to 1.7, 1.9 thermals out way to fast to be useful
-complete patches for 3-stage thermal that i missed on original import
-update BFQ to latest v7.2
-fix s2w/BLN broken by new touchscreen/led drivers brought in by CM for M7 import
[B]KK-Build#3.7[/B]
-Catch up to CM
[B]KK-Build#4.0[/B]
-Catch up to CM
-TCP congestion control options
-3.4.86 updates
-build with Christopher83's custom Cortex-A15 tweaked linaro 4.8.3 toolchains
[B]KK-Build#4.1[/B]
- update to support new fstab formats
- should be backwards compatable so this is the only version supported at this point
[B]KK-Build#4.2[/B]
- minor CM updates
- moved to 4.9.1 optimized linaro toolchains]
[B]KK-Build#4.3[/B]
- headset fixes from CM
[B]KK-Build#4.5[/B]
-Catch up with CM
-ADD F2FS support!
[B]KK-Build#4.6[/B]
- Add inline_data flag for F2FS performance
- fix minor derp with versioning
[B]KK-Build#4.7[/B]
- Playing catch up with CM kernel base
[B]KK-Build 4.8[/B]
- Catch up with CM, major update for wifi drivers hit on 8/19. All nightlies after will need this build to
allow wifi to turn on.
[B] KK-Build 5[/B]
-playing catch up with CM
- added partition comments to installer, shows what type of partitions it found.
[B] KK-Build 5 FINAL[/B]
-playing catch up with CM for the last time
[B] KK-Build 6 FINAL[/B]
-catch up w/cm
-zram from LP
-wiimote support from LP
-lowclocks from LP torched
-f2fs from 3.20 mainline Linux
-faux123’s async I/o back ports from mainline
LP CHANGELOGS
Code:
[B] LP BUILD #1 [/B]
- initial LP release
[B] LP BUILD #1.1 [/B]
- update fstab in f2fs checker to match current LP version. This was breaking radio.
[B] LP Build #1.3 [/B]
- remove dated LMK/zram tweaks
- add Low CPU clocks
- exFat support
- pile of async IO tweaks from Faux123
- wiimote support for gaming controller (useless until http://review.cyanogenmod.org/#/c/89843/ gets merged)
[B] LP Build #1.4 [/B]
- return of ZRAM, fully functional this time (this will likely cause issues with the popular swap mod as zram is effectively compressed swap in RAM)
- updated F2FS source to current 3.20 mainline linux kernel source. (Smooth like butter)
[B] LP Build #2.0 [/B]
- zram/f2fs merged into cm base, rebased accordingly
- updated for 5.1
[B] LP Build #2.5 ]/B]
- updated from CM mainline
- added display commits for ambient display compatability
My source : https://github.com/jrior001/Torched_kernel
Toolchain Source : https://github.com/Christopher83/linaro_toolchains_2014
Planned additions
- who knows what else...
Installer uses AnyKernel install method, will only work on s-off.
OLD DOWNLOADS:
JB BUILDS
Torched.B1.zip - 20.32 MB
Torched.B2.zip - 20.32 MB
Torched.B3.zip - 20.15 MB or Torched.B3-noOC-noVC.zip - 20.15 MB
Torched.B4.zip - 20.15 MB
Torched.B5.zip - PULLED NOT happy with this one
Torched.B6.zip
Torched.B6.1 or Torched.B6.1.VMIN
Torched-JB.B7 or Torched-JB.B7-noOC-noVC
KK BUILDS
Torched-KK Build #1
Torched-KK Build #2
Torched-KK Build #2.1 or Torched-KK.Build2.1-novc-nooc
Torched-KK Build #2.2 or Torched-KK.Build2.2-noOC-noVC
Torched-KK Build #3 or Torched-KK.Build3-noOC-noVC
Torched-KK Build #3.2 or Torched-KK.Build3.2-noOC-noVC
Torched-KK Build #3.5 or Torched-KK.Build3.5-noOC-noVC
Torched-KK Build #3.6 or Torched-KK.Build3.6-noOC-noVC
Torched-KK Build #3.7 or Torched-KK.Build3.7-noOC-noVC
Torched-KK Build #4.0 or Torched-KK.Build4.0-noOC-noVC
Torched-KK Build #4.1 or Torched-KK.Build4.1-noOC-noVC
Torched-KK Build #4.2 or Torched-KK.Build4.2-noOC-noVC
Torched-KK Build #4.3 or Torched-KK.Build4.3-noOC-noVC
Torched-KK Build #4.5 or Torched-KK.Build4.5-noOC-noVC
Torched-KK Build #4.6 or Torched-KK.Build4.6-noOC-noVC
STARTING WITH B4.7
ALL DOWNLOADS WILL NOW BE HOSTED ON CODEFIRE SERVERS HERE
http://downloads.codefi.re/jrior001/Torched-kernel
NEW DOWNLOAD LINK
Finally got around to setting up a site for myself all my current and some old work can now be found @
www.theflamingskull.com/evita.html
Voltage bump init script
Disclaimer : While this has been thoroughly tested, I cannot guarantee your device will not melt, explode or scare away kittens and babies. You know the risks involved , if you don't you shouldn't be here.
VOLTAGE INFO
*WARNING: messing with voltages can cause serious instability, luckily a clean flash will erase whatever you screw up*
Qcom knew our chips were shaddy and introduce a "vmin" check based on the chip Id's. If your chip is flagged, which most of ours are, it forces a minimum voltage on all freq of 1150mv instead of whatever the voltage table calls for. Since I introduced voltage control I've been disabling this check, this is why people have been getting such good battery life. Unfortunately this has caused instability or SOD on some users devices. The easy solution here is to use the VMIN version, (and give up 4hr screen time battery life) which leaves this check in place.
If your device can handle it use the normal version. Or if you like to tinker, try the normal version, if you have SOD issues raise the voltages slightly on the lower 5-6 frequencies until your device becomes more stable.
HOW TO FIND YOUR STOCK VOLTAGE TABLE:
usign a root file explorer, navigate to /proc/last_kmsg and copy the file to your sdcard. Many file readers will not oopen this file from the root directory. Open the file and search for " ACPU PVS", it should be around line 220 or so.
ACPU PVS : 0 = SLOW
ACPU PVS : 1 = NOM
ACPU PVS : 3 = FAST
Code:
STOCK VOLTAGE TABLES FOR REFERENCE
acpu_freq_tbl_slow[]acpu_freq_tbl_nom[]acpu_freq_tbl_fast[]
384000950000384000900000384000850000
486000975000486000925000486000875000
5940001000000594000950000594000900000
7020001025000702000975000702000925000
81000010750008100001025000810000975000
918000110000091800010500009180001000000
102600011250001026000107500010260001025000
113400011750001134000112500011340001075000
124200012000001242000115000012420001100000
135000012250001350000117500013500001125000
145800012375001458000118750014580001137500
151200012500001512000120000015120001150000
OC FREQUENCIESOC FREQUENCIESOC FREQUENCIES
167400012500001674000125000016740001250000
172800012750001728000127500017280001275000
Nice work man, I applaud the amount of work you're putting into our device to keep it relevant :thumbup:
PS. Your OP is lame, like, totally jk
Sent from my Evita
So far so good! I can finally run an AOSP 4.3 ROM and have it boot on the first try! Great work. Hope to see more from you
timmaaa said:
Nice work man, I applaud the amount of work you're putting into our device to keep it relevant :thumbup:
PS. Your OP is lame, like, totally jk
Sent from my Evita
Click to expand...
Click to collapse
hey man! Do you sleep sometimes ? :sly:
Z1cK said:
hey man! Do you sleep sometimes ? :sly:
Click to expand...
Click to collapse
Lol, yeah sometimes. I am on the other side of the world though.
Sent from my Evita
timmaaa said:
PS. Your OP is lame, like, totally jk
Sent from my Evita
Click to expand...
Click to collapse
I do 95% of my xda from the phone, all those pretty colors and graphics don't show up in the mobile app anyways
Sent from my One Xl using Tapatalk 2
Giving it a go on cm10.2 10/09 build with intellidemand, didn't change anything else.
Looking forward to seeing where it goes.
jrior001 said:
I do 95% of my xda from the phone, all those pretty colors and graphics don't show up in the mobile app anyways
Sent from my One Xl using Tapatalk 2
Click to expand...
Click to collapse
I'll take function over a purdy OP any day :thumbup:
Sent from my Evita
Tried to install this. Install aborted after doing a fair few things with status code 1. Reboot device just has CM left at the CM logo circling.
Now my CWM does not function even after reflashing it with fastboot. On booting into recovery it immediately reboots the device back to the white HTC logo then onto CM logo.
Installed TWRP 2.6.3.0 and that does the same boot loop.
Cant boot ROM, cant boot recovery. Fun fun
Not sure what has gone wrong but I would not suggest flashing this kernel without having full access to adb and fastboot. And dont do it at 1am when about to sleep
Edit:
fasboot erase cache seems to have gotten recoveries back on track.
twistedddx said:
Tried to install this. Install aborted after doing a fair few things with status code 1. Reboot device just has CM left at the CM logo circling.
Now my CWM does not function even after reflashing it with fastboot. On booting into recovery it immediately reboots the device back to the white HTC logo then onto CM logo.
Installed TWRP 2.6.3.0 and that does the same boot loop.
Cant boot ROM, cant boot recovery. Fun fun
Not sure what has gone wrong but I would not suggest flashing this kernel without having full access to adb and fastboot. And dont do it at 1am when about to sleep
Edit:
fasboot erase cache seems to have gotten recoveries back on track.
Click to expand...
Click to collapse
What CM version/build date and what recovery version were you running ? I'd like to try to reproduce. I tested on my cfx ROM and the 10/8 CM nightly, with no issues.
Sent from my One Xl using Tapatalk 2
jrior001 said:
What CM version/build date and what recovery version were you running ? I'd like to try to reproduce. I tested on my cfx ROM and the 10/8 CM nightly, with no issues.
Sent from my One Xl using Tapatalk 2
Click to expand...
Click to collapse
I had been on the 10/6 nightly. Downloaded the 10/09 nightly, this kernel, booted into twrp and flashed both. Worked perfectly.
It booted fine here, over carbon and slimbean no issue at all. Twrp 2.6.3.
Good job dev !!! First aosp 4.3 custom kernel. You're the man !! :thumbup::beer::thumbup:
Works fine on my end
Sent from my One Xl using Tapatalk 4
You just made my day
I'm on the 10/6 CM 10.2 nightly, just flashed this after another reboot session from the stock CM kernel. So far so good. I'll update tomorrow with any relevant info. Thanks jrior001
I was on cm 10/04, cwm 6.0.3.1 (non touch).
When I get a sec I will check the download. The zip looks healthy but maybe its corrupt. Everyone else seems to be going fine so might just be something localized to me.
twistedddx said:
I was on cm 10/04, cwm 6.0.3.1 (non touch).
When I get a sec I will check the download. The zip looks healthy but maybe its corrupt. Everyone else seems to be going fine so might just be something localized to me.
Click to expand...
Click to collapse
Ill try to test that combo later tonight if I can. I didn't test with cwm at all though, just the twrp 2.6.3.
Sent from my One Xl using Tapatalk 2
Like seriously, This as been here for a while now n I didn't notice....
Good job @jrior001
Sent from my One X using XDA Premium 4 mobile app
Scozzar said:
Which governor is better for battery, but doesn't sacrifice a whole lot of performance. Intellidemand or Smartmax?
Sent from my One Xl using xda app-developers app
Click to expand...
Click to collapse
I've always had good success with intellidemand and ondemand.
Sent from my Evita

[DISCONTINUED][6.x][KERNEL][AOSP/CM][UBER 5.3] Optimus Kernel R55 [-O3][DT2W]

Optimus Kernel​
I present to you my own kernel which has been built with many optimizations and tweaks. This kernel will work on marshmallow roms only.The main aim is to provide a stable kernel with optimizations.
I hope you all will like it
A new simple version (lollipop version) is available at post #2. Do check it out!
Note: R47 or later will work perfectly only on MarshMallow. Lollipop support was ended with R46.
Custom Features:
- Updated to latest cm-13.0 Sources
- Compiled With Custom UBER 5.3.1 Toolchain
- Compiled With -O3 & Graphite Flags
- Additional many optimization flags
- Compiled With Cortex A7 Tweaks
- ARM v7 Optimizations
- MSM_hotplug driver flavored by neobuddy
- DoubleTap2Wake/Sweep2Wake
- GPU underclock/overclock(Min:100 MHz & Max:533 MHz)
- Add dev/frandom
- Added Support for Kernel Neon Mode
- Enabled Pipe Flag
- Adreno Idler Algorithm
- Add State notifier driver
- Add Impulse governor(default)
- Add BioShock/DanceDance Govs
- Added SmartMax/LionHeart Govs
- LCD Kcal Control by Savoca
- Faux's Sound Control
- Optimized ARM RWSEM Algorithm
- Optimized Square Root Algorithm
- LMK tweaks
- block: disable add_random
- Enable unaligned capability for ARM
- CpuFreq Optimizations
- Backported hotplug thread infrastructure
- Disabled Gentle Fair Sleepers
- Enabled Many TCP Congestions
- Added SIO,VR & ZEN IO Scheduler
- Sched & Mutex Tweaks
- Pushed Read Ahead value to 512
- Use your android device as USB Keyboard/Mouse
- Enabled FSync by default
- Optimized Slub
- VFP HardFloat
- Power Efficient WorkQueues
- Kexec patched (Multirom Compatible)
- Many more things (Check Github)
Disclaimer:
Your warranty is now void.
I am not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed. Please
do some research if you have any concerns about features included in this KERNEL
before flashing it! YOU are choosing to make these modifications, and if
you point the finger at me for messing up your device, I will laugh at you.​
Pls Read This before flashing:
You need ROM's default kernel before flashing this as this kernel makes use of AnyKernel 2 by @osm0sis. Make sure you have it otherwise clean flash the kernel with the rom to avoid any issues.(At least dirty flash rom+kernel) Credits to @attack11 for some part of install script.Read FAQ's and changelogs in 2nd post. THIS KERNEL COMES FINE TUNED OUT OF THE BOX.
DOWNLOADS:
AndroidFileHost
OptimusR46NEW(Final LP version)
Mirror: (Current as well as older versions available)
Mediafire
How to Flash:
1. Download the kernel and place it into your phone storage
2. Reboot into recovery
3. Install the kernel
4. (optional) Wipe Dalvik/ART Cache and Cache partitions
5. Reboot and enjoy!​
PLS DON'T MIRROR THE LINKS
Recommended app:
Synapse or Kernel Adiutor
Flash UKM.zip from the below link: (credits to @apb_axel)
http://forum.xda-developers.com/android/software/zip-synapse-script-universal-kernel-t2736986
And then install synapse from play store.
I would like to say thanks to @faux123 @YoshiShaPow @fermasia @Alberto97 @TeamMex @Quasar @Mazda @FabioSan @Blechdose @neobuddy89 @RenderBroken @savoca @deadman96385 @pinkflozd @alin.p @Cl3Kener @Shivam Kuchhal and CYANOGENMOD TEAM
and MANY MORE...
XDA:DevDB Information
Optimus Kernel, Kernel for the Moto G
Contributors
Flashhhh, Thecrazyskull
Source Code: https://github.com/desaishivam26/Optimus_Reborn
Version Information
Status: Stable
Current Stable Version: R38
Stable Release Date: 2015-05-21
Created 2015-04-24
Last Updated 2015-07-14
OptimuSimple is the version that i have been using quite often now. It's not bloated with many features and works surprisingly well compared to original version. Some of it's features:
- Updated to v3.4.109
- Compiled with Linaro 4.9 Cortex A7 optimized toolchain
- Intelliplug 4.0 by faux
- Faux Sound Control
- Kcal Control by savoca
- Simple GPU Algorithm
Optimizations and governors are same as original version. It doesn't contain dt2w. So if u want dt2w flash original version from 1st post!
Download:
https://www.androidfilehost.com/?fid=24052804347833430
Looking for changelogs??
Here they are!!!
F.A.Q. - Read this before complaining!
1. My phone exploded, HELP!
A: I don't answer to problems without a log. The log file is in /proc/last_kmsg. Paste it on pastie.org and link it on your post. Logcats are useless for Kernel purposes, don't bother posting them.
2. This kernel works on Y or X rom?
A: Works on all CM12/12.1 and AOSP roms. Not for stock roms!!
3. OMG BATTERY SUCKZ, ITZ DEAD IN 45 MINUTES, HELP!
A: As you can imagine I don't build kernels to decrease battery life. All the battery life problems come from your apps, either Facebook, or Maps, or some Location Service being enabled etc etc. Check your damn wakelocks and fix them, the kernel is not responsible for them.
4. How do I flash this?
A: Read the OP, theres a reason why I added instructions on it.
5. What is a data loss? Did I just had one?
A: Data loss is simply having the connection cut for X periods of time, usually few seconds. Grey bars means the device is not connected to Google services for some weird reason, but you'll still have internet connection.
6. OP is arrogant, I'm gonna call the Internet Police?
A: Deal with it.
Many thanks to showp1984 for this info
What is msm_mpdecision?
100% kernel based multi core decision! (should cpu1/2/3 be online or not?)
This is a special version modded by neobuddy Plus the idle frequency and some load thresholds have been adjusted by me.
Some Configuration:
startdelay = time until mpdecision starts doing it's magic (20000)
delay = time between checks (130)
pause = if something else plugs in the cpu, fall asleep for 10000ms (10 secs)
scroff_single_core = if the screen is off, don't plug in cpu1/2/3. Additionally: Unplug all cpus except cpu0 when screen is turned off (1)
enabled = enable(1) or disable(0) mpdecision. This does not affect scroff_single_core!
min_cpus = min cpus to be online, cannot be < 1. Default: 1
max_cpus = max cpus to be online, cannot be > 4. (if you set it to 2 and min_cpus to 1 you will basically have a dualcore) Default: 4
idle_freq = a value against that will be checked if a core +/- is requested. (600 MHz)
mpdecision's input event boost, aka project butter
This will boost your min cpu speed if you touch the screen or press a button and gives you full control.
In those events the min cpu freq will be risen to a predefined value on every online cpu. This boosts overall reaction times and smoothness a lot. (works similar to the qcom mpdecision binary)
Good to see one more kernel
Sent From My XT1068{LP} Using TapatalK
Will try ASAP, thanks
Installed on my XT1032 16GB CM12 . Intellidemand/Noop and it runs great , very smooth scrolling tested with G+ in the Browser.
How about the camera performance? On other kernels, it would freeze after touching the shutter and requires a reboot.
Anyways, great job on making another kernel available for Lollipop
Thanks for the intelliplug and a bunch of governors
Sent from my falcon using XDA Premium 4 mobile app
hiu115 said:
How about the camera performance? On other kernels, it would freeze after touching the shutter and requires a reboot.
Anyways, great job on making another kernel available for Lollipop
Click to expand...
Click to collapse
Camera is working fine!
You can test it for yourself
Kai Disobey said:
Installed on my XT1032 16GB CM12 . Intellidemand/Noop and it runs great , very smooth scrolling tested with G+ in the Browser.
Click to expand...
Click to collapse
Glad to hear that!
srisurya95 said:
Thanks for the intelliplug and a bunch of governors
Sent from my falcon using XDA Premium 4 mobile app
Click to expand...
Click to collapse
U r welcome
Flashed this kernel on blisspop and its awesome!!!
ROM performs pretty good with kernel and intelliplug works like a charm
Thank you @Flashhhh hope u continue development
Sent from my falcon using XDA Premium 4 mobile app
Does it support XT1033 as well?
hiu115 said:
Does it support XT1033 as well?
Click to expand...
Click to collapse
Yes!
Working great man, but please fix the gpu governors, When switching to simple_ondemand then it reboots..
DeHuMaNiZeD said:
Working great man, but please fix the gpu governors, When switching to simple_ondemand then it reboots..
Click to expand...
Click to collapse
Thanks for reporting!
Will fix it
But the next update will take a little time!
Sry
Intellithermal plzzzz..
srisurya95 said:
Intellithermal plzzzz..
Click to expand...
Click to collapse
Intellithermal isn't entirely useful on the Moto G since it runs on low clock speeds anyway. So no heating problem.
srisurya95 said:
Flashed this kernel on blisspop and its awesome!!!
ROM performs pretty good with kernel and intelliplug works like a charm
Thank you @Flashhhh hope u continue development
Sent from my falcon using XDA Premium 4 mobile app
Click to expand...
Click to collapse
sorry what version of blisspop you have?
today's build?
deltafile said:
sorry what version of blisspop you have?
today's build?
Click to expand...
Click to collapse
4/02
Sent from my falcon using XDA Premium 4 mobile app
srisurya95 said:
4/02
Sent from my falcon using XDA Premium 4 mobile app
Click to expand...
Click to collapse
ty im going to switch to it from candy rom

Categories

Resources