Thread Closed

[DISCONTINUED][Kernel][CM7/MIUI] Platypus (6/27) Voodoo, OC/UV

OP ls377

5th April 2011, 10:02 PM   |  #1  
ls377's Avatar
OP Senior Member
Thanks Meter: 38
 
286 posts
Join Date:Joined: Sep 2010
More
First things first: I am not the developer of this. I am just managing this thread for zacharias.maladroit, and he deserves all credit for this.

Okay, now on to the awesomeness...



PLATYPUS KERNEL
For CM7/MIUI on the Samsung Captivate.

NEO series

i9000 kernel thread: http://forum.xda-developers.com/showthread.php?t=980495. Go here for more advanced information.

NOTE: ONLY FOR NIGHTLY 15 AND UP.

Features:

- optimized memcopy & memmove (for more performance & smoother operation)
- governors included: optimized smartass (thanks Tk-Glitch + source !), tweaked SavagedZen (thanks to arescode !), ondemand, tweaked conservative, interactive (tweaked for less power consumption), interactiveX
- SFB stochastic fair blue network scheduler (included since 2.6.39 linux-kernel)
- raised FPS screen timings cap
- unlikely-likely fixes (more efficiency in scheduling)
- voodoo color V2
- voodoo sound V9

- Docksound support
- writeback fixes (work in progress)
- ck-patches
- fixes for longer battery runtime (testing still)

- VFS changes & fixes
- VM & changes & fixes
-> less lags & more efficiency

- SLQB slob scheduler
- OC-UV (OC until 1.3 GHz) implementation by kang (bilboa1), morfic & TheEscapist
- nofail variants of kmalloc kcalloc kzalloc (less trouble, looping & more saved CPU cycles)


Installation:
* make sure you have auto-rotation enabled with previous kernel
* boot into CWM Recovery
* apply update.zip
* Wipe /cache & Dalvik Cache
* "reboot system"
* give it some time to boot


Other method to remove voltage settings:
Boot into recovery and do:

adb shell rm /system/etc/init.d/S_volt_scheduler

You need to do it twice.
You can also delete the file using a file explorer. This method also works for init scripts. Included init scripts can be removed if you want.


Use Voltage Control for OC/UV. Download here.

DOWNLOADS:

NEO 10 (All kernels)

Older versions:

NEO-06 CM7
NEO-06 MIUI

KERNEL (NEO-03 CM7)
KERNEL (NEO-03 MIUI)

KERNEL (NEO-02)

5/22:
http://api.viglink.com/api/click?for...%2Ffont%3E.zip

Scripts for different governors here. EXPERIMENTAL! MAKE A BACKUP FIRST!
For VPN Users
For those getting bootloops
Attached Files
File Type: apk CMParts.apk - [Click for QR Code] (350.9 KB, 741 views)
Last edited by ls377; 7th August 2011 at 04:34 AM.
The Following 10 Users Say Thank You to ls377 For This Useful Post: [ View ]
5th April 2011, 10:03 PM   |  #2  
ls377's Avatar
OP Senior Member
Thanks Meter: 38
 
286 posts
Join Date:Joined: Sep 2010
More
changelog

Quote:

changelog (Neo 10):
- [probably] some more battery savings & speed-ups
- (complete ?) update/backport of the updated pl330 dma driver from samsung GB source [(probably) more performance, less power consumption]
- shorter kernel-package name on user demand (due to readability issues in CWM recovery)


NEW:
- bluetooth HID driver port from Samsung GB source (how to use this functionality ? probably less battery consumption - the more correct/complete drivers included - the more stuff can be sent to powersave)

- synced with upstream: 7.1.0-RC1 / nightly #40 (SGS numbering scheme)
- upstream additions: Hack a mute/unmute for Vibrant
- upstream: another variant of sleep/hang of death (probably also resolved)

- wifi + data networking issues resolved

Quote:

Changelog (from NEO_06):


characteristics:
- conservative governor (screen: on & off)
- touchkey timeout (no led-notifcation) | led-notification (2nd kernel)
- some more battery savings & speed-ups
- OC up to 1.6 GHz (but it seems the power-saving measures don't let it scale up performance correctly - so max frequency recommended is 1.4 GHz)
- 339 MB (that's nearly 340 MB of RAM !)
- Juwe11's OOM killer settings
- tweaked memory settings & stuff (too much to remember what all was changed)
- disabled logcat & printk output [thanks to existz for ideas !] -> battery savings & less overhead
- some voodoo color improvements [thanks to nikademus !]
- 2011.03 toolchain + aggressive flags [thanks to hardcore for help !]
- some more tweaks to ondemand governor

- known to work on nightly #24 + #25 (SGS numbering scheme)

Quote:

Changelog (from NEO_03):

- fugumod security hardening re-added
- optimized memcopy & memmove for maximal efficiency & speed
- optimized for size (less cache-misses & leaner and [perhaps] faster system)
- optimized for NEON-usage
- conservative-governor ONLY (one governor to rule them all) - battery consumption + performance == win + win
- FIQ-console disabled (probably less overhead + battery savings)
- LED notifications disabled - only LED light timeout enabled (battery savings)
- printk time-stamps disabled (probably less overhead + battery savings)
- fixed HD Video recording + mic recordings (sound works again)
- "old" OC-UV-implementation OC until 1.3 GHz
- re-added Nick Piggin's inode integrity patches (2 of them) - (more stability & perhaps some saved cpu cycles -> battery)
- re-added several of the previously not included patches from quorra kernel-base

Quote:

Changelog (from NEO_02):

- removed memcopy&memmove (let's see whether this improves stability & any in-call reboots)
- tweaked smartass & SavagedZen governor
- added downscale fixes from SGSII (thanks to kang/bilboa1 & Tk-Glitch !)
- some small fixes to pl330 (updated to Samsung's SGS driver) & cpuidle stuff
- some minor fixes & improvements

- memory mapping fix for HD video recording (no more FC when camera app is switched to camera / HD recording) [some commit in my repo seems to set wrong memory mapping which breaks HD recording ]
- [upstream] larger radio partition ---> with newer Nightlys - need system change (thanks coolya !)
- [upstream] some mic & headphone fixes (thanks atinm !)
- Memory available: 339 / 340 MB
- switched to Tk-Glitch's OC/UV implementation [up to 1.6 GHz] (seems to be more stable, lower UV & higher OC) (thanks Tk-Glitch ! )
- re-add: bluetooth l2cap powersave mode

- conservative smartass tweaks (if you want old behavior back please flash the smartass script for NEO_02)

Neo-02:
Quote:

- new kernel base (teamhacksung / upstream vanilla source)
- stock toolchain (for now - all other toolchains lead to kernel panic)

Quote:

(from quorra r10)

- Voodoo Sound v9
- old bluetooth settings (provided I didn't forget anything)
- less aggressive conservative governor (when screen is off - 15% steps instead of 50%)

- re-added BNEP & HIDP bluetooth support
- reverted new optimization flags
- changes in cpu scheduler settings to behave better [need feedback]

- compiled in the iptables modules INTO THE KERNEL (module loading has issues ?)
- reverted new optimization flags re-added them: need testing for call drops & any instabilities
- [upstream] gpio fixes & cleanups (potential additional battery drain fixes) [thanks codeworkx !]

- changes in cpu scheduler settings to behave better [need feedback] seems like this leads to reboots while calling again for some of you - disabling it should fix it - please test & report


- (re-added) changes in cpu scheduler settings to behave better [need feedback, no reboots here] (false positive report of reboots)
- new conservative governor thresholds & sampling rate for while screen is off [need feedback]
- mlock [pt1/2] fix from newer kernels: this should reduce some lags significantly during heavy i/o and/or wakeup
- complete optimization flags for the kernel (add them to AFLAGS, too)
- Nick Piggin inode integrity fixes (2 of those: fsync race fix, barrier fix) [data safety & hangs during write]
- undo disabling of Bluetooth power_save feature; added bt_power, fix that mode & fix a compilation issue with it (potential additional power savings during Bluetooth usage)
- [testing] support for Apple Wireless keyboard & other wireless stuff

- [upstream] migration to MTD layout & upstream CM7 handling (thanks to atinm & koush !)
- [upstream] s3cfb fix: no issues with screen output anymore before lock & unlock (thanks codeworkx !) [afaik RIL Polling still needs to be resolved]
- [upstream] headset cleanup
- [upstream] settings for stock headset, fixes skipping music
- [upstream + changes] disable PMEM for SGS, Cappy & Vibrant
- [upstream] samsung_modemctl: add aries modemctl (thanks to coolya !)
- add nofail variants of kmalloc kcalloc kzalloc (less drama & looping with filesystems - so (potentially) more battery savings & saved cpu cycles)
- add an improved memcopy & memmove implementation for more speed & performance (testing)
- much changes in screenstate_scaling script:

Quote:

(from quorra r9)

- enabled support for [external] SD-card suspend (battery savings) - make sure you don't have files on external SD in use when you use it for longer periods and want to save some additional energy
- additional optimization flags for improved overall speed & NEON (multimedia) usage (tested on fascinate & Nexus S - so should be somewhat stable & proven)
- several small fixes & adjustments in the config
- re-enabled kernel error messages for better bug diagnosis & troubleshooting [practically no overhead]
- iptables - built as modules; full iptables support for ipv4 & ipv6 now
- [EXPERIMENTAL] higher charging temperatures (values from GB Samsung source + lower low recovery settings) [especially useful in warmer regions & the summer]
- [testing] add support for Apple Wireless keyboard and other wireless stuff
- enabled more BT options & settings
- CFS scheduler fix with load weight calculation (potentially fixing issues & allowing to safe more battery juice)

- [upstream] some fixes for initial installation (not applicable here since not used for initial kernel installation)

Quote:

(from quorra r8)

- kernel comes pre-packaged with smartass governor
- [EXPERIMENTAL] - make an nandroid backup before testing & using: for switching to other governor (while screen is on - screen off = conservative) apply additional "screenstate_scaling switcher" script

# see attachments#, # additional scripts# <-- *Link* inside

- added interactiveX cpufreq governor from leanKernel-tbolt/imoseyon (adds sleep & wake code) - (probably) better (less) battery usage than conventional interactive governor [need feedback]
- tweaked interactive governor to scale down to lower frequencies faster (less battery usage & still very smooth)
- fixed & tweaked SavagedZen [*very* laggy - for those battery runtime fetishists ^^] [needs more testing & feedback]

- [upstream] wifi driver now supports channel 12, 13 and 14 again (thanks to atinm !)
- [upstream] added recovery 2e checks for initial update
- [upstream] accurate battery gauge display (thanks to atinm !)
- [upstream] improvements in recovery-handling with the /cache partition (thanks codeworkx !)

- [upstream] some fixes & improvements for recovery (e.g. creating missing devicenodes)

Quote:

[additions since 04/27/2011] (release name: "Alice" ; (Semi-Testing/Stable)
* working capacitive keys again (reverted one upstream commit for now) [Captivate only]
* Voodoo Sound v8
* SavagedZen cpufreq governor [option]
* further changes & tweaks to the conservative governor
* untick 600 + 200 MHz in Xan's VoltageControl for better performance and les

* added cm7 gb sammy source, along with some from other broken releases

Quote:

[additions since 04/18/2011] (release name: "Core"; most likely Stable)
* more reliable auto-rotation and sensors (check it's on; if not working: 1st boot: power button press 10+ seconds -> forced reboot/hard reset) [still testing & evaluating]; should work now
* CONFIG_HZ @250 USER_HZ @150 (like "rocketeer")
* feature-complete (like "antlion") [still looking for more fixes & improvements ]
* added [testing] new CPU powermode tweak to fully power off to save more energy when idle and significantly prolong battery runtime
* fixed an instability during power suspend cpu frequency
* removed too aggressive optimization flags; using basic optimization with Level 2
* removed fstack-protector and enhanced hardening features in kernel code (potentially led to instability, reboots, etc.)
* added again low latency features
* added support for bml_over_mtd this should take care of bad blocks during flash

* added tweaked CFS scheduler settings to have less lags at the cost of performance (who needs benchmark results anyway ? )

Quote:

[additions since 04/13/2011] (release name: Antlion; Stable - )
* working external SD card access & usb tethering
* working auto-rotation and sensors (check it's on; if not working: 1st boot: power button press 10+ seconds -> forced reboot/hard reset)
* CONFIG_HZ @250 USER_HZ @150 (like "rocketeer")
* (almost) feature-complete (like "rocketeer")
* added ported new bcm4329 (WIFI) drivers from intersectRaven's 2.6.37.6 kernel - kudos to him (supposedly less battery consumption)
* better reception quality (less noise) with new WIFI drivers

Quote:

[additions since 04/06/2011]
* hung task timeout commented out (in my script)
* limits for system v ipc semaphores, max number of system-wide threads running commented out (in my script)
* limit for maximum number of system-wide system v ipc message queue identifiers commented out (in my script)
* optimization for sqlite database files (potential speedup of system and apps using sqlite)
* zram disabled (for now) - it breaks the browser (reboot) and other stuff [still available as option]
* optimized conservative & ondemand governors - conservative is recommended
* rewrote init-scripts to minimize delays & lags during switching screen on-off - less lags & delays
* [upstream] fixed bug with arm and delays during cpufreq switching

Quote:

[additions since 04/06/2011]
* hung task timeout commented out (in my script)
* limits for system v ipc semaphores, max number of system-wide threads running commented out (in my script)
* limit for maximum number of system-wide system v ipc message queue identifiers commented out (in my script)
* optimization for sqlite database files (potential speedup of system and apps using sqlite)
* zram disabled (for now) - it breaks the browser (reboot) and other stuff [still available as option]
* optimized conservative & ondemand governors - conservative is recommended
* rewrote init-scripts to minimize delays & lags during switching screen on-off - less lags & delays
* [upstream] fixed bug with arm and delays during cpufreq switching

10char
Last edited by ls377; 28th June 2011 at 02:46 AM.
The Following 5 Users Say Thank You to ls377 For This Useful Post: [ View ]
5th April 2011, 10:03 PM   |  #3  
ls377's Avatar
OP Senior Member
Thanks Meter: 38
 
286 posts
Join Date:Joined: Sep 2010
More
Troubleshooting/FAQ

Auto rotation isn't working:
  • Enable auto rotation on your old kernel before flashing.
  • check if auto-rotation works - (is it enabled ?) - if not press power button 10+ seconds (ignore power menu popping up).

Bootloops/FC's/etc.:

Will this work with the latest CM nightly?

If the release date is the same/after the latest nightly, then yes.
If not, then it probably won't. Most of the changes made in the nightlies are to the kernel, and when installing an older kernel, best case, you would lose the most current features (worst case, it just won't work). You can try, but make a backup.

What are the differences between the governors?

- conservative: probably most battery efficient
- interactive: most smoothest operation - perhaps some hickups from time to time; phone gets quite warm with it; prefers higher over lower frequencies
- ondemand: compromise between speed & battery efficiency [in a perfect world the best ]
- smartass: further evolution of interactive governor keeps the frequency at 600 MHz while idle (screen on) to ensure smoothest operation (need feedback, stability, etc.)

What are some good RGB Voodoo color settings?

Quote:

Voodoo Color settings:

Q: I don't have that nice ice-ish white color on my screen anymore - you suck !

Q: my screen looks like someone pissed on the screen - you suck !

(sorry for the language ^^)

A: I love you too ^^
download Voodoo Control or Voodoo Control Plus

Screen RGB multipliers:

- Red: 321*
- Green: 321*
- Blue: 429*

Screen v1 gamma hack:

- use Alt. settings

- or if you prefer others - use: "Reset to 2.3.3 defaults", "Punchy settings" (punchy could lead to a great screen while locking the screen and having "screen off" animation disabled)

Quote:

- WIFI & stuff not working ?

lippui94 cleaning script, then wipe dalvik, then fix permissions, then kernel - eventuall governor switch - , then wipe dalvik, then wipe cache, then fix permission

- reboots during calling ?

please report ASAP !

this is supposed to be fixed & a non-issue

- Radio (phone function) not working ?

this only works with nightlys > #14 and up

- phone is not as smooth as with previous kernel releases

yeah - sorry, might be due to the fact that I'm forced to use stock toolchain (less optimizations)

Last edited by ls377; 25th May 2011 at 02:15 AM.
The Following 2 Users Say Thank You to ls377 For This Useful Post: [ View ]
5th April 2011, 10:08 PM   |  #4  
steph2's Avatar
Senior Member
Flag Detriot
Thanks Meter: 71
 
267 posts
Join Date:Joined: Jan 2011
More
frist to try is me i think frist to post as well is it smooth yes it is
Last edited by steph2; 7th April 2011 at 04:02 AM.
5th April 2011, 10:24 PM   |  #5  
Senior Member
Flag 18518
Thanks Meter: 199
 
914 posts
Join Date:Joined: Dec 2010
More
Second Installing the CMparts for LED notifications now and will advise. Seems to be running smooth
5th April 2011, 10:31 PM   |  #6  
Senior Member
Flag 18518
Thanks Meter: 199
 
914 posts
Join Date:Joined: Dec 2010
More
Quote:
Originally Posted by steph2

frist to try is me i think frist to post as well is it changed for cappy or the buttens going to be worng sence its a I9000 kernel ??

It was changed for the cappy Should be good to go.
The Following 2 Users Say Thank You to phoenix2217 For This Useful Post: [ View ]
5th April 2011, 10:35 PM   |  #7  
steph2's Avatar
Senior Member
Flag Detriot
Thanks Meter: 71
 
267 posts
Join Date:Joined: Jan 2011
More
Thumbs up
Quote:
Originally Posted by phoenix2217

It was changed for the cappy Should be good to go.


good deal flashing asap
5th April 2011, 10:36 PM   |  #8  
Senior Member
Flag 18518
Thanks Meter: 199
 
914 posts
Join Date:Joined: Dec 2010
More
Lightbulb
Just want to say when doing the LED notification fix using root explorer, make sure to change the permissions or CM7 settings will force close on you. Should be set to rw-r--r--
The Following User Says Thank You to phoenix2217 For This Useful Post: [ View ]
5th April 2011, 10:40 PM   |  #9  
ls377's Avatar
OP Senior Member
Thanks Meter: 38
 
286 posts
Join Date:Joined: Sep 2010
More
Quote:
Originally Posted by phoenix2217

Just want to say when doing the LED notification fix using root explorer, make sure to change the permissions or CM7 settings will force close on you. Should be set to rw-r--r--

Thanks, I'll add that. I did it using Super Manager and didn't have any issues.
5th April 2011, 10:42 PM   |  #10  
Senior Member
Flag 18518
Thanks Meter: 199
 
914 posts
Join Date:Joined: Dec 2010
More
Odd, can't get the LED notifications to work...hmmm. I assume this is for the bottom lights, correct? Do I need to have the BLN app installed and configured or turn it off? Tried to do the "test LED now" or whatever in the options and nothing happens.

Thread Closed Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Captivate Android Development by ThreadRank