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

Blechd0se

Inactive Recognized Developer
Sep 19, 2012
459
4,507
0
Stuttgart
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
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:
  1. Download and put it on your SD
  2. Reboot into Recovery
  3. Make a Backup :)
  4. Wipe Caches
  5. Recommendation: Wipe Data (optional)
  6. Install my Kernel Flash at your own risk!
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.

Something to read:



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
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 :D


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 :)
 
Last edited:

Blechd0se

Inactive Recognized Developer
Sep 19, 2012
459
4,507
0
Stuttgart
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
 
Last edited:

ldiomedi

Senior Member
Oct 11, 2011
1,299
645
0
Córdoba
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!
 

Gafanhotz

Inactive Recognized Contributor
Sep 7, 2011
1,171
1,055
0
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. :p

Keep up the good work, and if you need an guinea pig for testing, you can count on me! :good:
 
  • Like
Reactions: brajesh.sharma87

hackergnome

Senior Member
Apr 21, 2011
2,610
869
0
Mumbai
Just one correction
Custom is spelled Custom and not Constum :p

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 ----------

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
No just the kernel

I don't want a tapatalk sig!
 

ela1103

Senior Member
Apr 24, 2011
682
289
83
HEART
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 .
 

m_zet

Senior Member
Feb 4, 2011
872
217
0
@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.
 
Last edited: