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

Search This thread

gsxraddict

Senior Member
Sep 9, 2010
406
75
Fontana
Cool gonna try this out once I drain this battery and slap a fresh one in. I tried this yesterday and got a lot of lag with lock screen and just basic functions. Also I would reboot and the battery would read like 10% higher and seemed to drain quick don't know if its just read the battery wrong or what. Any ideas and what to do I will try because when it ran smooth it was awesome thanks.

Sent from my ADR6400L using Tapatalk
 

SQFreak

Member
Apr 17, 2008
39
10
Rockville, Maryland
After I installed 2.0.1 GB Sense, logcat stopped functioning. Whether I call it from the shell or straight from ADB, I get:
Code:
Unable to open log device '/dev/log/main': No such file or directory

I think I found the source of the problem. As a performance tweak, nerozehl killed the logging daemon in /etc/init.d. Reflashing imoseyon's kernel does not restore the log. (It doesn't delete the file inexplicably named "99imoseyon" that isn't present in imoseyon's kernel.)
To restore it (like I want), I think this should work:

Code:
[b]From a computer with ADB:[/b]
adb root
adb shell
mount -o remount,rw -t yaffs2 /dev/block/mmcblk0p25 /system
nano /etc/init.d/99imoseyon
[i]place a # at the beginning of the fourth line (the one that reads "rm /dev/log/main")[/i]
[i]Ctrl+O[/i]
[i]Enter[/i]
[i]Ctrl+X[/i]
exit
adb reboot

If you have trouble getting that to work, you can also remount /system R/W in Root Explorer, edit /etc/init.d/99imoseyon to put a # at the beginning of the fourth line, save and exit, then remove execute permissions on the backup file it created!
 
After I installed 2.0.1 GB Sense, logcat stopped functioning. Whether I call it from the shell or straight from ADB, I get:
Code:
Unable to open log device '/dev/log/main': No such file or directory

I think I found the source of the problem. As a performance tweak, nerozehl killed the logging daemon in /etc/init.d. Reflashing imoseyon's kernel does not restore the log. (It doesn't delete the file inexplicably named "99imoseyon" that isn't present in imoseyon's kernel.)
To restore it (like I want), I think this should work:

Code:
[b]From a computer with ADB:[/b]
adb root
adb shell
mount -o remount,rw -t yaffs2 /dev/block/mmcblk0p25 /system
nano /etc/init.d/99imoseyon
[i]place a # at the beginning of the fourth line (the one that reads "rm /dev/log/main")[/i]
[i]Ctrl+O[/i]
[i]Enter[/i]
[i]Ctrl+X[/i]
exit
adb reboot

If you have trouble getting that to work, you can also remount /system R/W in Root Explorer, edit /etc/init.d/99imoseyon to put a # at the beginning of the fourth line, save and exit, then remove execute permissions on the backup file it created!

Lol, beat me to it. I forgot to mention that before. Logging, like camera debug, is one of those speed versus ability trades.

Sent from my ADR6400L using Tapatalk
 

nerozehl

Senior Member
Mar 29, 2011
494
94
www.nerozehl.net
I don't know exactly what it is but my phone is very unstable with this kernel.

Sent from my ADR6400L using Tapatalk
Could you be more specific? What kernel version, AOSP or Sense, what ROM, what's happening, what do you have your voltages/governor set at, have you enabled logcat to capture the instability.

Your statement doesn't tell me anything, and I can't help you without information. :(
 

gsxraddict

Senior Member
Sep 9, 2010
406
75
Fontana
Could you be more specific? What kernel version, AOSP or Sense, what ROM, what's happening, what do you have your voltages/governor set at, have you enabled logcat to capture the instability.

Your statement doesn't tell me anything, and I can't help you without information. :(

Sorry didn't think I would get a response as I didn't a few posts back no I didn't enable logcat my laptop took a dumb so not much good I can do with that anyways. I'm using sense 2.0.1 although I have had the same issue on 2.0. I had the issues from beginning just in safemode on ran st script to pick governor. I switched to batterysaver to see if switch voltages would do anything. Didnt change anything. Basically everything lags. Pulling ring on lockscreen the screen unlocking choosing an app to be more specific I would choose an app remove my finger then it would highlight and then open. Almost like its underclocked at 245 even had tapatalk lag to the point of bringing up a force close.

Sent from my ADR6400L using Tapatalk
 

DroidTh3ory

Senior Member
Dec 12, 2010
4,214
2,093
Troy, Michigan
www.droid-hive.com
Sorry didn't think I would get a response as I didn't a few posts back no I didn't enable logcat my laptop took a dumb so not much good I can do with that anyways. I'm using sense 2.0.1 although I have had the same issue on 2.0. I had the issues from beginning just in safemode on ran st script to pick governor. I switched to batterysaver to see if switch voltages would do anything. Didnt change anything. Basically everything lags. Pulling ring on lockscreen the screen unlocking choosing an app to be more specific I would choose an app remove my finger then it would highlight and then open. Almost like its underclocked at 245 even had tapatalk lag to the point of bringing up a force close.

Sent from my ADR6400L using Tapatalk

Weird... Which ROM? I would assume you tried reflashing it??


Sent from my ADR6400L using XDA App
 

the kid escobar

Senior Member
Mar 8, 2011
124
6
Philadelphia
Just flashed this kernel on Gingeritis 1.0 beta 9. It runs great, I have it set at undervolted Max at 1.92, then I disabled the governor settings and I'm running SetCPU profiles. Very nice work, I am enjoying this kernel very much.

Edit* I'm running 2.0.1 beta

Sent from my ADR6400L using XDA App
 

detox246

Senior Member
Dec 2, 2010
386
26
Pittsburgh, Pa
I've been running this for the last couple of days and all I can say is outstanding. Everything seems to be working great. Haven't had any issues and battery and performance is top notch. Thanks nerozehl, imoseyon, and twistedumbrella for this compilation of a great kernel

Sent from my ADR6400L using XDA App
 

sublimaze

Senior Member
Oct 13, 2010
2,624
988
I've been running this for the last couple of days and all I can say is outstanding. Everything seems to be working great. Haven't had any issues and battery and performance is top notch. Thanks nerozehl, imoseyon, and twistedumbrella for this compilation of a great kernel
+1
I'm running this + Gingeritis IX and not a single reboot, fantastic speed overall, & battery life is outstanding. Exceptional effort by all members involved. THIS is the kernel the phone shoulda shipped with :)

Sent from my ADR6400L using XDA App
 

gohamstergo

Senior Member
Mar 6, 2010
1,225
353
would it be possible to create a flashable zip to add logcat functionality back in for those of us that want it? i NEED logcat to enable Chainfire's live dmesg/logcat boot animations to work. a flashable zip (instead of a manual fix) would allow easy fixing after every new kernel update.
 
would it be possible to create a flashable zip to add logcat functionality back in for those of us that want it? i NEED logcat to enable Chainfire's live dmesg/logcat boot animations to work. a flashable zip (instead of a manual fix) would allow easy fixing after every new kernel update.

http://db.tt/m6hXaVb

Edit: Installs a menu system that is run in terminal using "customtweak.sh" and allows choosing what tweaks are installed. The update defaults to all tweaks, and the script allows disabling them individually.

Previous: This is just the script file with log disable commented out for those finding the manual process strenuous. My next update will just build the file through a menu.

Sent from my ADR6400L using Tapatalk
 
Last edited:
  • Like
Reactions: gohamstergo

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!