yashsingh1/xdaforums huggingface dataset:
[Vibrant Android Development] zacharias.maladroit:
MIUI:

(05/15/2011) Changes for CM7_SGS_platypus-kernel_20110515_r0_quorra-r9_MIUI (needs new drivers; Android 2.3.4)]

[matches with 05062011 and 05092011 and 05112011 and 05152011 update from CM7])

[use this kernel with latest nightly unless you have a good reason to use older ones]

Changelog:

(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)

- [MIUI] gorgeous bootsplash matching with the MIUI bootanimation

please don't forget that this was made possible due to the hard work of our beloved <3 teamhacksung | cmsgsteam :)

Mirrors

:

#1: quorra-r9/VIBRANT/MIUI

(thanks to Roland !)

#2:

this post

scripts:

this post & previous post

Mirror for scripts:

quorra-r9/scripts

(thanks to Roland !)
[Vibrant Android Development] zacharias.maladroit:
@theexel:

please update the thread title & post !

thanks ! :)
[Vibrant Android Development] iwapu:
Thanks Man! Will try this and report back.
[Vibrant Android Development] nickmcminn60:
Thanks man glad to still see support

Sent From a T-1000 Space Modulator®
[Vibrant Android Development] iwapu:
Wifi works and run smoothly with the default smartass governor.

Waitting phone charged full to test battery life.
[Vibrant Android Development] apollo15rover:
Good to know! I have Quorra 9 up and running now too a bit under 1hr and doing well.

I didn't know that about Voodoo Control Plus. The automatic loading wasn't checked, but with Titanium it's no big deal so before I upgraded to Q9 I just uninstalled and then reinstalled afterward with data and it's doing fine.
[Vibrant Android Development] jonathanhuerta4:
I am wondering if it is still recommended to disable 200MHz + 600MHz, for optimal performance?. :)
[Vibrant Android Development] Abu-7abash:
Does this one OC? And if yes up to what?
[Vibrant Android Development] kimbo1986:
Yes it is an OC kernel. 1.3 max
[Vibrant Android Development] nickmcminn60:
Minimum frequency is 600 while screen on by default.
[Vibrant Android Development] iwapu:
Here is my battery lifte report:

13 hours moderate use plus 8 hours flight mode, still at 5%

Seems standby consumes almost same battery as in use. 4% per hour for standby. Hope standby could be 1% - 2% per hour.
[Vibrant Android Development] nickmcminn60:
Doesnt seem like its scaling below 600mhz when screen is off with the default script....you may want to try a different script.
[Vibrant Android Development] boothten:
Just 13 hours?

With moderate use, and about 7 hours on idle while I was asleep, I've gotten 24 hours and 15 minutes so far and I still have 4%

:o
[Vibrant Android Development] zacharias.maladroit:
13 hours moderate use plus 8 hours flight mode

13 + 8 = 21 hours total :p

seems about right to me
[Vibrant Android Development] boothten:
D'oh.

Well I obviously can't read, haha.

It died on me with 25 hours and 20 min.

That's taking into account I was flashing different modems, heavy internet usage at times, and moderate texting.

I'm really loving this kernel so far.

Granted, I'm not using the latest updated one. I'm currently using the 5/11 one.

The 5/16 was just eating away at my battery, it drained it from 100% down to 80% in maybe an hour and a half.

Flashed back to the 5/11, battery was normal again.

I think it has something to do with the default smartass governor?

It wouldn't let me set another one.

Regardless though, I love this.

Thank you!
[Vibrant Android Development] apollo15rover:
I am playing with the SavageZen script right now..

(EDIT) shifted to InteractiveX which seems decent - SavageZen true to the warning here was a bit too laggy to be useful for me..
[Vibrant Android Development] zacharias.maladroit:
might be - yeah, it stays clocked at 600 MHz while the screen is on

while screen is off it clocks down to 100 MHz or depending on workload (conservative)

I attached governor-changing script updates to

post #280 and

post # 281

just apply them via CWM after you installed the kernel - the kernel has smartass by default set (in system/etc/init.d/90screenstate_scaling - that's the reason why doesn't stay at the one set via cyanogenmod settings/voltagecontrol, etc)

you could try conservative (probably) best effect on battery or ondemand

thanks !
[Vibrant Android Development] nick1217:
How to use led notification?
[Vibrant Android Development] zacharias.maladroit:
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
[Vibrant Android Development] iwapu:
ondemand gives me better battery life than the others. 2% - 3% per hour for standby.
[Vibrant Android Development] nickmcminn60:
Ive been using the "LOG CAT" app......It shows the exact kind of read out and report that ADB does correct?.....just may be easier for some users?

https://market.android.com/details?id=com.nolanlawson.logcat&feature=search_result

If it would be sufficient to use, it may get you guys more log cat's with bug reporting.
[Vibrant Android Development] zacharias.maladroit:
I hated how it stopped charging with this warm weather - so:

(05/18/2011) Changes for CM7_SGS_platypus-kernel_20110518_r0_quorra-r10 (Android 2.3.4)]

[matches with 05062011 and 05092011 and 05112011 and 05152011 update from CM7])

[use this kernel with latest nightly unless you have a good reason to use older ones]

- kernel comes pre-packaged with smartass governor

- option between kernel with CM7 & MIUI splash screen

- for switching to other governor (while screen is on - screen off = conservative) apply additional "screenstate_scaling switcher" script

description of governors:

- conservative [probably most battery efficient]

- interactive [pretty smooth operation - perhaps some hickups from time to time; phone gets quite warm with it; prefers higher over lower frequencies]

- ondemand [ondemand governor - compromise between speed & battery efficiency, very fast switching through all frequencies - 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.)]

#Links# to governor switching scripts:

Mirrors (for governor scripts):

Mirror #1:

quorra_r10/scripts/ (thanks to Roland !)

Mirror #2:

# see attachments#,

# additional scripts# <--

Changelog:

(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)

for

VPN

users:

change:

set '

echo "1" > /proc/sys/net/ipv4/conf/all/rp_filter'

to

'echo "0" > /proc/sys/net/ipv4/conf/all/rp_filter'

in system/etc/init.d/89system_tweak

before installing the new kernel

Mirrors

(for kernel):

Mirror #1: quorra_r10/VIBRANT/

(thanks to Roland !)

Mirror #2: this post
[Vibrant Android Development] ahl395:
Nice kernel but gave me horrible battery drain over the stock CM7 kernel :o
[Vibrant Android Development] nickmcminn60:
Its only been out 30 min LMFAO!
[Vibrant Android Development] gamikzone:
seems pretty good to me and i just switched from platypus 5/3 :)
[Vibrant Android Development] VeryCoolAlan:
He could've been on an older version?
[Vibrant Android Development] nickmcminn60:
Yeah he could have been but the man cant do anything when you report like that. Got to let him know what kernel your on. How many are in this thread by him?
[Vibrant Android Development] nickmcminn60:
I have found a new favorite kernel: Quarra R10! This thing runs great and is scaling to below 100mhz with the screen off. I'm using the smartass gov . I know ypu don't support MIUI but can you look into BLN or ar least make it compatible with the BLN app? I've tried all the kernels that are compatible on xda. I could have sworn it was working the other day. I've got everything on ''default'' in led settings any ideas? I know its hard to trouble shoot when your not running miui, anything I can look into myself, and if so what?

Thanks
[Vibrant Android Development] zacharias.maladroit:
Hi nickmcminn60 !

thanks buddy :)

led notification is CM7 mainline (at least with the Samsung Galaxy phones)

so that would be needed to be reverted and BLN applied (how reliably does this work right now, btw ? any use in other CM7 kernels ?)

the best way would be that the Chinese devs supported it more extensively in MIUI

BLN & led notif are two different implementations of LED (softkey) notification

and (afaik) not compatible with each other

anyone having issues with WIFI and/or Bluetooth - please try:

it might be some MIUI or other permissions related issue:

"lippui94 cleaning script, then wipe dalvik, then fix permission, then quorra r10, then wipe dalvik, then wipe cache, then fix permission"

Link to script:
[Vibrant Android Development] nickmcminn60:
Everything is good except it changes to landscape really slow and bln could have sworn it was working the other day. Flashed every kernel last night and no bln....guess I was just trippin
[Vibrant Android Development] nickmcminn60:
Can I just push this file? And what exactly does it do.....well I gess I could just open it and look. Lol
[Vibrant Android Development] nickmcminn60:
Ok so I've downloaded the script cleaner three times and there's nothing in the system file? No scripts?
[Vibrant Android Development] derrickps3:
will quorra r10 work with muiu???? i am running r12 :o
[Vibrant Android Development] nickmcminn60:
Yes using it now
[Vibrant Android Development] derrickps3:
thanx nick, about to try it now too

edit: do you know a recommended setting via setcpu for r10?
[Vibrant Android Development] zacharias.maladroit:
for this you have to ask lippol94 ^^

afaik it wipes /cache, dalvik cache and some other cache-related spots
[Vibrant Android Development] nickmcminn60:
Yeah I don't think I need it....I'm guessing the system folder is blank to wipe all the scripts
[Vibrant Android Development] es7241:
Screen on and screen off animations not working after I flashed quorra r10, and the screen turns greenish instead of the animations, I did a hard reboot .. anyone else have this issue?
[Vibrant Android Development] nickmcminn60:
Make sure animations are on normal in spare parts, check display settings in settings and make sure all animations are on...and all kernels have a different gamma level, all you have to do is turn the gama sliders up just a notch in the voodoo control app.
[Vibrant Android Development] nickmcminn60:
Are u on miui or cm7?
[Vibrant Android Development] iwapu:
BLN stops working after wipe. Here is how I revive BLN:

1. Flash official MIUI ROM (this is to get stock kernel). This didin't wipe my data.

2. Flash Platypus kernel

NOTE: What I flashed is official MIUI ROM. Not sure if the ported ROM here wipes data. So backup before flashing
[Vibrant Android Development] nickmcminn60:
yes the one here will wipe you out
[Vibrant Android Development] apollo15rover:
Trying right now with very latest CM7:build #4.

Running nicely. @ 1.3 and color settings are good. Sound kernel won't work though.. activating crashes Phone
[Vibrant Android Development] zacharias.maladroit:
Hi apollo15rover

what do you mean with

"Sound kernel" won't work ?

Voodoo Sound kernel module ?

it has been known to cause trouble while being loaded (reboots, instability, etc.)

next kernel release will have support for Voodoo Sound v9

(my current test kernels on the SGS already have it

now I only need to get feedback from people about stability)

thanks !
[Vibrant Android Development] apollo15rover:
What was happening was;

In Voodoo Control Plus, hit Menu, Kernel settings, and then Load Driver would send the phone into a single reboot.. but not a loop.
[Vibrant Android Development] zacharias.maladroit:
hm,

ok the injected / loaded driver probably put the kernel into a kernel panic or something similar & so it rebooted after a few seconds
[Vibrant Android Development] zacharias.maladroit:
Quorra pre-r11_

test4-r2

(stable-material)

Kernel Scripts (Update):

- for switching to other governor (while screen is on - screen off = conservative) apply additional "screenstate_scaling switcher" script

description of governors:

- conservative [probably most battery efficient]

- interactive [pretty smooth operation - perhaps some hickups from time to time; phone gets quite warm with it; prefers higher over lower frequencies]

- interactiveX [same like interactive but with sleep & wake support - better suited for usage as only governor (testing)]

- ondemand [ondemand governor - compromise between speed & battery efficiency, very fast switching through all frequencies - 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.)]

- SavagedZen [further evolution of smartass governor (?) runs pretty laggy at the moment - needs significantly more tweaking (testing))]

How things work:

100-400 MHz while

screen is off

+ almost old behavior conservative governor - potentially less stuttering with sound playback (if that doesn't help the app is broken or something else to blame) & less battery drain with misbehaving apps in standby (e.g. Google Maps & Latitude)

100-1000 MHz while

screen is on

(needs to be edited for OC at line 64) + smartass and the governor of your choice

screenstate scripts - governor change (Link):

quorra_pre-r11/scripts/screenstate/

VPN users (disables rp_filter only - no change in governor):

systemtweak_VPN-enabled.zip

for those still getting bootloops (phones that need strict scheduler timings to work :eek: - no change in governor):

scheduler-issues_fix-enabled.zip
[Vibrant Android Development] apollo15rover:
Platypus quorra-11 running sweetly on build #8

Had same symptom as before when trying to hit the same load/disable box in menu settings for Voodoo Control Plus. Doesn't matter though because same menu indicates kernel is operating anyway.. whereas there was a red text on quorra-10 that no sound kernel existed.

Thanks for the update.. this one's a keeper!
[Vibrant Android Development] lightninbug:
flashed the latest...and lost my efs...I have no IME number now....and no service
[Vibrant Android Development] Abu-7abash:
Holy **** man, you've a backup right?
[Vibrant Android Development] gamikzone:
i flashed it too and i got the same problem im about to try to update to a newer version of cm7
[Vibrant Android Development] neobuddy89:
I don't think that gonna work. You have screwed up.

You must follow this:

http://xdaforums.com/showthread.php?t=761045

This works.

If it doesn't, stock back to froyo and try above post again.
[Vibrant Android Development] nateskates:
does this work with MIUI 1.5.20?
[Vibrant Android Development] zacharias.maladroit:
yeah, sure

why not ? :D
[Vibrant Android Development] gamikzone:
oh nah it worked :D but thanks anyway for the link if i ever need it
[Vibrant Android Development] apollo15rover:
Oops.. working on wifi but after that radio modem killed. Tried fixing permissions no go. So back to stock kernel for time being
[Vibrant Android Development] Jasonhunterx:
Is this best kernel vs Kang
[Vibrant Android Development] warfenix:
Can't get this working on miui 1.5.20 ;( is their A work around for r11 to work on miui. Same issue as other guys says unknown basebans phone # etc etc not network
[Vibrant Android Development] notverycreative:
Yeah, r11 deleted my baseband, it seems. Unknown IMEI and baseband in the Settings menu. Going back to Kang fixed it. I've heard good things about r11, but having a functional phone is also rather important ;)
[Vibrant Android Development] apollo15rover:
You're right... Kang did come out fully functional here... I can't even break it deliberately..
[Vibrant Android Development] zacharias.maladroit:
hm,

that's weird

I used the recommended modemctl settings

maybe I need to try the other ones if that fixes it - weird :confused:

thanks for your report warfenix, !

I'll try & see what I can do

has been kang's kernel been updated recently ?

yeah - his kernel is the most closest to vanilla / mainline kernel :)

yeah, he tries to make as little changes to vanilla as possible :)

my kernel is more like an experimental ground to get new features & test battery saving options and get those into our mainline/vanilla kernel ^^

but still those new features need to be tested extensively
[Vibrant Android Development] notverycreative:
Kang got rid of his SGS for an SGS 2 and has discontinued the kernel :(
[Vibrant Android Development] apollo15rover:
That's why it's always fun trying out your kernels.. love your work!

(EDIT) Kang broke the radio on Build 9, so that one has bitten the dust as well. ..
[Vibrant Android Development] jonathanhuerta4:
I think the reason for when one updates to the latest nightly (Build 9), and then when you change the kernel to Kang's kernel it messes up the radio, it is because of the fixes that are in the kernel of the new nightly (Build 9). (I think)

From here: http://cm-nightlies.appspot.com/?device=vibrantmtd
[Vibrant Android Development] notverycreative:
I'm kinda surprised it took this long. That kernel is from 5/04, I think.
[Vibrant Android Development] zacharias.maladroit:
The following kernels only work with the new RIL

(Nightly #12 and newer on the SGS - Vibrant & Cappy == different nightly numbering; Cappy: >= #14 - Vibrant: >= #9)

Kernel

CM7 & MIUI only

NEO 02

(NEO_01 was internal build)

before you ask for any ETAs:

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

Changelog:

-

new kernel base

(teamhacksung / upstream vanilla source)

- stock toolchain (for now - all other toolchains lead to kernel panic)

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)

not yet included:

- fugumod security improvements (thanks to nikademus for sharing the source !)

- bluetooth l2cap powersave mode

- and many more

Download Link:

Mirror #1

:

CM7_VIBRANTMTD_platypus-revolutions-kernel_20110524_r0_update.zip

(thanks to Roland for hosting !)

FYI:

the other governor scripts will be updated & uploaded

later

Troubleshooting & short-FAQ:

- 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 > #12 on the SGS (including #12)

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

sticking points to test & feedback:

- call drops, reboots during calling & potential instabilities

- general

stability

(if this also happens on stock: post but add a note that it's from stock - thanks !)

- BT & WIFI switching

- iptables

- battery runtime

- smoothness
[Vibrant Android Development] nickmcminn60:
Hey my baseband is unknown with this kernel on MIUI........hehe
[Vibrant Android Development] zacharias.maladroit:
Hi nickmcminn60,

yeah,

sorry, MIUI needs to adapt the new RIL changes

I'm thinking about another kernel which is backwards compatible [let's see if that works]

will see if I find some time during the next days

thanks !