yashsingh1/xdaforums huggingface dataset:
[Captivate Android Development] -Thrive-:
This is a little off topic but I was at Best Buy yesterday playing with AT&Ts version of SGS II. Everyone seems to want to jump to the latest and greatest but I gotta say, it was not as fast, smooth, and responsive as my Captivate with Pinnacle and Samurai. Nice phone but I don't think the extra .3 inch screen size buys me anything and of course it has a better camera but I can't find any compelling reason to spend all that money on a new phone that is so similar to mine. Of course it was stock and I'm sure the devs are already turning out custom ROMs for SGS II that some day will make me envious. But for now I'm happy where I'm at and this is a great phone IMO thanks to the efforts of a lot of people on XDA.

Pity the poor people who haven't discovered XDA or are afraid to root their phones and missed all these past months of GB goodness.:D
[Captivate Android Development] Kyuta Syuko:
SGSII also has a dual-core processor if I'm not mistaken.
[Captivate Android Development] tamanaco:
After updating from Samurai 1.1 to 1.2 the widgets do not load after a reboot. Before updating from 1.1 to 1.2 I cleared cache + Dalvik, so after the "first" reboot I expected to have issues with Go Launcher EX loading the widgets. But now, the widgets do not load after subsequent reboots. The launcher also froze completely a couple times as I was trying to reconfigure the widgets. Could this have something to do with the new LMK settings? Is there a way I can reconfigure these setting in the 1.2 kernel without flashing a new kernel?

EDIT: I think I found a solution to my problem. I removed all the widgets, then rebooted, added a few widgets, rebooted, then added the rest of the widgets. Now after each reboot the widgets load. Maybe some configuration file was corrupted. I used Apps Organizer to create several folders with customized icons. I suspect that some of these folders, which were actually widgets, were part of the problem. I'm now in the processes of converting all the App Organizer folders that were actually widgets into shortcuts.
[Captivate Android Development] IlluminatedOne:
Compare SGS2 with stock captivate, not with loaded Pinnacle & Samurai. You're forgetting that XDA is there for SGS2 as well. :P
[Captivate Android Development] agpsalazar:
my voodoo sounds dont work... any help?
[Captivate Android Development] Wdustin1:
Ignore wrong forum haha

Currently Fusionized
[Captivate Android Development] Jsmokey:
Yeah the lmk shouldn't effect either of those very much only time my music player gets killed is when I have it in the background for a while and go launcher never gets killed for me. I'm sure mine and kyuta's values are different for the lmk and oom_adj values but shouldn't be that much different.

Do you maybe have a app like advanced task killer thats auto kill is a little too aggressive on?

Sent from my i897 w/Anteres Darkcloud, Red Nebula kernel, & 1.3Ghz OC using Tegrak.
[Captivate Android Development] agpsalazar:
you have the same problem?
[Captivate Android Development] Jsmokey:
Are you using voodoo control plus, thats the only way right now to get voodoo sound til we get gb source for the cappy or mtcarey, kyuta, or me crack it cause we're the only ones working on modified gb kernels right now that were trying to get it working.

Sent from my i897 w/Anteres Darkcloud, Red Nebula kernel, & 1.3Ghz OC using Tegrak.
[Captivate Android Development] agpsalazar:
i have voodoo control but not is plus
[Captivate Android Development] Jsmokey:
That's the problem, plus comes with the voodoo sound drivers and correctly incorporates them into the gingerbread roms, thats currently the only working method to get working voodoo sound on captivate gingerbread roms.

Sent from my i897 w/Anteres Darkcloud, Red Nebula kernel, & 1.3Ghz OC using Tegrak.
[Captivate Android Development] agpsalazar:
thanks i downloading voodoo plus right now jeje
[Captivate Android Development] ln100:
I'm curious if the kernel from the official Rogers 2.3.3 can be modded for our Cappys once source for that is released... Or the Galaxy S Mesmerize that has 2.3.4?
[Captivate Android Development] NamDark:
Is it necessary to mount /system to read+write before flashing this kernel (in order to take advantage of the tweaks)?

running stock KJ3 (odexed) w/samurai 1.2
[Captivate Android Development] boog:
Nope, it should do it all on it's own.

And if your flashing from recovery, heimdall, or odin, having android mount the system as rw, has no bearing on what happens when it is flashed. Kinda like booting your computer from a cd, the cd doesn't care about the settings in your os.
[Captivate Android Development] sinichi21:
Yeah i just reflashed to stock again for some reason maybe just a bad flash for me thanks kyuta seems the new LMK is good but i think it still need to be tuned a little down anyway thanks really love the recovery :D

yeah i just flashed to stock and redo everything makes it easy for me and i dont use task killer thats a crap app for me :p especially the paid one lolz but thanks :D
[Captivate Android Development] Kyuta Syuko:
I have them set to try to keep 60+ Mb of RAM free in an effort to help try and keep the phone lag free as much as possible. That number was taken from the LMK section in pikachu's post in my sig. Just so you know it's not some magic number I pulled out of the air.
[Captivate Android Development] sinichi21:
Ahh i see i see will check pikachus thread and see i think im misunderstanding something here hehehe thanks kyuta i wish they would release the source so we can have voodoo color been spoiled by the talon kernel
[Captivate Android Development] Kyuta Syuko:
Talon Kernel has spoiled me on a lot of things... Bought Voodoo Control Plus to get Sound back though. Might attempt to take the apk apart and see if I can't find a way to inject Voodoo Sound into my kernel.
[Captivate Android Development] Jsmokey:
It wouldn't be too hard I don't think with the plus app to work from only problem is they (the voodoo devs) might frown upon it being done and have you remove it, so its definitely something you may want to talk to the dev/'s about before you take the time to do it.

Sent from my i897 w/Anteres Darkcloud, Red Nebula kernel, & 1.3Ghz OC using Tegrak.
[Captivate Android Development] Kyuta Syuko:
True that. Maybe I should just go after the source and see if I can't code up and compile a module to drop into the kernel instead. They shouldn't frown upon that.
[Captivate Android Development] boog:
I thought it looked like you already have the modules in there? Not sure.
[Captivate Android Development] Kyuta Syuko:
There might be some of them in there but not all 100% of it.
[Captivate Android Development] Jsmokey:
I meant using the methods they used in voodoo control plus to get voodoo sound injection working since it is a paid app and they have control over the code in it and how it's used. As far as the modules and source anyone can do as they please with it.

Sent from my i897 w/Anteres Darkcloud, Red Nebula kernel, & 1.3Ghz OC using Tegrak.
[Captivate Android Development] topiratiko:
Just curious. I thought source was needed to get voodoo onto 897 kernel?

Sent from my Samsung Galaxy S Captivate on Apex.
[Captivate Android Development] TRusselo:
hey boog, any chance of adding option to CWM to enable/disable data logging? logcat?

cwm had it ages ago back in many 2.2 roms. free up system resources for the non log users.

EDIT!!

i found this readme.txt in the voodoo sound modual folder in the apk.
[Captivate Android Development] Kyuta Syuko:
To have it supported natively in the kernel. I'm talking about compiling a module so it's injected into the kernel from within the kernel (confusing I know) sort of how the Voodoo Control Plus app does it.
[Captivate Android Development] topiratiko:
Oooooo ok i see.

Sent from my Samsung Galaxy S Captivate on Apex.
[Captivate Android Development] electroau:
So far its working awesome. Great job.no lag.
[Captivate Android Development] mbc663:
+1 for Ke3 in the Northeast. signal and gps is best with that modem in Philadelphia and ive tried them all extensively
[Captivate Android Development] Stevenrogers_420:
Switched from 1.1 to 1.2 and my battery is draining twice as fast... can you relist 1.1 so I can reflash and verify?
[Captivate Android Development] RTBee:
Correct me if I'm wrong, but I think I remember reading that it takes a few cycles of drain and charge before everything settles down. You may just need to let go thru a couple more cycles and see how your battery is then. FWIW...:rolleyes:
[Captivate Android Development] Jsmokey:
Pretty much. You want to get it to full charge then wipe battery stats then do a couple uninterrupted battery cycles. (run completely dead charge and do it again without plugging in charger during the drain part)

Sent from my I897 w/Antares Darkcloud, Red Nebula kernel, & 1.3Ghz OC using Tegrak.
[Captivate Android Development] Stevenrogers_420:
Kk I let it drop to 1% yesterday, charged overnight, calibrated this morning. Ill let it ride for a few days and report back. Thanks guys!

Edit: force close, and random shutdowns and reboots..
[Captivate Android Development] getinlost:
I tried to run a nandroid backup and it stopped at Data. Ideas anyone?
[Captivate Android Development] Kyuta Syuko:
Were you on ext4 or rfs? Granted nandroid's not yet working correctly...
[Captivate Android Development] joeyl:
works nice and smooth. Very Minor complaint: the good looking lady=cheesy.
[Captivate Android Development] mbc663:
Decompile and put your own pic in then... didnt think so ;p
[Captivate Android Development] joeyl:
I guess users who do not have the technical ability to do their own kernels (>90%) have no right to offer criticism then.
[Captivate Android Development] Kyuta Syuko:
While I do appreciate criticism and requests this was a project I did for myself and shared with the community. Besides the chick being cheesy is just a matter of taste.
[Captivate Android Development] joeyl:
ok, thanks for the work, I do appreciate it, and running it ;)
[Captivate Android Development] Kyuta Syuko:
Well I appreciate you appreciating it. Besides it's not like you're in recovery a lot.
[Captivate Android Development] Stevenrogers_420:
Depends on who's Rom he's running. Rofl
[Captivate Android Development] Stevenrogers_420:
Update: I reinstalled 1.1 and had the same battery drain issue. So I installed 1.2 and reflashes U.S.A.S. XIX, and Smoothness Tweak. Battery is back to normal. FYI YMMV
[Captivate Android Development] Jsmokey:
This isn't true the problem is there are no guides really. All you really need is the script that unpacks the zimage, which was the hard part before the scripts were made. After that its as easy as swapping out image files if i remember correctly from when i opened up kyutas kernel to look at a few things, then repack it. The whole pack and unpack parts automated pretty much.

BTW you may want to try upping the up threshold just a hair and see if that helps any with battery life kyuta. Not trying to step on your toes just with the interval it scans at upping to say 75-80 shouldn't affect performance much but would keep the processor from running at higher frequencies when not really necessary.

IBM has a good manual page on Linux kernel governors btw that is extremely useful when tweaking governors and there's a few other places that have info on it too that are helpful when tweaking governors.

Sent from my I897 w/Antares Darkcloud, Red Nebula kernel, & 1.3Ghz OC using Tegrak.
[Captivate Android Development] Kyuta Syuko:
What's this Smoothness Tweak you speak of?
[Captivate Android Development] Stevenrogers_420:
http://xdaforums.com/showthread.php?t=1137554

Made for I9000 but it works for Cappys too. I picked up 500 quadrant points on average.
[Captivate Android Development] topiratiko:
That made my drop down LAG. lol

Sent from my Apex Blue JVR Samsung Captivate.
[Captivate Android Development] Stevenrogers_420:
Well it has to be configured correctly... pm me and I can help you set it up the right way.
[Captivate Android Development] 4-2ndtwin:
Kyuta Syuko,

Just wanted to stop by and say thanks for the kernel work you've done. Much appreciated !! (and I will stop by and say thanks to boog as well)

BIG THANKS !! :D
[Captivate Android Development] Kyuta Syuko:
I appreciate that but if it wasn't for boog's help I probably wouldn't have figured it out.
[Captivate Android Development] hokiemoto:
Does cranking up the FPS require kernel source? Thought I'd seen 65fps in past kernels I've tried.... getting 55fps with Samurai 1.1
[Captivate Android Development] Jsmokey:
As far as I've been able to tell yes we need source, I've tried finding a way around it but without luck. Only thing I've tried that seems to help any is chainfire 3d and even thats kind hit and miss and it definitely won't get you up to 65fps.

More than anything it seems to stablalize the fps so it doesn't jump around quite as much and you might pick up 5fps or so.

Really wish cappy gb would officially come out. I have everything for voodoo sound, color, and bln pulled from my device and set up but I need the source to compile into	a kernel.

Sent from my I897 w/Antares Darkcloud, Red Nebula kernel, & 1.3Ghz OC using Tegrak.
[Captivate Android Development] TRusselo:
regarding the whole backup restore issue, i just noticed and not sure if it is a factor, or not but the App Rom Manager uses its own backup boot script. I always thought it booted into the kernel's cwm but no.

I rarely ever use rom manager but wanted to title mine tonight so went that route. and didnt see pink. i may have done this couple weeks ago when i was having restore issues, but not sure.

backing up with rom manager and restoring with kernel might be the problem that some are running into and not others.

after i noticed this i made a backup both methods, will see in time.
[Captivate Android Development] boog:
I don't use rom manager. And you can get a restore if you backup while on ext4. Then either flash stock or convert back to rfs, then back to ext4, then restore. It will work lol, just wish I could figure out why.
[Captivate Android Development] pcguy23:
nice job

thank you for your work

I flashed the kernel today and so far so good

I had lagfix disabled in voodoo folder and the manually converted it over

worked fine

boot animations are working and all looks good

over stock KJ3
[Captivate Android Development] rjc127:
Another vote for the ke3 modem running on 1.2/kj3 in terms of the gps with no other changes.
[Captivate Android Development] tamanaco:
Add me to the Northeast fans of KE3. I had recently been using the KJ3 modem with Samurai 1.2 and Pinnacle 1.3, but after reading that folks were having good result with KE3 I decided to reinstall it. Speed tests only show that downloads are slightly faster, but the download speeds are more consistent from test to test. I also believe that the GPS is locking faster than it used to with KJ3.
[Captivate Android Development] Ikonomi:
I think the tweaked LMK might be a little aggressive for my usage patterns. As an example, when using Baconreader (a reddit app by meinhyperspeed) and opening a link in a browser (Dolphin HD), I'd find that Baconreader would close immediately upon handing off the intent to Dolphin. I have a similar experience with the XDA app. Even hitting the home button will usually cause whatever app I'm using to close, making it impossible to switch between tasks.

Is this set in an init.d script that the user can tweak, or in the kernel itself? I found that when I flashed UAS v12, apps were a little more persistent in memory, and the phone would maintain two or three open at a time.

I'm still getting instances where, for example, I'll have Slacker running in the background, only to terminate when I open another app. Just now, I was listening to Slacker and browsing Baconreader, when I got a Gmail notification that caused Slacker to close.

I don't mean to sound overly negative, but I did want to explain the problem as well as I could. I'm just looking for help to tweak this to work for me. :) Thank you for all your hard work on this kernel. And I enjoy the recovery background -- gave me a chuckle.
[Captivate Android Development] Jsmokey:
If you want I could write a script for you sometime tonight that just tweaks lmk and oom a little and you could see if that helps any. If you have terminal emulator I could also give you the commands to just change them till reboot to see if that helps.

The values I normally use are pretty mild but keep plenty of mem free without killing what's in the background.

I was having the same type of issue with my kernel when I was working in it, it'd always kill my music player when it was in the background, and thais what led me to the values mine currently has.

Sent from my I897 w/Antares Darkcloud, Red Nebula kernel, & 1.3Ghz OC using Tegrak.
[Captivate Android Development] jswclw:
I have had similar experience with Google Reader handing off to the browser, then when going back to Google Reader, it has to reload. Otherwise performance seems really nice.

Maybe we have to take some bad with the good? I don't know.
[Captivate Android Development] mbc663:
The only experience I can say that is close to the ones described above was with opera. eveytime I switched to another app/screen when I jumped back to opera it had to reload the entire app starting me back on my homepage. Every other browser I've tried haven't done this.
[Captivate Android Development] Kyuta Syuko:
Hmm I don't do a whole lot of multi-tasking like this so I've never experienced any of this, but I'll take a look and see what I can figure out. I do know which setting affects this so I do know where to look. Maybe I'll pull them out of the kernel and upload two separate init.d scripts that will allow the user to choose between more performance geared settings or more multi-tasking geared settings.
[Captivate Android Development] tamanaco:
After reading the recent posts I put the same application (Slacker and Opera) to the test and found that those apps are also terminated in my phone when they're put in the background. I had not come across this issue before because I do not listen to Slacker or browse with Opera frequently. The funny thing is that I use Pandora a lot and I can open several other applications while Pandora is playing and the music is never interrupted. What is Pandora doing that Slacker isn't? Does it, somehow, get higher priority than Slacker so that it can not be terminated?

I don't recall if this has always been the case, but I also found that when I switch back to the Android browser from another application, the browser app does not restart, but the web page that I previously loaded needs to be completely reloaded when I return to the browser. Anyone else experiencing this behavior?
[Captivate Android Development] -Thrive-:
My experience is similar to yours in that I multitask a lot but with my combination of applications, none get terminated while in the background. Seems like a lot of the issues are related to how the application is coded. My list includes:

LauncherPro

Dolphin HD browser

PowerAmp music player

XDA

Pandora

Go SMS Pro

FBreader

Taptu

Quickpic

Beautiful Widgets

Navigon GPS

AllSports GPS

Titanium Backup Pro

Gmail

Dropbox

Polaris Office

Root Explorer

These clearly are not trivial apps. People with multi-tasking issues or instability issues may want to consider using other apps. There's a lot out there.
[Captivate Android Development] Kyuta Syuko:
Ok added an init.d script to the very bottom of the OP under the change log with "nicer" LMK settings. Those having issues with multi-tasking drop the script into the /system/etc/init.d folder and give it the proper permissions and reboot and see if it helps.

*edit*

Added a CWM flashable zip.
[Captivate Android Development] ddoubt:
edit: sorry for the double post, let's follow the original on Nebula's thread.
[Captivate Android Development] Kyuta Syuko:
I posted a response in the Nebula thread since that's the first place I saw you post this issue.

Along with the questions I posted in the Nebula thread. What modifications have you made to your ROM so far? Such as the build.prop or any other tweaks?
[Captivate Android Development] TRusselo:
Samurai is included with my rom because of the lack of issues.
[Captivate Android Development] tamanaco:
I placed the script in the /system/etc/init.d folder, but it appears not to have made a difference with respect to my previously described behavior of Slacker, Opera and the Android browsers. How can I make sure that the script was executed?... I placed it in the folder, named it LMKModsettingScript and I verified that it had all three "Execute" permissions checked using Root Explorer.

Does the CWM flashable version of this patch just places the script in the init.d folder with the correct permissions or does it do things differently?... I just want to make sure that I'm able to reverse the changes that the CWM flashable version makes in case some new issue comes up and I want to remove the changes it makes.
[Captivate Android Development] Kyuta Syuko:
It just places it in the init.d folder and give it the proper permissions.

If that script didn't help and it ran then only thing I can see it being is an issue with the apps.
[Captivate Android Development] nizbot:
Places script in the init.d folder and assigns correct perms. Here's the script text so you can visually confirm for your flashing paranoia:

ui_print("######################################");

ui_print("# #");

ui_print("# Samurai Multi-Tasking LMK Settings #");

ui_print("# #");

ui_print("######################################");

ui_print("Mounting System...");

run_program("/sbin/mount", "/dev/block/stl9", "/system");

run_program("/sbin/mount", "/dev/block/stl10", "/data");

run_program("/sbin/mount", "/dev/block/stl11", "/cache");

ui_print("Deleting Cache...");

delete_recursive("/cache");

ui_print("Deleting Dalvik-Cache...");

delete_recursive("/data/dalvik-cache");

ui_print("Installing init.d script...");

show_progress(0.100000, 60);

package_extract_file("Samurai_Multi-tasking_LMK", "/system/etc/init.d/Samurai_Multi-tasking_LMK");

set_perm(0, 0, 0755, "/system/etc/init.d/Samurai_Multi-tasking_LMK");

ui_print("Done! Enjoy!")
[Captivate Android Development] dannyfritz:
i applied the multitasking script with cwm and opera, xda, gmail, and hanging with friends don't close much anymore. it's great.
[Captivate Android Development] Kyuta Syuko:
Well what the Multi-tasking LMK settings do is they wait till you only have 40M left before they start killing the hidden apps (ones you just switched from) where as default it's 60M. Empty apps are still killed pretty quickly though (apps that have been closed for a while) and of course everything else was reduced accordingly with the MTLMK.
[Captivate Android Development] ddoubt:
won't this new settings cause lag?

by the way, I fixed the BT issue... had to rebuild Serenity from scratch, but its working 100% now :D

(I think the problem was on the frameworks I messed with many times on an older build of apkmanager I had here... anyway, thanks for all the help!)
[Captivate Android Development] Kyuta Syuko:
Well that's the trade off. multi-taskability for lag or lag for multi-taskability. This is the table I used to get the default or baked in LMK settings (with Hidden Apps set for 60)
[Captivate Android Development] mcala:
Can I use Pimp my CPU with this kernel?
[Captivate Android Development] Kyuta Syuko:
This kernel doesn't support OC by default (though you could probably UV still) if you want to OC then I highly suggest getting Tegrak Overclock from the market. The free version will require you to reset all your settings after every reboot while the paid version will set them automatically for you. I'm pretty sure it's what most people are using right now.
[Captivate Android Development] mfdemicco:
Check out the app "Ram Manager Pro." It lets you choose and set a number of LMK settings, from a selection of categories. It's hard to find in Android Market. I had to put the name in quotes to find it. There's a free version, but only one of the choices works (i.e., "Balance"). It's written by Juwe11.