FORUMS
Remove All Ads from XDA

[KERNEL]05.12.2011 test-kernels [CM7/MIUI] platypus;SECURITY,VOODOO,OC/UV,nodebug,...

4,740 posts
Thanks Meter: 4,505
 
By zacharias.maladroit, Recognized Developer on 3rd September 2011, 11:07 AM
Post Reply Email Thread
Quote:

I'M A SUPPORTER OF BRINGING OFFICIAL ICS TO THE VIBRANT AND OTHER GALAXY S DEVICES!

> CLICK HERE FOR MORE INFORMATION <


CAPTIVATE edition of the Platypus Revolutions kernel

This Project is inactive/low activity for a longer period of time






Kernel

CM7 & MIUI only


NEO series

(since May 24th '11)
Do you want to discuss on this kernel, get the news on the current state of development, or test kernels even fresher than fresh ?

connect via webchat from your browser:

http://webchat.quakenet.org/
and join #platypus-kernel


(recommended)
Fire up your IRC client, and join via client
the server (for now is) : irc.quakenet.org
port : 6667
Channel : #platypus-kernel
(thanks to Tk for the layout idea )




before you ask for any ETAs:


The first rule of CyanogenMod [and this project]: DO NOT ASK FOR AN ETA!





---------------------------------------------------------------------------------------


First step before install & kernel switch:

Always have this cleaning script on your internal SD card ready


If you're
- switching kernels,
- have issues with auto-rotation,
- the cam,
- bootloops
- want to remove init script
- recover from a failed overclock attempt


please give either:

- lippol94's updated cleaning script (apply via CWM recovery): http://www.multiupload.com/XFH1GCK4MB

or

- WiwiPouPou's SYSTEM CLEANER SCRIPT (also apply via CWM recovery): (http://forum.xda-developers.com/show...ostcount=21739)

a try


the kernel already applies some cleaning steps during install but sometimes that's not enough ...


---------------------------------------------------------------------------------------




Introduction:



Hi guys,

this is my first modded kernel for the SGS (CM7/MIUI only)

I first needed to test it to make sure that it'll be stable & boot at the first place

so far it's very fast & responsive & smooth


This thread shall serve as the center for my testing kernels (stability & functionality-wise)


DISCLAIMER: the kernel (binary) and driver modules are provided as is. If problems occcur they most probably are from upstream and can be fixed with the newest version. Since I'm doing this in my free spare time as a hobby (quenching my thirst for tweaks & performance) updates will occur irregularly as time permits and I see fit (most probably when new features & bugfixes arrive). YOU are responsible for the actions that you take (such as over- or underclocking), etc. You agree that I can not be held liable for any potential damage that arises from your actions in combination with or the usage of this kernel and other related parts.

Kudos:
* Google, Andy Rubin & the whole Android crew
* Linus Torvalds & the kernel hackers for upstream Linux
* cyanogen & all the devs out there hacking on this
* Supercurio for enriching our media experience of this smartphone
* codeworkx, coolya, guiper, atinm - the whole teamhacksung|cmsgsteam crew and all other hackers working on CM7
* laststufo, hardcore, nikademus, existz and all the other kernel hackers on the SGS forum
* zen-kernel team for inspiration to create a kernel, too
* all other contributors (devs, users, etc.) who make this possible


The purpose of these kernels is extensive stability testing addressing the following sticking points:
- overall stability & functioning of the kernel and phone
- call drops, missed calls, etc.
- lags (suggestions for improvements are welcome)
- auto-rotation, sensors, etc.
- Voodoo Control Plus [any crashes ? compatibility problems ?]
- working on CM7 or MIUI ?
- scheduler, sound, video synchronisation & lags: Tap Tap Revenge 4 (especially at the beginning of songs)
- scheduler, sound, video synchronisation and any other issues: doodle dash (while shooting & sound activated)
- proper pmem memory layout & settings: proper functioning of Google Googles



for those who love SAUCE (Source):

old source:

ALL MY SAUCE for QUORRA KernalZ ^^

new source:

android_kernel_samsung_aries
(fork and 1:1 update to upstream kernel source - changes in different branches)

(latest changes sometimes might not be in [yet] but in the whole repo everything should be available)



current UV & OC stable values:

Recommended apps for OC/UV:

- Pimp my CPU (also available here on XDA for those who don't have a credit card, etc.)

- Xan's VoltageControl


on stability testing:

http://forum.xda-developers.com/show...71&postcount=5

(start with "Q: I'm new in OC/OV operations so please could you explain to me how to set it in the best way?")


the following OC/UV values are only applicable for kernels with the old OC/UV implementation (max. 1.3 GHz)

my current UV (undervolt) stable Values :

old OC/UV implementation (morfic, bilboa1/kang, TheEscapist):

1300000 0 (haven't tested 1.3 GHz much yet)
1200000 -25
1000000 -50
800000 -75
600000 -100
400000 -100
200000 -125
100000 -150



edit:

1200000 -50
1000000 -75
800000 -75
600000 -225
400000 -125
200000 -150
100000 -175

thanks jetcz !



new OC/UV implementation (morfic, bilboa1/kang, TheEscapist - Tk-Glitch):

Quote:
Originally Posted by Tk-Glitch

Note that these UV settings will be unstable on many devices. It's only informative.

1600 MHz - 1.500v / -> That's high and many devices will fail on this frequency. Find working UV for you if any.
1500 MHz - 1.500v / -> That's high and many devices will fail on this frequency. Find working UV for you if any.
1440 MHz - 1.475v / -75mv
1400 MHz - 1.450v / -75mv
1300 MHz - 1.400v / -75mv
1200 MHz - 1.350v / -75mv
1000 MHz - 1.250v / -50mv - If you have stability issues, try to let this one by default.
800 MHz - 1.200v / -75mv
400 MHz - 1.050v / -100mv
200 MHz - 0.950v / -150mv
100 MHz - 0.950v / -200mv - (can be very different between two devices)

More volts is not always equal to more stability. Try to add more UV (less volts) if the frequency you're trying to achieve is unstable.
Considering all phones will respond differently to OC/UV, to tweak the values to suit your device will be required.


By default, no overclock/undervolt is applied. You'll need to use one of the tools below to adjust the frequencies and voltages.
Note : Never ever use SetCPU with this kernel. You could encounter many stability problems like random reboots or bootloops.


3D performance and games:

recommended apps:

[root] Chainfire3D
The Following 10 Users Say Thank You to zacharias.maladroit For This Useful Post: [ View ]
 
 
3rd September 2011, 11:08 AM |#2  
zacharias.maladroit's Avatar
OP Recognized Developer
Flag ::1
Thanks Meter: 4,505
 
Donate to Me
More
1st backup post (kernels)


Kernels:

kernels are listed in descending order

older -> newer (newest at the bottom - for now)



officially declared new stable kernels will be up soon !

for now please go to the IRC channel (1st post to get the newest test-builds)


NEO 17 -r12 codename: Butterfly

http://forum.xda-developers.com/show...3&postcount=21


NEO 17 -r18 codename: Butterfly

http://forum.xda-developers.com/show...&postcount=132



NEO 18-update1 codename: funky fish

NEO XX.1-update1 codename: mighty rhino

http://forum.xda-developers.com/show...&postcount=192

ALL USERS MUST UPDATE (this fixes yet another potential data loss trigger)
The Following 5 Users Say Thank You to zacharias.maladroit For This Useful Post: [ View ]
3rd September 2011, 11:08 AM |#3  
zacharias.maladroit's Avatar
OP Recognized Developer
Flag ::1
Thanks Meter: 4,505
 
Donate to Me
More
2nd backup post (Changelogs)


Changelog list:


obsolete right now
The Following 2 Users Say Thank You to zacharias.maladroit For This Useful Post: [ View ]
3rd September 2011, 11:09 AM |#4  
zacharias.maladroit's Avatar
OP Recognized Developer
Flag ::1
Thanks Meter: 4,505
 
Donate to Me
More
3rd backup post (modems list)

modems:

Description:

Modems play a crucial role in how much battery drains in standy.

e.g. if you have a good signal area and the modem still has high

"Time without a signal" indicator under Cell standby you still will get bad standby time

make sure you have little to no "Time without a signal" in Cell standby

there also somewhat seems to be a connection between "Time without a signal" and high "Android OS" number in battery use (!)



Following modems are only compatible with new radio (modem) partition layout:


radio-cm-7-GalaxyS-JVP-signed.zip (4.29 MB)

md5sum: fb38dbf82daf0720fd2328f5f649013e radio-cm-7-GalaxyS-JVP-signed.zip




For more modems & bootloaders please go to siky_dude's Modem Thread:

[CM7/MIUI][28.08.11] Modems + Bootloaders(MD5)

[SGS / i9000 Thread so some frequencies might be missing, e.g. 850 MHz]

for more modems please refer to a modem thread in the Captivate Forums section
The Following 3 Users Say Thank You to zacharias.maladroit For This Useful Post: [ View ]
3rd September 2011, 11:11 AM |#5  
zacharias.maladroit's Avatar
OP Recognized Developer
Flag ::1
Thanks Meter: 4,505
 
Donate to Me
More
4th backup post (results)

Results & FAQ/Documentation

Results:

(04/27/2011) Results for platypus-kernel_20110427_18_quorra_r1:
- broken auto-rotation & sensors for some [insert ROM (CM7 ? MIUI ?)]
- stable

(05/03/2011) Results for CM7_SGS_platypus-kernel_20110503_17_quorra-r4_exp
- high battery drain, either due to kernel config or optimization flags, fixed with >= quorra r5 (2nd update)








FAQ / Documentation


@bootloop / boot post victims ^^

Hi guys,

could you please try to replace the existing kernel on your MIUI or CM7 nightly CWM-Package with my kernel, modules and its scripts ?

then install that updated package (with the new kernel, modules and scripts)


after that all should work


the bootloops seem to be an issue with bml_over_mtd (broken sectors on the SSD on your phone)


I'll investigate this and see if anything needs to be rewritten and/or updated in that regard


Thanks !



Overclocking / Undervolting:


Q: I'm new in OC/OV operations so please could you explain to me how to set it in the best way?
A: start with -50 mV (delta from default value) other values probably are too low

my testing includes:

- Angry Birds Rio (several missions)
- Gun Bros (for some time)
- mp3 playback, (flac playback - optional)
- surfing the web via browser, opening up bit.ly links from cmsgsteam twitter feed
- watching youtube video
- watching video via rockplayer lite or mobo video player
- running benchmarks (Smartbench 2011, quadrant standard, an3dbenchXL, anTutuBench)
- Labyrinth Lite (for gravity sensor), auto-rotation (also for sensor)

when 1 GHz (1,2 or 1,3) is OK - go lower with undervolt value (e.g. -75 mV)
after it gets un-stable - go back to last known stable value

then you can limit max frequency to lower one, e.g. 800 MHz

and repeat testing for that frequency



for more info: checkout shaolin95's Mini Overclocking Guide:

Link: http://forum.xda-developers.com/show...1#post12910471






LED Support FAQ

Q: Do LED notification require an app, such as BLN, etc ?
A: No. It uses Android's and Cyanogen settings, other apps are not required, although some that are designed for regular LEDs may work.

Q: How to I turn off LED notifications, scheduled or/and complete turn off?
A: Use Cyanogen's Quiet Hours feature (settings>cyanogen>sound>quiet hours) and check "Dim the LEDs during quiet hours" (in reality it will turn them off on the SGS). If you schedule a complete day, then LED notifications will be off all the time.

Q: How do I setup per app, find other LED settings etc?
A: Settings>cyanogen>interface>LED notifications

Q: What to do with LED color settings?
A: We have only one color, so that doesn't work. Use Green as default setting. Some non-bright colors turn off notification, as it's the equivalent as diming LEDs (note that on real LEDs if you dim them too much they look like off too anyway, the difference is that it's gradual. On the SGS the LEDs can be only on or off, not gradual)

Q: How can I troubleshot my system, I can use ADB but...
A: adb logcat | grep lights (on linux) will show you Android requests to turn LED on or off. "status" tells you what we decide will be interpreted as "turn LED on" (1= on, 0 = off)
adb shell cat /proc/kmsg for live view (or adb shell dmesg if you're using adb after the issues occurs - careful the backlog is limited in size so don't be too slow)
notify_led_on and notify_led_off are requests to the kernel to turn LED on or off.
touch key write/read errors (cypress) are non-fatal failures to ask the touch key to do something (eg lit up the LED), when the hardware goes crazy or there's a logical error in the code (can be both)
touch key recovery routine or "stopped responding" are either hardware errors, either a logical error where the driver would try to write something the touchkey doesnt understand. in some occasion lock&unlock fix those as a work around, of course a permanent fix is required


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)



other recommended settings:

Quote:

Also a lil tip for people who use voodoo color!

1 )Color Profiles: Voodoo Profile V1
2 ) Screen v1 gamma hack :
- 50 red
- 53 green
- 44 blue
3 ) SRB multipliers:
Red ="2300875360"
Green ="2300875360"
Blue ="2709919680"

With those adjustment, black colors are BLACK and white colors are WHITE. Everyone should try this.



SGS CM7 nightlies wiki

http://sgscm7nightlies.pbworks.com/w...3487/FrontPage





Android OS bug, :

(thanks to ceriko ! and his awesome guide for DarkyROM 10.1)

If your battery drains very fast and your battery stats mentions Android OS above 10%, often between 40 and 60%, sometimes more, this is the best to do as far as I know:

- Remove the 2/3 system files as per the beginning part of this guideguide about batterie issues.
- Install WatchDog and open (I set it to "moderate", then I close it, that's all), this app will warn you whenever an app or a process miss-behaves by draining the battery excessively. It will not fix it but just flag it and you will see a notification.
- Reboot usually stops the drain for a while until it naturally comes back, so reboot whenever you see Android OS above 10% and rising or after you see WatchDog mentioning "Suspend" process using too much battery (the suspend process hanging is the Android OS bug).
- Some apps trigger it, most common are Gameloft games (blame Samsung, not the games/apps). No need to use apps or games for this drain to happen, it also happens straight after boot once phone has been fully charged.

This bug can not be fixed by anyone but Samsung. Some never see it, some will experience it everyday no matters what they do... It's just annoying and unfair but that's the same on all Gingerbread releases by Samsung (JVK, JVB, JVO, JVH). Apparently even the SGS2 has this...



screenstate scaling aka my governor won't change after screen locked:

So what is this all about ?

it's an init script that is put in to /system/etc/init.d

and switches between the configured governors in the script

depending on whether the screen is on (AWAKE_GOVERNOR) or off (SLEEP_GOVERNOR)


in most cases your phone is off - in that case it would be good to use a governor which doesn't fire up the cpu frequency too fast since you don't need it (no GUI, smooth scrolling, etc. needed while the screen is off - lol),

so conservative governor is set


when using the phone (screen on) it really depends on what you want to do: e.g. latency & smoothness is crucial: try smartass2, smartass, ondemand;
you're mainly browsing & reading stuff: try ondemandb, conservative (the screen is already burning enough battery so you don't need another component burning yet more)


only use one governor at a time

e.g.

AWAKE_GOVERNOR
# AWAKE_GOVERNOR
# AWAKE_GOVERNOR

SLEEP_GOVERNOR
# SLEEP_GOVERNOR
# SLEEP_GOVERNOR


that means lines with "#" are commented out and not used by the script



e.g.

# AWAKE_GOVERNOR
AWAKE_GOVERNOR
# AWAKE_GOVERNOR

SLEEP_GOVERNOR
# SLEEP_GOVERNOR
# SLEEP_GOVERNOR


also would work (intentionally not filled in any governors)
The Following 2 Users Say Thank You to zacharias.maladroit For This Useful Post: [ View ]
3rd September 2011, 11:43 AM |#6  
zacharias.maladroit's Avatar
OP Recognized Developer
Flag ::1
Thanks Meter: 4,505
 
Donate to Me
More
@all:

Neo 17 r10 is available on IRC !


Quote:
Originally Posted by Changelog

NEO 17 (r10 - codename Butterfly) changelog [SGS/Telus, Captivate, Vibrant]

Changes (from r9 - 2nd testbuild):

• bumped RAM up to 348 MB (everything should still work, incl. Youtube HD recording)
• ported over smartass2 governor (super-smooth & battery-efficient, hopefully no issues anymore with getting stuck on high frequencies - unless due to system & broken apps)
• back to cm7 vanilla/stock yaffs2 driver - let's see if this fixes the discouraged random resets for few people (loss of contacts, apps gone, etc.)

The Following User Says Thank You to zacharias.maladroit For This Useful Post: [ View ]
3rd September 2011, 02:01 PM |#7  
Fate-Silver's Avatar
Senior Member
Thanks Meter: 62
 
More
Wow! New thread finally!

I'm testing with the Neo 17 R10 Kernel now.
Thanks!
3rd September 2011, 02:59 PM |#8  
tkjeeper's Avatar
Senior Member
Thanks Meter: 1,505
 
More
Woohoo!

Sent from the frozen tundra known as Canada.
The Following User Says Thank You to tkjeeper For This Useful Post: [ View ] Gift tkjeeper Ad-Free
3rd September 2011, 09:57 PM |#9  
zerkai's Avatar
Senior Member
Flag Seattle
Thanks Meter: 73
 
More
Spectacular. Gave it a shot from r7 and loving it since. Looking forward to future updates.

And about time for your own thread!

Sent from my I897 using Tapatalk
The Following User Says Thank You to zerkai For This Useful Post: [ View ] Gift zerkai Ad-Free
3rd September 2011, 11:22 PM |#10  
simple man's Avatar
Senior Member
Flag Missouri
Thanks Meter: 255
 
More
Thanks for the awesome kernels, they always work great, and I always look forward to the progression of this kernel. Thanks again for all your hard work, you are very talented.

Sent from my I897 using XDA App
The Following User Says Thank You to simple man For This Useful Post: [ View ] Gift simple man Ad-Free
4th September 2011, 01:54 AM |#11  
tkjeeper's Avatar
Senior Member
Thanks Meter: 1,505
 
More
I'm loving it as well, I don't oc much, maybe uv a little, and I do like the vc. Great work.

Sent from the frozen tundra known as Canada.
The Following User Says Thank You to tkjeeper For This Useful Post: [ View ] Gift tkjeeper Ad-Free
Post Reply Subscribe to Thread

Tags
whenisnextupdate

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes