[kernel][JW4/5/6] mngb-0.5.7/12-06-18 - Galaxy S I9000 Android Development

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)

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://forum.xda-developers.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://forum.xda-developers.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://forum.xda-developers.com/showthread.php?t=1296927"]pikachu01's[/URL] CFS values
- Kernel: Midnight bootlogo
- Kernel: Added [URL="http://forum.xda-developers.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

Nice to see a new kernel dev for the i9000. Welcome!

Oh wow, something new to flash I'll just wait for some feedback, and give it a try

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.

I wish you all good! You don't need to be programmer or anyone else like that to make something big, just keep your mind open for new challenges and see what ppl says, do not give up and do not be discouraged by some of them

Here is a .tar image and a cwm .zip
Removed

Congratulation for your new kernel. more kernel choice for me.
Sent from my GT-I9000 using Tapatalk

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.

thanks m8 will try this...keep up the good work.....cheeerz

No Bootanimation support??

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

Thank you for your work @mialwe!

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

mialwe keep the good work and thanks for this kernel i will stay tunned

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

Good kernel, stable and fast. Looking at all day behaviour the next days.
Thanks for the good work.

Very good kernel fast stable. I love it
Sent from my GT-I9000 using Tapatalk

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

Is the CWM 2.5 version you use compatible to 3.x CWM installpacks? Like Modems etc?

Related

[KERNEL] Semaphore ICS 1.3.0

This is a kernel based on the pawitp's one and it works for Android 4.0.x ICS ROMs.
Features
- LiveOC
- Custom Voltage
- Voodoo Sound
- BLN
- 373.5MB - 398.7MB available RAM
- Compiled with Linaro 4.7.2
- O3 optimization
- Semaphore Script Manager 0.75
- Auto brightness driver
- Touch Wake
- Vibration intensity
- Deep Idle
- USB host driver
- Governor ondemand (default)
- ondemand: sampling_down_factor tunable by momentum, smooth_ui
- Governor conservative (module, smooth_ui)
- Governor smartassV2 (module, smooth_ui)
- Noop I/O scheduler (default)
- Deadline I/O Scheduler (module)
- Simple I/O Scheduler (module)
- CFQ I/O Scheduler (module)
- Netfilter (iptables) as modules
- CIFS as module
- TUN as module
- Logcat disabled (as module only)
- Standard network packet scheduler
- Kernel log buffer size 4KB (from 128KB)
- Reduced debug info
- TinyRCU
- Fast Charge support
- WiFi PM_MAX when suspend
- CWM 6.0.1.0
- /system/etc/init.d directory creation if not exist
In order to load various modules of the kernel and enable or disable features use HM.Carbide's Semaphore Script Manager application. It automatically copies and runs the respective scripts from /res/scripts to /system/etc/init.d directory. The scripts:
- S05enable_oc_0800 (disable overclocking - caps max freq to 800Mhz)
- S05enable_oc_1000_default (disable overclocking)
- S05enable_oc_1100 (enable overclocking - max freq 1100MHz)
- S05enable_oc_1140 (enable overclocking - max freq 1140MHz)
- S05enable_oc_1200 (enable overclocking - max freq 1200MHz)
- S10enable_gov_conservative (load and enable conservative governor module)
- S10enable_gov_ondemand_default (enable ondemand governor)
- S10enable_gov_smartassV2 (load and enable conservative smartassV2 module)
- S15enable_sched_deadline (load and enable the deadline I/O scheduler module)
- S15enable_sched_noop_default (enable noop scheduler)
- S15enable_sched_sio (enable and load SIO scheduler module)
- S20enable_netfilter (load netfilter modules for firewall or WiFi, USB tethering)
- S30enable_logger (enable logging)
- S35enable_tun (load tun module)
- S40enable_cifs (load cifs module)
Custom Voltage may be configured with Voltage control or similar applications.
For more information check the semaphore kernel website: www.semaphore.gr
For questions or issues about Semaphore Script Manager please visit HM.Carbide thread
Thanks to Superuser, you may download a wonderful custom bootanimation for CM9 from http://www.semaphore.gr/downloads/boot-animations
Thanks to
pawitp for his kernel.
zacharias.maladroit for his useful information about CM's initramfs
HM.Carbide for his Semaphore Script Manager application.
Ezekeel for LiveOC, Custom Voltage
sztupy for USB host driver
koush for CWM
xcaliburinhand for his work about dock support
mialwe for his vibrator intensity and other fixes
ShadowInkDesigns for Android logo
trailblazerz11 for his help with Linaro and other changes
DerTeufel1980 for various hints
All people who support this kernel by testing, reporting issues, donating or simply using it.
Change log
1.3.0 (30/07/2012)
- added CFQ scheduler as module
- in call volume settings (thanks to DerTeufel for his hint)
- fix charging display for car dock (thanks to pawitp)
- CWM 6.0.1.0 (thanks to koush) *
- CWM: added AROMA Filemanager (thanks to amarullz)
- compiled with Linaro 4.7.2 201207
Normal versions (for CM9 or ROMs without hugemem configuration)
1.3.0
- 373.5MB - 385.7MB
For Slim ROM or patched ROMs with hugemem configuration
1.3.0s
- 386.5MB - 398.7MB
* Nandroid backups with CWM 6 are not compatible with previous versions.
1.2.6 (07/07/2012)
- USB mass storage disable write speed cache support (thanks kasper_h, DerTeufel1980 for the hint)
- CWM: Allow key to repeat on hold (thanks to FaultException, koush). Works for volume up, down and touch key menu (as down)
- CWM: fix selection bar color when battery < 21%
- CWM: upstream sync (thanks to koush) *
- initramfs sync some changes with CM9 (adb works in root by default in recovery)
- compiled with linaro 4.7.1 201206
Normal versions (for CM9 or ROMs without hugemem configuration)
1.2.6
- 373.5MB - 385.7MB
For Slim ROM or patched ROMs with hugemem configuration
1.2.6s
- 386.5MB - 398.7MB
* Please note that due to changes in nandroid backup/restore, previous versions of Semaphore can't restore backups from version >= 1.2.6. To be on the safe side, please renew your backups.
1.2.5 (19/06/2012)
- rebased to 3.0.17 (thanks to trailblazerz11 and eugene373 for their github)
- compiled with Linaro 4.7.1 toolchain (thanks to trailblazerz11 for his help)
- O3 optimization flag
- upstream sync (fixes for cdma in-call volume and mic gain included, thanks to pawitp, efpophis)
- WiFi PM_MAX when suspended
- fixed 800MHz underclocking
- changed boot splash screen
Normal versions (for CM9 or ROMs without hugemem configuration)
1.2.5
- 373.5MB - 385.7MB
For Slim ROM or patched ROMs with hugemem configuration
1.2.5s
- 386.5MB - 398.7MB
1.2.2 (01/06/2012)
- Bootloop detection (if no normal boot is detected the phone will be forced to recovery in next boot) *
- bugfix: enabling Wi-Fi hotspot twice (copy the new netfilter script in order this to work by disabling and then enabling again netfilter in Semaphore app)
- creation of /system/lib/modules if does not exist
- removed LMK scripts
- fix some typos in scripts description (thanks to cdmackay, HiKsFiles)
* It doesn't mean that this will necessarily resolve the known bootloop issue, but it may help on bootloops because of bad OC/UV etc.
Full changelog: http://www.semaphore.gr/changelog/ics-version
Deep Idle Guide and FAQ
Sources
The Linux Kernel
Samsung Kernel sources
Semaphore kernel sources
Please use it at your own risk!
The attachment zip files are for flashing from CWM recovery.
The attachment tar files are for flashing through Heimdall/ODIN.
Attachment files md5sum:
4a963c5183993b256c5a0d52f88bc2c7 Semaphore_ICS_1.2.6.zip
408178563587859c31a4c5a90b394166 Semaphore_ICS_1.2.6s.zip
3a0ca16342f811dfd9666ce3633a20b6 Semaphore_ICS_1.2.6.tar
c53114e74530e68c3b5cddb424343e8b Semaphore_ICS_1.2.6s.tar
753748fba3b590babcbfb76857bf609d Semaphore_ICS_1.3.0.zip
a6f0d7c9d2254d9a178248d48cf3de45 Semaphore_ICS_1.3.0s.zip
1e71744541d74fdd60d6b43c2dc767c7 Semaphore_ICS_1.3.0.tar
09e1e9806dc84c9c2e2341e38ebd51b0 Semaphore_ICS_1.3.0s.tar
Alternative download from http://www.semaphore.gr/downloads/gt-i9000-ics
1.2.5e Euro 2012 - Spain Special Edition
How to build Semaphore kernel
Prerequisites
Basic knowledge of Linux is required to be able to build the kernel. We will also need a modern Linux box (preferably).
Basic Setup
First, we need to setup a directory in which we will clone the kernel and initramfs repositories. In this guide, we will setup them in /tmp but you can do it in any directory you want.
In a terminal we run:
Code:
mkdir /tmp/semaphore
cd /tmp/semaphore
Then we clone the basic kernel repository:
Code:
git clone https://github.com/stratosk/samsung-kernel-aries
Finally we clone the initramfs repository:
Code:
git clone https://github.com/stratosk/ics-ramdisk
OK, first step done. We got the code. Now we have to do some preparation and compile it.
Configuration
I prefer to use a mini ugly script to compile the kernel and pack it. It's located in the root of the kernel tree (/tmp/semaphore/samsung-kernel-aries/sbuild.sh)
We open this file with an editor of our choice (I prefer vi) and edit:
1) The two lines with the 'make' command, changing the CROSS_COMPILE= option. We need to set the path from the cross compiler toolchain. I use the one that it's included in CM9 repository.
2) The line starting with the 'find' command, changing the kernel source directory and destination directory of the modules location. This is into the initramfs directory. In our example it's /tmp/semaphore/ics-ramdisk/ics_combo/files/modules
The Semaphore's kernel configuration is located in the file config_sema in the root kernel directory. So, we need to copy this file as .config:
Code:
cp config_sema .config
Then we run this command to start the Linux kernel configuration utility (again change the CROSS_COMPILE according to your toolchain directory):
Code:
make CROSS_COMPILE=/kernels/semaphore_cap/android/android/system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi- ARCH=arm menuconfig
We go to 'General Setup' section and we change the 'Initramfs source files' option to /tmp/semaphore/ics-ramdisk/ics_combo/
We also need to change the next 2 options User ID and Group ID to whatever uid and gid we are logged in in the Linux box. In my case is 500,500. We exit and save the configuration.
Compiling
Now we are ready to build the kernel!
We just run:
Code:
./sbuild.sh
We wait few minutes (time depends on the machine) and hopefully the compilation will end.
The script will produce 2 files.
1) /tmp/semaphore/samsung-kernel-aries/arch/arm/boot/zImage
2) /tmp/semaphore/ics-ramdisk/cwm/Semaphore_ICS_1.2.0s.zip
These are the 2 known files that we can flash via Heimdal or CWM respectively.
just flasshing
Nice.Finally.
Downloading.
w00t, nice job Semaphore
Now on ICS ^^
thanks for the hard work!
Simply flashtastic!!! I was missing you on ics...
Enviado de mi puño y letra
i get bootloop grgrgr someelse? or maybe some restart by script manager? idk testing..
Works ok.
Gps,wifi,compass,scripts.
Good job.Finally ics from stratosk.
Nice work
Will you be implementing Voodoo Colour as well?
F1tty said:
i get bootloop grgrgr someelse? or maybe some restart by script manager? idk testing..
Click to expand...
Click to collapse
Semaphore Script Manager application is not bundled in the kernel (not yet).
I'm on teamhacksung's CM9. I didn't test it on Onecosmic's ICS.
qureshali said:
Will you be implementing Voodoo Colour as well?
Click to expand...
Click to collapse
I really don't know. I think that the pawitp's color hacks is fine.
I just want to stabilize this first. Features from Semaphore GB version will be added one by one and if there is a need for this. Lot's of features are already included by pawitp's kernel.
Re
This is just what i was waiting for... downloading now i feel like trolling everywhere out of happiness
No prob. mate! Take your time. We all love your work & Kernel!!
I also think that it's no need for voodoo colour.
This colours looks very good.
You're the man... dude
I can flash this on onecosmic rom? ( rc3.1)
Broeser said:
I can flash this on onecosmic rom? ( rc3.1)
Click to expand...
Click to collapse
I've never tried it.
F1tty reported bootloops. I really don't know what's the differences.
Broeser said:
I can flash this on onecosmic rom? ( rc3.1)
Click to expand...
Click to collapse
we will all going to find out when i will flash it to 3.1 until then....
geia soy re strato partous ta sovraka kai sto 4.0.3
Awesome, will try on build 15 right away - loaded and everything seems ok.
first impression is: great color and contrast! it's like I have 3d on my sgs now!
wifi ok, 3g ok (switches really fast, great), calling ok, sensors ok (for dialer), gps ok, whatsapp, gmail.
thank you very much!

[kernel][ICS][23/05/2012] mnics (LR/CM9)

The MNICS (Midnight-ICS) kernel is a personal project started JUL/2011 with the GB version because a kernel with the features I needed did not exist.
Main focus: stability and smooth experience using a modified Conservative CPU governor. Secondary: useful additions + easy to use app.
Big thanks to XDA, the community, testers, bug reporters and hardcore, chainfire, lukiqq, stratosk, zach, exitz, supercurio, koush, neldar, madrooster, pikachu01, pawtip & teamhacksung, ezekeel, renaudallard, toadlife, Tk-Glitch, krarvind, derTeufel1980, F4k and all the other devs. Everything I have learned about SGS I have learned reading XDA posts, sources or from conversation with XDA members - maybe I can give something back with this kernel.
Unique:
- modified Conservative governor for smooth experience
- kernel app for all features, no scripting needed
- nightmode toggle via kernel app (no overlay, real dark screen)
Click to expand...
Click to collapse
Description:
- based on CM9 kernel source
- stock frequencies up to 1Ghz, optionally switch to 1.128Ghz via CWM
- ram: 340Mb (stock), 372Mb (CM9 version) or 388Mb (LR version) for prepared ROMs or \w standalone patch
- BLN (basic func. + missed calls via kernel app, BLN Control for advanced features)
- voodoo sound (use supercurios VoodooControl)
- touchwake, adjustable vibration intensity, slightly enhanced touch sensitivity
- init.d (/system/etc) and userinit.d (/data/local) support, script filename has to start with "S"
- APP: min. brightness, nightmode, RGB, gamma, undervolting, LED timeout, vibration intensity, missed calls/basic BLN, bootlog, help...
Click to expand...
Click to collapse
Other:
- new initramfs system, kernel installable \w Heimdall, Odin and CWM (info)
- various code updates and changes for better performance, battery and less debug stuff
- remount script for ADB users (use "adb shell remount" to remount /system rw/ro)
- some kernel/initramfs tweaks evolved since Midnight-GB
-- optimized read_ahead values for /system, /datadata, /cache, sdcard
-- optimized kernel parameters, IO parameters, mount options
- CWM: options to delete NStools-settings/init.d contents
- CWM: options to toggle init.d, Logcat, overclocking to 1.128Ghz
Click to expand...
Click to collapse
Defaults:
- 1Ghz, Midnight Conservative governor, stock voltages
- SIO IO scheduler, 256Kb sdcard readahead
- Logcat + init.d disabled (MNICS does not install any init.d scripts)
Installation:
- boot to download mode
- Install kernel zip via Odin or Heimdall (CWM for older versions)
Sources: Github/mialwe, worklog always updated live
FAQ/already answered: nightmode, no 1.2Ghz? / DIDLE, LiveOC, displayed values in kernel app differ / minfreq 200Mhz? / settings not saved/"]]" error in log? + solution / compass / root, adb remount, TUN? / touchwake? / high AndroidOS % with ICS 4.0.3? / fast_charge?
Known issues:
- Phone-off/charging animation, screen stays off @ button press. Phone charges fine to 100%, thenn screen will switch on.
Changelog:
Code:
[B]next[/B]
- not sure
[B]20120523-1[/B]
- bugfix: module installer failed without /system/lib/modules directory
- bugfix: sdcard wipe while switching GB->ICS
[B]20120516-1[/B]
- readded fast_charge
[B]20120509-7[/B]
- changed naming (date-version-[stock]/LR/CM9)
- changed to [URL="http://forum.xda-developers.com/showpost.php?p=25875892&postcount=900"]new initramfs system[/URL] (download mode flashable)
- changed to Odin tar package (Heimdall: extract + flash zImage)
- removed fast_charge patch
- freed 2 Mb more RAM, testing
- CM9/i9000 kernel source sync
- reworked logfile /data/user.log
[B]202 - 2012/04/30[/B]
- app: fixed wrongly displayed default undervolting preset
- app: fixed colors not beeing applied at boot (v190 bug)
- app: fixed 800Mhz CPU limit not beeing applied at boot (v190 bug)
- zip: added missing MidnightControl.apk to CM9 version
[B]190 - 2012/04/29[/B]
- kernel: sync with CM9 sources (incl. sdcard mountpoints)
- kernel: USB [URL="http://forum.xda-developers.com/showthread.php?t=1586844"]fast_charge[/URL] by chad0989 (toggle widget [URL="https://play.google.com/store/apps/details?id=com.incredicontrol.fastchargewidget"]available[/URL]) [default: deactivated]
- kernel: enabled deadline/cfq IO schedulers [default: still SIO]
- kernel: 2 bugfixes (cpufreq), thanks to [URL="http://forum.xda-developers.com/showthread.php?t=1445214"]derTeufel1980[/URL] for the hints
- kernel: touchwake sync with Ezekeels [URL="https://github.com/Ezekeel/GLaDOS-nexus-prime/commit/bb4ebd593be8022c21a94c7f49b36b608ec005af"]source[/URL]
- app: added fast_charge toggle
- initramfs: 256Kb sdcard read_ahead default
- initramfs: added /data/local/userinit.d execution
- initramfs: executes init.d/userinit.d scripts starting with "S" only
[B]143 - 2012/04/08[/B]
- app: updated to version 1.4
- adjusted default min_brightness from 25 to 20 (stock?)
- app: fixed bug with old nightmode sysfs setting at startup
[B]142 - 2012/04/08[/B]
- kernel: fix green screen on some occasions
[B]141 - 2012/04/08[/B]
- app: added missed call service toggle (reboot required)
- app: updated help file
- initramfs: fixed issues with some busyboxes/$PATH (SlimICS, grep not found)
[B]133 - 2012/04/07[/B]
- changed name: MNICS-<buildnr>[LR (large RAM for 386Mb)]
- kernel: 5 frequencies, switchable maxfreq 1/1.128Ghz
- kernel: adjusted smooth conserv. triggers, [email protected] again
- kernel: fixed internal divider bug, thanks to [URL="http://forum.xda-developers.com/showthread.php?t=1445214"]theDevil1980[/URL] for the hint
- kernel: removed old recovery backup (-700Kb)
- CWM: added manual zipalign option
- CWM: moved init.d/overclocking/Logcat toggles to CWM
- app: service for missed calls BLN
- app: cleanup
[B]0.9.0-2 - 2012/03/30[/B]
- 340Mb RAM
- 386Mb for HUGERAM version \w patched ROMs
- fixed /datadata MidnightControl settings bug (for. e.g. ICSSGS, Bluelightning)
- BLN switch both MidnightControl and ROM->settings->display->notification LED toggles at the same time (one-click BLN enable)
[B]0.7.9 - 2012/03/28[/B]
- initramfs: fixed 0.7.7 bug
- initramfs: adjusted vm tweaks
- initramfs: cleaned up boot script and log output
- kernel: BLN off as default setting
- kernel: adjusted build flags
- app: updated help file
[B]0.7.7 - 2012/03/25 - [COLOR="Red"]removed 03/26[/COLOR] (apps-don't-open-bug)[/B]
- kernel: fixed freeze on 800Mhz max. freq.
- kernel: adjusted int.volt 1100->1125mV for 1.2Ghz (stability)
- kernel: added touchwake, thanks to [URL="http://forum.xda-developers.com/member.php?u=4143554"]ezekeel[/URL] (dev) and [URL="http://forum.xda-developers.com/showthread.php?t=1445214"]devil[/URL] (porting support via pm)
- kernel: added vibration intensity sysfs interface
- MidnightControl: rearranged menus
- MidnightControl: removed unused option
- MidnightControl: added touchwake toggle
- MidnightControl: added vibration intensity slider
- CWM: added delete init.d contents option
- CWM: added delete NStools settings option
[B]0.7.4 - 2012/03/17[/B]
- first public upload
** changelog moved to OP **
Flashing...
finally this kernel is on ics,great work since gingerbread,you rock !!!!
Hopefully it will work for you, this is the first time Midnight-ICS runs on other devices...
*This post was done with gummy rom running midnight-ics*
You have arrived here.
Sent from Slim_ICS_2.8
Nice
Gesendet von meinem GT-I9000 mit Tapatalk
Flashed it over Glitch on Slim_2.8.
Sent from Slim_ICS_2.8 MIDNIGHT-0.7.4
Thank you. Trying on cm9 b17.
Sent from my GT-I9000 using xda premium
For backlightnotification you don't need to get BLN.apk. It works via NSTools. Blinking is working for missed calls.
Sent from Slim_ICS_2.8 MIDNIGHT-ICS-0.7.4
ALogcat works.
Sent from Slim_ICS_2.8 MIDNIGHT-ICS-0.7.4
Thx for the great kernel, mialwe!
First Impressions:
1. fast (listening to music+playing speedx 3d+tapatalking+opening browser without any lag)
2. color settings are confusing (midnight control or galaxy s settings? dunno which one to use)
3. nice bootsplash (minimalistic&nice)
4. no didle and liveOC (you already thougt about adding this?)
To resume, this kernel is just great and I'm looking forward to seeing more features. I haven't tested bln yet, dunno if it works.
Keep up the good work!
Subscribed
... using tapatalk
Works great on CM9.
Thanks.
so excited!!!!
welcome to ics best ginger kernel.
Hi,
thanks for your realy nice kernel.
I will test it.
Please tell me, have your kernel iptables for droidwall activated?
Thanks
Welcome mialwe.
Flashing over Semaphore 0.9.5b(removed all init.d stuff before as 0.7.4 does not have init.d support) on SLIM ICS 2.8 is fine no issues there, just in case anybody curios like me to try...
---------- Post added at 10:33 PM ---------- Previous post was at 10:11 PM ----------
Really nice kernel for an alpha [email protected] Good job and Thank you.
Clean, fast and smooth yet without OC and LiveOC.
Couple of early minor issue notices:
Toggle night mode: Turning on, screen goes green like night vision camera but totally blur,screen guessing needed to toggle it back.
RGB color setting: Need some explanation, I pressed reset to default and then colors were faded, after rebooting I got the ROM color back.
So far so good.
Thank you all. Edit: In MidnightControl->menu->help there is more information on all app options including colors.
GreenSGS said:
(removed all init.d stuff before as 0.7.4 does not have init.d support)
[...]
Toggle night mode: Turning on, screen goes green like night vision camera but totally blur,screen guessing needed to toggle it back.
RGB color setting: Need some explanation, I pressed reset to default and then colors were faded, after rebooting I got the ROM color back.
Click to expand...
Click to collapse
- Midnight *does* support init.d script execution.
- Night mode: All this toggle does is lowering a min.brightness tunable to "1". Sounds like colors/gamma tuned too aggressive -> typical green tint on low brightness.
- What does "faded" mean? This options sets some values to the according tunables ("0") to R/G/B/gamma, no fading involved but you see the difference if you adjusted some of those before. Rebooting without the set-at-boot-toggle checked will give you ROM colors as MidnightControl will not override ROM colors in this case.
dark_knight35 said:
2. color settings are confusing (midnight control or galaxy s settings? dunno which one to use)
Click to expand...
Click to collapse
Yes, you are absolutely right here. Sadly all ICS ROMs seem to include kernel settings in their ROM option menus. I'm thinking of removing the MidnightControl color menu (but leave the night mode where it is) for the next version.
For now you can use both, Midnight color settings will override ROM color settings and stick at boot if you tick the load-at-boot option.

[Kernel][JellyBean] Devil3_1.7.5 [18/10/12] - i9000 and i9000B

This kernel is based on teamhacksung's kernel for Jellybean
Many Thanks to:
Teamhacksung
Zacharias.maladroit
Onecosmic
ytt3r
TK Glitch
Ezekeel
Eugene373
franciscofranco
Sunra
scheichuwe
perka
sztupy, for his great work, to get usb host mode driver
mialwe
stratosk
F4k for the idea to flash bigmem libs
...
sources:
https://github.com/DerTeufel
Click to expand...
Click to collapse
Working on this kernel is taking many hours almost every day. With a small donation, you show me, that my work is appreciated by you.
If you like this kernel, please donate to me
Download link and changelog can be found here:
http://www.hellybean.com/jelly.html
Click to expand...
Click to collapse
Kernels with VC in the name are coming with Voodoo Color
Changelog:
changelog 02.08.2012:
- bug fix to bln, to prevent kernel panic in some situations (thx to thalamus)
- switched from deep_idle 2 to idle2 (also thx to thalamus)
- updated kernel to linux 3.0.38
- dockaudio sysfs for captivate and fascinate
IDLE2 can be enabled with the following command:
echo 0 > /sys/module/cpuidle/parameters/idle2_disabled
IDLE2 can be disabled with the following command:
echo 1 > /sys/module/cpuidle/parameters/idle2_disabled
Stats can be obtained from the standard cpuidle interface, which, for
IDLE2 is located at:
/sys/devices/system/cpu/cpu0/cpuidle/state*/time
where * = 1, 2, 3
Click to expand...
Click to collapse
changelog 27.07.2012:
- hack mfc driver, to give all available mem to an application, if the requested mem is more than the max. available (maybe useful later, does not change anything right now (afaik))
- fix execution of boot-patch.sh, disabled twice execution of init.d, enabled tv-out server for all devices (i9000 already had this)
- battery: fix charging display for car dock
- increase read-ahead on moviNAND
changelog 25.07.2012 part2:
- fixed cwm backup and restore for kernels without /datadata partition
changelog 25.07.2012:
- updated recovery (no "sdcard format"-bug anymore, external sd card is named correctly)
- vibrant: hopefully fixed froyo ril
- jellybean: galaxy s settings working now
changelog 22.07.2012:
- updated kernal base to linux 3.0.36
- updated "block" to linux 3.3
- readded fiops io scheduler (kept cfq this time)
- updated cwm recovery to 6.0.1.0 (please create a new nandroid, because of possible incompatibilities between old/new recovery)
- compiled with linaro toolchain (gcc 4.7.1) and O3 compiler flags
- made uksm scan less often (save cpu time and power)
- at first boot: only delte init.d scripts created by other kernels
- increased usb write performance
- lowered ram and display voltages a little bit
- fixed some bugs related to devil settings (they should stick now after reboot, if set by one of the devil apps)
- support for scripts in /system/etc/shutdown.d (thx to Efpophis)
all scripts placed at /data/local/shutdown.d or /system/etc/shutdown.d get executed at shutdown/reboot
you can use this, to play a shutdown sound for example.
by default 00shutdown gets created, which plays a music file, when it is placed at one of these folders/places
/system/media/audio/ui/shutdown.ogg
/data/media/audio/ui/shutdown.ogg
Click to expand...
Click to collapse
- disabled some debugging options
- audio (and for fascinate: camera fixes) by Efpophis+
- patch for improving batterie life by CML
- nfts read/write driver built in (for use with usb host mode)
- reverted refreshrate_mod and gpu_oc mod, as both weren't working
changelog 18.06.2012:
- some changes to load balancing
- added ultra ksm (metioned by zach thx for this my friend)
- readded fiops io scheduler (still experimental and could cause instablilities)
- using snappy compression for zram now (2 times faster, but only 2% less compression)
- added the possibility to change zram size (at /data/local/devil/zram_size, with valid values: 50, 75, 100 and 150 (all in mb))
- fixed the applying of user_min/max freq after reboot
- vibrant: fixed gps
- fascinate: fixed nandroid in cwm recovery
what is ksm? http://en.wikipedia.org/wiki/Kernel_SamePage_Merging_(KSM)
uksm is more optimized and also working for single core systems. using this should give much better ram usage, but at the cost of more cpu usage
############# most probably not working (yet)##############
i have added seperate gpu oc from jt1134's galaxy_tab (to switch between 200 and 250 mhz), but i did not get any improvements in antutu...further tests needed
echo 1 > /sys/kernel/pvr_oc/pvr_oc (for 250 mhz)
echo 0 > /sys/kernel/pvr_oc/pvr_oc (for 200 mhz), no reboot needed
and also have changend default screen refreshrate from 60 to 56, with the possibility to change it:
echo 1 > /sys/kernel/refreshrate/enable (60 hz)
echo 0 > /sys/kernel/refreshrate/enable (56 hz)
######################################################
changelog 10.06.2012:
cwm recovery:
- fixed mounting of external sd card to pc
kernel:
- picked two commits from linux 3.0.32 (avoid a possible memory leak, small fix to ext4 driver)
fascinate:
- fixed wrong mount points
changelog 09.06.2012:
- updated Zram and Zcache from linux 3.3
- updated android binder driver from linux 3.3
- fixed restoring of backups within TWRP recovery
- added virtual buttons to cwm recovery (Attention: they still don't work!)
- call vol hack from tk glitch (take a look at init.d folder and edit the script to make changes to call vol hack)
- bigmem values get applied at first boot after power on (if there is a value at /data/local/devil/bigmem, 1 for 391 mb and 2 for 403 mb (the last one breaks 720p)
- prevent phantom key presses (from tk glitch)
changelog 24.05.2012:
- Smooth_ui included to ondemand, conservative, smartass, lulzactive, lagfree and lazy governor (only one setting for activating/deactivating it in general)
- 3 cpu governor presets (smooth, normal, powersave) for ondemand, conservative, smartass, lulzactive, lagfree (only one setting for switching the mode in general)
- no need for activating/deactivating of selective live_oc anymore --> just change target low and target high
- BLX back in
- fixes to devil idle to be more stable while in call
- 1,5 mb more ram (thanks to mialwe)
- added aroma filemanager to cwm recovery
- added fully working TWRP recovery optional to cwm recovery (to use TWRP, just create a file named "twrp" at /cache)
- added option to select ram config in kernel --> no need for flashing an other kernel to get more ram (thanks to stratosk)
- switched to new initramfs from stratosk and mialwe ( now there will be cmw zip and odin tar file of every kernel version)
- added possibility to use Zram instead of Swap
- no need for flashing/using special scripts to make swap/zram working anymore
- added zcache
- added frontpage
- added cleancache
- added fudgeswap (thanks to ezterry and faux123)
changelog 01.05.2012:
- all changes from cm9 stock kernel (including mount points option)
- some fine tuning to deadline and sio
- Devil Idle: limiting bus/ram/gpu speed to 100 mhz for 100-800 mhz cpu freq, while screen off (automatic mode) or always (permanet), both modes automatically reduce the int voltages of the affected freq by 50 mV
- compiled with swap support
- added stratosk's smooth_ui to lulzactive governor (activated by default)
- rest oc_value to 100 while screen off, and back when screen turns on (combined with devil idle automatic, can't be turn on/off without devil idle)
- added posibility for different voltages while screen off (also bundled with devil_idle, with default settings, stock arm voltages are applied, because of live_oc set to 100)
- added the possibility to set freq limits while screen off (min and max freq)
19.04.2012
- even better fix to selective live_oc (last one (in test kernel) generated some overhead)
- fixed sampling rate of ondemand and conservative (have ported mialwe's/stratosk's sleep multipliers)
- new tunables for ondemand and conservativ
sleep multiplier and tunables:
mialwe and stratosk had the great idea, to change the sampling rate of conservative and ondemand governor while display of. for this, he introduced the sleepmultiplier (in his case factor 3). this means, if you set sampling rate to 20000, it changes to 60000 while screen off, and back, when screen on.
for ondemand and conservative:
i have made this multipliers tunable. proper values are between 1 and 5, because one could want a higher multiplier while screen off, if sampling rate is very low while screen on (higher sampling rate means, less checking for work load --> better batterie, worse performance). with this tunables you get better batterie, without making the performance worse while screen on.
two other tunables: up_threshold_min_freq and responsiveness_freq
the first one is a very low threshold while on low freq (by default 40), to make the governor scale up faster, until the responsiveness_freq is reached.
the responsiveness_freq is set to 400000 (400 mhz) by default. while the freq is below this value, up_threshold is the same as up_threshold_min_freq, and freq jumps to responsiveness_freq, with skipping the freq between the actual one and the responsiveness_freq. (conservative governor does not jump up to this step)
responsiveness_freq can be set to values between 100000 and 1400000
up_threshold_min_freq can be set to the same values as the normal up_threshold.
not tunable: while screen off, up_threshold is set to 95, no matter your other settings, to save more batterie.
up_threshold_min_freq is disbaled by default for conservative governor
for lulzactive:
for this governor, i did similar things, but they are not tunable till now.
when screen off:
- inc_cpu_load is set to 90, and back to the original value, when screen turns on
- up_sample_time is set to 50000, and back to the original value, when screen turns on
- down_sample_time is set to 40000, and back to the original value, when screen turns on
other changes:
- fix to touchwake from ezekeel, and another fix from stratosk
- upstream fix to compass
- building for i9000B now, too (big thanks to F4k for the hints by pn )
- removed some typos from recovery
- removed some annoying "no's" and "yes" from recovery in misc menu
- fixed wifi mode switch (pm_fast is the one with better signal)
14.04.2012:
- new b versions (only stock ram) changend to 377 mb, VC version needs the 720p fix from my ftp server. cmc version already patched
13.04.2012:
- updated wifi driver
- added the possibility to switch between wifi PM_Fast and PM_Max mode (Pm_Fast = better signal, PM_Max = better batterie, default is PM_Max)
- user interface to disable fsync (this gives more performace, at the risk of data loss on a crash, taken from ezekeel, so it should be ok ), default is off, to be safe
- fixed voodoo color kernels (these have the VC in their names)
10.04.2012:
- added vibrator intensity control (by mialwe), presets can be changend in recovery
- stock ram version now available (348 mb ram), XL (390 mb), XL_bm (402 mb)
- removed 1080 mhz freq for now
- small correction to touchwake
- small correction to selective live_oc (now the low freq really are not live_oc'ed)
05.04.2012:
- fixed bug in selective live_oc, which caused the target high not taking affect to the highest freq, if highest freq equals target high
- fixed another bug in selective live_oc, which could lead to gpu crashes due to overclocking the ram, but not the cpu freq (for low steps)
- added a switch to change between "normal" and selective live_oc
by changing the live_oc mode while using it, live_oc value is set back to 100, to prevent strange things
- added possibility to set max. freq for boot (in recovery). This freq is set until init.d is executeted (it is automatically set to 1000 at this point, to make sure there are no conflicts with other cpu settings from users)
#Already in the last version, but i forgot about it:
- deep idle fixes from stratosk (many thanks)
- added possibility to underclock by using live_oc (limit is 90 now, which means lowering all freq and bus speed by 10%, to save more batterie when really needed)
03.04.2012:
For now there are three different RAM versions:
- stock mem kernel has 379 mb ram, everything working
- "slim ics" (XL) kernel comes with 390 mb, this is breaking playback of some high resolution videos
- XL_BM is coming with 402 mb ram, but breaking 720p
(while flashing the kernel, the modded rom files are also flashed, so you don't need to flash a new rom to get 379 or 390 mb)
-added new frequency: 1080 mhz (1100 does not like live_oc)
- fixed SmartassV2 for live_oc (after changing live_oc value, you have to change the smartass values, too, but then they automatically apply to the live_oc value (although you can only select 800 mhz in nstools (for example))
- touch recovery with custom devil menu (for some reason it takes a few seconds to load the first time, missing virtual keys is a warning, because there are no virtual keys yet)
-fast charge (thx to chad0989 for this), disabled by default.
you also can use the widget from chad (to place on homescreen) to toggle the fast_charge mode
https://play.google.com/store/apps/d...stchargewidget
Click to expand...
Click to collapse
while fast charge is activated you cannot connect as usb device
- added datafix script to init.d (this script is deactivated by deafult. to make it work, you have to creat a file named datafix and placed in /data/local/)
- reworking and cleaning many parts to get more ram, speed, and stability
05.03.2012:
- updated sio i/o scheduler to latest version
- small updates to ondemand and conservative governor from linux 3.2
- bettter performance for CFS kernel due to tuning and patches
- tuning to deadline scheduler
- better i/o performance
- changed bootlogo (probably not the last time )
28.02.2012
- finally working bln V9 (no need for LED2 anymore)
- fixed lockscreen freezes
- reverted memory tweaks, which could be the reason for lagging after using a day
- again wlan fixes from tk-glitch
- tweaked conservative and ondemand governor (conservative still is not too aggressive)
- added dm-cache again (who has removed this from my github? )
- improve usb signal quality
- xcaliburinhand's dock audio support (untested, do not have a dock)
- less debugging
- fixed kernel version not displayed under "about phone"
12.02.2012
- Added newest Fiops scheduler (tuned for more performance)
- When Gpu is active, min CPU freq is set to second lowest step
- fixes to live_oc and custom voltage
- default mount parameter NOATIME and NODIRATIME (faster)
- updated Wifi drivers (thanks to tk-glitch)
- tuned intellidemand for better performance
- removed some stuff (zram, swap, tweaks to cpufreq untill I know what was causing the instabilities of last build)
05.02.2012
- added Touchwake
- added BLX
- upgraded BLN from V8 to V9 (working for missed calls, blinking or static light, configurabel by using NSTools or BLN Pro App)
- added Intellidemand governor
- added mdnie settings to voodoo color version
- readded deep idle v2 again (I think it is the best/only working one, although
- version with CFS (instead of BFS) now also available (maybe better multitasking and batterie life, but slower)
- removed BFQ I/O Scheduler
- tons of smaller fixes and improvements
30.01.2012
-revert: Voodoo Sound now to be set with DSP Manager
29.01.2012
- Linux kernel 3.1.10
- Deep Idle from Eugene373 (always enabled, no stats)
- added BFQ v 3.1 I/O Scheduler
- Voodoo Sound now to be set with DSP Manager
- Zram (can be disabled by removing Zram file from init.d)
- Zcache and Cleancache (not working yet?)
- optimized rwsem algorithm
- USB Host V5
24.01.2012
- init.d support (the folder is not created by the kernel. You have to do it for yourself)
- Deep Idle V2 back in
- new Cpu governors: MinMax, Lagfree, Lulzactiv
- LED V2 (you can set blinking by using nstools, also working for missed calls in most cases (sometimes it is not working for missed calls, don't know why at the moment))
- Backlight Dimmer (only LED version): used to turn led backlight of, while screen is on, after defined period of time. Deactivating it, makes your backlight stay on all the time
- I/O-less dirty throttling completely backported from kernel 3.2
- Ext4 with 3.2 patches
- Proportional Rate Reduction for TCP - by Google
- USB Host V 4
19.01.2012
- Usb Host drivers integrated
- Cm9 Color adjustment
- Removed Deep Idle because of Bluetooth problems (hopefully it will come back, still testing)
16.01.2012:
- Updated Kernel basis to Linux 3.1.9
15.01.2012:
- fixed bug in cpu spy, caused by live_oc
- still using voodoo color for now, maybe two additional kernel versions tomorrow
[/quote]
Atention: kernels with i9000B in the name, are to flash only for i9000b devices!
files with .zip have to be flashed within recovery (twrp or cwm)
files with .tar can be flashed by using odin or heimdall (they are placed at the end of post 3)
Downloads:
http://rootaxbox.no-ip.org/divers/jellybean/ many thanks to Rootax
http://devil.haxer.org/ many thanks to SysTem-X (not updatet yet)
going to be filled soon
Great work as always
Gesendet von meinem GT-I9000 mit Tapatalk 2
i am sorry to tell you this, but cwm backups are not working, because i have forgotten to remove the /datadata partition from cwm, but this, of course, can't be mounted
Sorry, I'm confused...so the latest version 1.0.3 shouldn't work on your jb rom because it has /datadata?
Szighy said:
Sorry, I'm confused...so the latest version 1.0.3 shouldn't work on your jb rom because it has /datadata?
Click to expand...
Click to collapse
only cwm backup does not work
edit: i should have read your post better....yes, it doesn't work on my rom. kernel for my rom can by found at my rom thread, where you already found it
DerTeufel1980 said:
only cwm backup does not work
Click to expand...
Click to collapse
hm...not what i asked first i tried to flash a kernel from the link in this thread on your rom, and it wouldn't boot, then i found the ones with /datadata now it's working fine...
Fantastic work.Really good combo cm10 and this kernel.
Great work man.
Thanks
Nice kernel, work with 0723, very smooth n fast...
Sent from my GT-I9000 using xda app-developers app
I' ve problem to get the new kernel work on Slim JB V5 ?
the Devil 3.1.00 RC4 ist working good, but when i install the new kernel the i9000 ist always hangin on the devil boot screen!
when i flash back to 3.1 rc4 it works
alwo1303 said:
I' ve problem to get the new kernel work on Slim JB V5 ?
the Devil 3.1.00 RC4 ist working good, but when i install the new kernel the i9000 ist always hangin on the devil boot screen!
when i flash back to 3.1 rc4 it works
Click to expand...
Click to collapse
i guess the rom is too old, and does not have the new hw composer to use "butter".
Tested, work with 0725.:thumbup:
Sent from my GT-I9000 using xda app-developers app
I've got a problem when I install the kernel.
I'm on your ROM V6, and when I flash the kernel it reboot but it's going back to the recovery and say "can't mount SDCARD installation aborted" and it's bootlooping.
I've flashed back the kernel 1.0.2 and it's ok.
kuribo67 said:
I've got a problem when I install the kernel.
I'm on your ROM V6, and when I flash the kernel it reboot but it's going back to the recovery and say "can't mount SDCARD installation aborted" and it's bootlooping.
I've flashed back the kernel 1.0.2 and it's ok.
Click to expand...
Click to collapse
The op says, that this kernel is not for my rom. You find the link to the correct ones at the rom thread
Gesendet von meinem GT-I9000 mit Tapatalk 2
installed on 25/07 build and didn't notice anything wrong so far :good:
This Kernel works with the mkalter V6 ROM???
thank u for Jb kernel thread :good:
i think this change need to be in kernel ?
http://review.cyanogenmod.com/#/c/20072/
yahyoh said:
thank u for Jb kernel thread :good:
i think this change need to be in kernel ?
http://review.cyanogenmod.com/#/c/20072/
Click to expand...
Click to collapse
AFAIK, you can also add that line to init.aries.rc file in system root /

[Kernel][CM10] HurtSky's Kernel REV10 24/12/2013

CM10 Section​
I'm not a developer, im taking effort to put more choices of kernel for our community
Disclaimer
Code:
/*
* 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 ROM
* 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.
*/
Explanation of Android Governors
Revision Version! Features
Added Governors :-
- Lulzactive
- SmartAssV2
- interactive
- conservative
- ondemand
- performance
IO Scheduler
- noop
- deadline
- row
- cfq
- bfq
- sio
- vr
- Compiled with latest Built with latest custom Linaro 4.7.4-2013.07 toolchain optimized for Cortex-A8 by Christopher83
- Built with -O3 optimization flag (both kernel and modules)
- CPU voltage control VDD sys interface
- Google Snappy V3 Zram
- 377 Ram
- Lowered display panel voltage
- Improve Responsiveness
- Improve Performance
- dynamic read-ahead
- frandom
- Added NEON compilation flag to VFP module
- Lowered wifi voltage
- Increased CPU frequency during boot
- Battery Life eXtender support
- Fixed 100% battery notification after charger unplug
- Dynamic management of dirty page writebacks credit to Christopher83
- Increase audio loudness
- random tweak - credit to imoseyon
- Dynamic management of timer slack - credits to christopher
- LowMemoryKiller management of not killable processes - credits to christopher
- Asynchronous I/O latency to a solid-state disk greatly increased
- CK3 tweaks (Credits to Con Kolivas) - adapted by Christopher
- Simple GPU governor for Andreno xxx - by faux
- Lowest frequency 61Mhz enabled
- Implemented UKSM
- Implemented TurboBoost Mods http://forum.xda-developers.com/showthread.php?p=37905307
Features For Before Revision Version!
Added Governors :-
- Lulzactive
- SmartAssV2
- interactive
- conservative
- ondemand
- performance
- SmartAssV3
- Intellidemand
- InteractiveX
- Hyper
IO Scheduler
- noop
- deadline
- row
- cfq
- bfq
- sio
- vr
Features
- Compiled with latest Built with latest custom Linaro 4.7.4-2013.07 toolchain optimized for Cortex-A8 by Christopher83
- Built with -O3 optimization flag (both kernel and modules)
- OverClock Features
- CPU voltage control VDD sys interface
- SnapDragon Optimization
- Google Snappy Zram
- 377 Ram
- Lowered display panel voltage
- Improve Responsiveness
- Improve Performance
- dynamic read-ahead
- frandom
- Added NEON compilation flag to VFP module
- Lowered wifi voltage
- Increased CPU frequency during boot
- Battery Life eXtender support
- Fixed 100% battery notification after charger unplug
- Dynamic management of dirty page writebacks credit to Christopher83
- Increase audio loudness
- random tweak - credit to imoseyon
- Dynamic management of timer slack - credits to christopher
- LowMemoryKiller management of not killable processes - credits to christopher
- Asynchronous I/O latency to a solid-state disk greatly increased
- CK3 tweaks (Credits to Con Kolivas) - adapted by Christopher
- Simple GPU governor for Andreno xxx - by faux
- Lowest frequency 61Mhz enabled
- Implemented UKSM
Description
Code:
[I]( SmartassH3 - a "smartassV2 with tweaks by H3ROS" governor! )[/I]
[I]( felix is esclusive nexus kernel )[/I]
[I]( 'nexus' is a governor based on interactive and ondemand created by biagio7xD )[/I]
My GitHub​
Installation Guide For Revision Version
1. Reboot To Recovery Mode
2. Clear Cache and Dalvik Cache
3. Flash the zip - will go into Turbo Boost Aroma
4. Choose any size for your swap size - Further Information of Turbo Boost > http://forum.xda-developers.com/showthread.php?p=37905307
5. Auto Reboot after finish Aroma
If had any problem only -
6. Reboot to recovery again
7. Clear Cache and Dalvik Cache
8. Reboot (normal boot)
Installation Guide For Before Revision Version !:
1. Reboot To Recovery Mode
2. Flash the kernel
3. Wipe Cache & Dalvik Cache
4. Fix Permissions
5. Reboot (normal boot)
6. Reboot to recovery again
7. Fix permissions again
8. Reboot (normal boot)
Code:
[I]Credit to :-[/I]
- Our Master [URL="http://forum.xda-developers.com/member.php?u=3044346"][B]Arco[/B][/URL] for his kernel source ([I] go press thanks for any posted by arco :D without he, this kernel wont existed[/I] )
- educk for his tutorial and governors
- biagio7xD for extra governors and SnapDragon Optimization
- Christopher83 that helping me teach how to correct the error and advising me
- Xistance for his teaching
- CastagnaIT for his useful sources
- CyanogenMod developers that developing our CM
- Linaro GCC developers let me using this powerful compiler
- hadidjapri hadiconfig (more RAM)
- keff for OC code
- THANKS for delta-roh and Harbir - Turbo Boost Credits [url]http://forum.xda-developers.com/showthread.php?p=37905307[/url]
- faux for Simple GPU governor for Andreno xxx
- xda-developers.com for all the teaching and members
GitHub
XDA:DevDB Information
[Kernel][CM10] HurtSky's Kernel REV10 24/12/2013, Kernel for the Samsung Galaxy W I8150
Contributors
hurtsky
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: REV10
Stable Release Date: 2013-12-24
Created 2013-09-29
Last Updated 2014-08-21
Reserved
LATEST VERSION REV10 : PLEASE DOWNLOAD IT AT ATTACHED FILE IN THIS POST
Older version can be download at HERE and at first post attached files
Changelogs of Revision Version
Code:
[B][I]REV10[/I][/B] 24/12/2013
- revert high mem > normal RAM size now (i experienced back laggy situation and unstable system process so i decided to revert and test it, frankly it really nice using normal RAM size just like what i already mention before - i wont entertain anymore any request about high mem in RAM size)
- revert UKSM into KSM (i still not really satisfied with experience when using UKSM so i revert it to legacy KSM)
- cpufreq: Add cpu-boost driver (thanks to Saravana Kannan)
- cpufreq: Add a sync limit to cpu-boost (thanks to Rohit Gupta)
- build with ccache (thanks to hadidjapri)
- some old error that i miss-look
- kernel: Prevent unnecessary rfkill event generation (thanks to Vitaly Wool)
- jiffies conversions: Use compile time constants when possible (thanks to Joe Perches)
- fs: vfat: reduce the worst case latencies (thanks to xiaogang)
- softirq: reduce latencies (thanks to Eric Dumazet)
( read my github for explanation of all this changes - i wont explain more detail unless for some reasons )
[B][I]REV9[/I][/B] 19/11/2013
- squashed update to 3.0.101 [EOL] version of kernel
- Add BFS Version !
- enable Ultra UKSM
- ReADD 377 Ram Size
- TEST : Reserve More RAM size due to reducing logger size usage.
[B]REV8 fixes[/B]
- fix WSB again - thanks to Keff
[B][I]REV8[/I][/B] 16/10/2013
- squashed update to 3.0.100
- enable unaligned access
- fix white screen bug - credit to Keff
[B][I]REV7 [/I][/B]14/10/2013
- squashed update to 3.0.99
- minor updates - github
[B][I]REV6[/I][/B] 30/9/2013
- squashed update to 3.0.97
- updated frontswap
- sync with arco latest changes
- disable UKSM
- activate Normal KSM
[B][I]REV5[/I][/B] 15/9/2013
- squashed update to 3.0.96
- sync with arco latest updates - github
- backport zram from 3.7 kernel - credits to boype (modified and adapted for this kernel by myself)
- Implement zsmalloc from 3.7 kernel for better Zram operation - credits to boype
- Implement zcache-main for better Zcache operation
- Reactivate normal KSM - it is better with this all modification
- Test - Implement - Optimize copy_page for modern ARM platforms and Optimize ARM memset and memzero functions - credits to boype (see at my github for more information)
- Enable Compaction - testing mode
- Add SIO Plus I/O / block
- Completed Optimize freezing tasks by reducing task wakeups by Collin Cross - [URL="http://linux-kernel.2935.n7.nabble.com/PATCH-00-10-optimize-freezing-tasks-by-reducing-task-wakeups-td641856.html"]For more information[/URL]
- Tweaks - Deadline: Allow 0ms deadline latency, increase the read speed by xiaobing tu
- Tweaks - adaptive vfs_cache_pressure on suspend / resume ( low vfs_cache pressure values save battery while idle, while
a low value also causes stutter with longer up times )
- Tweaks - BFQ scheduler tweaks (thanks pkgnex & Khrushy from Franco dev team) - credit to boype
- Remove Snappy Google compression support for Zram
- Remove Zram For Android Optimization
[B][I]REV4[/I][/B] 6/9/2013
- Add Zram For Android Optimize
- Enable Cleancache
- Enable Zcache
- Add Lz4 compressor for lib - not enable just to put more features
- Use Snappy Compressor for Lib and crypto
- Remove Turbo Boost - seems it more good in performance without it
[B][I]REV3[/I][/B] 1/9/2013
- Squashed updated to 3.0.94
- Normal RAM size, no high MEM !
- Fix audio lag !
- Minor updates
- Remove all start on boot default for - Dynamic management of timer slack , LowMemoryKiller management of not killable processes -
USE PERFORMANCE CONTROL to enable it > [url]http://forum.xda-developers.com/showthread.php?t=2401988[/url]
[B][I]REV2[/I][/B] 24/8/2013
- correcting Zram Kconfig from old kernel version.
- update Snappy Google Zram Version!
- Remove Unnecessary Commits
- Update LZO compression Lib
- Sync with arco latest kernel 3.0.93
- Modified from beginning
- fix sudden hang during voltage changes
- remove OverClock features - available 61Mhz-1.4Ghz
- remove governors - Only left SmartAssV2 and Lulzactive
- zram source updated !
- Snappy Google compression V3 for zram
- Implement Turbo Boost Mods !
Old Version Changelogs
Code:
[COLOR="DeepSkyBlue"]Arco Kernel with added Governors Only[/COLOR]
[B][I]v1.2[/I][/B] 14/5/2013
-sync with latest arco kernel 3.0.78
[B][I]v1.1[/I][/B]
- sync with latest arco kernel 3.0.72
[I][B]v1.0[/B][/I]
- sync with latest arco kernel 3.0.71
- SmartAssV3
- Felix
- Nexus
- InteractiveX
- OndemandX
- LionHeart
- added sio
- added vr
- Lulzactive
- SmartAssV2
- interactive
- conservative
- powersave
- ondemand
- performance
- noop
- deadline
- row
- cfq
- bfq
- CPU voltage control VDD sys interface ( Adjust Your voltage using any 3rd application e.g - android tuner )
- dynamic read-ahead
Code:
[COLOR="MediumTurquoise"]Additional Optimization Version[/COLOR]
[B][I]V4.0[/I][/B] 16/8/2013
- squashed kernel update to version 3.0.91
- fix lowered WIFI voltage - thanks to [user=4410351]@honeyx[/user] because mentioning it
[B][I]V3.9[/I][/B] 13/8/2013
- squashed update kernel 3.0.90
- Added improve sensitivity from Project Lard
- minors updates
[B][I]V3.8[/I][/B] 11/8/2013
- sync with arco latest version 3.0.89
- fixed usb charging - credit to arco
- added 518Mhz frequency - credit to honeyx
- Fix audio lag while using Lulzactive Governors - credit to honeyx
- Implement Suspenze_Freeze - more battery saver
- Implement UKSM ( ultra KSM )
[B][I]V3.7[/I][/B] 29/7/2013
- Better script in RAMDISK for kernel tweaks - credit to christopher83
- Enable 61Mhz frequency, no more Sleep of Death
- Implement Simple GPU governor for Andreno xxx by faux - test - (more battery friendly)
- Updated Freezer source - refer to github
- Updated Idle CPU source - refer to github
- Updated random source with some hack by Dorimanx - refer to github
- minor update - refer to github
[B][I]V3.6 [/I][/B]25/7/2013
- squashed update 3.0.86
- small update of power management
[B][I]V3.5[/I][/B] 17/7/2013
- squashed update 3.0.86
- Built with latest custom Linaro 4.7.4-2013.07 toolchain optimized for Cortex-A8
- implement Dynamic management of timer slack - credits to christopher
- implement LowMemoryKiller management of not killable processes - credits to christopher
- Asynchronous I/O latency to a solid-state disk greatly increased
- CK3 tweaks (Credits to Con Kolivas)
- updated power management sources
- updated voltage regulation - lowered some voltage
- random tweaks
- frandom fix - thanks to keff
[B][I]V3.4[/I][/B] 15/6/2013
- sync to arco latest repo 3.0.82
- Dynamic management of dirty page writebacks credit to christopher83
[B][I]V3.3[/I][/B] 8/6/2013
- sync with arco latest repo 3.0.80
- added intellidemand governor
- removed nexus governor
- frandom fix
- optimized slub allocator
- lowmemorykiller: Voku and Dorimanx tweaks for LMK -credits to Christopher83
- Dynamic Fsync v1.2
- Rwsem Update
- Reenable Gentle Fair Sleepers
- other minor changes- refer to github.
[B][I]V3.2[/I][/B] 28/5/2013
- Compiled with latest Cross Compiler Toolchains - Linaro GCC 4.7.4-2013.05 Toolchains
- sync with latest arco kernel 3.079
- using handi config - 378ram
- revert old audio loudness and change with Increased audio loudness (from Skywalker) (rev 2) - credit to CastagnaIT
- bring back 100% battery notification after charger unplug
- some other minor updates
[B][I]V3.1[/I][/B]14/5/2013
-sync with latest arco kernel 3.0.78
[B][I]V3[/I][/B]
- sync with arco's latest kernel 3.0.77 and others updates
- restart work with new environment
[B][I]Test Version 3[/I][/B]
- Disabled Gentle Fair Sleepers for better performance
- Overclock support added back (thanks to keff)
- Increase audio loudness
- Added Hyper Governor
[B][I]Test Version 2[/I][/B]
-sync with arco latest kernel (3.0.74)
[I][B]Test Version 1[/B][/I]
- sync with arco latest kernel (3.0.73)
- removed some governors (powersave, ondemandX, felix)
- removed OC support
[B][I]V2.2[/I][/B]
- revoke from scratch (latest kernel)
- Lowered display panel voltage
- Lowered wifi voltage
- Increased CPU frequency during boot
- Battery Life eXtender support
- Fsync control
- Fixed 100% battery notification after charger unplug
[B][I]V2.1[/I][/B]
- sync with arco latest kernel 3.0.72
- Compiled with Linaro GCC 4.7.3-2013.03 toolchain optimized for Cortex-A8 cpu with Neon technology support
- revert to 371mb Ram
- Improve Responsiveness
- Added NEON compilation flag to VFP module
[I][B]V2[/B][/I]
- Wifi Fix - ivendor
- SnapDragon Optimization
- Google Snappy Zram
- 376mb Ram
- OC support
- dynamic read-ahead
- frandom
All start on boot default for - Dynamic management of timer slack , LowMemoryKiller management of not killable processes Already been removed !
- USE PERFORMANCE CONTROL to enable it > http://forum.xda-developers.com/showthread.php?t=2401988
Settings of The Available Features
partly been taken from Christopher explanation thread - http://forum.xda-developers.com/showthread.php?t=2172148 all credit go to Christopher83 please thank he for prepare this detail of function
LowMemoryKiller management of not killable processes
This feature allows to define processes and system processes white-lists filled with the preferred process names and to not be killed by lowmemorykiller, unless it is absolutely necessary.
This feature exposes four new lowmemorykiller parameters:
- donotkill_proc, is the flag to enable / disable this feature for the processes chosen by the user
- donotkill_sysproc, is the flag to enable / disable this feature for the system processes chosen by the user
- donotkill_proc_names, is the list of process names (comma separated) chosen by the user to be preserved from killing
- donotkill_sysproc_names, is the list of user system process names (comma separated) chosen by the user to be preserved from killing
When the lowmemorykiller needs to free ram, it will first kill the processes not included inside the two process name lists chosen by the user.
If there are no more standard killable processes, then it will be necessary to kill one of the processes included inside one of the two white-lists, to prevent system hangs, slowdowns, etc.
How to customize the white lists of processes to preserve from killing:
On HurtSky's Kernel the feature is enabled by default and the provided processes white lists are the following:
- donotkill_proc_names = "com.cyanogenmod.trebuchet,com,android.inputmethod.latin"
this means that Trebuchet Launcher,stock keyboard will be preserved from killing
- donotkill_sysproc_names = "android.process.acore,com.android.phone,com."
this means that the system process, the phone process will be preserved from killing
1) By using a customized init.d script (the custom value will be always restored after a reboot, if you don't format the system partition)
- Download the script named 80dnkp
- If the file has been saved with .txt extension (stock browser), rename it by removing the .txt extension
- Edit the file by setting your preferred status and processes list
- Copy the new file inside /etc/init.d
- Give the rwxr-xr-x permissions to the file (read, write, execution for owner, read and execution for group users, read and execution for others)
- Reboot
2) By directly editing the files inside /sys/module/lowmemorykiller/parameters (note that set values will be lost after a reboot/shutdown)
3) By using Terminal Emulator (note that set values will be lost after a reboot/shutdown)
- Open Terminal Emulator
- Run these commands if you want to enable the feature
Code:
# To enable this feature for the processes chosen by the user
echo 1 > /sys/module/lowmemorykiller/parameters/donotkill_proc
# To enable this feature for the system processes chosen by the user
echo 1 > /sys/module/lowmemorykiller/parameters/donotkill_sysproc
- Run these commands if you want to disable the feature
Code:
# To disable this feature for the processes chosen by the user
echo 0 > /sys/module/lowmemorykiller/parameters/donotkill_proc
# To disable this feature for the system processes chosen by the user
echo 0 > /sys/module/lowmemorykiller/parameters/donotkill_sysproc
- Run this command if you want to add, for example, Trebuchet Launcher (CM default launcher) and the default keyboard to the processes white list
Code:
echo "com.cyanogenmod.trebuchet,android.inputmethod.latin" > /sys/module/lowmemorykiller/parameters/donotkill_proc_names
- Run this command if you want to add, for example, the system process, the phone process and DSP Manager to the system processes white list
Code:
echo "android.process.acore,com.android.phone,com.bel.android.dspmanager" > /sys/module/lowmemorykiller/parameters/donotkill_sysproc_names
Click to expand...
Click to collapse
This features currently been disable because normal KSM react more better with current settings
Ultra ksm
UKSM is more optimized and also working for single core systems. using this should give much better ram usage, but at the cost of more cpu usage - ( it seems latest version of UKSM optimized for battery usage also )
In this kernel the UKSM off by default -
How to stop and re-run :
to stop uksm run:
echo 0 > /sys/kernel/mm/uksm/run
for re- run:
echo 1 > /sys/kernel/mm/uksm/run
Redirect to this post if users want to enable it on boot > http://forum.xda-developers.com/showpost.php?p=44606319&postcount=880
This UKSM can be tweaked more by visiting this thread http://forum.xda-developers.com/showthread.php?p=44531620
thanks for @eryzerz for informing this
Click to expand...
Click to collapse
This features also already been remove from package, you can download it from their official thread
Some Information about TURBO BOOST mods http://forum.xda-developers.com/showthread.php?p=37905307 < for futher information ! Please read !
This quote taken from TURBO BOOST thread ! Credit goes to TURBO BOOST DEVELOPERS
Disadvantages of a NORMAL swap file on your sdcard:
A sdcard is always slower than internal memory
You may NEVER unmount the sdcard or connect your phone to your computer, because you then just kill your swap file – it is the same as pulling out the Ram of your running computer!
Disadvantages of a swap partition on your sdcard a.k.a. HARD SWAP (the one that you all always swap ! ) :
A sdcard is always slower than internal memory
You will need a separate partition on your sdcard
You can connect the sdcard to your computer, but you cannot unmount and remove it without powering off your phone – you would kill your swap space immediately!
Disadvantages of a swap file in RAM - a.k.a. ZRAM:
This reduces the already low RAM memory
Leads to many low memory problems, like sense restarts and lags
TURBO BOOST ! PART
Advantages of 98swap_<partition> (TURBO BOOST MODS) compared to the methods above:
It uses internal memory – so it is fast!
This memory is not available to the user (/cache and /system) – so it does not decrease any space given to the user
It does not use your sdcard in any way – so feel free to unmount and remove your sdcard whenever you like – also without powering off your phone!
Disadvantages of 98swap_cache
None - you name it!
Click to expand...
Click to collapse
Click to expand...
Click to collapse
FEEDBACKS / QUESTION / BUGS
Normal Question
- how the battery consumption?
hurtsky said:
here my screenshot about idling power consumption.. i let my phone really sleep today more good than before ....
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Click to expand...
Click to collapse
dollyaja said:
I hope the latest build can beat up this one. DOWNLOADING!!
Sent from my GT-I8190 using Tapatalk 2
Click to expand...
Click to collapse
- how the Performance?
K_TECH said:
i try to use 0,3-0,8Ghz, & play DeadTrigger,NFS,PES2012,SubwaySurf.. i had no lag too "without tweak"...
Big thanks to hurtsky :thumbup::thumbup::thumbup::thumbup:
Click to expand...
Click to collapse
dec0der said:
playing candy crush, hill climb, minion rush and pou (lolz) NO LAG! i wonder how much max ram can kernel 3.x.x can go... (.)^(.)
Click to expand...
Click to collapse
BUGS ?
Some users reported that incoming call abit slower to wake
- this just because updated of suspended , it make the wake up abit slow but it help reducing power consumption ​
Click to expand...
Click to collapse
Re: [Kernel][CM10] HurtSky's Kernel V1.0 1/4/2013
First.. thanks for this
Updated to New Version
Re: [Kernel][CM10] HurtSky's Kernel V2.0 4/3/2013
nice kernal!^^
yet now not found bug yet~smooth!haha~
Sent from my GT-I8150 using xda premium
Re: [Kernel][CM10] HurtSky's Kernel V2.0 4/3/2013
New thread and new kernel? Whats the difference? Frandom but no high mem bro? Good job.
Sent from my GT-I8150 using xda premium
---------- Post added at 08:26 PM ---------- Previous post was at 08:23 PM ----------
Cm10 or cm10.1? Confused here
Sent from my GT-I8150 using xda premium
CM10 here.. sorry forgot to edit at top. 376 ram start with V2
smoothest kernel ever tried with games ;D
How sbout batery?
looks good
Nice post, are this kernel compatible with cm10 alpha 7? Sorry for my by english.
Sent from my GT-I8150 using xda premium
Aldich13 said:
Nice post, are this kernel compatible with cm10 alpha 7? Sorry for my by english.
Sent from my GT-I8150 using xda premium
Click to expand...
Click to collapse
Yes. It is based on latest arco cm10 alpha7 kernel.
Sent from my GT-I8150 using Tapatalk 2
waiting for new kernel (Cm10.1 Alpha 2)
ghost141 said:
waiting for new kernel (Cm10.1 Alpha 2)
Click to expand...
Click to collapse
in cloning process
waiting for cm10 new kernal~XD
add oil~
Sent from my GT-I8150 using xda premium
updated to new version
thx~
will flash it now~^^
Sent from my GT-I8150 using xda premium
---------- Post added at 02:26 PM ---------- Previous post was at 01:41 PM ----------
I already flash this kernal, but it stuck on boot...is it the problem of undervolt too much? batur kernel also happened this be4 ~
Hope can fix early~^^
Sent from my GT-I8150 using xda premium
yugioh93 said:
thx~
will flash it now~^^
Sent from my GT-I8150 using xda premium
---------- Post added at 02:26 PM ---------- Previous post was at 01:41 PM ----------
I already flash this kernal, but it stuck on boot...is it the problem of undervolt too much? batur kernel also happened this be4 ~
Hope can fix early~^^
Sent from my GT-I8150 using xda premium
Click to expand...
Click to collapse
hurm... i see... i will wait others feedback also..
Did not boot for me too. Stuck after Samsung logo. Thank god I back up stock beta 1 kernel.
It suppose to be v2.1 for the latest right? You named it v2.2 there. Is it mistaken for the v2.2 for cm10.1?
-XDA Rocks-

[Kernel][CM10.1][3.0.x] HurtSky's Kernel REV8 16/10/2013

CM10.1 Section​
I'm not a developer, im taking effort to put more choices of kernel for our community
Disclaimer
Code:
/*
* 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 ROM
* 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.
*/
Explanation of Android Governors
Revision Version! Features
Added Governors :-
- Lulzactive
- SmartAssV2
- interactive
- conservative
- ondemand
- performance
IO Scheduler
- noop
- deadline
- row
- cfq
- bfq
- sio
- vr
- Compiled with latest Built with latest custom Linaro 4.7.4-2013.07 toolchain optimized for Cortex-A8 by Christopher83
- Built with -O3 optimization flag (both kernel and modules)
- CPU voltage control VDD sys interface
- Google Snappy V3 Zram
- 377 Ram
- Lowered display panel voltage
- Improve Responsiveness
- Improve Performance
- dynamic read-ahead
- frandom
- Added NEON compilation flag to VFP module
- Lowered wifi voltage
- Increased CPU frequency during boot
- Battery Life eXtender support
- Fixed 100% battery notification after charger unplug
- Dynamic management of dirty page writebacks credit to Christopher83
- Increase audio loudness
- random tweak - credit to imoseyon
- Dynamic management of timer slack - credits to christopher
- LowMemoryKiller management of not killable processes - credits to christopher
- Asynchronous I/O latency to a solid-state disk greatly increased
- CK3 tweaks (Credits to Con Kolivas) - adapted by Christopher
- Simple GPU governor for Andreno xxx - by faux
- Lowest frequency 61Mhz enabled
- Implemented UKSM
- Implemented TurboBoost Mods http://forum.xda-developers.com/showthread.php?p=37905307
Features For Before Revision Version!
Added Governors :-
- Lulzactive
- SmartAssV2
- interactive
- conservative
- ondemand
- performance
- SmartAssV3
- Intellidemand
- InteractiveX
- Hyper
IO Scheduler
- noop
- deadline
- row
- cfq
- bfq
- sio
- vr
Features
- Compiled with latest Built with latest custom Linaro 4.7.4-2013.07 toolchain optimized for Cortex-A8 by Christopher83
- Built with -O3 optimization flag (both kernel and modules)
- OverClock Features
- CPU voltage control VDD sys interface
- SnapDragon Optimization
- Google Snappy Zram
- 377 Ram
- Lowered display panel voltage
- Improve Responsiveness
- Improve Performance
- dynamic read-ahead
- frandom
- Added NEON compilation flag to VFP module
- Lowered wifi voltage
- Increased CPU frequency during boot
- Battery Life eXtender support
- Fixed 100% battery notification after charger unplug
- Dynamic management of dirty page writebacks credit to Christopher83
- Increase audio loudness
- random tweak - credit to imoseyon
- Dynamic management of timer slack - credits to christopher
- LowMemoryKiller management of not killable processes - credits to christopher
- Asynchronous I/O latency to a solid-state disk greatly increased
- CK3 tweaks (Credits to Con Kolivas) - adapted by Christopher
- Simple GPU governor for Andreno xxx - by faux
- Lowest frequency 61Mhz enabled
- Implemented UKSM
Description
Code:
[I]( SmartassH3 - a "smartassV2 with tweaks by H3ROS" governor! )[/I]
[I]( felix is esclusive nexus kernel )[/I]
[I]( 'nexus' is a governor based on interactive and ondemand created by biagio7xD )[/I]
My GitHub​
Installation Guide For Revision Version
1. Reboot To Recovery Mode
2. Clear Cache and Dalvik Cache
3. Flash the zip - will go into Turbo Boost Aroma
4. Choose any size for your swap size - Further Information of Turbo Boost > http://forum.xda-developers.com/showthread.php?p=37905307
5. Auto Reboot after finish Aroma
If had any problem only -
6. Reboot to recovery again
7. Clear Cache and Dalvik Cache
8. Reboot (normal boot)
Installation Guide For Before Revision Version !:
1. Reboot To Recovery Mode
2. Flash the kernel
3. Wipe Cache & Dalvik Cache
4. Fix Permissions
5. Reboot (normal boot)
6. Reboot to recovery again
7. Fix permissions again
8. Reboot (normal boot)
Code:
[I]Credit to :-[/I]
- Our Master [URL="http://forum.xda-developers.com/member.php?u=3044346"][B]Arco[/B][/URL] for his kernel source ([I] go press thanks for any posted by arco :D without he, this kernel wont existed[/I] )
- educk for his tutorial and governors
- biagio7xD for extra governors and SnapDragon Optimization
- Christopher83 that helping me teach how to correct the error and advising me
- Xistance for his teaching
- CastagnaIT for his useful sources
- CyanogenMod developers that developing our CM
- Linaro GCC developers let me using this powerful compiler
- hadidjapri hadiconfig (more RAM)
- keff for OC code
- THANKS for delta-roh and Harbir - Turbo Boost Credits [url]http://forum.xda-developers.com/showthread.php?p=37905307[/url]
- faux for Simple GPU governor for Andreno xxx
- xda-developers.com for all the teaching and members
GitHub
XDA:DevDB Information
[Kernel][CM10.1][3.0.x] HurtSky's Kernel REV8 16/10/2013, Kernel for the Samsung Galaxy W I8150
Contributors
hurtsky
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: REV 8
Stable Release Date: 2013-10-16
Created 2013-09-29
Last Updated 2014-08-21
Reserved
Changelogs of Revision Version
Code:
[B]REV8 fixes[/B]
- fix WSB again - thanks to Keff
[B][I]REV8[/I][/B] 16/10/2013
- squashed update to 3.0.100
- White screen bug fix - credit to Keff
- Enable unaligned access
[B][I]REV7[/I][/B] 14/10/2013
- squashed update to 3.0.99
- minor updates - github
[B][I]REV6[/I][/B] 30/9/2013
- squashed update to 3.0.97
- updated frontswap
- sync with arco latest changes
[B][I]REV5[/I][/B] 18/9/2013
- squashed update to 3.0.96
- sync with arco latest updates - github
- backport zram from 3.7 kernel - credits to boype (modified and adapted for this kernel by myself)
- Implement zsmalloc from 3.7 kernel for better Zram operation - credits to boype
- Implement zcache-main for better Zcache operation
- Reactivate normal KSM - it is better with this all modification
- Test - Implement - Optimize copy_page for modern ARM platforms and Optimize ARM memset and memzero functions - credits to boype (see at my github for more information)
- Enable Compaction - testing mode
- Add SIO Plus I/O / block
- Completed Optimize freezing tasks by reducing task wakeups by Collin Cross - [URL="http://linux-kernel.2935.n7.nabble.com/PATCH-00-10-optimize-freezing-tasks-by-reducing-task-wakeups-td641856.html"]For more information[/URL]
- Tweaks - Deadline: Allow 0ms deadline latency, increase the read speed by xiaobing tu
- Tweaks - adaptive vfs_cache_pressure on suspend / resume ( low vfs_cache pressure values save battery while idle, while
a low value also causes stutter with longer up times )
- Tweaks - BFQ scheduler tweaks (thanks pkgnex & Khrushy from Franco dev team) - credit to boype
- Remove Snappy Google compression support for Zram
- Remove Zram For Android Optimization
[B][I]REV4[/I][/B] 6/9/2013
- Add Zram For Android Optimize
- Enable Cleancache
- Enable Zcache
- Add Lz4 compressor for lib - not enable just to put more features
- Use Snappy Compressor for Lib and crypto
- Remove Turbo Boost - seems it more good in performance without it
[B][I]REV3[/I][/B] 1/9/2013
- Squashed updated to 3.0.94
- Normal RAM size, no high MEM !
- Fix audio lag !
- Minor updates
- Remove all start on boot default for - Dynamic management of timer slack , LowMemoryKiller management of not killable processes - USE PERFORMANCE CONTROL to enable it > [url]http://forum.xda-developers.com/showthread.php?t=2401988[/url]
[B][I]REV2[/I][/B] 24/8/2013
- correcting Zram Kconfig from old kernel version.
- update Snappy Google Zram Version!
- Remove Unnecessary Commits
- Update LZO compression Lib
- Sync with arco latest kernel 3.0.93
- Modified from beginning
- fix sudden hang during voltage changes
- remove OverClock features - available 61Mhz-1.4Ghz
- remove governors - Only left SmartAssV2 and Lulzactive
- zram source updated !
- Snappy Google compression V3 for zram
- Implement Turbo Boost Mods !
Old Version Changelogs
Changelog
Code:
[COLOR="DeepSkyBlue"]Arco Kernel with added Governors Only[/COLOR]
[B][I]v1.1[/I][/B]
-sync with latest arco kernel 3.0.72
[I][B]v1.0[/B][/I]
- sync with latest arco kernel 3.0.71
- SmartAssV3
- Felix
- Nexus
- InteractiveX
- OndemandX
- LionHeart
- added sio
- added vr
- Lulzactive
- SmartAssV2
- interactive
- conservative
- powersave
- ondemand
- performance
- noop
- deadline
- row
- cfq
- bfq
- CPU voltage control VDD sys interface ( Adjust Your voltage using any 3rd application e.g - android tuner )
- dynamic read-ahead
Code:
[COLOR="MediumTurquoise"]Additional Optimization Version[/COLOR]
[B][I]V2.8[/I][/B] 16/8/2013
- squashed kernel update to version 3.0.91
- fix lowered WIFI voltage - thanks to [user=4410351]@honeyx[/user] because mentioning it
[B][I]V2.7[/I][/B] 13/8/2013
- squashed kernel update to 3.0.90
- Added improve sensitivity from Project Lard
- fixed usb charging - credit to arco
- added 518Mhz frequency - credit to honeyx
- Fix audio lag while using Lulzactive Governors - credit to honeyx
- Implement Suspenze_Freeze - more battery saver
- Implement UKSM ( ultra KSM )
- Better script in RAMDISK for kernel tweaks - credit to christopher83
- Enable 61Mhz frequency, no more Sleep of Death
- Implement Simple GPU governor for Andreno xxx by faux - test - (more battery friendly)
- Updated Freezer source - refer to github
- Updated Idle CPU source - refer to github
- Updated random source with some hack by Dorimanx - refer to github
- minor update - refer to github
[B][I]V2.6[/I][/B] 25/7/2013
- squashed update 3.0.86
- small update of power management sources
[B][I]V2.5[/I][/B] 19/7/2013
- squashed update 3.0.86
- Built with latest custom Linaro 4.7.4-2013.07 toolchain optimized for Cortex-A8
- implement Dynamic management of timer slack - credits to christopher
- implement LowMemoryKiller management of not killable processes - credits to christopher
- Asynchronous I/O latency to a solid-state disk greatly increased
- CK3 tweaks (Credits to Con Kolivas)
- updated power management sources
- updated voltage regulation - lowered some voltage
- random tweak
- frandom fix
[B][I]V2.4[/I][/B] 15/6/2013
- sync with arco latest repo 3.0.82
- Added Dynamic management of dirty page writebacks credit to Christopher83
- Added Dynamic Fsync from erik96
- fix Frandom
- RWSEM optimizations
- Optimized SLUB memory allocator
- Added Intellidemand Governor
- Increased audio loudness (from Skywalker) (rev 2) - credit to CastagnaIT
[B][I]Test Version 4[/I][/B]
- disable Disabled Gentle Fair Sleepers for better performance
- Overclock added back ( thanks to keff)
- Increase audio loudness
- Added Hyper Governor
[B][I]Test Version 3[/I][/B]
- sync with arco latest kernel (3.0.74)
[B][I]Test Version 2[/I][/B]
- sync with arco latest kernel (3.0.73)
- removed some governors (powersave, ondemandX, felix)
- removed OC support
[B][I]V2.3[/I][/B]
- Lowered display panel voltage
- Lowered wifi voltage
- Increased CPU frequency during boot
- Battery Life eXtender support
[I][B]V2.2[/B][/I]
- sync with arco latest kernel 3.0.72
- Compiled with Linaro GCC 4.7.3-2013.03 toolchain optimized for Cortex-A8 cpu with Neon technology support
- revert to 371mb Ram
- Improve Responsiveness
- Added NEON compilation flag to VFP module
[I][B]V2.1[/B][/I]
- Wifi Fix - ivendor
- SnapDragon Optimization
- Google Snappy Zram
- 376mb Ram
- OC support
- dynamic read-ahead
- frandom
All start on boot default for - Dynamic management of timer slack , LowMemoryKiller management of not killable processes Already been removed !
- USE PERFORMANCE CONTROL to enable it > http://forum.xda-developers.com/showthread.php?t=2401988
Settings of The Available Features
partly been taken from Christopher explanation thread - http://forum.xda-developers.com/showthread.php?t=2172148 all credit go to Christopher83 please thank he for prepare this detail of function
LowMemoryKiller management of not killable processes
This feature allows to define processes and system processes white-lists filled with the preferred process names and to not be killed by lowmemorykiller, unless it is absolutely necessary.
This feature exposes four new lowmemorykiller parameters:
- donotkill_proc, is the flag to enable / disable this feature for the processes chosen by the user
- donotkill_sysproc, is the flag to enable / disable this feature for the system processes chosen by the user
- donotkill_proc_names, is the list of process names (comma separated) chosen by the user to be preserved from killing
- donotkill_sysproc_names, is the list of user system process names (comma separated) chosen by the user to be preserved from killing
When the lowmemorykiller needs to free ram, it will first kill the processes not included inside the two process name lists chosen by the user.
If there are no more standard killable processes, then it will be necessary to kill one of the processes included inside one of the two white-lists, to prevent system hangs, slowdowns, etc.
How to customize the white lists of processes to preserve from killing:
On HurtSky's Kernel the feature is enabled by default and the provided processes white lists are the following:
- donotkill_proc_names = "com.cyanogenmod.trebuchet,com,android.inputmethod.latin"
this means that Trebuchet Launcher,stock keyboard will be preserved from killing
- donotkill_sysproc_names = "android.process.acore,com.android.phone,com."
this means that the system process, the phone process will be preserved from killing
1) By using a customized init.d script (the custom value will be always restored after a reboot, if you don't format the system partition)
- Download the script named 80dnkp
- If the file has been saved with .txt extension (stock browser), rename it by removing the .txt extension
- Edit the file by setting your preferred status and processes list
- Copy the new file inside /etc/init.d
- Give the rwxr-xr-x permissions to the file (read, write, execution for owner, read and execution for group users, read and execution for others)
- Reboot
2) By directly editing the files inside /sys/module/lowmemorykiller/parameters (note that set values will be lost after a reboot/shutdown)
3) By using Terminal Emulator (note that set values will be lost after a reboot/shutdown)
- Open Terminal Emulator
- Run these commands if you want to enable the feature
Code:
# To enable this feature for the processes chosen by the user
echo 1 > /sys/module/lowmemorykiller/parameters/donotkill_proc
# To enable this feature for the system processes chosen by the user
echo 1 > /sys/module/lowmemorykiller/parameters/donotkill_sysproc
- Run these commands if you want to disable the feature
Code:
# To disable this feature for the processes chosen by the user
echo 0 > /sys/module/lowmemorykiller/parameters/donotkill_proc
# To disable this feature for the system processes chosen by the user
echo 0 > /sys/module/lowmemorykiller/parameters/donotkill_sysproc
- Run this command if you want to add, for example, Trebuchet Launcher (CM default launcher) and the default keyboard to the processes white list
Code:
echo "com.cyanogenmod.trebuchet,android.inputmethod.latin" > /sys/module/lowmemorykiller/parameters/donotkill_proc_names
- Run this command if you want to add, for example, the system process, the phone process and DSP Manager to the system processes white list
Code:
echo "android.process.acore,com.android.phone,com.bel.android.dspmanager" > /sys/module/lowmemorykiller/parameters/donotkill_sysproc_names
Click to expand...
Click to collapse
This features currently been disable because normal KSM react more better with current settings
Ultra ksm
UKSM is more optimized and also working for single core systems. using this should give much better ram usage, but at the cost of more cpu usage - ( it seems latest version of UKSM optimized for battery usage also )
In this kernel the UKSM off by default -
How to stop and re-run :
to stop uksm run:
echo 0 > /sys/kernel/mm/uksm/run
for re- run:
echo 1 > /sys/kernel/mm/uksm/run
Redirect to this post if users want to enable it on boot > http://forum.xda-developers.com/showpost.php?p=44606319&postcount=880
This UKSM can be tweaked more by visiting this thread http://forum.xda-developers.com/showthread.php?p=44531620
thanks for @eryzerz for informing this
Click to expand...
Click to collapse
This features also already been remove from package, you can download it from their official thread
Some Information about TURBO BOOST mods http://forum.xda-developers.com/showthread.php?p=37905307 < for futher information ! Please read !
This quote taken from TURBO BOOST thread ! Credit goes to TURBO BOOST DEVELOPERS
Disadvantages of a NORMAL swap file on your sdcard:
A sdcard is always slower than internal memory
You may NEVER unmount the sdcard or connect your phone to your computer, because you then just kill your swap file – it is the same as pulling out the Ram of your running computer!
Disadvantages of a swap partition on your sdcard a.k.a. HARD SWAP (the one that you all always swap ! ) :
A sdcard is always slower than internal memory
You will need a separate partition on your sdcard
You can connect the sdcard to your computer, but you cannot unmount and remove it without powering off your phone – you would kill your swap space immediately!
Disadvantages of a swap file in RAM - a.k.a. ZRAM:
This reduces the already low RAM memory
Leads to many low memory problems, like sense restarts and lags
TURBO BOOST ! PART
Advantages of 98swap_<partition> (TURBO BOOST MODS) compared to the methods above:
It uses internal memory – so it is fast!
This memory is not available to the user (/cache and /system) – so it does not decrease any space given to the user
It does not use your sdcard in any way – so feel free to unmount and remove your sdcard whenever you like – also without powering off your phone!
Disadvantages of 98swap_cache
None - you name it!
Click to expand...
Click to collapse
Click to expand...
Click to collapse
FEEDBACKS / QUESTION / BUGS
Normal Question
- how the battery consumption?
hurtsky said:
here my screenshot about idling power consumption.. i let my phone really sleep today more good than before ....
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Click to expand...
Click to collapse
dollyaja said:
I hope the latest build can beat up this one. DOWNLOADING!!
Sent from my GT-I8190 using Tapatalk 2
Click to expand...
Click to collapse
- how the Performance?
K_TECH said:
i try to use 0,3-0,8Ghz, & play DeadTrigger,NFS,PES2012,SubwaySurf.. i had no lag too "without tweak"...
Big thanks to hurtsky :thumbup::thumbup::thumbup::thumbup:
Click to expand...
Click to collapse
dec0der said:
playing candy crush, hill climb, minion rush and pou (lolz) NO LAG! i wonder how much max ram can kernel 3.x.x can go... (.)^(.)
Click to expand...
Click to collapse
BUGS ?
Some users reported that incoming call abit slower to wake
- this just because updated of suspended , it make the wake up abit slow but it help reducing power consumption ​
Click to expand...
Click to collapse
first ! thanks thanks thanks ! nyc work ... smooth+battery saver
nice job
the RAM still 352mb?
hotheabilly said:
the RAM still 352mb?
Click to expand...
Click to collapse
yes.. more RAM still in progress.
hurtsky said:
yes.. more RAM still in progress.
Click to expand...
Click to collapse
thankyou, looking forward for a new version
hurtsky said:
yes.. more RAM still in progress.
Click to expand...
Click to collapse
good luck c:
i think more RAM will give us problem with camera or others, i in way compiling stock RAM and more RAM.. hope you can try it and give feedback
Re: [Kernel][CM10.1] HurtSky's Kernel V1.0 1/4/2013
Hello there hurtsky, add intelidemand and lionheartx if you dont mind xD
Sent from my GT-I8150 using Tapatalk 2
selfishloner said:
Hello there hurtsky, add intelidemand and lionheartx if you dont mind xD
Sent from my GT-I8150 using Tapatalk 2
Click to expand...
Click to collapse
will try need see my leisure time
updated V2
hurtsky said:
updated V2
Click to expand...
Click to collapse
downloading
Re: [Kernel][CM10.1] HurtSky's Kernel V2.0 4/3/2013
Its seems WiFi patch made my phone WiFi connection a little strange, its stay in grey bar, not became blue. And I cant access internet with chrome/facebook/twitter. Im using WPA2 router. Anyone had same issue?
-Sent from CM10.1 i8150-
hurtsky said:
yes.. more RAM still in progress.
Click to expand...
Click to collapse
Any issue with switching to front camera?
omegahanggara said:
Any issue with switching to front camera?
Click to expand...
Click to collapse
test it first. that why i make 2 version stock Ram and more RAM.. because i didn't use CM10.1
Re: [Kernel][CM10.1] HurtSky's Kernel V2.1 4/3/2013
hurtsky said:
test it first. that why i make 2 version stock Ram and more RAM.. because i didn't use CM10.1
Click to expand...
Click to collapse
Its okay (both 376Mb and stock RAM)
Btw I tried to forget the WiFi network password, reboot the phone and reconnect/inputting password again and everything is fine now thanks hurtsky.
-Sent from CM10.1 i8150-
Re: [Kernel][CM10.1] HurtSky's Kernel V2.1 4/3/2013
Sorry for this noob question. But can someone give me the instruction to flash this kernel? I am new for this change kernel things
Sent from my CM10.1 Wonder
Re: [Kernel][CM10.1] HurtSky's Kernel V2.1 4/3/2013
How's the new kernel? Downloading it now.
Sent from my GT-I8150 using xda premium

Categories

Resources