[KERNEL][SENSE 9/14/11 2.9.0][AOSP 9/14/11 2.9.0] nerozehl's dreamKernel [BFS][BFQ]

Search This thread

nerozehl

Senior Member
Mar 29, 2011
494
94
www.nerozehl.net

INTRODUCTION
This kernel is a developmental fork of the CM7/AOSP and Sense kernel tree built by Imoseyon (leankernel). With his permission, I have started working on an alternative kernel that offers some extra functionality.

The goal of this project is to add things to the kernel that aren't, well, necessarily lean. As development progresses, I intend to keep to the spirit of Imoseyon's work (by being careful not to make this too fat), and any major fixes or changes to code that occurs in his source tree will be ported to this kernel.

ALREADY COOKED IN BY IMOSEYON
Since most of you already know of Imoseyon's work (if you don't, see the link to his thread above), and what his kernel is about, I won't go over all the minutiae from his kernel's development, but I will highlight:
  1. Linux Kernel v2.6.35.13 with back-ported code nearly identical to 2.6.39.
  2. speedtweak.sh (on-the-fly frequency/voltage modification).
  3. interactiveX, ondemandX, and smartass governors that are highly tweaked.
  4. ramdisk enhancements (file system speed-up, init.d)

SENSE CHANGELOG - NEROZEHL'S ADDITIONS
version 2.9.0
  1. Fix WiFi issues.
  2. TinyRCU is now used.
  3. Tweaks to minfree.
  4. Filesystems mounted as ext4.
version 2.3.6
  1. Bugfixes. No more boot issues!
version 2.3.2
  1. Latest Charging code from Imoseyon.
  2. Wireless charging seems to work
  3. Another try at call recording...
version 2.3.0
  1. Charging and over-clocking modifications ported from Imoseyon's kernel.
  2. Call Recorder has been added. It is reported to be working for someone when receiving calls. I'm tracking the issue down, but the code is there. YMMV.
version 2.2.4
  1. Latest charging and ramdisk tweaks from Imoseyon's 3.3.6
version 2.2.2
  1. Bluetooth patched up! (thanks Imoseyon!)
version 2.2.1
  1. After much anticipation, a new version!
  2. Kernel base changed to Imoseyon's latest 3.x source (as of 6/22/11), including charging and camcorder fixes!
  3. Call recording support coming in the next version!
  4. Various kernel performance tweaks galore!
  5. Slightly leaner than before.
version 2.0.3
  1. Updated speedtweak.sh and customtweak.sh scripts to latest release. New features! Bugs Fixed.
  2. Reversed charging tweak.
  3. Minor smartass governor tweak.
version 2.0.2
  1. Tiny tweak to charging code.
  2. Added twistedumbrella's "speedtweak.sh" as default script for speedtweak.
  3. Added twistedumbrella's "customtweak.sh" to allow for setting tweaks like whether or not to have logcat on, and more!
version 2.0.1
  1. Added SWAP support (enable by typing, in shell, "swap create" and disable by typing, in shell, "swap remove"). This wouldn't have been possible without the help of twistedumbrella's MODs!
  2. Added in some of Imoseyon's tweaks for performance. Thanks!
version 2.0.0
  1. All the usual refinements from my AOSP kernel, except for Sense! This kernel source has been pulled from Imoseyon's latest work (DesireHD kernel)
  2. Brain **** Scheduler (BFS) task scheduler
  3. Budget Fair Queue (BFQ) and V(R) I/O schedulers
  4. SLQB slab allocation
  5. Enabled 184MHz CPU slot (disabled by default), enable using speedtweak.sh
  6. TUN/TAP/FUSE/NFS/CIFS support
  7. See changelog for AOSP for the rest.

AOSP CHANGELOG - NEROZEHL'S ADDITIONS
version 2.9.0
  1. Ramdisk updates for CM7
  2. Minfree Tweaks
  3. Audio driver upgrade and tweaks.
  4. TinyRCU
version 2.6.0
  1. Aligned to latest source - forked repository from github and updated my end.
  2. Latest ramdisk, and audio driver tweaks.
  3. TinyRCU for better memory management.
version 2.5.0
  1. This wasn't ever officially released. I posted it in a reply to this thread for testing. The changes:
  2. Reverted workquue and BlueTooth -- keeping previous backports.
  3. New Wifi driver and charging tweaks.
version 2.4.0
  1. New workqueue, cpufreq, and cpuidle code from 3.0 RC!
  2. InteractiveX adjustments to help with reboots.
  3. Backported bluetooth code (also, from 3.0 RC!)
  4. Hacked BFS to be compatible with recent changes.
  5. Tweaked call-recording to fix some FC issues.
version 2.3.0
  1. Alas, a new AOSP kernel to be had!
  2. Latest Imoseyon patches (driver code updates)
  3. Latest ramdisk updates applied.
  4. Re-added Incall recording support, let me know how it works!
version 2.0.3
  1. Audio, WiFi, etc. fixed with latest Imoseyon patches. :) Enjoy!
version 2.0.2
  1. Fixed the issues with WiFi, camera, bluetooth, CPU frequencies, etc.
version 2.0.1
  1. FINALLY! It's here!
  2. New Kernel base (Ace kernel) -- latest pull from Imoseyon's sourcetree. That means all his tweaks up to 6/15/11.
  3. All the usual refinements (BFS, BFQ/V(R) schedulers, SLQB, etc.) are added into this kernel.
  4. Does not have sched.sh but it will soon (wanted to get this out to you quick!)
  5. Work on CM7 RC0.6 -- Enjoy!
version 1.3.0
  1. Enabled 184MHz CPU slot (disabled by default), enable using speedtweak.sh
  2. Symlinked "speedtweak.sh" -> "st" and "sched.sh" -> "sk"
  3. Tweaked ramdisk a bit more.
version 1.2.6
  1. Updated init files to align with slayher's settings.
  2. Increased blue-tooth audio volume (slayher)
  3. Set default boot CPU frequency to 1024MHz to address issues some folks were having with battery temperature.
version 1.2.4
  1. Wifi/MMS/Settings fixed thanks to beavis9k. (init buffer sizes changed)
  2. Minor code cleanups/optimizations.
version 1.2.2
  1. Changed task scheduler to the latest version of Con Kolivas' Brain **** Scheduler (BFS). Should improve performance.
  2. Added Fabio Checconi's latest Budget Fair Queue (BFQ) I/O scheduler and set it as default.
  3. Added "sched.sh" script that will allow you to choose your I/O scheduler and set as default for each boot (Re-purposed from Imoseyon's "speedtweak.sh").
  4. Pulled numerous tweaks from CyanogenMod's source tree.
  5. Enabled 802.11n
version 1.1.8
  1. Increase GPU memory allocation.
  2. Minor speed tweaks.
version 1.1.7
  1. Added SLQB slab allocation (ported from Adrynalyne's source, modified to work on kernel v2.6.35.13)
  2. Added support for FUSE (Userland filesystems, can be used to create encrypted filesystems and other neat things.)
version 1.1.3
  1. Ported new GPU code from Imoseyon.
  2. Tweaked charging.
  3. Added call recording support.
  4. /data, /system, /cache are now EXT4 (and tweaked).
version 1.0.2
  1. New I/O Scheduler (Aaron Carroll's V/R I/O Scheduler) has been added and is now the default scheduler.
  2. Read-ahead buffer has been further increased for performance.
  3. Death-Ray support was ported from Adrynalyne's CF kernel.
  4. NFS (Network Filesystem) and CIFS (Common Internet File System, SAMBA replacement) support has been added.
  5. Tunneling and TUN/TAP support have been added (required by OpenVPN)
  6. System V IPC (SYSVIPC) has been re-enabled to address issues with broken dependencies in CM7.

WARNING
As a general disclaimer, I do not accept responsibility for what may result from you flashing something I post. While I take every precaution and thoroughly test before I release, I cannot be to blame for catastrophic failure.

DIRECTIONS
Flash in Recovery (Do NOT flash in Kernel Manager or ROM Manager).

DOWNLOAD
SENSE KERNELS
AOSP/CM7 KERNELS

GEE PEE ELL (GPL) AND USAGE
My source-tree can be found here. I have permission from Imoseyon to use his source for this kernel. In turn, I've given permission for folks to use my kernel in their ROMs as well. Consequently, if you use this kernel in your ROM, please credit both Imoseyon and myself for the work, and--while not required--a heads up if you're using it in a ROM would be appreciated. If you intend to use my source-tree for your own kernel, then you must get permission from both Imoseyon and myself.

ADDITIONAL
I sincerely hope you find this kernel to your liking. If you find any bugs, or if you have questions or concerns, please feel free to let me know. Likewise, if there is a feature you would like to see added to this kernel, I will be happy to look into it.
 
Last edited:

avlfive

Senior Member
Jul 26, 2010
347
28
253
Just saw in the CM thread that this works work the latest build so I'm giving it a go.
 

Imoseyon

Recognized Developer
Dec 21, 2010
2,495
8,870
Mountain View, CA
awesome! nerozehl, wanna add in-call reporting support? That way I don't have to build SP anymore and I can just link it here from my thread.
 

DipRip

Senior Member
Jul 22, 2009
58
2
don't bother using it...wifi does not work at all. It attempts to connect then disconnects. Just went back to the stock slayher kernal instead.
 

imneveral0ne

Senior Member
don't bother using it...wifi does not work at all. It attempts to connect then disconnects. Just went back to the stock slayher kernal instead.

I dont think you should really be telling people what to try. unless it breaks it permanently, then let people flash whatever they want. he never stated it fixes everything in CM7 or that it was the god of all kernels. just something new. I can see posting a warning telling people that it doesnt work, but not just telling em to not even bother using it.

just my 2 cents though.
 

nerozehl

Senior Member
Mar 29, 2011
494
94
www.nerozehl.net
Ok! I have 1.1.3 coming out this evening (thanks to my friends who have been test dummies!). Will support call recording and have the GPU patches and tweaks from Imoseyon and some EXT4 tweaks courtesy of yours truly. Stay tuned :)
 
  • Like
Reactions: IvanNCase

IvanNCase

Senior Member
Mar 20, 2009
164
29
Just great now I to threads to keep an eye on, JK. Thanks though I've always sworn by Imoseyon's kernels and I'm really looking forward to your 1.1.3 release.
 

mrweeee

Member
Mar 11, 2009
13
17
WPA2 does not work with wifi, thats what the "wifi is broken trollololololol" guy ment


tho i wish SOMEONE could fix this, i have yet to find a kernel that doesn't have some wpa2 issues. *hint hint, please?*
 

DipRip

Senior Member
Jul 22, 2009
58
2
I have $20 that says you flashed it with ROM Manager. Lol.




Sent from my ADR6400L using XDA App

How do you want to send me the 20? I hate rom manager. Of course everything performs differently for different people, but for me it was a total failure compared to other kernels.

Sent from my ADR6400L using Tapatalk
 

Top Liked Posts

  • There are no posts matching your filters.
  • 35

    INTRODUCTION
    This kernel is a developmental fork of the CM7/AOSP and Sense kernel tree built by Imoseyon (leankernel). With his permission, I have started working on an alternative kernel that offers some extra functionality.

    The goal of this project is to add things to the kernel that aren't, well, necessarily lean. As development progresses, I intend to keep to the spirit of Imoseyon's work (by being careful not to make this too fat), and any major fixes or changes to code that occurs in his source tree will be ported to this kernel.

    ALREADY COOKED IN BY IMOSEYON
    Since most of you already know of Imoseyon's work (if you don't, see the link to his thread above), and what his kernel is about, I won't go over all the minutiae from his kernel's development, but I will highlight:
    1. Linux Kernel v2.6.35.13 with back-ported code nearly identical to 2.6.39.
    2. speedtweak.sh (on-the-fly frequency/voltage modification).
    3. interactiveX, ondemandX, and smartass governors that are highly tweaked.
    4. ramdisk enhancements (file system speed-up, init.d)

    SENSE CHANGELOG - NEROZEHL'S ADDITIONS
    version 2.9.0
    1. Fix WiFi issues.
    2. TinyRCU is now used.
    3. Tweaks to minfree.
    4. Filesystems mounted as ext4.
    version 2.3.6
    1. Bugfixes. No more boot issues!
    version 2.3.2
    1. Latest Charging code from Imoseyon.
    2. Wireless charging seems to work
    3. Another try at call recording...
    version 2.3.0
    1. Charging and over-clocking modifications ported from Imoseyon's kernel.
    2. Call Recorder has been added. It is reported to be working for someone when receiving calls. I'm tracking the issue down, but the code is there. YMMV.
    version 2.2.4
    1. Latest charging and ramdisk tweaks from Imoseyon's 3.3.6
    version 2.2.2
    1. Bluetooth patched up! (thanks Imoseyon!)
    version 2.2.1
    1. After much anticipation, a new version!
    2. Kernel base changed to Imoseyon's latest 3.x source (as of 6/22/11), including charging and camcorder fixes!
    3. Call recording support coming in the next version!
    4. Various kernel performance tweaks galore!
    5. Slightly leaner than before.
    version 2.0.3
    1. Updated speedtweak.sh and customtweak.sh scripts to latest release. New features! Bugs Fixed.
    2. Reversed charging tweak.
    3. Minor smartass governor tweak.
    version 2.0.2
    1. Tiny tweak to charging code.
    2. Added twistedumbrella's "speedtweak.sh" as default script for speedtweak.
    3. Added twistedumbrella's "customtweak.sh" to allow for setting tweaks like whether or not to have logcat on, and more!
    version 2.0.1
    1. Added SWAP support (enable by typing, in shell, "swap create" and disable by typing, in shell, "swap remove"). This wouldn't have been possible without the help of twistedumbrella's MODs!
    2. Added in some of Imoseyon's tweaks for performance. Thanks!
    version 2.0.0
    1. All the usual refinements from my AOSP kernel, except for Sense! This kernel source has been pulled from Imoseyon's latest work (DesireHD kernel)
    2. Brain **** Scheduler (BFS) task scheduler
    3. Budget Fair Queue (BFQ) and V(R) I/O schedulers
    4. SLQB slab allocation
    5. Enabled 184MHz CPU slot (disabled by default), enable using speedtweak.sh
    6. TUN/TAP/FUSE/NFS/CIFS support
    7. See changelog for AOSP for the rest.

    AOSP CHANGELOG - NEROZEHL'S ADDITIONS
    version 2.9.0
    1. Ramdisk updates for CM7
    2. Minfree Tweaks
    3. Audio driver upgrade and tweaks.
    4. TinyRCU
    version 2.6.0
    1. Aligned to latest source - forked repository from github and updated my end.
    2. Latest ramdisk, and audio driver tweaks.
    3. TinyRCU for better memory management.
    version 2.5.0
    1. This wasn't ever officially released. I posted it in a reply to this thread for testing. The changes:
    2. Reverted workquue and BlueTooth -- keeping previous backports.
    3. New Wifi driver and charging tweaks.
    version 2.4.0
    1. New workqueue, cpufreq, and cpuidle code from 3.0 RC!
    2. InteractiveX adjustments to help with reboots.
    3. Backported bluetooth code (also, from 3.0 RC!)
    4. Hacked BFS to be compatible with recent changes.
    5. Tweaked call-recording to fix some FC issues.
    version 2.3.0
    1. Alas, a new AOSP kernel to be had!
    2. Latest Imoseyon patches (driver code updates)
    3. Latest ramdisk updates applied.
    4. Re-added Incall recording support, let me know how it works!
    version 2.0.3
    1. Audio, WiFi, etc. fixed with latest Imoseyon patches. :) Enjoy!
    version 2.0.2
    1. Fixed the issues with WiFi, camera, bluetooth, CPU frequencies, etc.
    version 2.0.1
    1. FINALLY! It's here!
    2. New Kernel base (Ace kernel) -- latest pull from Imoseyon's sourcetree. That means all his tweaks up to 6/15/11.
    3. All the usual refinements (BFS, BFQ/V(R) schedulers, SLQB, etc.) are added into this kernel.
    4. Does not have sched.sh but it will soon (wanted to get this out to you quick!)
    5. Work on CM7 RC0.6 -- Enjoy!
    version 1.3.0
    1. Enabled 184MHz CPU slot (disabled by default), enable using speedtweak.sh
    2. Symlinked "speedtweak.sh" -> "st" and "sched.sh" -> "sk"
    3. Tweaked ramdisk a bit more.
    version 1.2.6
    1. Updated init files to align with slayher's settings.
    2. Increased blue-tooth audio volume (slayher)
    3. Set default boot CPU frequency to 1024MHz to address issues some folks were having with battery temperature.
    version 1.2.4
    1. Wifi/MMS/Settings fixed thanks to beavis9k. (init buffer sizes changed)
    2. Minor code cleanups/optimizations.
    version 1.2.2
    1. Changed task scheduler to the latest version of Con Kolivas' Brain **** Scheduler (BFS). Should improve performance.
    2. Added Fabio Checconi's latest Budget Fair Queue (BFQ) I/O scheduler and set it as default.
    3. Added "sched.sh" script that will allow you to choose your I/O scheduler and set as default for each boot (Re-purposed from Imoseyon's "speedtweak.sh").
    4. Pulled numerous tweaks from CyanogenMod's source tree.
    5. Enabled 802.11n
    version 1.1.8
    1. Increase GPU memory allocation.
    2. Minor speed tweaks.
    version 1.1.7
    1. Added SLQB slab allocation (ported from Adrynalyne's source, modified to work on kernel v2.6.35.13)
    2. Added support for FUSE (Userland filesystems, can be used to create encrypted filesystems and other neat things.)
    version 1.1.3
    1. Ported new GPU code from Imoseyon.
    2. Tweaked charging.
    3. Added call recording support.
    4. /data, /system, /cache are now EXT4 (and tweaked).
    version 1.0.2
    1. New I/O Scheduler (Aaron Carroll's V/R I/O Scheduler) has been added and is now the default scheduler.
    2. Read-ahead buffer has been further increased for performance.
    3. Death-Ray support was ported from Adrynalyne's CF kernel.
    4. NFS (Network Filesystem) and CIFS (Common Internet File System, SAMBA replacement) support has been added.
    5. Tunneling and TUN/TAP support have been added (required by OpenVPN)
    6. System V IPC (SYSVIPC) has been re-enabled to address issues with broken dependencies in CM7.

    WARNING
    As a general disclaimer, I do not accept responsibility for what may result from you flashing something I post. While I take every precaution and thoroughly test before I release, I cannot be to blame for catastrophic failure.

    DIRECTIONS
    Flash in Recovery (Do NOT flash in Kernel Manager or ROM Manager).

    DOWNLOAD
    SENSE KERNELS
    AOSP/CM7 KERNELS

    GEE PEE ELL (GPL) AND USAGE
    My source-tree can be found here. I have permission from Imoseyon to use his source for this kernel. In turn, I've given permission for folks to use my kernel in their ROMs as well. Consequently, if you use this kernel in your ROM, please credit both Imoseyon and myself for the work, and--while not required--a heads up if you're using it in a ROM would be appreciated. If you intend to use my source-tree for your own kernel, then you must get permission from both Imoseyon and myself.

    ADDITIONAL
    I sincerely hope you find this kernel to your liking. If you find any bugs, or if you have questions or concerns, please feel free to let me know. Likewise, if there is a feature you would like to see added to this kernel, I will be happy to look into it.
    4

    KNOWN ISSUES
    SENSE
    • Speedtweak is under re-construction. Bear with us!
    AOSP
    • None reported yet, please let me know.
    3
    2.2.2 Sense - Bluetooth fixed as per Imoseyon's patch.

    Enjoy and as always, let me know :)
    3
    1.2.2 released! several fixes, and big performance boost (IMO)

    hope you all enjoy!