[KERNEL-ICS] CMPlus Kernel mit vielen Einstellungsmöglichkeiten [11 Juni]

  • 24 Antworten
  • Letztes Antwortdatum
PL50

PL50

Dauer-User
1.187
CMPlus Kernel

Dieser Kernel hat alle features des stock CM9 Kernel (384MHz GPU, TUN, KSM, CIFS, NFS).
Der Dev. des Kernels sagt selbst das er nur kleine (aber feine) Veränderungen vorgenommen hat.
Credits gehen an: KalimochoAz, teamhacksung, CM team und natürlich auch an Google.


Hier findest du die neusten Versionen zum Downloaden: http://goo.gl/zq2C5
(Koush's anykernel format, so does not modify existing ramdisk. Install in CWM recovery).

Aktuelle Version:
- Disabled unnecessary debug options
- Enabled relevant ARM errata
- Optimized RWSEM & CRC32 algorithms (Ezekeel)
- jRCU suitable for small SMP systems (Joe Korty)
- SLQB memory allocator
- SIO I/O scheduler
- Optimized conservative, interactive & ondemand cpufreq governors (interactive as default)
- Alternative governors: Lazy & Wheatley (Ezekeel), Lulzactive (Tegrak) & Smartass2 (Erasmux)
- Removed powersave and userspace cpufreq governors
- Westwood+ as default TCP advanced congestion control
- Added 1.42GHz overclocked frequency (using same voltage as 1.35GHz)
- Userspace voltage control (Michael Huang)
- Undervolted nominal VDD_MPU, VDD_IVA & VDD_CORE by 50mV
- Reduced regulator voltages to VAUX3 and VUSIM for reduced screen-on battery consumption
- Less conservative temperature throttling thresholds
- Fast charge patch (Chad Froebel)
- BLX: Battery Life eXtender (Ezekeel)
- Sound Control with volume boost and highperf (Ezekeel)
- Touchwake (Ezekeel)
- Vibration Control (Morfic)
- User control of WiFi PM mode on sleep (PM_MAX default)
- Fsync Control (Ezekeel)
- Additional 200, 528 & 1072 MHz MPU frequency steps
- Gamma Preset to control contrast levels
- Customizable startup script for controlling SmartReflex, Sound Control, BLX, Touchwake, Vibration, WiFi PM, Fsync, Gamma Preset and Color Control settings
- Screenstate modes to control settings for CPU Scheduler, VM, min/max freq when listening to music on headset and CPU hotplug (CPU1 online/offline)
- Other relevant patches from Omapzoom, Codeaurora & Android/kernel-common
- Compiled using a self-built Linaro 4.7.1 toolchain optimized for Tuna

Alle Änderungen findest du hier: http://goo.gl/5E0hD.
For GPL compliance, full source available at http://goo.gl/FtbIV.

Eigentlich wurde der Kernel für CM9 entwickelt aber der Entwickler nutzt das ganze mit der BlackIce Rom und auf folgende ROMS wurden getestet: AOKP, ARHD, BAMF, CNA und Liquid.

Bei Problemen teile dem Dev folgendes auf XDA mit:
- ROM name and version
- Copy-n-paste dmesg & last_kmsg output to Pastebin.com - #1 paste tool since 2002! and provide URL
Code:
1. Start terminal emulator session
2. > su
3. # dmesg > /sdcard/dmesg.txt
For reboot/freeze problem, replace Step 3 above with
3. # cat /proc/last_kmsg > /sdcard/last_kmsg.txt
4. Paste contents of resultant txt files to pastebin.com
5. Post pastebin URLs here in this thread for diagnosis
- What you were doing with your phone at the time ;)

In anderen Worten: helfe ihm um dir zu helfen ;)

Der Dev möchte keine Spenden da er diesen Kernel in der Freizeit für alle fertig und dabei seinen spaß hat.
Wenn du aber etwas spenden möchtest dann wäre er froh wenn du Unicef unterstützen würdest: Klick mich!.

Hier geht es noch zum XDA Beitrag: [KERNEL][GSM/LTE/CDMA][4.0.4] CMPlus for Tuna [9 MAY] - xda-developers
 
Zuletzt bearbeitet:
  • Danke
Reaktionen: tho85 und Slotte
CMPlus Kernel Einstellungen

Der CMPLus Kernel verfügt nur über einen start script (/system/bin/cmplus) mit einer veränderbaren initialisierungs Datei (/ect/cmplus.conf)

Die unteren Einstellungen sind die Standard Einstellungen.
Zum Bearbeiten kopiere die Datei /ect/cmplus.config zu /sdcard/cmplus.config und dann bearbeite diese und speichere es ab.

Der Script wird zuerst prüfen ob /sdcard/cmplus.config Existiert,
falls dies der fall ist werden diese Einstellungen laden und die Standard Einstellungen ignorieren.
Falls die Datei nicht existiert wird es die Standard Einstellungen laden.


Deine Einstellungen werden einen factory oder system wipe überleben solange /sdcard/cmplus.confi existiert.


Code:
# filename: /system/etc/cmplus.conf
# ==========================================
# Initialization file for /system/bin/cmplus
# ==========================================
# To survive /system wipes, copy this file to /sdcard/cmplus.conf then modify accordingly

# Enables/disables cmplus script
# 0 = disabled 
# 1 = enabled
ENABLED=1

# Enables/disables Screenstate modes 
# 0 = disabled 
# 1 = enabled (DO NOT ENABLE IF USING CM9-based ROM!!!)
SCREENSTATE=0

# Enables/disables Hotplug Mode for CPU1 (DEPENDS ON SCREENSTATE=1)
# 0 or blank = disabled (default)
# 1 = enabled 
CPU_HOTPLUG=0

# Specifies min & max CPU frequency when screen-off and headset inserted (DEPENDS ON SCREENSTATE=1)
# 0 or blank = disabled (default)
# 1 = 200MHz 
# 2 = 350MHz 
# 3 = 528MHz 
# 4 = 700MHz 
# 5 = 920MHz 
# 6 = 1072MHz 
# 7 = 1200MHz 
# 8 = 1350MHz 
# 9 = 1420MHz 
MUSIC_MIN_FREQ=
MUSIC_MAX_FREQ=

# Enables/disables SmartReflex 1.5 adaptive voltage control
# 0 = disabled
# 1 or blank = enabled (default)
SMARTREFLEX=

# Sets volume boost setting for headset/headphones 
# 0 or blank = disabled (default)
# 1 = low boost
# 2 = medium boost 
# 3 = high boost
VOLUME_BOOST=

# Enables/disables high performance audio mode
# WARNING: Enabling might increase battery drain during music playback
# 0 or blank = disabled (default) 
# 1 = enabled 
HIGHPERF_SOUND=

# Enables/disables fast charge via USB
# 0 or blank = disabled (default)
# 1 = enabled
FAST_CHARGE=

# Sets maximum charging limit for battery (BLX)
# 0 to 100 (default=100)
BLX_LIMIT=

# Enables/disables Touchwake (tap to reactivate screen after timeout)
# 0 or blank = disabled (default)
# 1 = enabled 
TOUCHWAKE=1

# Sets time to keep Touchwake active after screen timeout, in milliseconds
# 0 = indefinite (default=45000)
WAKE_DELAY=30000

# Sets level of vibration for haptic feedback
# 0 to 1450 (default=1450)
VIBRATION=

# Sets status of WiFi on sleep (PM_MAX to save battery, PM_FAST for speed)
# 0 or blank = PM_MAX (default)
# 1 = PM_FAST
WIFI_PM=

# Enables/disables Fsync (single file/filesystem sync)
# WARNING: Disabling fsync increases the risk of data loss on a crash/freeze and can potentially lead to other side-effects.
# 0 = disabled
# 1 or blank = enabled (default)
FSYNC=0

# Selects GAMMA preset to control contrast
# 0 or blank = disabled (default) 
# 1 = Lowest contrast,
# 10 = Highest contrast
GAMMA_PRESET=7

# =================================================================================
# Your ROM's built-in Colour Controls may override all color control settings below
# =================================================================================

# Pause script X seconds to try to override any ROM color control settings ...
# Leave blank to disable pause
PAUSE=

# Set GAMMA Levels
# unknown range (default=0) 
RED_GAMMA=
GREEN_GAMMA=
BLUE_GAMMA=

# Set Color Multipliers
# WARNING: High levels (>2100000000) may cause screen burn-in damage
# 0 = min, 4294967290 = max, (default=2004318071)
RED_MULTI=
GREEN_MULTI=
BLUE_MULTI=


Changelog
Code:
[B]3.0.34-CMPlus-Tuna-120611[/B]
Changelog
* Updated to Linux 3.0.34
* Compiled using latest Linaro GCC-4.7.1 compiler customized for Tuna



[B]3.0.32-CMPlus-Tuna-120531[/B]

Changelog:

- Reverted Wifi voltage back to stock 2.0V
- Tweaked and re-enabled Lulzactive cpufreqgovernor
- Added fix for I2C crash by Imoseyon
- Changed to Vibrator Control by Ezekeel (removed Morfic's)
- Enabled CONFIG_AIO with extra patch to reduce I/O latency
- Re-enabled ARCH_POWER in sched_features.h (no improvement)
- Misc updates from Omapzoom and Codeaurora
- Updated cmplus script
- Removed Hotplug from Screenstate mode as it caused instability


[B]3.0.32-CMPlus-Tuna-120524[/B]

- Updated to Linux 3.0.32
- Reverted to TREE_PREEMPT_RCU from JRCU
- Disabled SCHED_AUTOGROUP as it had no visible performance boost
- Updated cmplus script
- Removed modification of vm.drop_caches in Screenstate as it caused instability
- Back to using my own personal preferences as default settings


[B]3.0.31-CMPlus-Tuna-120518[/B]

* Reduced WiFi voltage to 1.85V
* Re-added SMP commits from Linux 3.4
* Enabled SCHED_DEBUG & SCHED_AUTOGROUP for better control of CPU scheduler
* Updated cmplus script
--- Fixed bug which resulted in runaway real-time processes when screen off
--- Added additional CPU scheduler parameters to Screenstate mode
--- Added option to control screen_off_max_freq
* Misc updates from Omapzoom & Codeaurora

[B]3.0.31-CMPlus-Tuna-120510[/B]

* Attempt again to lower VDDMIN to 800000 for "possible" further power savings
* Updated cmplus script to disable Screenstate mode by default
* Fixed some errors in /system/bin/cmplus
---- Line 137: Fixed incorrect checking of MUSIC_MIN_FREQ when should be checking MUSIC_MAX_FREQ instead
---- Line 294: Fixed awk parameter to correctly exclude child process from OOM killer

Unfortunately, users of CM9-based ROMs (Skankwich, ParanoidAndroid) will not be able to enable Screenstate mode.
This is because the run-parts (init process) in CM9 does not allow forking of child Prozesses,
which is necessary in my script to sense whether screen is ON or OFF.
So Screenstate mode is disabled by default (see below)
Code:
[CODE]# Enables/disables Screenstate modes 
# 0 = disabled 
# 1 = enabled (DO NOT ENABLE IF USING CM9-based ROM!!!)
SCREENSTATE=0
Those using other ROMs (stock & AOSP based) have to modify the above line to enable Screenstate mode.
Hotplug and Music mode are dependent on Screenstate mode,
so ensure that Screenstate mode is enabled when you enable Hotplug or Music mode.



3.0.31-CMPlus-Tuna-120509-A
* Reverted VDDMIN to previous limit of 840000
* Removed accidental inclusion of swap, cleancache, zcache & zram that I was testing
* Updated cmplus script - added /dev/null to screenstate while loop (recommended by bigeyes0x0)

Bugfix version uploaded.
Original VDDMIN limit should allow kernel to run on all devices now.
Also, seems I added some memory functions in the earlier build that I was testing, so duly removed them as well.
Enjoy.


3.0.31-CMPlus-Tuna-120509
* Updated to Linux 3.0.31
* Another attempt to lower VDDMIN to 800000 for "possible" further power savings (might be unstable for some)
* Misc patches from Omapzoom to help with stability on high frequencies
* Fixed voltage control issues for 528MHz MPU frequency by using FUSE_CORE_OPP100 instead
* Removed Lulzactive cpufreq governor (did not scale new frequencies as expected)
* Set PM_MAX as default wifi sleep mode
* Updated cmplus script to include screenstate optimizations
---- Screen-ON mode settings for CPU Scheduler & VM to improve responsiveness
---- Screen-OFF mode settings for CPU scheduler & VM for battery savings
---- Hotplug mode to enable/disable CPU1 based on screenstate
---- Music mode to set min & max CPU frequencies when screen-off and headset inserted

Made some changes to cmplus script to make my device run exactly how I want it to:
responsive and lagfree when I'm using it, and real savings on battery when screen is off.
Cmplus script now includes a screenstate mode that auto tunes CPU scheduler & VM tunables depending on whether is screen on or off.
Also added a Music mode for power savings when listening to music with screen off.
And yes, I did say a few posts ago that any type of hotplug would only interfere with the built-int MPU Sub System Funktion,
but it's user selectable in cmplus.conf, so you can choose to enable or disable. Enjoy.

Additions to /etc/cmplus.conf[/code]​
 
Zuletzt bearbeitet:
  • Danke
Reaktionen: tho85
Ne schöne GUI wäre hier sehr geil!

Werde es mal Testen...
 
gknnn schrieb:
CMPlus Kernel

Dieser Kernel hat alle features des stock CM9 Kernel (384MHz GPU, TUN, KSM, CIFS, NFS).
Der Dev. des Kernels sagt selbst das er nur kleine (aber feine) Veränderungen vorgenommen hat.


Bin gespannt, was Du zu berichten hast. Offenbar hast Du den Kernel ja bereits geflasht! :flapper:
 
Ich nutzte AOKP M5 und damit läuft er spitzte! Ergebnisse stelle ich rein wenn ich bei 2% rest Akku angelangt bin.
Wer CM9 nutzt und Probleme mit dem Aktuellen Kernel hat bitte meinen Anhang in CWM Flashen - Credits: XDA User nexus.prime.
(deleting 09-MAY settings files and installing 06-MAY's)
 

Anhänge

  • cmplus.conf_06-MAY.zip
    167,8 KB · Aufrufe: 204
  • Danke
Reaktionen: kosmogon
gknnn schrieb:
Ich nutzte AOKP M5 und damit läuft er spitzte! Ergebnisse stelle ich rein wenn ich bei 2% rest Akku angelangt bin.
Wer CM9 nutzt und Probleme mit dem Aktuellen Kernel hat bitte meinen Anhang in CWM Flashen - Credits: XDA User nexus.prime.
(deleting 09-MAY settings files and installing 06-MAY's)

Wie unterscheiden sich die beiden Downloads?

3.0.31-CMPlus-Tuna-120509-A.zip
3.0.31-CMPlus-Tuna-120509.zip

Thx, bela
 
Also die -A Version hat ein paar Bug fixes bekommen da der Entwickler etwas getestet hat aber somit der kernel nicht überall rund lief.
Also am besten die -A Version installieren, ab der nächste Version füge ich einen Changelog ein.

3.0.31-CMPlus-Tuna-120509-A

Changelog
* Reverted VDDMIN to previous limit of 840000
* Removed accidental inclusion of swap, cleancache, zcache & zram that I was testing
* Updated cmplus script - added /dev/null to screenstate while loop (recommended by bigeyes0x0)

Bugfix version uploaded. Original VDDMIN limit should allow kernel to run on all devices now. Also, seems I added some memory functions in the earlier build that I was testing, so duly removed them as well. Enjoy.
 
  • Danke
Reaktionen: kosmogon
Es gibt wieder ein Update:

3.0.31-CMPlus-Tuna-120510

Changelog
* Attempt again to lower VDDMIN to 800000 for "possible" further power savings
* Updated cmplus script to disable Screenstate mode by default
* Fixed some errors in /system/bin/cmplus
---- Line 137: Fixed incorrect checking of MUSIC_MIN_FREQ when should be checking MUSIC_MAX_FREQ instead
---- Line 294: Fixed awk parameter to correctly exclude child process from OOM killer

Unfortunately, users of CM9-based ROMs (Skankwich, ParanoidAndroid) will not be able to enable Screenstate mode. This is because the run-parts (init process) in CM9 does not allow forking of child processes, which is necessary in my script to sense whether screen is ON or OFF. So Screenstate mode is disabled by default (see below)
Code:
Code:
# Enables/disables Screenstate modes 
# 0 = disabled 
# 1 = enabled (DO NOT ENABLE IF USING CM9-based ROM!!!)
SCREENSTATE=0
Those using other ROMs (stock & AOSP based) have to modify the above line to enable Screenstate mode. Hotplug and Music mode are dependent on Screenstate mode, so ensure that Screenstate mode is enabled when you enable Hotplug or Music mode.
 
Ich hatte den Kernel letzten Monat mal für ne Woche mit gerooteter StockROM getestet. Da lief zumindest der Launcher etwas laggy...
Aber sonst ein interessantes Projekt! Würde mich auch mal interessieren, wie er jetzt läuft!
 
Also der Kernel läuft stabil und flüssig.
Die Akku Laufzeit ist aktuell nicht die beste bei mir wenn man bedenkt das ich den großen Akku habe.
Werde den Kernel weiter beobachten aber wechsel nun da ich ein paar Empfangs Probleme hatte.

5cc20b72-23e8-7cb4.jpg

5cc20b72-23f9-4f86.jpg


Sent from my Galaxy Nexus using Tapatalk 2
 
3.0.31-CMPlus-Tuna-120511
Changelog
* Enabled ARM sched_mc & sched_smt (multi-core & multi-threading) support
* Added simple workaround to CM9's run-parts "no-forking" problem
---- Screenstate mode (Screen-ON = performance, Screen-OFF = economy) now enabled by default
* Misc patches from android/kernel-common

Thanks to a simple sysinit workaround, users of CM9-based ROMs (CM9, Skankwich, ParanoidAndroid) can now enable Screenstate mode, and also Music mode & Hotplug. Also enabled support for sched_mc & sched_smt which is supposed to improve CPU scheduler's decision making when dealing with multi-core chips and multi-threading.
 
also ich finde 4h display an nicht schlampig.

ich verwende diesen kernel auch schon einige zeit und bin absolut begeistert, hab minimal frequenz auf 200MHz, braucht im standby eigentlich kaum noch saft die kiste. :thumbsup:
 
3.0.31-CMPlus-Tuna-120512
Changelog
* Added 1500MHz CPU frequency
* Enabled APM (Advanced Power Management)
* Enabled ARCH_POWER for ARM architecture dependent CPU power management
* Reset lower limits VDDMIN to 840000 for stability, as Smartreflex isn't all that smart
* Prevent random WiFi MAC address by hardcoding it (Imoseyon)
* Patched interactive governor with latest commits
* Misc OMAP patches from Imoseyon, Codeaurora and Omapzoom
* Added enable/disable of KSM (Kernel Samepage Merging) in Screenstate modes
* Reset all settings to default in /etc/cmplus.conf

So, after a whole day of real-world testing on 350-1500MHz on Wheatley governor, pleased to report that I did not get a single freeze/reboot. And checking dmesg logs, I was surprised to find little evidence of thermal throttling. I've had my device running over 1600MHz before, but only with Smartreflex disabled, and the thermal throttling got so bad that it ran even worse than at 920MHz. So I feel confident enough to provide 1500MHz CPU frequency for power users. Let me just repeat that 1200MHz should be high enough for most users, and I don't recommend going higher than that. So only the use the 1500MHz frequency for situations that really warrant it (for me, they're ShadowGun & Six Guns :p).

Also, some of you gave feedback that UI seems a little slower, and the culprit is the gamma preset (contrast control) which is a software-only UI mod, so it steals cpu cycles from other critical system processes, such as SystemUI. Whilst I look at a workaround to that (by increasing priority levels for certain system processes), I've decided to set all parameters in /etc/cmplus.conf to default settings, only enabling Screenstate mode. That means that ALL other features (touchwake, fsync, gamma preset, etc) will be disabled by default. So you'll just have to copy it to /sdcard/cmplus.conf and set your own preferences. Ch33rs!
 
Welches Tool würdet ihr mir Empfehlen für diesen Kernel

Die meisten Kernel haben ja ein Fav app womit man das beste aus den Kernel Rausholen kann?
 
Bei dem Kernel kann man alles in einer Datei einstellen was super ist und in keinem anderem Kernel gesehen haben ist das man die max. Frequenz bei der Musikwiedergabe einstellen kann da das Nexus nicht in denn sleep modus wechselt.
Wie du alles einstellst ist im zweitem Beitrag beschrieben.
 
Super Kernel :)
ich mag den und benutze den auch weiterhin
 

Anhänge

  • Screenshot_2012-05-16-14-16-34.png
    Screenshot_2012-05-16-14-16-34.png
    18,9 KB · Aufrufe: 341
  • Screenshot_2012-05-16-14-17-24.png
    Screenshot_2012-05-16-14-17-24.png
    63,4 KB · Aufrufe: 385
  • Screenshot_2012-05-16-14-17-43.png
    Screenshot_2012-05-16-14-17-43.png
    45,8 KB · Aufrufe: 408
  • Screenshot_2012-05-16-14-18-00.png
    Screenshot_2012-05-16-14-18-00.png
    48,4 KB · Aufrufe: 418
3.0.31-CMPlus-Tuna-120518
Changelog
* Reduced WiFi voltage to 1.85V
* Re-added SMP commits from Linux 3.4
* Enabled SCHED_DEBUG & SCHED_AUTOGROUP for better control of CPU scheduler
* Updated cmplus script
--- Fixed bug which resulted in runaway real-time processes when screen off
--- Added additional CPU scheduler parameters to Screenstate mode
--- Added option to control screen_off_max_freq
* Misc updates from Omapzoom & Codeaurora
 
  • Danke
Reaktionen: tho85
Auch wenn zur Zeit ein regelrechter Hype um Trinity und Franco entstanden ist, mal den aktuellen Changelog posten.
Der Kernel läuft bei mir seit ein paar Tagen ohne Probleme mit CM9.

Changelog:

3.0.32-CMPlus-Tuna-120524

- Updated to Linux 3.0.32
- Reverted to TREE_PREEMPT_RCU from JRCU
- Disabled SCHED_AUTOGROUP as it had no visible performance boost
- Updated cmplus script
- Removed modification of vm.drop_caches in Screenstate as it caused instability
- Back to using my own personal preferences as default settings
 
Zuletzt bearbeitet:
  • Danke
Reaktionen: PL50
Danke werde das gute Stück mal testen

Gesendet von meinem Galaxy Nexus mit Tapatalk 2
 
Werde ich heute nachmittag einfügen danke für den Hinweis! :)
 

Ähnliche Themen

Schotti
  • Schotti
Antworten
7
Aufrufe
3.392
schnueppi
schnueppi
meLAW
  • meLAW
Antworten
2
Aufrufe
1.074
meLAW
meLAW
firsttyphoon
  • firsttyphoon
4 5 6
Antworten
117
Aufrufe
16.295
qu4nd
qu4nd
Zurück
Oben Unten