yashsingh1/xdaforums huggingface dataset:
[Captivate Android Development] zacharias.maladroit:
freenode

#cmsgsteam

zacharias

zachy_md

...

depending on what nick currently is taken

try again :)

I just got the same, restarting VoltageControl a few times should "cure" that
[Captivate Android Development] shawn.ferris:
Just wanted to say thanks for your work on this kernel.. I just started using it a couple of weeks ago and it's awesome. I flashed interactive a couple of hours ago, and so far no troubles.. Feels snappy.
[Captivate Android Development] BL4zD:
Thanks for the new kernel. I am experimenting with the best governors to use, as well. I set a low max for my sleep governor so I can approximate the old powersave governor but allowing some room for phone calls with music or background processes going.
[Captivate Android Development] rightwingtroll:
FWIW, on the latest kernel I had my best Quadrant score yet for my device at 2340. Appears stable for the two hours I've used it.
[Captivate Android Development] takerfan:
Here's some feedback after about 13 hours since the flash. Haven't done a single reboot since the flash and it's still running incredibly smooth. Occasionally when I unlock the screen the home screen switching would be a bit laggy (using launcher pro) but it would quickly stabilize after a few seconds/swipes.

I listened to music for about an hour and a half today on the way to school and besides a few skips it ran great. Much better than before. I quickly tested out auto rotation and it still works although I don't have it on much.

One bug I did notice was when I got to school I noticed my data wasn't working. I opened the browser and no page would load up. I was getting about 3 bars and the up arrow above the H icon was lit up. I did a couple of screen locks/unlocks and after that the phone lagged a little bit (when I opened the dialer it would show a black screen for about 30 seconds and the force close/wait message popped up) and then finally I got data connection. Web pages began to load again.
[Captivate Android Development] zacharias.maladroit:
Hi takerfan,

thanks for your in-depth report :)

yeah, using conservative governor entirely was also the goal to allow you guys to use the DSP Manager properly (even though it eats more battery :p )

that issue with data taking long to be available is an upstream issue with RIL Polling

Samsung uses a proprietary version of RIL afaik and since it's closed source devs can't take a look at how to do it like Samsung does :mad:

Did this also exist with the "Alice" kernels ?
[Captivate Android Development] zacharias.maladroit:
Meanwhile something for you to play ("old" stable material):

I know of the possible call-drops with "alice"

so:

- please test if these kernels are stable

- call drops occur [if the new scripts help]

- functioning of auto-rotation, sensors, ...

The following kernels are "alice" kernels with improved scripts ("conservative" governor all the way and with an option of "interactive" governor while the screen is on)

Changes:

- improved cpufreq governor scripts (mainly only memory settings are changed while screen is on/off) [conservative governor all the way with different settings on/off]

- option of the new "interactive" governor

- [new script] Automatic ZipAlign by Wes Garner

CM7_CAPTIVATE_platypus-kernel_20110427_00_alice2_minus_led-lcd_cleanup_interactive.zip (5.23 MB)

md5sum:

c2a405e72a49926501974acf5f8b9660 CM7_CAPTIVATE_platypus-kernel_20110427_00_alice2_minus_led-lcd_cleanup_interactive.zip

CM7_CAPTIVATE_platypus-kernel_20110427_00_alice2_minus_led-lcd_cleanup.zip (5.23 MB)

md5sum:

2089fb2b156a078cbcc1ca3e68d9bb6f CM7_CAPTIVATE_platypus-kernel_20110427_00_alice2_minus_led-lcd_cleanup.zip

These kernels are supposed to be stable - despite occasional (possible) call drops

if you get call drops please report !

- modem

- network type (GSM / WCDMA, UMTS)

- ...

thanks !

yes,

big differences

"quorra"-kernels use bilboa1's latest kernel as base

whereas "alice2" uses an older one with all modifications, improvements & fixes from me

the most notable probably is:

- alice: possible call drops [please test if those are fixed with governor change]; Google Goggles work

- quorra: Google Goggles FCs and blocks subsequent camera access (non-clean closing of the app and camera access); more stable kernel; Goggles probably will work with later quorra releases again

<-- please report any issues you encounter with "Alice" or "Quorra" kernels

thanks !
[Captivate Android Development] takerfan:
Oh I forgot to mention that I was still on the interactive build. I haven't been on the alice Kernels long enough to find out. I'll flash the new alice kernel you posted above and let you know.
[Captivate Android Development] BL4zD:
Since I've been using the misc branch I have been getting random phone sleep death.
[Captivate Android Development] takerfan:
Just got home and ready to flash. Can you update this kernel to support the new 04282011 CM7 build that came out today? I'm gonna update to that first and then would love to test out your kernel.
[Captivate Android Development] bash31:
Just flashed interactive kernel with the new cm7. The auto rotate doesn't work. I was having issues with the new update. The auto brightness didn't work..but any who that's why I flashed the interactive. Its really sluggish

Nvm flashed update. Again :(

Sent by samurais-cappy
[Captivate Android Development] ls377:
The new update contains some sensor changes that this kernel hasn't been updated to handle yet. Flashing this over that is a bad idea at this point.
[Captivate Android Development] zacharias.maladroit:
@BL4zD:

you still have your recovery.cpio in ~/android/system/out/target/product/captivate/

?

currently I can't sync the repo because 2.3.4 AOSP updates are breaking it right now

so I can't build any kernels for the cappy at the moment

best would be to pack

the "recovery" directory, recovery.cpio and ramdisk.cpio into a packed file

I try to add your changes in Quorra r4 test-kernel

thanks !

edit:

FYI:

development is currently happening in:

platypus-kernel_quorra

main branch (android-samsung-2.6.35)

I hope those sleep of death issues are fixed meanwhile ...
[Captivate Android Development] BL4zD:
I synced the repo and cleaned my environment while I was reading this thread...didn't see your post until it was too late :(

Although I am able to sync and I'm building a new nightly ROM as I type this, so let me know if the new recovery and ramdisk would be helpful to you and I'll shoot it to you.
[Captivate Android Development] zacharias.maladroit:
Hi BL4zD,

yes, the new recovery would be needed :)

let me know if building it worked for you

yesterday I had several problems compiling Android so couldn't get a recovery.cpio

thanks !
[Captivate Android Development] BL4zD:
I'm having problems compiling, too. But I am getting past the point where recovery and ramdisk are being built...and I can build a kernel off it.

Here are the files you asked for:
[Captivate Android Development] zacharias.maladroit:
Changelog:

(04/29/2011) Changes for CM7_SGS_platypus-kernel_20110429_19_quorra-r3 [NOT compatible with MIUI (MIUI needs new drivers)]:

morfic stable optimizations flags (mfloat, neon, etc.)

∘ + switch to mfloat=hard

• CPUFREQ: Fix power suspend cpu frequency (re-add)

• upstream ARM cpufreq governor delay fixes (re-add)

• cpuidle (sleep, battery runtime) improvements

• jhash3 re-added

• add more cfq improvements (re-add)

• CFS scheduler load balancing & granularity improvements re-added

• BFQ re-added [option]; CFQ is default (unless you've set otherwise in VoltageControl, etc.)

• vmscan stalls fix re-added [less lags during heavy writing]

• ondemand governor: added sampling factor [more efficient & aggressive scaling]

• battery polling intervall to 30 seconds

• new (improved) interactive cpufreq governor from upstream

• new SavagedZen cpufreq governor from upstream + tweaks to it [minimum frequency at 400 MHz]

• lots of memory management improvements (+ stability fixes)

• SLQB (re-add)

• fadvise support; deactivate invalidated pages, reclaim invalidated pages

• simple I/O scheduler (re-add)

• (potential) better battery runtime & deeper sleep (re-add)

• writeback fixes (re-add)

• inactive file ratio (re-add) at 20

• re-activated heap randomization [security improvements; ASLR] [new - thanks to nikademus for the inspiration / "fugu mod style"]

• re-add fugu mod security improvements [in the kernel]

• back to 256 Hz High_Res_Timer [need feedback on responsiveness & lags]

∘ if stuff is getting too slow & laggy I might switch to 512 again

• back to USER_HZ 100 (default)

• fixed Google Goggles (thanks bilboa1 !)

1) Quorra r3 [NOT compatible with MIUI (MIUI needs new drivers)]

1st mirror:

CM7_CAPTIVATE_platypus-kernel_20110429_23_quorra-r3.zip (thanks to Roland for hosting !)

2nd mirror:

XDA - post (attachment)

3rd mirror:

CM7_CAPTIVATE_platypus-kernel_20110429_23_quorra-r3.zip (5.14 MB)

md5sum:

8614cea02007c4aa7b86ca155f84b809 CM7_CAPTIVATE_platypus-kernel_20110429_23_quorra-r3.zip

edit:

kernel package updated (kernel modules properly moved & updated init scripts)
[Captivate Android Development] takerfan:
Thanks! Gonna flash right now.

This is compatible with the 04/28/11 CM7 nightly right?

Edit: just flashed and I can't turn on wifi. Just keeps saying error.
[Captivate Android Development] zerojay:
Same thing, wifi is broken with this kernel.
[Captivate Android Development] ls377:
Wifi worked when I flashed it over the 4/21 nightly, but not on the 4/28 one.
[Captivate Android Development] BL4zD:
The reason you guys are getting wifi errors it's because the new nightlies have the drivers in /system/lib/modules. Move /system/modules to /system/lib/modules and everything should work

Sent from my CM7 Captivate!
[Captivate Android Development] Auridran:
I have the needed files in both folders and I'm still getting the same issues.
[Captivate Android Development] ls377:
It fixed it for me. Did you copy every file over?
[Captivate Android Development] zacharias.maladroit:
kernel package updated :)

kernel modules properly moved & updated init scripts)
[Captivate Android Development] zacharias.maladroit:
[experimental - old sensors]

1) Quorra r3 [compatible with MIUI]

CM7_CAPTIVATE_platypus-kernel_20110430_04_quorra-r3_MIUI.zip (5.14 MB)

md5sum:

b4a800bb575f899b544afd8e02ae4baa CM7_CAPTIVATE_platypus-kernel_20110430_04_quorra-r3_MIUI.zip

Changelog:

(04/29/2011) Changes for CM7_SGS_platypus-kernel_20110429_19_quorra-r3 [NOT compatible with MIUI (MIUI needs new drivers)]:

morfic stable optimizations flags (mfloat, neon, etc.)

∘ + switch to mfloat=hard

• CPUFREQ: Fix power suspend cpu frequency (re-add)

• upstream ARM cpufreq governor delay fixes (re-add)

• cpuidle (sleep, battery runtime) improvements

• jhash3 re-added

• add more cfq improvements (re-add)

• CFS scheduler load balancing & granularity improvements re-added

• BFQ re-added [option]; CFQ is default (unless you've set otherwise in VoltageControl, etc.)

• vmscan stalls fix re-added [less lags during heavy writing]

• ondemand governor: added sampling factor [more efficient & aggressive scaling]

• battery polling intervall to 30 seconds

• new (improved) interactive cpufreq governor from upstream

• new SavagedZen cpufreq governor from upstream + tweaks to it [minimum frequency at 400 MHz]

• lots of memory management improvements (+ stability fixes)

• SLQB (re-add)

• fadvise support; deactivate invalidated pages, reclaim invalidated pages

• simple I/O scheduler (re-add)

• (potential) better battery runtime & deeper sleep (re-add)

• writeback fixes (re-add)

• inactive file ratio (re-add) at 20

• re-activated heap randomization [security improvements; ASLR] [new - thanks to nikademus for the inspiration / "fugu mod style"]

• re-add fugu mod security improvements [in the kernel]

• back to 256 Hz High_Res_Timer [need feedback on responsiveness & lags]

∘ if stuff is getting too slow & laggy I might switch to 512 again

• back to USER_HZ 100 (default)

• fixed Google Goggles (thanks bilboa1 !)
[Captivate Android Development] mcord11758:
Fished latest on miui. Booted up fine, rotation works. So far so good
[Captivate Android Development] bash31:
Auto rotate not working with latest nightly update

Sent by samurais-cappy
[Captivate Android Development] ls377:
Working fine here. Did you have it enabled before you flashed?
[Captivate Android Development] mcord11758:
Thank you zach!!!!!
[Captivate Android Development] bash31:
Yea it was enabled. I just flashed the April 29 update that was not compatible with miui and it is perfect. But the auto bright is still on high. I guess that's a cm issue. Thanks for the hard work Zach

Sent by samurais-cappy
[Captivate Android Development] zacharias.maladroit:
Changelog:

(05/01/2011) Changes for CM7_SGS_platypus-kernel_20110501_19_quorra-r4_2 (needs new drivers)]:

• upstream changes: Nexus S 2.3.4 Kernel merge

• display reset (support) for the panel

• OOM rework/fixes [need feedback on: available RAM, app behavior, etc.] (leads to lags)

• changed governor to "ondemand" while screen is on

1) Quorra r4 [(probably) NOT compatible with MIUI (MIUI needs new drivers, depending on MIUI release)]

1st mirror:

CM7_CAPTIVATE_platypus-kernel_20110502_11_quorra-r4.zip (thanks to Roland for hosting !)

2nd mirror:

XDA - post (attachment)

3rd mirror:

CM7_CAPTIVATE_platypus-kernel_20110502_11_quorra-r4.zip (5.16 MB)

md5sum:

b474a27716b6f9917d8288aae8b1d0b9 CM7_CAPTIVATE_platypus-kernel_20110502_11_quorra-r4.zip

1) Quorra r4 [INTERACTIVE] [(probably) NOT compatible with MIUI (MIUI needs new drivers, depending on MIUI release)]

1st mirror:

CM7_CAPTIVATE_platypus-kernel_20110502_11_quorra-r4_INTERACTIVE.zip (thanks to Roland for hosting !)

2nd mirror:

XDA - post (attachment)

3rd mirror:

CM7_CAPTIVATE_platypus-kernel_20110502_11_quorra-r4_INTERACTIVE.zip (5.16 MB)

md5sum:

b474a27716b6f9917d8288aae8b1d0b9 CM7_CAPTIVATE_platypus-kernel_20110502_11_quorra-r4.zip

edit:
[Captivate Android Development] Auridran:
So with the newest kernel and the latest nightly and such, WiFi never connects. It just constantly sits at "Obtaining IP Address".
[Captivate Android Development] zacharias.maladroit:
1) please pull the /mnt/sdcard/bml_over_mtd.log

and post it to http://pastebin.com/ and link to it in the CyanogenMod7 thread - I've also had this kind of issue but forgot to post the log

this should help the devs sort this issue out for the future

2) then re-apply (re-install) the current nightly update

after that it should work :)

(it did for me)
[Captivate Android Development] papercutMS:
I am having the same WIFI issues as others. Flashed the latest CM7 nightly results in functional WIFI. Flashing this kernel on top results in WIFI "obtaining IP address" loop. RE-flash CM7 nightly = functional WIFI. So it is definitely an issue with this kernel.
[Captivate Android Development] TheEscapist:
Hey zach, what ended up causing the touchkey failures earlier? I'm getting a similar thing (same cause, different effect). Was it the HI_RES timers?
[Captivate Android Development] zacharias.maladroit:
Hi papercutMS,

I'm currently investigating what might cause this - there aren't many factors

but the semester break is over thus this will take some while and releases won't be so often anymore

thanks !

Hi TheEscapist,

afaik it was mainly the hi_res timer (new config option: in arch/arm/configs/aries_captivate_defconfig CONFIG_S5P_HIGH_RES_TIMERS_HZ=256; arch/arm/Kconfig)

according to atinm it should be save to set it to multiples of 256 (multiples of 2 ? - so also 128, 512, 1024, etc.)

from my experience arch/arm/include/param.h (USER_HZ) didn't affect it but you could try to set those to stock options and then separately changing

either USER_HZ or CONFIG_S5P_HIGH_RES_TIMERS_HZ

what are your current values ?

thanks !
[Captivate Android Development] TheEscapist:
I thought it was something like that. I know it wasn't USER_HZ, as that's been at 100hz since almost the beginning of the kernel.

When I was just starting out, I was looking at Netarchy's oc code, saw he had changed the high_res timers to 1000, so I did too. Didn't do anything till I merged in the config option from teamhacksung. I'll drop it down to 256, see if it fixes it.

Thanks zach.
[Captivate Android Development] TheEscapist:
Yeah, no dice. All HZ values (HIGH_RES, USER, CONFIG) set to 256.

Its strange though. It's writing to the backlights, I'm not getting any write errors, but the backlights won't turn on during resume, or while sleeping. I don't even know what would cause this. :l
[Captivate Android Development] Doug8796:
escapist .. do you have plans to port your kernel to the latest cm7?
[Captivate Android Development] zacharias.maladroit:
try the update from today :)
[Captivate Android Development] zerojay:
Do NOT post the log on the CM7 thread. They are not supporting custom kernels and will just point back to this thread and tell them to post it there instead. If you are having any issues with CM7, you MUST flash their kernel from the latest nightly and check to make sure the problem exists there still before you go and bother them about all this, so that they can be sure that it's really a CM7 problem and not a custom kernel problem.
[Captivate Android Development] zacharias.maladroit:
calm down :)

I mistakenly took the error (not up-to-date init-script in my kernel)

as an error with the update-process not copying things properly

so of course - if you're using a custom kernel - post in the related thread NOT on the CM7 main thread :p

thanks !
[Captivate Android Development] Auridran:
Works great! Thank you for your continued hard work.
[Captivate Android Development] papercutMS:
New update fixed WIFI issue for me. Auto-rotation works. So far everything working as advertised. Thanks!
[Captivate Android Development] Auridran:
Newest update seems to have broken auto-brightness. It ignores all changes in CM7 Display settings for backlight. The stock kernel adheres to the values just fine.
[Captivate Android Development] bash31:
22 hours later at 5 percent with heavy use.Thank :)

Sent by samurais-cappy
[Captivate Android Development] adzidek:
Is anyone having reboot issues with Platypus Quorra r3? My phone will be sitting there, screen off, and just reboots every once in a while. Just sitting there in standby.

Doesn't happen with any other kernels. Any ideas?
[Captivate Android Development] ls377:
Are you UVing?

Sent from my Captivate
[Captivate Android Development] adzidek:
Yeah, but no more than I was with stock Kang's kernel.
[Captivate Android Development] ls377:
Try knocking it down a bit. There might be some kernel differences that are causing it. The latest release is stable for me.
[Captivate Android Development] Johnston212:
Just curious, but is anyone having issues with the last stable version of this kernel and the recently CM7 Nightly? I tried my nomral flash method: Nightly -> Kernel -> Modem and it resulted in my phone staying stuck at the Galaxy S screen. I've reflahsed the nightly with the modem and all is well. Just thought I would ask. I miss my Voodoo sound already :(
[Captivate Android Development] ls377:
This kernel isn't compatible with the latest nightly yet. I'm sure he's working on a new version.
[Captivate Android Development] zacharias.maladroit:
Changelog:

(05/03/2011) Changes [from 05/01] for CM7_SGS_platypus-kernel_20110504_r0_quorra-r5 (needs new drivers)]

[matches with 05042011 and 05032011 update from CM7]

• AIO re-enable (whatever uses that)

• oabi-support deactivated [less overhead] (need feedback on [old !] apps breaking)

• OOM rework [better memory management & out of memory handling, need feedback]

• light sensor polling interval from 0.2 s to 1 s

• new CodeSourcery toolchain 2011.03 [better & more efficient code, less battery usage with new compiler flags]

• some more GPIO improvements from upstream (potential battery savings, probably especially for CAPTIVATE & VIBRANT) [sdcard & audience-chip related]

• FFcamera fixes from upstream [camera app still hanging while trying to take pics; better picture ?]

• WIFI fix / improvement: Clean ARP offload table on IP update

• deactivated GPU debug stuff

• doubled size of Kernel log buffer size for easier troubleshooting

• disabled Android kernel panic handler (we have last_kmsg for that)

• disabled CONFIG_DM_UEVENT [udev ?! not needed on Android], less events, less overhead, more (?) battery runtime

• enabled TRACE_UNDERRUN for s3c fb (stability)

• enabled CONFIG_SCHEDSTATS for better research on what is nagging our battery

• enabled "null" encryption key/algorithm for IPSec support

• enabled NTFS read & write support (basic)

• circumvented a compiler bug to let it compile with more optimized flags with cache size in mind [need feedback if these affect battery runtime negatively]

• fixed WIFI compile failure (2 array problems this time for good; kudos to LeeDroid for his help !)

• deactivated SYSVIPC (less overhead and we don't have it available on Android)

1) Quorra r5 [(probably) NOT compatible with MIUI (MIUI needs new sensor drivers, depending on MIUI release)]

1st mirror:

CM7_CAPPY_platypus-kernel_20110505_r0_quorra-r5_toolchain.zip (thanks to Roland for hosting !)

2nd mirror:

XDA - post (attachment)

3rd mirror:

CM7_CAPTIVATE_platypus-kernel_20110502_11_quorra-r4.zip (5.16 MB)

md5sum:

33dad3368c4f4d60d478f5d810926738 CM7_CAPPY_platypus-kernel_20110505_r0_quorra-r5_toolchain.zip

1) Quorra r5 [INTERACTIVE] [(probably) NOT compatible with MIUI (MIUI needs new sensor drivers, depending on MIUI release)]

1st mirror:

CM7_CAPPY_platypus-kernel_20110505_r0_quorra-r5_toolchain_INTERACTIVE.zip (thanks to Roland for hosting !)

2nd mirror:

XDA - post (attachment)

3rd mirror:

CM7_CAPTIVATE_platypus-kernel_20110502_11_quorra-r4_INTERACTIVE.zip (5.16 MB)

md5sum:

dfcff133b731cd0872bd3cb263ed40bd CM7_CAPPY_platypus-kernel_20110505_r0_quorra-r5_toolchain_INTERACTIVE.zip
[Captivate Android Development] Auridran:
LED Notification does not seem to work for me with the latest kernel, but the stock kernel from the latest nightly does.
[Captivate Android Development] zacharias.maladroit:
lol - for me the light's constantly on with high pulse / flashing frequency

(tested with missed call setting)

make sure you have quiet hours disabled

don't know why it wouldn't work

afaik nothing has changed in that area

thanks !

edit:

try to set up LED notifications again & play a little with the settings - hopefully that helps
[Captivate Android Development] Auridran:
Quiet hours are disabled and I've played around with every possible setting. BLN doesn't work for me in TheEscapist's latest kernel either. The only kernel any kind of LED notification works in for me is the stock kernel from yesterday's nightly.
[Captivate Android Development] ls377:
LED notifications work on and off for me. I get one, and then I turn the screen on and off and it goes away, but the next time it comes back, and its hit and miss after that.
[Captivate Android Development] zacharias.maladroit:
Changelog:

(05/06/2011) Changes for CM7_SGS_platypus-kernel_20110506_r0_quorra-r6 (needs new drivers; Android 2.3.4)]

[matches with 05062011 update from CM7])

• camera rework + gpio changes from upstream

• some recovery improvements from upstream

• WIFI drivers now compiled with O2 (optimized for speed than for size - no workaround needed anymore)

• some small fixes to the CPU scheduler

• disabled radio FM drivers on captivate & vibrant (less overhead, space savings)

• writeback fix for heavy writing & livelock avoidance

1) Quorra r6 [compatible with MIUI (Android 2.3.4; RC8)]

CM7_CAPPY_platypus-kernel_20110507_r0_quorra-r6.zip (5.8 MB)

md5sum:

890fefa4584afb82198d23369d373bf0 CM7_CAPPY_platypus-kernel_20110507_r0_quorra-r6.zip

1) Quorra r6 [compatible with MIUI (Android 2.3.4; RC8)]

CM7_CAPPY_platypus-kernel_20110507_r0_quorra-r6_INTERACTIVE.zip (5.8 MB)

md5sum:

1e3d2b3c06e37f42eaf1a54180215005 CM7_CAPPY_platypus-kernel_20110507_r0_quorra-r6_INTERACTIVE.zip

Known problems:

- non-working black screen camera due to missing changes in MIUI from CM7