[kernel][JW4/5/6] mngb-0.5.7/12-06-18

Search This thread

mialwe

Senior Member
Apr 28, 2011
757
1,565
The Midnight kernel (mngb) is a personal project aiming for "average", daily use and stability. Not benchmark performance. Nothing fancy. I really liked the Speedmod kernel while using Froyo but missed some features so 2011/07 I decided to work on this kernel which has now been completely rebuilt 2012/06 using latest Samsung sources.

Big thanks to Mahd for tenacious testing and beeing patient with me, all users, donators and developers and especially stratosk, hardcore, supercurio (Voodoo), koush (CWM), neldar (BLN) and everybody else developing Open Source software, helping or reporting.

OVERVIEW
- for Samsung JW4/5/6 based firmware, support for RFS and EXT4 partitions
- autoROOT, init.d support
- optional overclocking to 1.128Ghz, undervolting support
- Midnight SMOOVE CPU governor, SmartAssV2, SIO IO scheduler, 366Mb RAM \w full video capabilities
- backlightnotification (use BLN Control), VoodooSound10 (use VoodooControl)
- some tweaks, removed debug stuff
- for ADB users: adb shell remount
- extended CWM
--> reinstall/remove su/busybox/Superuser
--> backup/restore/delete Nandroid FULL/DATA-only/SYSTEM-only
--> extended cleanup options (sounds, bloatware and unneeded system-apps (profiles ~ 0.7-60Mb)
--> choose 800Mhz/1Ghz/1.128Ghz maxfreq
--> choose Smoove, Conservative, Ondemand, SmartAssV2 governor
--> toggle logger/tun/bthid modules, Noop, touchscreen sensitivity, shorter touchLED timeout, init.d
--> set screen gamma and RGB profile

DEFAULTS
Stock frequencies, SMOOVE, SIO, all options disabled.

INSTALL
Flash from sdcard using sgs-kernel flasher, flash extracted zImage using Heimdall or flash downloaded TAR archive with Odin

DOWNLOAD (changelog @ post #2)
 

Attachments

  • mngb-0.5.5.tar
    7.4 MB · Views: 2,125
  • mngb-0.5.6.tar
    7.4 MB · Views: 723
  • mngb-0.5.7.tar
    7.4 MB · Views: 678
  • mngb-0.5.8.tar
    7.4 MB · Views: 7,829
Last edited:

mialwe

Senior Member
Apr 28, 2011
757
1,565
SOURCES/LIVE CHANGELOG -> Github

CHANGELOG
Code:
[B]0.5.8 / 2012-06-18[/B]
- CWM: readded uv menu
[B]0.5.7 / 2012-06-17[/B]
- added SmartAssV2 CPU governor
- support for EXT4 partitions is back (thanks ZaneZam for reporting and testing)
- some internal [URL="https://github.com/mialwe/mngb/commits/master"]kernel patches/enhancements[/URL]
- CWM: MNGB menu for kernel options
- CWM: menus for CPU max frequency and governors
[B]0.5.6 / 2012-06-12[/B]
- lowered screen-off CPU sampling_rate
- removed old lower brightness adjustment formula
[B]0.5.5 / 2012-06-05[/B]
- bugfix: ROM->privacy->factory reset works for RFS now - thanks Mahd for the bug report
- sampling_rate 23000
- logcat toggle via CWM
- auto removal of MidnightControl.apk
[B]0.5.3 / 2012-06-02[/B]
- bugfix: Superuser/SU don't get replaced at every boot anymore
- bugfix: Odin TAR works now as intended
[B]0.5.1 / 2012-06-02[/B]
- added Midnight SMOOVE CPU governor
- added updated Ondemand governor (from MNICS)
- completely rebuilt kernel using Samsungs 2012/05 sources
- removed MidnightControl, Nexus display drivers
- included only the most important features
[B][COLOR="Red"]------- NEW NAME (mngb), NEW BASE SOURCES (Samsung 2012), JW4/5/6 ONLY ------[/COLOR][/B]
[B]0.9.0 / 2012-03-07[/B]
- bugfix: Ondemand governor should be faster again
- sampling rate 40000->20000 for Conservative governor
- updated SIO scheduler sources 
[B]0.8.9 / 2012-02-28[/B]
- added 1.128Ghz step (arm/int.volt 1300/1100)
- added lowmemorykiller MODERATE (56Mb) preset
- added generic gamma adjustment (-30-0)to MidnightControl
- added LED timeout adjustment (100-2000ms) to MidnightControl
- changed gamma default (reducing oversaturation like in 0.8.8)
- changed 1.2Ghz arm/int.volt to 1350/1100
- ported Conservative governor from Midnight-ICS
- removed 800Mhz max. freq when screen-off
- back to JW1 proprietary initramfs modules (last "official" version)
[B]0.8.8 / 2012-02-07[/B]
- app: fix for users not having /system/bin/cat
- app: fixed Midnight kernel version display
- kernel: reverted some optimizations after instability reports -> 342Mb RAM
- kernel: raised 1.2Ghz arm.voltage 1310mV -> 1325mV
- initramfs: changed CFS values, testing...
[B]0.8.7 / 2012-01-31[/B]
- kernel: 343Mb RAM, front cam picture works \w JW1, probably not \w JVU)
- kernel: removed more debug stuff for slightly more performance, less overhead
- kernel: back to stock bootlogo
- kernel: Nexus tl2796, configurable lower brightness (5 levels)
- kernel: RGB multiplier support based on [URL="https://github.com/project-voodoo/linux_samsung/blob/nexus-s-voodoo/drivers/video/samsung/s3cfb_tl2796.c"]Supercurios great work[/URL]
- kernel: Conservative governor adjustments
- kernel: bthid compiled as module
- kernel: int.volt slightly raised (1100->1125mV) for 1.2Ghz (stability)
- CWM: removed a lot of potentially unneeded stuff 
- CWM: added remove Email.apk, GMaps options
- CWM: added "block-MidnightControl-settings-next-boot" option
- initramfs: updated to JVU modules
- initramfs: SIO and 128Kb (yes) sdcard read_ahead_kb default
- initramfs: improved read_ahead_kb for /cache, /dbdata, /system
- initramfs: adjusted default LMK, starts working at 65Mb RAM now
- initramfs: HOME_APP_ADJ=1 again
- MidnightControl app
[B]0.8.4 / 2011-12-17[/B]
- Bugfix: Ondemand/deepsleep-patch (thanks Stratosk)
- Bugfix: Logcat incomplete when loaded as module
- CWM: 3 touch sensitivity options back
- Initramfs: shortend /proc/mem output in /data/user.log
- Initramfs: JW1-modules
- Initramfs: Pikachu01's latest CFS values
[B]0.8.3 / 2011-12-10[/B]
- Bugfix: Removed Ondemand/deep-sleep patch, somehow caused frequency to be 800Mhz > 40% time if connected to AC charger and sleeping.
- Disabled SAMPLING_DOWN_FACTOR again, testing
- 341Mb RAM, testing
[B]0.8.2-4 / 2011-12-08[/B]
- initramfs: JVZ-module, new CFS values (testing)
- kernel: Ondemand/[URL="http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=3f78a9f7fcee0e9b44a15f39ac382664e301fad5"]SAMPLING_DOWN_FACTOR[/URL] implemented
- cwm: /mnt/sdcard compatibility
- cwm: handles mount for /sbin/mount to prevent issues when mounting from update/CWM-ZIP
- cwm: support for /dbdata mounts, /datadata completely removed
[COLOR="Red"]  CAUTION: create new backups, Midnight 0.8 Nandroid 
  backups (containing datadata)...tar won't be completely restored.[/COLOR]    
[B]0.8.0 / 2011-12-03[/B]
- Big thanks to [URL="http://xdaforums.com/showthread.php?t=1112908"]stratosk[/URL] for letting me use his CWM3 initramfs as base initramfs
- Big thanks to [URL="https://github.com/project-voodoo/linux_samsung"]supercurio[/URL] for taking some time to confirm my assumptions about a nasty RFS bug and my bugfix ideas
- Big thanks to [URL="http://xdaforums.com/showthread.php?t=1225879"]madrooster[/URL] for a helping hand regarding my build environment when switching to CWM4.
- Big thanks to Mahd and Scheichuwe for testing ;)
- Thank you guys. A lot. 
- CWM4
- CWM: Rearranged menus
- CWM: EXT4 and RFS support
- CWM: Backported CWM5 TAR Nandroid
- CWM: Supports FULL, DATA- and SYSTEM-only Nandroid
- CWM: Added "remove Nandroid backup" option
- CWM: Added more IPv4/6 security tweaks
- CWM: Manage TUN module/IPvX security tweak issue
- CWM: Added Advanced->Misc->Toggle NO-autoROOT
- CWM: Added Advanced->Misc->Toggle NO-MidnightTweaks
- CWM: Added Backup/Restore->SystemUI, framework-res
- CWM: Added Cleanup->Delete *a-lot-of-bloat* options
- CWM: Added 64/128/256Kb to READ_AHEAD menu
- CWM: Moved touchscreen sensitivity to Advanced options->misc
- CWM: Removed "delete S_volt_scheduler" as init.d can be disabled
- CWM: Removed "delete init.d" as init.d can be disabled
- CWM: Removed RFS/EXT4 conversion due to unresolved issues
- CWM: Added multiple bloatware/systemapp cleanup options (0.7-52Mb)
- Initramfs: JVU updated, completely rebuilt (multiple times :) )
- Initramfs: autoROOT (re-checked every boot)
- Initramfs: added remount script for adb users (adb shell remount)
- Initramfs: slightly adjusted some tweaks
- Initramfs: testing [URL="http://xdaforums.com/showthread.php?t=1296927"]pikachu01's[/URL] CFS values
- Kernel: Midnight bootlogo 
- Kernel: Added [URL="http://xdaforums.com/showthread.php?t=1266051"]newmails[/URL] great Ondemand patch
--[COLOR="Red"]Be sure to reduce undervolting mV if you experience reboots[/COLOR]
- Kernel: Added SIO scheduler
- Kernel: Some minor tweaks (99% 0.7.6)
- Adjusted lowmemorykiller settings
- everything I forgot since 2011/10...
[B]0.7.6 / 2011-10-07[/B]
- bugfix: su/superuser not working
- slightly lowered conservative thresholds to 55/up)/35(down)
- some text changes in CWM cleanup menu
[B]0.7.5 / 2011-10-07[/B]
- raised 1.2Ghz voltage from 1300mV to 1310mV (stability) 
- removed 1.3Ghz
- updated su/superuser to 3.0.2-efgh
- updated to proprietary JVT modules
[B]0.7.3 / 2011-10-02[/B]
- hybrid overclocking:
-- defaults to 100-200-400-800-1000Mhz, stock voltages
-- 1.2Ghz (1300mV) [B]or[/B] 1.3Ghz(1375mV) can be enabled via CWM
-- when overclocking 1Ghz freq. will remain enabled as additional freq. step
[B]0.7.2 / 2011-10-01[/B]
- [COLOR="Red"]PLEASE ADJUST UV VALUES FOR NEW MAX FREQUENCY STEPS[/COLOR]
- removed 1.3Ghz again
[B]0.7.1 / 2011-09-30[/B]
- [COLOR="Red"]PLEASE ADJUST UV VALUES FOR NEW MAX FREQUENCY STEPS[/COLOR]
- switched to 7 freq/5 step version (100/200/400/800/1000/1200/1300Mhz)
- slightly optimized conservative governor
-- up_threshold 60, down_threshold 45,  code uses freq. lookup table
- CWM: Added "Unroot" option to cleanup menu
- CWM: load TUN module
- updated su/superuser to 3.0-efgh
[B] 0.6.7 / 2011-09-25[/B]
- adapted JVS initramfs
- should work with JVQ/JVR/JVS (wifi issues /w JVS expected, none reported...)
- CWM: added autobackup for all cleanup menu options
- CWM: added restore option for cleanup menu options
- CWM: added partition size/free space stats in ROOT and cleanup menus
- extended/cleaned up debug output in /data/user.log
[B] 0.6.5 / 2011-09-23[/B]
- bugfix: set read_ahead value to 512 as default again
- added debug output in /data/user.log
[B] 0.6.4 / 2011-09-22[/B]
- bugfix: fixed uv values not beeing applied
- bugfix: cpufreq-stats not beeing loaded, UV/OC-Apps should work again
[B] 0.6.3 / 2011-09-22[/B]
-bugfix: fixed bootloop if not using manual LMK slot 1 value (thanks Pfiffle for the hint)
[B] 0.6.2 / 2011-09-22[/B]
- bugfix: undervolting presets 10/11 working
- bugfix: voodoo sound FM should work now 
- CWM: added manual undervolting mV setting (5mV steps)
- CWM: added manual lowmemorykiller setting (1Mb step)
- CWM: Toggle init.d support ([COLOR="Red"]default: disabled[/COLOR], enable it if needed)
- CWM: restructured, added IDs to larger tables (presets, uv, lmk, read_ahead)
- adjusted ondemand up_threshold (90->85%)
- color temperature set to 6900k
- play repeating samsung bootanimation if dalvik-cache cleared
- some minor tweak adjustments
- implemented [URL="https://github.com/kangsterizer/android_kernel_samsung/blob/android-samsung-2.6.35/drivers/input/keyboard/cypress-touchkey.c"]kangsterizers touckey backlight timeout procedures[/URL], lowered timeout to 0.5 sec.
[B] 0.6.1 / 2011-09-17[/B]
- CWM: bugfix, enabled option 11 in UV menu
- CWM: added [default] marker, added IDs to UV settings
[B] 0.6.0 / 2011-09-17[/B]
- Upgraded proprietary modules to JVR
- minor speed tweaks 
- added VR IO scheduler
- adjusted some tweaks ([URL="https://github.com/mialwe/midnight-i9000-initramfs/blob/0c310e9f73ba69947bf94c9125e4a1a3565543d3/sbin/post-init.sh"]sources here[/URL])
- toggle CPU 1.0/1.2Ghz via sysfs + reloading cpufreq_stats module (thanks to stratosk for his great idea to switch the frequency via 2 functions in cpu-freq.c) 
- lots of new CWM options:
-- shutdown from CWM
-- choose CPU max.freq 400/800/1000 [B]or[/B] 1200Mhz (=4 steps)
-- choose CPU governor (conservative, ondemand)
-- choose CPU undervolting preset (10 presets for now)
-- choose lowmemorykiller preset (7 presets for now, 4th value=process killer)
-- choose IO scheduler (noop, vr, deadline, cfq)
-- choose read_ahead (sdcards) 512/1024/2048/3064/4096kB
-- choose touchscreen sensitivity presets (stock + 3 presets for now, testing...)
-- moved filesystem conversion to seperate menu
-- option to delete local.prop, S_volt_scheduler and Midnight config files
[B] 0.1.5 - 0.5.4-test / 2011-08-27[/B]
- sources updated [URL="https://github.com/mialwe"]@github[/URL]
- interesting dev links updated @github
- recovery source uploaded @github
- slightly raised LMK values for slot 4/5/6, values are now 12288,13312,15360 (48/52/60Mb) (responisveness+, testing)
- compiled without OABI compatibility (speed+, found @talon, testing)
- removed "sysctl -w vm.oom_kill_allocating_task=1" (concurrs with LMK and [URL="http://www.imoseyon.com/2011/01/oom-and-android.html"][B]maybe[/B] doesn't even work[/URL]?)
- removed setprop pm.sleep_mode 1 (safety, not enough information)
- raised /proc/sys/vm settings a little bit:
-- echo "3000" > /proc/sys/vm/dirty_writeback_centisecs # flush after 30sec.
-- echo "3000" > /proc/sys/vm/dirty_expire_centisecs # pages expire after 30sec.
-- echo "10" > /proc/sys/vm/dirty_background_ratio # flush pages later (default 5% active mem)
-- echo "25" > /proc/sys/vm/dirty_ratio
- small fix: executing initscripts with filename starting with digits, too (e.g. "99SuperCharger")...
- toolchain 2010q1
- VoodooSound FM enabled
- tiny bugfix, disabled more debug stuff 
- CWM option: toggle sdcard read_ahead 2048kB tweak
- disabled more debug stuff
- CONFIG_HZ 250hz
- lowmemorykiller values to 48/52Mb for slots 5/6
- moved HOME_APP to slot 0
- disabled touchscreen tweaks (stuttering issues for some users)
- reimplemented missing WARM/COLD mode setting in CWM (advanced options/optional features)
- implemented clean init.d via CWM
- implemented remove all custom bootanimations via CWM
- implemented remove boot/shutdown sounds (for space to root) via CWM
- bugfix: set conservative governor as default (again) instead of ondemand
- disabled powersave/performance governors
- stability: reverted/removed some tweaks set in initramfs
- stability: RAM back to 336 for testing
- merged Galaxy Tab mdnie module with Speedmod sharpness/color
- slightly tweaked color temperature (testing)
- pushed color saturation (testing)
- added some touch behaviour tweaks (testing)
- added some prop settings for battery and proximity sensor
- disabled iostats (less overhead)
- missing liblights lib installer for BLN implemented
- USB tethering *should* work now
- conservative governor tweaked for 1Ghz max (1.2Ghz still possible)
- reverted various speed/mem tweaks from 0.3.8 (have to test them more)
- merged Galaxy Tab _mdnie module (testing)
- merged simple Voodoo color settings for UI only (testing)
- set color temperature to 6700k (testing)
- working bootanimations (thanks stratosk)
- more tweaked CONSERVATIVE governor
- [B]max. Voltage for 1.2Ghz raised to 1300mV[/B] (because of stability issues with 1275mV)
- various mem/speed improvements for testing ([URL="https://github.com/mialwe/midnight-i9000-initramfs/blob/master/sbin/post-init.sh"]see Github[/URL])
- more tweaked CONSERVATIVE governor
- disabled non-working umounting options in recovery
- Speedmods' initramfs with CWM2.5 re-implemented as conversion EXT4/RFS now works. mount options in CWM -> mount & storage still don't work, tested  Speedmod-T24 where they did not work, too.
- Module version in .config now empty (LOCALVERSION)
- reverted file moving of tvoutserver start in initramfs
- new samsung sources merged, still recovery3e only
- switched back to recovery3e due to umounting issues with Speedmod CWM2.5
- slightly tweaked CONSERVATIVE CPU governor default, switch back to ONDEMAND with e.g. setCPU or VoltageControl or similar apps
- testing: autom. su-installation, init.d-support via initramfs
- kernel features and patchfile unchanged to 0.1.9
- BLN support
- VoodooSound10
- 341Mb RAM (wasn't able to produce anything better than those values used by other kernels, too. 720p recording without sound on my external sdcard, *with* sound on internal...)
- readded debug.sf.hw=1 to default.prop for possible hardware ui acceleration (did no harm on my device)
- removed CFQ tweaks from initramfs as NOOP is used
- removed SLQB for now, felt weird on my device
- first XDA release
- removed debug.sf.hw=1 from default.prop again for testing
- [URL="https://github.com/existz/galaxys-i9000-OC-kernel-source-patches/blob/master/oc120v400-source.patch"]UV/OC[/URL] (1,2Ghz, 1300mV possible) (thanks exitz)
[B]0.0.1 - 0.1.4 / 2011-08 / (not published)[/B]
- first build experiments, added features step by step.
- struggled with initramfs, finally extracted JVQ initramfs
- ported Speedmods' recovery and scripts
 
Last edited:

Mirciulikkk

Senior Member
Mar 15, 2011
90
6
That was really nice of you to thank everyone that way. I can rarely see this on the forums..

Nice kernel, hope you will become big and probably a new ROM chef in the near future, who knows...

Wish you all the best.
 

mialwe

Senior Member
Apr 28, 2011
757
1,565
Thank you for your kind "welcome", I'm glad to be able to give something back to XDA.
@Lukiqq: Jup, I'm not a full-time programmer but made some experiences with BASIC/Python/Bash/little bit of C/C++, even looked into Java about 10 Years ago and mainly PHP/MySQL/CSS (+ a little bit of MS SQL @work) since starting with BASIC/PASCAL almost 20 years ago (2086XT,black/yellow monitor :) ). I like code of all kinds but just don't have enought time to learn...
@pingpong: Thank you for the packages, just answered your PM.
 
  • Like
Reactions: burakgon

mialwe

Senior Member
Apr 28, 2011
757
1,565
As I'm using Speedmods' initramfs bootanimation should work as /system/media/bootanimation.zip. Never used it myself, though.

Prepared 0.1.8 with Voodoo10, 341Mb RAM and updated Patchfile (to work with -p1 :) ) but did a "make clean" before saving a zImage backup so this will be here tomorrow as I'm doing a recompile this night. Have made a copy using this which works on my device but I'm not sure about uploading this DD-zImage...
Edit: Recompiled and uploaded. Near midnight...
 
Last edited:
  • Like
Reactions: Тhe Dark Knight

mialwe

Senior Member
Apr 28, 2011
757
1,565
- 0.1.9 uploaded, includes BLN support (tested with bln pro app and Gmail).
- cleaning up first post a bit
- thinking of uploading my build script... maybe useful for someone...
 
  • Like
Reactions: Тhe Dark Knight

DonVito2020

Senior Member
Apr 8, 2011
252
111
Good to see new kernels coming up. All the best :). Gonna give it a spin tonight.

Edit - Sorry didnt work out for me "Bootloops" :( went back to semaphore via odin.

Juwes 5.2
 
Last edited:

HM.Carbide

Senior Member
Nov 29, 2010
390
445
Good kernel, stable and fast. Looking at all day behaviour the next days.
Thanks for the good work.
 

mialwe

Senior Member
Apr 28, 2011
757
1,565
@all: Glad it works for most of you :)
I'm thinking of tweaking conservative governor to scale up a bit faster, should give better battery as conservative steps up frequency after frequency - ondemand uses highest frequency much faster.

@DonVito2020: If you flashed via CWM - the CWM script does not include any clear-cache or clear-dalvik-cache actions (and does not erase any init.d-script btw), maybe this would have been an option to try - reboot to recovery, clear caches from there, reboot again and check if you get bootloops.
 
Last edited:
  • Like
Reactions: Тhe Dark Knight

Top Liked Posts

  • There are no posts matching your filters.
  • 137
    The Midnight kernel (mngb) is a personal project aiming for "average", daily use and stability. Not benchmark performance. Nothing fancy. I really liked the Speedmod kernel while using Froyo but missed some features so 2011/07 I decided to work on this kernel which has now been completely rebuilt 2012/06 using latest Samsung sources.

    Big thanks to Mahd for tenacious testing and beeing patient with me, all users, donators and developers and especially stratosk, hardcore, supercurio (Voodoo), koush (CWM), neldar (BLN) and everybody else developing Open Source software, helping or reporting.

    OVERVIEW
    - for Samsung JW4/5/6 based firmware, support for RFS and EXT4 partitions
    - autoROOT, init.d support
    - optional overclocking to 1.128Ghz, undervolting support
    - Midnight SMOOVE CPU governor, SmartAssV2, SIO IO scheduler, 366Mb RAM \w full video capabilities
    - backlightnotification (use BLN Control), VoodooSound10 (use VoodooControl)
    - some tweaks, removed debug stuff
    - for ADB users: adb shell remount
    - extended CWM
    --> reinstall/remove su/busybox/Superuser
    --> backup/restore/delete Nandroid FULL/DATA-only/SYSTEM-only
    --> extended cleanup options (sounds, bloatware and unneeded system-apps (profiles ~ 0.7-60Mb)
    --> choose 800Mhz/1Ghz/1.128Ghz maxfreq
    --> choose Smoove, Conservative, Ondemand, SmartAssV2 governor
    --> toggle logger/tun/bthid modules, Noop, touchscreen sensitivity, shorter touchLED timeout, init.d
    --> set screen gamma and RGB profile

    DEFAULTS
    Stock frequencies, SMOOVE, SIO, all options disabled.

    INSTALL
    Flash from sdcard using sgs-kernel flasher, flash extracted zImage using Heimdall or flash downloaded TAR archive with Odin

    DOWNLOAD (changelog @ post #2)
    20
    SOURCES/LIVE CHANGELOG -> Github

    CHANGELOG
    Code:
    [B]0.5.8 / 2012-06-18[/B]
    - CWM: readded uv menu
    [B]0.5.7 / 2012-06-17[/B]
    - added SmartAssV2 CPU governor
    - support for EXT4 partitions is back (thanks ZaneZam for reporting and testing)
    - some internal [URL="https://github.com/mialwe/mngb/commits/master"]kernel patches/enhancements[/URL]
    - CWM: MNGB menu for kernel options
    - CWM: menus for CPU max frequency and governors
    [B]0.5.6 / 2012-06-12[/B]
    - lowered screen-off CPU sampling_rate
    - removed old lower brightness adjustment formula
    [B]0.5.5 / 2012-06-05[/B]
    - bugfix: ROM->privacy->factory reset works for RFS now - thanks Mahd for the bug report
    - sampling_rate 23000
    - logcat toggle via CWM
    - auto removal of MidnightControl.apk
    [B]0.5.3 / 2012-06-02[/B]
    - bugfix: Superuser/SU don't get replaced at every boot anymore
    - bugfix: Odin TAR works now as intended
    [B]0.5.1 / 2012-06-02[/B]
    - added Midnight SMOOVE CPU governor
    - added updated Ondemand governor (from MNICS)
    - completely rebuilt kernel using Samsungs 2012/05 sources
    - removed MidnightControl, Nexus display drivers
    - included only the most important features
    [B][COLOR="Red"]------- NEW NAME (mngb), NEW BASE SOURCES (Samsung 2012), JW4/5/6 ONLY ------[/COLOR][/B]
    [B]0.9.0 / 2012-03-07[/B]
    - bugfix: Ondemand governor should be faster again
    - sampling rate 40000->20000 for Conservative governor
    - updated SIO scheduler sources 
    [B]0.8.9 / 2012-02-28[/B]
    - added 1.128Ghz step (arm/int.volt 1300/1100)
    - added lowmemorykiller MODERATE (56Mb) preset
    - added generic gamma adjustment (-30-0)to MidnightControl
    - added LED timeout adjustment (100-2000ms) to MidnightControl
    - changed gamma default (reducing oversaturation like in 0.8.8)
    - changed 1.2Ghz arm/int.volt to 1350/1100
    - ported Conservative governor from Midnight-ICS
    - removed 800Mhz max. freq when screen-off
    - back to JW1 proprietary initramfs modules (last "official" version)
    [B]0.8.8 / 2012-02-07[/B]
    - app: fix for users not having /system/bin/cat
    - app: fixed Midnight kernel version display
    - kernel: reverted some optimizations after instability reports -> 342Mb RAM
    - kernel: raised 1.2Ghz arm.voltage 1310mV -> 1325mV
    - initramfs: changed CFS values, testing...
    [B]0.8.7 / 2012-01-31[/B]
    - kernel: 343Mb RAM, front cam picture works \w JW1, probably not \w JVU)
    - kernel: removed more debug stuff for slightly more performance, less overhead
    - kernel: back to stock bootlogo
    - kernel: Nexus tl2796, configurable lower brightness (5 levels)
    - kernel: RGB multiplier support based on [URL="https://github.com/project-voodoo/linux_samsung/blob/nexus-s-voodoo/drivers/video/samsung/s3cfb_tl2796.c"]Supercurios great work[/URL]
    - kernel: Conservative governor adjustments
    - kernel: bthid compiled as module
    - kernel: int.volt slightly raised (1100->1125mV) for 1.2Ghz (stability)
    - CWM: removed a lot of potentially unneeded stuff 
    - CWM: added remove Email.apk, GMaps options
    - CWM: added "block-MidnightControl-settings-next-boot" option
    - initramfs: updated to JVU modules
    - initramfs: SIO and 128Kb (yes) sdcard read_ahead_kb default
    - initramfs: improved read_ahead_kb for /cache, /dbdata, /system
    - initramfs: adjusted default LMK, starts working at 65Mb RAM now
    - initramfs: HOME_APP_ADJ=1 again
    - MidnightControl app
    [B]0.8.4 / 2011-12-17[/B]
    - Bugfix: Ondemand/deepsleep-patch (thanks Stratosk)
    - Bugfix: Logcat incomplete when loaded as module
    - CWM: 3 touch sensitivity options back
    - Initramfs: shortend /proc/mem output in /data/user.log
    - Initramfs: JW1-modules
    - Initramfs: Pikachu01's latest CFS values
    [B]0.8.3 / 2011-12-10[/B]
    - Bugfix: Removed Ondemand/deep-sleep patch, somehow caused frequency to be 800Mhz > 40% time if connected to AC charger and sleeping.
    - Disabled SAMPLING_DOWN_FACTOR again, testing
    - 341Mb RAM, testing
    [B]0.8.2-4 / 2011-12-08[/B]
    - initramfs: JVZ-module, new CFS values (testing)
    - kernel: Ondemand/[URL="http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=3f78a9f7fcee0e9b44a15f39ac382664e301fad5"]SAMPLING_DOWN_FACTOR[/URL] implemented
    - cwm: /mnt/sdcard compatibility
    - cwm: handles mount for /sbin/mount to prevent issues when mounting from update/CWM-ZIP
    - cwm: support for /dbdata mounts, /datadata completely removed
    [COLOR="Red"]  CAUTION: create new backups, Midnight 0.8 Nandroid 
      backups (containing datadata)...tar won't be completely restored.[/COLOR]    
    [B]0.8.0 / 2011-12-03[/B]
    - Big thanks to [URL="http://xdaforums.com/showthread.php?t=1112908"]stratosk[/URL] for letting me use his CWM3 initramfs as base initramfs
    - Big thanks to [URL="https://github.com/project-voodoo/linux_samsung"]supercurio[/URL] for taking some time to confirm my assumptions about a nasty RFS bug and my bugfix ideas
    - Big thanks to [URL="http://xdaforums.com/showthread.php?t=1225879"]madrooster[/URL] for a helping hand regarding my build environment when switching to CWM4.
    - Big thanks to Mahd and Scheichuwe for testing ;)
    - Thank you guys. A lot. 
    - CWM4
    - CWM: Rearranged menus
    - CWM: EXT4 and RFS support
    - CWM: Backported CWM5 TAR Nandroid
    - CWM: Supports FULL, DATA- and SYSTEM-only Nandroid
    - CWM: Added "remove Nandroid backup" option
    - CWM: Added more IPv4/6 security tweaks
    - CWM: Manage TUN module/IPvX security tweak issue
    - CWM: Added Advanced->Misc->Toggle NO-autoROOT
    - CWM: Added Advanced->Misc->Toggle NO-MidnightTweaks
    - CWM: Added Backup/Restore->SystemUI, framework-res
    - CWM: Added Cleanup->Delete *a-lot-of-bloat* options
    - CWM: Added 64/128/256Kb to READ_AHEAD menu
    - CWM: Moved touchscreen sensitivity to Advanced options->misc
    - CWM: Removed "delete S_volt_scheduler" as init.d can be disabled
    - CWM: Removed "delete init.d" as init.d can be disabled
    - CWM: Removed RFS/EXT4 conversion due to unresolved issues
    - CWM: Added multiple bloatware/systemapp cleanup options (0.7-52Mb)
    - Initramfs: JVU updated, completely rebuilt (multiple times :) )
    - Initramfs: autoROOT (re-checked every boot)
    - Initramfs: added remount script for adb users (adb shell remount)
    - Initramfs: slightly adjusted some tweaks
    - Initramfs: testing [URL="http://xdaforums.com/showthread.php?t=1296927"]pikachu01's[/URL] CFS values
    - Kernel: Midnight bootlogo 
    - Kernel: Added [URL="http://xdaforums.com/showthread.php?t=1266051"]newmails[/URL] great Ondemand patch
    --[COLOR="Red"]Be sure to reduce undervolting mV if you experience reboots[/COLOR]
    - Kernel: Added SIO scheduler
    - Kernel: Some minor tweaks (99% 0.7.6)
    - Adjusted lowmemorykiller settings
    - everything I forgot since 2011/10...
    [B]0.7.6 / 2011-10-07[/B]
    - bugfix: su/superuser not working
    - slightly lowered conservative thresholds to 55/up)/35(down)
    - some text changes in CWM cleanup menu
    [B]0.7.5 / 2011-10-07[/B]
    - raised 1.2Ghz voltage from 1300mV to 1310mV (stability) 
    - removed 1.3Ghz
    - updated su/superuser to 3.0.2-efgh
    - updated to proprietary JVT modules
    [B]0.7.3 / 2011-10-02[/B]
    - hybrid overclocking:
    -- defaults to 100-200-400-800-1000Mhz, stock voltages
    -- 1.2Ghz (1300mV) [B]or[/B] 1.3Ghz(1375mV) can be enabled via CWM
    -- when overclocking 1Ghz freq. will remain enabled as additional freq. step
    [B]0.7.2 / 2011-10-01[/B]
    - [COLOR="Red"]PLEASE ADJUST UV VALUES FOR NEW MAX FREQUENCY STEPS[/COLOR]
    - removed 1.3Ghz again
    [B]0.7.1 / 2011-09-30[/B]
    - [COLOR="Red"]PLEASE ADJUST UV VALUES FOR NEW MAX FREQUENCY STEPS[/COLOR]
    - switched to 7 freq/5 step version (100/200/400/800/1000/1200/1300Mhz)
    - slightly optimized conservative governor
    -- up_threshold 60, down_threshold 45,  code uses freq. lookup table
    - CWM: Added "Unroot" option to cleanup menu
    - CWM: load TUN module
    - updated su/superuser to 3.0-efgh
    [B] 0.6.7 / 2011-09-25[/B]
    - adapted JVS initramfs
    - should work with JVQ/JVR/JVS (wifi issues /w JVS expected, none reported...)
    - CWM: added autobackup for all cleanup menu options
    - CWM: added restore option for cleanup menu options
    - CWM: added partition size/free space stats in ROOT and cleanup menus
    - extended/cleaned up debug output in /data/user.log
    [B] 0.6.5 / 2011-09-23[/B]
    - bugfix: set read_ahead value to 512 as default again
    - added debug output in /data/user.log
    [B] 0.6.4 / 2011-09-22[/B]
    - bugfix: fixed uv values not beeing applied
    - bugfix: cpufreq-stats not beeing loaded, UV/OC-Apps should work again
    [B] 0.6.3 / 2011-09-22[/B]
    -bugfix: fixed bootloop if not using manual LMK slot 1 value (thanks Pfiffle for the hint)
    [B] 0.6.2 / 2011-09-22[/B]
    - bugfix: undervolting presets 10/11 working
    - bugfix: voodoo sound FM should work now 
    - CWM: added manual undervolting mV setting (5mV steps)
    - CWM: added manual lowmemorykiller setting (1Mb step)
    - CWM: Toggle init.d support ([COLOR="Red"]default: disabled[/COLOR], enable it if needed)
    - CWM: restructured, added IDs to larger tables (presets, uv, lmk, read_ahead)
    - adjusted ondemand up_threshold (90->85%)
    - color temperature set to 6900k
    - play repeating samsung bootanimation if dalvik-cache cleared
    - some minor tweak adjustments
    - implemented [URL="https://github.com/kangsterizer/android_kernel_samsung/blob/android-samsung-2.6.35/drivers/input/keyboard/cypress-touchkey.c"]kangsterizers touckey backlight timeout procedures[/URL], lowered timeout to 0.5 sec.
    [B] 0.6.1 / 2011-09-17[/B]
    - CWM: bugfix, enabled option 11 in UV menu
    - CWM: added [default] marker, added IDs to UV settings
    [B] 0.6.0 / 2011-09-17[/B]
    - Upgraded proprietary modules to JVR
    - minor speed tweaks 
    - added VR IO scheduler
    - adjusted some tweaks ([URL="https://github.com/mialwe/midnight-i9000-initramfs/blob/0c310e9f73ba69947bf94c9125e4a1a3565543d3/sbin/post-init.sh"]sources here[/URL])
    - toggle CPU 1.0/1.2Ghz via sysfs + reloading cpufreq_stats module (thanks to stratosk for his great idea to switch the frequency via 2 functions in cpu-freq.c) 
    - lots of new CWM options:
    -- shutdown from CWM
    -- choose CPU max.freq 400/800/1000 [B]or[/B] 1200Mhz (=4 steps)
    -- choose CPU governor (conservative, ondemand)
    -- choose CPU undervolting preset (10 presets for now)
    -- choose lowmemorykiller preset (7 presets for now, 4th value=process killer)
    -- choose IO scheduler (noop, vr, deadline, cfq)
    -- choose read_ahead (sdcards) 512/1024/2048/3064/4096kB
    -- choose touchscreen sensitivity presets (stock + 3 presets for now, testing...)
    -- moved filesystem conversion to seperate menu
    -- option to delete local.prop, S_volt_scheduler and Midnight config files
    [B] 0.1.5 - 0.5.4-test / 2011-08-27[/B]
    - sources updated [URL="https://github.com/mialwe"]@github[/URL]
    - interesting dev links updated @github
    - recovery source uploaded @github
    - slightly raised LMK values for slot 4/5/6, values are now 12288,13312,15360 (48/52/60Mb) (responisveness+, testing)
    - compiled without OABI compatibility (speed+, found @talon, testing)
    - removed "sysctl -w vm.oom_kill_allocating_task=1" (concurrs with LMK and [URL="http://www.imoseyon.com/2011/01/oom-and-android.html"][B]maybe[/B] doesn't even work[/URL]?)
    - removed setprop pm.sleep_mode 1 (safety, not enough information)
    - raised /proc/sys/vm settings a little bit:
    -- echo "3000" > /proc/sys/vm/dirty_writeback_centisecs # flush after 30sec.
    -- echo "3000" > /proc/sys/vm/dirty_expire_centisecs # pages expire after 30sec.
    -- echo "10" > /proc/sys/vm/dirty_background_ratio # flush pages later (default 5% active mem)
    -- echo "25" > /proc/sys/vm/dirty_ratio
    - small fix: executing initscripts with filename starting with digits, too (e.g. "99SuperCharger")...
    - toolchain 2010q1
    - VoodooSound FM enabled
    - tiny bugfix, disabled more debug stuff 
    - CWM option: toggle sdcard read_ahead 2048kB tweak
    - disabled more debug stuff
    - CONFIG_HZ 250hz
    - lowmemorykiller values to 48/52Mb for slots 5/6
    - moved HOME_APP to slot 0
    - disabled touchscreen tweaks (stuttering issues for some users)
    - reimplemented missing WARM/COLD mode setting in CWM (advanced options/optional features)
    - implemented clean init.d via CWM
    - implemented remove all custom bootanimations via CWM
    - implemented remove boot/shutdown sounds (for space to root) via CWM
    - bugfix: set conservative governor as default (again) instead of ondemand
    - disabled powersave/performance governors
    - stability: reverted/removed some tweaks set in initramfs
    - stability: RAM back to 336 for testing
    - merged Galaxy Tab mdnie module with Speedmod sharpness/color
    - slightly tweaked color temperature (testing)
    - pushed color saturation (testing)
    - added some touch behaviour tweaks (testing)
    - added some prop settings for battery and proximity sensor
    - disabled iostats (less overhead)
    - missing liblights lib installer for BLN implemented
    - USB tethering *should* work now
    - conservative governor tweaked for 1Ghz max (1.2Ghz still possible)
    - reverted various speed/mem tweaks from 0.3.8 (have to test them more)
    - merged Galaxy Tab _mdnie module (testing)
    - merged simple Voodoo color settings for UI only (testing)
    - set color temperature to 6700k (testing)
    - working bootanimations (thanks stratosk)
    - more tweaked CONSERVATIVE governor
    - [B]max. Voltage for 1.2Ghz raised to 1300mV[/B] (because of stability issues with 1275mV)
    - various mem/speed improvements for testing ([URL="https://github.com/mialwe/midnight-i9000-initramfs/blob/master/sbin/post-init.sh"]see Github[/URL])
    - more tweaked CONSERVATIVE governor
    - disabled non-working umounting options in recovery
    - Speedmods' initramfs with CWM2.5 re-implemented as conversion EXT4/RFS now works. mount options in CWM -> mount & storage still don't work, tested  Speedmod-T24 where they did not work, too.
    - Module version in .config now empty (LOCALVERSION)
    - reverted file moving of tvoutserver start in initramfs
    - new samsung sources merged, still recovery3e only
    - switched back to recovery3e due to umounting issues with Speedmod CWM2.5
    - slightly tweaked CONSERVATIVE CPU governor default, switch back to ONDEMAND with e.g. setCPU or VoltageControl or similar apps
    - testing: autom. su-installation, init.d-support via initramfs
    - kernel features and patchfile unchanged to 0.1.9
    - BLN support
    - VoodooSound10
    - 341Mb RAM (wasn't able to produce anything better than those values used by other kernels, too. 720p recording without sound on my external sdcard, *with* sound on internal...)
    - readded debug.sf.hw=1 to default.prop for possible hardware ui acceleration (did no harm on my device)
    - removed CFQ tweaks from initramfs as NOOP is used
    - removed SLQB for now, felt weird on my device
    - first XDA release
    - removed debug.sf.hw=1 from default.prop again for testing
    - [URL="https://github.com/existz/galaxys-i9000-OC-kernel-source-patches/blob/master/oc120v400-source.patch"]UV/OC[/URL] (1,2Ghz, 1300mV possible) (thanks exitz)
    [B]0.0.1 - 0.1.4 / 2011-08 / (not published)[/B]
    - first build experiments, added features step by step.
    - struggled with initramfs, finally extracted JVQ initramfs
    - ported Speedmods' recovery and scripts
    15
    Hey Mialwe,
    Good luck with your new device, my friend. I'm sure that you will also do great work there!
    Thank youStratos, but most probably there will be no more work by me for S2. No time, no motivation. We'll see, not sure about this but I'm quite sure I'll lurk into Semaphore threads if I find the time :)
    Hi mialwe
    Any chance you'll start working on your ICS kernel, it really was the best kernel for ICS out there specially in combination with slim
    No, sorry. MNICS is frozen for some weeks now because of different reasons and I mentioned the switch to S2 3 posts above yours. One reason definately is the bootloop bug - I need a device which I can boot *without* having my laptop with me to flash some recovery kernel to get out of a loop.

    Just flashed mngb-0.5.8 over semaphore 2.7.4 on my Ario Rom (HERE)
    How do I change options like ext4 as the semaphore icon is still in menu settings but only shows script manager :confused:
    MNGB works with EXT4 partitions but does not support built-in conversion functionality. The app is there because you used Semaphore supporting this before mngb. Semaphore installed the app because it supports the conversion.
    This thread contains a *lot* of info about EXT4/Midnight/MNGB and why conversion is not supported.

    Hi, i can't find the option 'Fix permissions' in the recovery menu?
    This menu does not exist as I never ever needed it.
    Thanks for everything bro! Nothing last forever :)
    If you're taking any last requests (lol), it'd be great to havea governor that strictly limits max freq during sleep (ondemandx perhaps), cause for some reason 90% of kernels (stock included), hard-lock the cpu at 800mhz when playing flac (it can play at 100mhz no stutter, I've tested!!!)...

    If not.. is it hard for a noob to figure out how to do add it into your code?? Thanks for any advice bro :)
    Interesting, I never tested flac but with simple mp3 only - 100mhz when screen off (using Smoove).
    Midnight had a 800Mhz lock for screen-off a few versions ago but it was removed at a time some users experienced SODs (older Midnight version). And yes, it would be not that easy if you don't know anything about kernels/C/compiling stuff. Maybe it's a codec issue?

    @all: Thank you for a great time with SGS1/the Midnight/MNICS/MNGB-threads, I really enjoyed this. Thank you for using, testing, reporting back,... without that the kernel(s) would not have been developed and/or used for almost one year.
    14
    One last final version of midnight GB please..
    Ooooookay :)

    0.8.9 / 2012-02-28
    - added 1.128Ghz step (arm/int.volt 1300/1100), int.volt = stock
    - added lowmemorykiller MODERATE (56Mb) preset
    - added generic gamma adjustment (-30 - 0)to MidnightControl
    - added LED timeout adjustment (100 - 2000ms) to MidnightControl
    - changed gamma default to (reducing oversaturation like in 0.8.8)
    - changed 1.2Ghz arm/int.volt to 1350,1100 (int.volt=stock)
    - ported Conservative governor from Midnight-ICS
    - removed 800Mhz max. freq when screen-off
    - back to JW1 initramfs proprietary modules (last "official" version)

    link to first post with downloads

    Tested for two days average use only this time, I hope this one works for you. No reboots, no SODs here (but I did not have those before) using 1.Ghz, 1.128Ghz or 1.2Ghz and no undervolting, SIO and Conservative governor.
    10
    but honestly, a little note on the ICS thread about the shutdown would have been nice
    Yes, I'm sorry for that. I sent the close request to an admin ~2 days ago, had a lot of real life things going on and did not think about this. Stopping MNICs was not an easy decision and I wasn't sure for some time. Now it's done.
    just fyi, hardcore always published 2 versions of his kernle (normal and bigmem) and he had 2 branches as well, the "real" speedmod 2.2.1 and the new GB version which always lacked some love and development as hc has moved on to the SGS2
    Yes, I know about Speedmod's history. Don't know about HCs real life and I don't have to but this is something a lot of users seem to forget - as far as I know most kernel devs do their work in their spare time (and at least for me that was the *complete* spare time, not time left for anything else), without payment (and yes, you can't count the donations as payment or MN just was not good enough) and because they enjoy what they do.
    I never cared about donations but my spare time is reduced to a minimum (job and family \w two kids, 3 and 7), I simply cannot continue working every night on a phone kernel and I'm not enjoying this as I did almost a year ago to keep me motivated.

    I'll continue working on MNGB and maybe MNCM7 (or have to finally decide which system to use, not sure) - both as fully functional (incl. 720p) large-RAM versions with ~365Mb (this option was not present when HC published his two versions you mentioned) - so there's no need for a standalone bigmem version.

    For all GB users I'll attach a MNGB-0.5.6 test version
    - with a few RGB and gamma profiles in CWM,
    - Nexus tl2796 like in the last Midnight versions,
    - Nightmode toggle app to simply toggle nigtmode (brightness=1) from UI