yashsingh1/xdaforums huggingface dataset:
[Captivate Android Development] existz:
*UPDATE*

SuckerPunch #57

-add 'Simple IO' scheduler (now default)

-add 10 point multitouch support (fixes few multitouch bugs)

Simple IO Scheduler

The Simple I/O scheduler is an extremely simple scheduler, based on noop and deadline, that relies on deadlines to ensure fairness. The algorithm does not do any sorting but basic merging, trying to keep a minimum overhead. It is aimed mainly for aleatory access devices (eg: flash devices)

NOTE

This version will remove your Voltage Control settings upon flash.. Since I changed the default scheduler to the new Simple IO scheduler, it will remove it so the new one is selected.
[Captivate Android Development] johan8:
There are tons of error in /data/user.log

is it normal ?
[Captivate Android Development] existz:
EDIT

Just checked mine, but yea its normal..if you have the IOSCHED tweak enabled in recovery, its trying to apply those tweaks, which was made for the CFQ scheduler, ill correct it in next build...but since the 'Simple IO' scheduler, is well..simple, it doesnt have those tunable options..,..so when it trys to tweak low_latency, (ie. when it trys to echo "1" > $i/queue/iosched/low_latency . its not there)....you can just disable the IOSCHED tweak in recovery and it should quit. Ill see what all is tunable with Simple IO and try to add some in cwm tweaks for it.
[Captivate Android Development] doreyu:
There is a CM7 kernel with voodoo sound v5 on the cappy threads. Can you add that or is it gingerbread exclusive?
[Captivate Android Development] existz:
From the little ive seen, its just for 2.3/nexus s, since CM7 is built from nexus s sources, its totally different than galaxy s.. i dont think there is a v5 for galaxy s just yet
[Captivate Android Development] doreyu:
Ahhh gotya. I should have known you would of had it up already if it were compatible :p
[Captivate Android Development] H3llstorm:
From: http://xdaforums.com/showthread.php?t=806195

02/03/2011 : 5.4.2 maintenance release added support to Samsung Froyo 2.2, Ex4 conversion for some new Spanish 8GB phones.

31/01/2011 : 5.4.1 release: added missing cifs.ko

31/01/2011 : 5.4 release: includes Voodoo sound driver version 4!

27/01/2011 : 5.3 release

Are those v5.3 - v5.4.2 releases for the I9000? The thread title still reads "v4". :confused:
[Captivate Android Development] existz:
No, the thread also has his kernel in it, which is v5.4.2...the Voodoo Sound is still v4
[Captivate Android Development] H3llstorm:
Thanks for translating from Dev to Non-Dev. :D
[Captivate Android Development] LNJ:
So with simple IO, should VC be set to Noop or CFQ?
[Captivate Android Development] existz:
neither, it should be SIO (Simple IO)...Noop, CFQ, BFQ, Deadline and SIO (Simple IO) are all IO Schedulers, SIO should now be default..The Simple I/O scheduler is an extremely simple scheduler, based on noop and deadline, that relies on deadlines to ensure fairness. The algorithm does not do any sorting but basic merging, trying to keep a minimum overhead. It is aimed mainly for aleatory access devices (eg: flash devices)
[Captivate Android Development] Auridran:
Sounds like the perfect compromise for our devices. Noop is supposedly best with SSD's, but our devices are far from SSD's in architecture.
[Captivate Android Development] shoman94:
I have a question about js7. I'm told to take full advantage of js7 that we need a kernel based off of js7. If so would you think about making one?

Sent from my Captivate on the XDA-App
[Captivate Android Development] existz:
The only i9000 2.2.1 sources available is jpx..until Samsung releases newer kernel sources, thats all we have. The only thing you can do with a stock zImage is extract the initramfs (which controls recovery/lagfix)..so basically all you can do is inject cwm or voodoo lagfix without having full sources
[Captivate Android Development] xreflection:
So what is the benefit of having this "Simple I/O scheduler?"
[Captivate Android Development] existz:
Should give some file system improvements ..its not going to give you 1000 extra points in quadrant or anything like that, but should help with read/write, the way proccesses are handled ..etc..since theres no calculating rotate and seek latencies (as in magnetic disks) this will boost the IO tasks in Flash drives since there is no rotate or seek. Virtually all applications running on Linux/Android do some sort of IO.. Even surfing the web produces alot of small files that are written to disk.
[Captivate Android Development] rlorange:
Well from what I saw in terms in terms of smoothness, and quality I would certainly be willing to test an i9000 version. Apart from auto rotate everything worked.

Happy to be your i9000 guinea pig

Stock JPY, Insanity SpeedMod OC-1200Mhz/UV, ext4, JVE gingerbread Modem,
[Captivate Android Development] rlorange:
Sure tried it but Sok has terrible screen brightness control and other niggles... speedmod with Oc/uv is a great idea. Insanity does this too from voltage control app author xan. Sucker punch felt faster

Stock JPY, Insanity SpeedMod OC-1200Mhz/UV, ext4, JVE gingerbread Modem,
[Captivate Android Development] rlorange:
@ existz

You will get many more galaxy s testers if you post a tester over in devs... flash junkies galore lol.!

Stock JPY, Insanity SpeedMod OC-1200Mhz/UV, ext4, JVE gingerbread Modem,

Edit : where are you from? The states?
[Captivate Android Development] froli13:
XDA forums aren't twitter... You can enter more than 140 characters in a single post :rolleyes:
[Captivate Android Development] existz:
@rlorange

Ill try to get an i9000 test version up tonite when I get home..id post in the i9000 forum but I want to make sure everything works before I do, then ill start a thread over there.. but the auto rotation is a quick fix..ill send you a PM with it later on tonite..

Yea im from the U.S., kentucky to be exact ..
[Captivate Android Development] rlorange:
Ok great I can report anything weird I encounter... Also pm me any specific tests, things to look for etc. As I'm new to this.

We can call this KFK, the Kentucky fried kernel! Lol! Pretty corny I know sorry...

Does the captivate have a different button config?

Edit: found my answer, extra button and I guess a different accelerometer sensor

Stock JPY, Insanity SpeedMod OC-1200Mhz/UV, ext4, JVE gingerbread Modem,
[Captivate Android Development] ridethelight:
Colonel's Kernel?
[Captivate Android Development] Tweak4fun:
It happened again this morning, no OC or UV. I flashed speedmod K13c shortly thereafter. So far the suspend process barely registers on the graph. With SP #56 it was @3-4% at the lowest point (sometimes it would jump to 20% and stay there until the battery died...as I mentioned earlier). This baffles me. Maybe it is related to SP #56. existz...is there anything else I can do to help isolate this? I'm thinking about flashing the Dill pickle and / or paragon to see how suspend acts with them.....I still LOVE SP though ;)
[Captivate Android Development] froli13:
I love this one! :D
[Captivate Android Development] rlorange:
Ha ha colonel's kernel that is much better!

Stock JPY, Insanity SpeedMod OC-1200Mhz/UV, ext4, JVE gingerbread Modem,
[Captivate Android Development] rlorange:
Directed at me?

Stock JPY, Insanity SpeedMod OC-1200Mhz/UV, ext4, JVE gingerbread Modem,
[Captivate Android Development] froli13:
Yes, but no offence. It was just funny that the last 2 times you posted here were "triple-posts" :P
[Captivate Android Development] rlorange:
Ah! Lol no offence taken :) ADHD boy fragmented thinking... and I always seem to post sms style from my galaxy s rather than computer keyboard.

Stock JPY, Insanity SpeedMod OC-1200Mhz/UV, ext4, JVE gingerbread Modem,
[Captivate Android Development] shoman94:
Can you send me a copy of your Zeubug? What modded.... just to make it work on TB? Also does regular Zeubug work?
[Captivate Android Development] Tweak4fun:
I just found this http://code.google.com/p/android/issues/detail?id=11126 Apparently Google knows about this. Still nothing happening on K13c.
[Captivate Android Development] existz:
PM sent..let me know how it goes
[Captivate Android Development] rlorange:
Loving it! As far as I know this is the only unrestricted GPS kernel for the i9000! Ui was smooth but now a little bit stuttering... weird.

Responsivness is the best I have encountered and stable at 1.3ghz

Stock JPY, SuckerPunch i9000 beta#1 kernel 1.3ghz, all ext4, JVE GB Modem,
[Captivate Android Development] jcjcc:
Has anyone else gotten 10 point multitouch working? I couldn't get more than five -- tried the 1000hz version too. I know it works in CM7.

Don't really need it, but it sounds like fun. Awesome kernel, eXistZ.
[Captivate Android Development] GGXtreme:
Well, ****. I flashed #57 over #56 (using CWM recovery) and now my phone just hangs at the AT&T logo :(

Does anyone know an Odin-flashable kernel?

Edit: I should be more specific...an Odin-flashable kernel that supports ext4 mounts. The stock kernel won't work because it can't load the CWM update.zip on my ext4 /system.
[Captivate Android Development] rlorange:
Wow! I'm getting 1958 on quadrant with this kernel all ext4 no loops! That compares with 1700 for insanity at 1.2ghz and 1400 for stock speedmod.

Amazing beta for the i9000 stability test ran for half an hour at 1.3ghz no problems.

Stock JPY, SuckerPunch i9000 beta#1 kernel 1.3ghz, all ext4, JVE GB Modem,
[Captivate Android Development] GGXtreme:
Nvm, got it sorted with Odin Speedmod.
[Captivate Android Development] froli13:
It works without changing anything. I just changed some icons and spinners. Everything else is the same.
[Captivate Android Development] existz:
I just added the kernel side of support, i think the rom has to support it as well
[Captivate Android Development] jcr81:
What exactly does the memory timings file that you recommend putting in the etc folder do? Do it affect performance and/or battery life. While I do care about battery life, I'm more concerned with performance.
[Captivate Android Development] existz:
should have an update soon with Voodoo Sound v5

http://xdaforums.com/showthread.php?t=806195
[Captivate Android Development] rajendra82:
I am hoping this is also true of KB1 #5 version. I haven't flashed anything this morning, and my fingers are badly itching to hold the phone in the three button combo grip.
[Captivate Android Development] existz:
Yep..all 3 kernels will get updated to Voodoo Sound 5.. including KB1 and SP-Voodoo

It optimizes the memory timings..it does not effect battery life, but should help with ram/memory performance
[Captivate Android Development] existz:
*UPDATE*

SuckerPunch #58

-update Voodoo Sound v5

NOTE

Make sure to update to the latest version of Voodoo Control App
[Captivate Android Development] GGXtreme:
What exactly do new versions of Voodoo Sound bring? I thought the whole point was to control the analog volume level and enable 128x oversampling, which was done in previous versions.

Edit: Hmm, read up a bit on DAC direct. Oddly enough, from what I've seen it seems to improve some things and make some other things worse (but mostly reduces THD).
[Captivate Android Development] existz:
Here is the exact changes, look at just the commits for 3/16..which is v5

https://github.com/project-voodoo/linux_gt-i9000/commits/froyo-voodoo-sound
[Captivate Android Development] psloan:
does voodoo sound help Bluetooth headsets? I often listen to music via my stereo Bluetooth headset.
[Captivate Android Development] DDNV:
WARNING - Major Volume!!

Seems to be an issue with the Voodoo Sound v5 drivers, where there is a sudden increase in volume after an audio notification. Things can get REALLY loud fast. I've posted on supercurio's thread, but thought I'd give everyone the head-up warning here. Just be careful.

http://xdaforums.com/showthread.php?p=12168202#post12168202

DDNV

Great kernel by the way. :)
[Captivate Android Development] iXNyNe:
little update to the rm-S_volt_scheduler i posted, i added two lines to remove some other junk files that tend to show up (at least for me) as duplicates of S_volt_scheduler

S90scheduler and S99finish

if anyone knows what these files actually are or why they are created or any info other than "i've seen them on my system" please let me know because i cant for the life of me figure it out but all they ever do is duplicate my voltage control settings and make it more difficult to erase boot settings
[Captivate Android Development] GGXtreme:
Wow, thanks for that. I'm back on #57 for now. Audio quality is already plenty good, not justified by that pretty major bug =/ Hope it gets fixed soon.
[Captivate Android Development] H3llstorm:
While listening to Pandora, I plugged and unplugged the charger, and my phone froze.

Just pulled the battery. Will be rebooting and flashing SP#57 shortly.
[Captivate Android Development] supercurio:
:eek: Where are all the sources, it's all in tarballs ?
[Captivate Android Development] supercurio:
re-creating diffs manually after downloading #57 and #58 sources, there are more than only Voodoo sound v5 changes.
[Captivate Android Development] supercurio:
Hi again.

I would recommend studying the changes in

Kernel/arch/arm/mach-s5pv210/sec_jack.c

Sorry I cannot test this kernel on GT-I9000.

also, I would suggest to try with only sound patches: Voodoo sound and see if the sound raise issue is still here.

Volume is set to users level instead of the default one only for Headphone output path. If something else affect in an unexpected way the output path numeric values (corresponding to something the driver not expect) it could very well leads to volume not being set (and as a result, very loud experience)
[Captivate Android Development] H3llstorm:
I'm not only getting volume increases, I'm getting lock-ups.
[Captivate Android Development] existz:
EDIT

Nevermind, I see it... also, ill clean out my git and start using it.. I had started doing that, but strayed away from it..but ill start fresh ..

I think the problem might be from where I used Hardcores patch..he's got some of his own sound modifications in there that might effect using a clean v5 (don't hold me to that, I haven't looked at what he done, I just seen some changes he done to v4 and some other things earlier)
[Captivate Android Development] supercurio:
I'm sitting on your IRC channel for when you're back ;)

Don't hesitate if you need some advice about git usage, not that I'm so much of an expert but just a regular user that appreciate the tool!

Anyway, this volume issue is quite mysterious so far and I'm happy you're aware of it too :)
[Captivate Android Development] shoman94:
Between existz and yourself... I'm sure it can be figured out. Both of you are top notch devs.
[Captivate Android Development] rajendra82:
Is the KB1 kernel beta 6 supposed to be suffering from the volume increase issue? I tested it, but the volume of the audio being played in the media player did not increase after I plugged in the charging cable and heard the notification sound. Is the bug absent in that kernel, or was I testing it wrong?
[Captivate Android Development] supercurio:
Like this one ? KB1 + Voodoo sound only

https://github.com/project-voodoo/linux_sgh-i897

Other devs kernel like designgears never experienced it and he doesn't use xcaliburhand patchs. So maybe it's a bad interaction between both.
[Captivate Android Development] rajendra82:
This KB1 one by eXistZ also:

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

It's the best kernel I've ever run on my Captivate.
[Captivate Android Development] supercurio:
Oh right I didn't noticed this kenel here was a I9000 one (assumed it was captivate sources)
[Captivate Android Development] existz:
The g/f is wanting some quality time lol, that's why I haven't been on irc..i have to sneak and get on my phone to check xda... once she falls asleep ill jump on..but I really think there's something in the K13C patch mixed with v5 that's causing it..the only other thing in regards to sound that was changed would be the audio dock fix by xcaliburinhand (which I doubt)..but ill start with looking at those 2 and see ..

But this kernel (i9000) seems to have the bug (includes k13c patch and xcals fixes), but my KB1 kernel doesn't seem to have it (includes only v5, no other sound patches) atleast its not been reported .. so it might be something between those 2 patches ..(k13c which hardcore has alot of sound modifications, plus he tweaked the actual Voodoo Sound..and xcals patch)
[Captivate Android Development] supercurio:
unrelated note: i see several kernel using sched_autogroup patch.

It's designed for Linux desktop, for people running big tasks in terminals. Probably biggest thing it can do on Android is to **** up a dedicated cgroup system already tuned for this system ^^

More patches != better.
[Captivate Android Development] supercurio:
Take your (quality) time and enjoy it ;)
[Captivate Android Development] H3llstorm:
I experienced the volume bug with both Suckerpunch versions. The only difference is that #58 locked up my phone and Voodoo #9 didn't.

+1
[Captivate Android Development] existz:
Yea both SP kernels have the same sound tweaks, I used Hardcores sound fixes with both..plus both have xcals fixes also...so one of the 2 fixes is causing it ...I think... since there's no reports of it on the KB1 kernel, which only has voodoo v5 (does not have hardcores or xcals fixes) I have to assume as of right now that it doesn't have the bug ..

SuckerPunch (i9000) = v5 + hardcores + xcals sound fixes = bug

SuckerPunch-Voodoo (i9000) = v5 + hardcore + xcals sound fixes = bug

KB1 Kernel = v5 = no bug (as of now)
[Captivate Android Development] rajendra82:
No need to assume. KB1 #6 does not have the issue. It's in the patches.
[Captivate Android Development] GGXtreme:
1d 7h 57m 26s since unplugged :eek:

Still chipping away at the final 7% battery on #57. I think this is officially stock or better than stock battery performance.
[Captivate Android Development] elghouchd:
Does voodoo sound help at all with the volume on the speaker of the phone?
[Captivate Android Development] existz:
well..hardcore posted this in his i9000 thread.. http://xdaforums.com/showpost.php?p=12185250&postcount=14298 ... def going to have to dig through all the changes and see ..
[Captivate Android Development] existz:
Well I think I fixed the sound increase bug, as of right now Im posting it only as a TEST version, so if you guys want to try it out.. goto http://berryfx.com/RobBeane/Test/ ...and download #59. Since its a TEST version, please check to make sure it doesnt break anything else...hpcall..etc.. as of right now audio dock support was removed, if everything works ok, ill try to work on adding it back in if I can (which im not sure just yet if that was the exact problem, I just went ahead and removed it as well as all the tweaks by hardcore to voodoo sound...hpcall was the only thing I could test at the moment so I left it)

I tested it, as well as h3llstorm and it seems to be fixed, but still let me know how it goes for you...

On a side note, if you have freezes/reboots, and you know its not by oc/uv, remove the memory timing script ..then reboot..it should be good then.
[Captivate Android Development] b0wz:
In a testing mood :)
[Captivate Android Development] H3llstorm:
So far, it seems the volume bug is fixed, my Bluetooth headset (Jabra BT135) works, the camera works (still, video & barcode scanning) and Voice Search, GPS/Google Maps and WiFi File Explorer works.
[Captivate Android Development] mkr14:
The volume issue has been fixed for me as well. HPcall still works, no issues to report.
[Captivate Android Development] existz:
Awesome..thanks everyone for the feedback, #59 will go public shortly...(as long as no new issues come along)..it will be the same version as the TEST version, so no need to update
[Captivate Android Development] Soccer_Dad:
When the first post says EXT 4 lagfix recommended, does that mean that we should manually apply the lagfix to SYSTEM, or just use it for DATA, as it seems to default to that?
[Captivate Android Development] b0wz:
No issues, running great!! Tnx
[Captivate Android Development] Tweak4fun:
Running fine for me as well.
[Captivate Android Development] existz:
*UPDATE*

SuckerPunch #59

-fixed volume increase bug

-NOTE

Fixed the volume increase bug introduced with #58, as of right now I had to remove audio dock support, Im still trying to narrow down exactly what the issue was, if I can ill add it back..its just hpcall was the only thing I could test since I dont have a dock.
[Captivate Android Development] apparition:
I think this kernel recommends the lagfix just for /data. I know the other voodoo-based one recommends lagfix for /data+/system.

I recommend lagfixing /data and /system. Very safe and very quick.
[Captivate Android Development] existz:
I personally recommend ext4 on all partitions.. (system,data,dbdata,cache) .. if you have alot of apps installed, ext4 on system will really help .. I honestly don't like rfs, that's just a personal opinion though, but ext4 is good, fast and reliable ..
[Captivate Android Development] supercurio:
Thanks existz and congrats for the bugfix ;)

If you're interested into understanding why there was a bug with conflicting patches, you can use Voodoo sound developer tools built-in.

If you compile your kernel with "Codec development tools" and "Log every wm8994_write", you'll get all the infos you need.

Specifically, you'll see each command sent to the audio hardware, with the associated current paths for play/record.

Typically, you'll see commands related to HP volume changes sent with an inappropriate playing path (why it's not recognized by Voodoo sound v5 that takes care to affect only media or fm related headphone output volumes)
[Captivate Android Development] johan8:
I have a curious throught,

cache partition is just for tmp or buffer storage,

will it be better if just use ext2 for cache ?
[Captivate Android Development] supercurio:
cache is also used for passing commands to recovery & files in update.zip format.

It means if it's unsafe, it could lead to failed updates or corrupt commands sent to the recovery, and potentially bad things happening ^^
[Captivate Android Development] johan8:
I see, tks.
[Captivate Android Development] LNJ:
So #59 killed audio in my earpiece when using Skype. Works when I enable speakerphone only.

I thought it may have been the modems I have been playing with or the new rom but when I reverted back to #58, earpiece audio in Skype started working again.

Just FYI.
[Captivate Android Development] AmandeepG:
I have lagfix enabled (data, system, everything) from SpeedMod K13A. Do I need to disable before installing this SuckerPunch?

Also, installing SuckerPunch won't wipe all my apps and settings, right?
[Captivate Android Development] johan8:
It is not needed to disable lagfix.

SP is a kernel, it won't do anything to your data.
[Captivate Android Development] rajendra82:
Along similar lines, is it possible to switch back and forth between a voodoo kernel (I am on eXistZ KB1) and this one without disabling the lagfix as long as I stay with ext4? I know the mount options will change when I switch, but they should not cause data corruption, am I right?
[Captivate Android Development] supercurio:
Does DAC direct option activation/deactivation make a difference ? (might help me to understand another problem)
[Captivate Android Development] bclark:
If you are on speedmod and have ext2 and loops enabled, you should disable at least those first. Often you will lose some settings if you flash over. If you use Neldar's app it supposedly checks your lagfix and adjusts accordingly.
[Captivate Android Development] existz:
EDIT nevermind
[Captivate Android Development] johan8:
I have tried switch between Speedmod Suckerpunch Stock+voodoo i9000reoriented without disable ext4 lagfix.

The ext4 structure is the same,

mount options just tell the system how to r/w to the partition, but not alter its structure.

However if you have loop device, you will have problem if you not disable it first.

So never use loop device as it won't help much in performance.