yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] Tayutama:
Made a new thread for the update.zip versions of the LagFix since i have had people asking me to do that so it doesn't get cluttered up together with RyanZA's fix in his thread.

Only one file included... Will overwrite old root version.

Testet on firmware: (Did a fresh reflash every time)

I9000:

I9000XWJG5 (Eclair - Europe)

I9000XWJM1 (Eclair - Europe)

I9000XWJM5 (Eclair - Europe) (Thanks Peaster111)

I9000XXJP2 (Froyo - Europe)

I9000JPJG8 (Eclair - Africa)

Captivate: (Thanks to Zilch25 for testing)

I897UCJH2

I897UCJH3

Instructions:

(Note that i recommend that you do a fresh reflash through ODIN.)

1. Download the update.zip of your choice and rename it to update.zip.

2. Place it on your internal sdcard.

3. Turn off your phone.

4. Hold down Vol Up+Power button+Home Button for a couple of seconds until u see the galaxy logo .

5. Use the up and down buttons to get to update.zip.

6. Press menu button on update.zip to select it.

7. After install, the phone restarts.

8. Go to the newly installed 'SL4A' application from the app list, open it and choose either LagFix_Ext2.sh or LagFix_Ext4.sh to install the fix.

9. The script should run takes around 2-4 mins before it reboots.

10. First reboot after applying script will take some time as it's moving data around and mounting folders.

Regarding Step 4: What is written is for GT-I9000 version.

For Captivate and Vibrant as other people with that phone.

For Captivate people that are trying this on I897UCFJ6 please read the following post: http://xdaforums.com/showpost.php?p=7939738&postcount=177

Notes:

The current version works on Froyo BUT you can only use the ext2 option as the current kernels in Froyo doesn't support ext4.

Known Bugs:

Got no idea if people still will have problems with changing fonts with ext2 since it works for me.

Credits:

RyanZA - Original bat fix

husq510 - Supplied files needed to enable ext4 support

Zilch25 - For being my test subject on the Captivate board

Donations:

Had a few people ask for donation link so here it's: Donate

Do note though that you don't have to donate if you don't want to.
[Galaxy S I9000 Android Development] Tayutama:
Changelog:

v.2.3.3

Minor bug fixes.

Put all into one file that will remove old root and reapply new root in the same zip file.

v2.3.2

Removed custom hosts file for ads blocking as that was the problem with SL4A crashing.

v.2.3.1

Changed version of SL4A which should fix the FC that SL4A is giving.

v2.3.0

Scripts redone to do all moving of data on boot to minimize chance of loosing applications and settings.

Firmware check added to scripts to check if your firmware needs GPS Logging fixed.

Removed support for Ext3 as there is no reason to have it since we can use ext4

Added custom apn-conf.xml file for APN settings.

Added hosts file for blocking ads.

v2.2.2

This fix is for Captivates running firmware I897UCJH2

Turns off GPS logging and removes whatever logs that might already have been made

v2.2.1

Fixed old bug with /data/app-private

Added checks to scripts so they check if your system has support for the filesystem you choose

v2.2

Added Check_Space.sh to sl4a

Added support for ext4 (Only works on eclair builds)

Busybox 1.17.1 is NOT required anymore, but is the version i'm including.

v2.1

Based on RyanZA's v2.3

Added support for ext3 (Only works on eclair builds)

Removed support for /dbdata/databases

Changed /data/app-private from mount to symlink

Added two versions of the zip's. One for people who already have a rooted SGS and one that will root the SGS.

v2.0

Based on RyanZA's v2.0

Initial release.

Added support for /dbdata/databases

Added support for /data/app-private
[Galaxy S I9000 Android Development] Thread Astaire:
Hey, would you like me to test this on JP3??

Thread
[Galaxy S I9000 Android Development] rbanaco:
is it possible to undo this lag fix? what scores in quadrant are we expecting with this?

All lag is gone with this or is there some left as I encounter in ryan's? tnks in advance for the hard work
[Galaxy S I9000 Android Development] omrij:
Hi

Great tool

if i'll replace files in the zip will it still work?

(like replacing busybox with version 1.18 and replacing apn-conf with one who has Israeli carriers or adding fonts library for hebrew fonts)
[Galaxy S I9000 Android Development] Tayutama:
You are welcome to test it on JP3 if you want to but just remember Clockworkmod Recovery can have problems with applying the update.zip's

There is a script included to remove the lagfix. From test with stock kernel quadrant score is excepted to be around 2100-2200 with ext2 and 1800-1900 with ext4.

From all the testing we have been doing on this release when fixing bugs there haven't really been that much lag... you might see small lag when opening an application for the first time or when installing an app since we are using a different method this time where we don't move the application's apk's after it's installed, but personally i haven't seen this yet.

Hmm no idea tbh... You might be able to open the zip, replace the files and close it again without losing the signature that it's signed with, but this is something that i haven't tried yet so don't know if it will work.
[Galaxy S I9000 Android Development] rbanaco:
thanks for the answer.. one more question if you don't mind answering.. what would you advise ext2 or ext4? which provide better performance despite of the score? thank you
[Galaxy S I9000 Android Development] Tayutama:
I would recommend ext4 since it have journaling, which means there is a smaller chance on losing data if your phone lose power by pulling the battery or if the battery reach 0%.

Other people would say ext2 since ext4 might reduce the lifetime on the NAND since it has journaling

I have only tested the ext4 myself pretty much while i have had others to test both ext2 and ext4. Also this is what Zilch25 has posted about ext2 and ext4 on the captivate forum:
[Galaxy S I9000 Android Development] WhatZitTooya:
i think u can replace or delete files as u like.

i replaced, delted or added files every time before i flashed a new ROM, like HACKECLAIR or SamSet.

Works well.
[Galaxy S I9000 Android Development] A.VOID:
applying ext4 gives me the stopped unexpectedly google error
[Galaxy S I9000 Android Development] Zilch25:
Yeah I can second that... after a full wipe SL4A is giving me FC's now too =P
[Galaxy S I9000 Android Development] RyanZA:
Just wanted to add:

EXT2 may be less safe than EXT4, but to-date, there has been no reports of any corrupt or lost data using the EXT2 fixes. This is over a pretty huge sample over a fairly long period. Not to say there are no problems with EXT2, but there has not been any impact to anyone for using EXT2 as yet. :)

Other than that, awesome job Tayu! Looks great! :)
[Galaxy S I9000 Android Development] A.VOID:
yep, i get the force close for either script from sla4
[Galaxy S I9000 Android Development] Tayutama:
OK ill reupload with the old version of sl4a then.
[Galaxy S I9000 Android Development] mkleijer:
Im still not sure wether i should go for Ryan's one-click .apk fix or this one.

Anyone tested this one on I9000XXJM2? wich is stock firmware for me.
[Galaxy S I9000 Android Development] Tayutama:
v2.3.1 uploaded which replaces sl4a_r1 with sl4a_r0 which was the one used in the older versions of the fix. Should fix the problem with getting force close
[Galaxy S I9000 Android Development] Zilch25:
Applying it now, I'll let ya know how it goes
[Galaxy S I9000 Android Development] A.VOID:
do i need to remove the previous sl4a?
[Galaxy S I9000 Android Development] Tayutama:
would be the best as they each got a different name.

If you got root explorer you can remove it from /system/app

It's called: sl4a_r1.apk
[Galaxy S I9000 Android Development] Zilch25:
Yeah you might need to... I just reapplied without removing it and only r1 shows up =P
[Galaxy S I9000 Android Development] PowSniffer0110:
So.. tried searching but couldn't. Does this work on vibrant or no?
[Galaxy S I9000 Android Development] rUsTyRuSs:
I tried to implement the ext 4 fix. The process runs creates the partition and reboots. After reboot the partition was created but it seems the fix was not implemented. Getting scores in the 900's. Any help is appreciated. Thank you in advance,

Russ
[Galaxy S I9000 Android Development] Tayutama:
Have you tried to reboot one more time?

If that doesn't work then i would like a logcat of when your phone is booting...

If you know how to do that ofc :)

Else the phone needs to be in debugging mode.

USB cable connected to phone and then in a command prompt/terminal window you need to type: adb logcat > boot.txt (or whatever you wanna call the file)

When the phone then asks for your pincode you can stop the logcat.
[Galaxy S I9000 Android Development] timn2bama:
does lagfix use more battery?
[Galaxy S I9000 Android Development] carlocb:
...WORKING ON JM7

(just in case someone is interested)
[Galaxy S I9000 Android Development] rUsTyRuSs:
Got it

I figured it out. I ran the lag fix while using the original Deodex build from Anom. That build did not have the support for jac's kernal and init scripts i guess. I updated the deodexed build and was able to install fine. Thank you very much for your help and quick response.
[Galaxy S I9000 Android Development] karma24:
I'm using the ext4 option and this didn't fix the sleep+wake lag. i get 1900-2200 quadrant scores, so i dont know whats going on. im also getting lag when im scrolling through the web browser. is this normal?
[Galaxy S I9000 Android Development] shishir95:
I got my score as 2298... That's normal right?
[Galaxy S I9000 Android Development] rjvhome:
Benchmark Results after ext2

First Benchmark after restarting, 2600.

Second Benchmark after restarting, 2423.

Running smooth and quick, thanks!

Samasung Captivate rooted/ext2
[Galaxy S I9000 Android Development] Tayutama:
Since you already talked with Zilch about this is guess you know your problems has nothing to do with the lagfix :)

Sounds about right
[Galaxy S I9000 Android Development] SgtMoo:
Don't feel like reading through 19 pages to find if this was already posted but confirmed working on Eclair.DTJG4 (Optus Australia) using ext4 with a score of 1738 (little bit lower than what I was hoping) Using a Kingston 16GB Class 4 card

Phone is noticeably quicker and much more responcive

Possibly a little off topic here but just got the phone 2 days ago upgrading from iphone 3G with and have been able to learn a lot very quickly about the phone from this forum (after buggering it with a failed lagfix :p )...it surprises me that Samsung couldn't get this stuff straight off the bat...but it is a very nice phone
[Galaxy S I9000 Android Development] Tayutama:
Because you flash his RomMod when you got an old kernel on it... We can't use update.zip's else on JP3 and JPC since they made changes to it.

Taken from his OP post:

Meaning you are flashing the rom after you have flashed i9000_Kernel.tar but before you flash I9000XXJPC_KERNEL.tar
[Galaxy S I9000 Android Development] severoprisan:
Not working

Hi. Just rooted the phone and instaled this lag-fix.

After installing everything went to the app and selected ext2 fix

then after finishing it rebooted the phone. Then the first 3xFC.

All my installed app's and widgets and shortcuts that i've placed

on the desktop dissappeared. When tried to add a widget (Accuweather)

it said that it can't add the widget. All the aplications appeared in

Application Manager but no shortcuts. OK, i went to the S4 and runned

Remove fix. After that it rebooted in an endless Galaxy S white screen,

over and over. I had to reflash with Odin.

I have JM1 firmware.
[Galaxy S I9000 Android Development] Tayutama:
Yeah you can use the update.zip lagfix the same way then before flashing the original kernel.
[Galaxy S I9000 Android Development] Little Dragon:
quick question: do you have to be rooted for this? i don't see a noroot version
[Galaxy S I9000 Android Development] Tayutama:
Reason you don't see a noroot version is because this one roots you and if you are rooted it removes the old root first before applying the new root
[Galaxy S I9000 Android Development] Little Dragon:
oh, snap. thanks
[Galaxy S I9000 Android Development] freedonkey:
Can someone help me, I am trying to do it on my captivate

I did these steps

1. Download the update.zip of your choice and rename it to update.zip.

2. Place it on your internal sdcard.

3. Turn off your phone.

4. Hold down Vol Up+Power button+Home Button for a couple of seconds until u see the galaxy logo .

5. Use the up and down buttons to get to update.zip.

6. Press menu button on update.zip to select it.

7. After install, the phone restarts.

I see SL4A on applications and when I click that I get a window with scripts then then "No matches found". I am not able to see the .sh scripts.

What I am doing wrong. One more question if I flash a new Rom on my captivate should I be doing the above steps again?
[Galaxy S I9000 Android Development] Little Dragon:
nm................
[Galaxy S I9000 Android Development] cachookaman:
so custom fonts dont work with ext4?
[Galaxy S I9000 Android Development] korext:
GPS

i was on stock rooted captivate, with jf6 and i did the 2.3.3 lag fix update.zip EXT 4 and it works everything is great except for one huge problem.... gps has totally stopped working. it will sort of work when over wifi, but over any cellular network its a definite no-go. i fcking love this lag fix its doing great so far but if i cant fix the gps ill have to let it go, i use gps a lot so this is big concern for me.

thanks to anyone who can help

Konrad
[Galaxy S I9000 Android Development] foomanjee:
Question - on the first manual reboot (not the scripted one), does the file copy happen on shutdown, or startup?

I've just run the app, and all went well. However upon reboot, the filesystems weren't mounted ext4, so I've rebooted again (as per the initial instructions), and the phone is at the "Goodbye!" screen, and has been for about 45 minutes now. This is the second time I've attempted this, and both times it's hung at this screen.

Should I let it go, or is this failing?
[Galaxy S I9000 Android Development] Tayutama:
Got no ide why you would have problems with the GPS since we don't touch anything that something to do with GPS on captivate firmware JF6. It's only on JH2 and JH3 that we disable the GPS logging.

The file transfer happens when the phone is booting.

And i would say it's failing if it hangs so long time when it's shutting down.

Since you say it has failed twice know i would suggest you try one of the other lagfixes out there, since i'm not really developing anymore on this as there are some good alternatives in progress like supercurio's lagfix.
[Galaxy S I9000 Android Development] quinhas_35:
Sorry, but what is the functionality of this update? Can you explain please?
[Galaxy S I9000 Android Development] lokhor:
Where do we download this from? And what effect does it have if you've previously used ryanza's one click apk?
[Galaxy S I9000 Android Development] DoritosMan:
This

And I have installed SRE v1.2.2

Do I have to flash to stock or can I keep that on
[Galaxy S I9000 Android Development] tone_la:
I am getting the same error from SL4A, "no matches found". In my case, last week I installed Ryanz Once Click Lagfix from the market. Subsequently, I flashed to stock with Odin, followed by an SRE flash. The previous Ryanz lagfix worked so well, I wanted to apply it again, but had an error "playlogos1 file not found". The file was there, but it only had a W permission, with no R (read) permission. Anyone recognize what this is about?

Frustrated by this, I tried to apply Tayatama's lagfix which brings me now to the "No matches found" error. Any help is much appreciated!
[Galaxy S I9000 Android Development] jkwilson40:
root and lagfix

How do I remove the root and lagfix so i can get my mem back.If some one could please let me know. I did the one with the no pc root and lagfix thank you I need my space back.
[Galaxy S I9000 Android Development] glio1337:
No longer able to get this working without Force Closing on a fresh flash of JH3 for the Captivate w/ SuperRooterExtreme. Same setup used to work for me but I've reflashed 3 times now with no results. All 4 scrips within S4LA cause a force close. Any ideas?
[Galaxy S I9000 Android Development] Tayutama:
If you can then go into /system/app and click on sl4a_r1.apk and choose to install it.

And then try again
[Galaxy S I9000 Android Development] born_fisherman:
Does this work as a standalone lagfix on Captivate JH7? I want to assume yes as designgears is using it in the latest SRE version.. but you know what happens when you assume.
[Galaxy S I9000 Android Development] Cbtg2005:
Unable to remove lagfix

Hi Tayutama, I've been using the 2.3.3 version on my XXJM1 I9000 for a while now and it's been great, so firstly thanks!

Now that supercurio has released a lag fix only version of the voodoo fix I have tried to remove this fix using the supplied script but it doesn't seem to work. Phone reboots twice, the first reboot happens very quickly then there is a small pause for a couple of minutes. During the second reboot it sits there for 20 mins+ (5 mins approx with the Galaxy S logo, then the screen is completely blank and the menu/back buttons are lit.) The phone appears to be doing nothing. I've got about 100MB of apps installed.

Eventually I’ve given up and restored a nandroid backup. I have tried this twice now, both times with the same result.

Any ideas or suggestions you have would be gratefully received.
[Galaxy S I9000 Android Development] Tayutama:
Should work alone.

Which ext* are you using?
[Galaxy S I9000 Android Development] Cbtg2005:
I'm using the ext4 version.

Thanks.
[Galaxy S I9000 Android Development] mcx6:
The same thing with my uninstall of this lag fix I was using ext4 also. Could you please let me know if the original update zip is needed for the removal of this fix, because I had deleted it from the internal sd?
[Galaxy S I9000 Android Development] winstead:
noob rant

I dont understand everything that is being said lol but i can do and understand updates i believe, this one is supposed to reduce lag correct? well it worked just fine and i believe made the whole phone faster, ex loading between aps, i previously installed the update which included superuser, that app is still on there, wanted, but doesnt have orig pic, no big deal, anyway installed this update kudos guys.

sgh-I897

2.1 update1

I897ucjf6

2.6.29

eclair
[Galaxy S I9000 Android Development] cjhavens:
Works excellent on I897UCJF6 (Stock Rom)

Just installed this on my Captivate. I was totally disappointed with the speed of this phone as my wife has the IPhone which is MUCH MUCH faster than this phone stock. After installing this fix, I can't believe the speed difference! This is the phone I wish I always had!

Thank you soooo much for the great work!

FYI: My phone was already rooted, which I assume this patch voided and re-rooted using it's own capability.
[Galaxy S I9000 Android Development] krishkanth787:
Works

I just installed it on my Samsung Galaxy-S running stock Android 2.1 firmware I90000DDJG4. I used the ext2 partition and it installed fine. After i tested in Quadrant Standard and got a score of 2276 !!! But i didnt notice any major improvements during normal use. Okay the speed improved but only by a little margin and i was disappointed.

Now, i have a few questions

1) Can i remove the lagfix without any errors?

2) Otherwise can i move it to ext4 partition?

3) My internal available memory has gone from 1.4 GB to 613 MB. What to do now?

Please help
[Galaxy S I9000 Android Development] fakekullu:
Hey Tayatuma, first off all I'd like to thank you for this awesome lagfix which I have been using on my JM5. My queastion is whether this lagfix will work with the latest Froyo releases (JPC / JPH etc.)?
[Galaxy S I9000 Android Development] Cbtg2005:
OK, so I got this sorted. Flashed via ODIN - that removed the lag fix ;)

Now running JM8 w/ Voodoo Lagfix, the results are impressive.
[Galaxy S I9000 Android Development] ZooCow:
I am having the same issue. Has anyone found a solution?
[Galaxy S I9000 Android Development] Kagoshema:
im having the same uninstall problems, i want to try the ota update for the captivate but i cant find a way to remove lagfix without a reflash, which i dont want to do
[Galaxy S I9000 Android Development] Troy The Great:
Not Working :(

I cant get to the boot screen. I can get to like a clear cache/wipe phone screen by holding both volume buttons, but I cant get it to work with vol up+home+power button. It just boots normal. help please!!!
[Galaxy S I9000 Android Development] dupel:
Why are you still using it?

Maybe this thread even can be closed (since its unnecessary and pretty much dead now).
[Galaxy S I9000 Android Development] Troy The Great:
What do you mean "using it"? is there a more current one available?
[Galaxy S I9000 Android Development] bullinthechinashop:
I'm not interested in benchmarks. Will this make my phone's real world performance any better?
[Galaxy S I9000 Android Development] dupel:
Have you looked at title of this topic?
[Galaxy S I9000 Android Development] nour74:
i can use it for samsung i 500 take out the many attpem
[Galaxy S I9000 Android Development] DavidX_07:
Not working on I9000XWJM1 NEW + Doc's StockRomMod V3 for me :(

In point 8, SL4A show me ForceClose
[Galaxy S I9000 Android Development] Tayutama:
Did you use v2.3.0 or v2.3.1?
[Galaxy S I9000 Android Development] Zilch25:
Manually removed old sl4a... new one isn't showing up in the program list
[Galaxy S I9000 Android Development] hiyan:
Error trying to downlaod

I'm getting this error... anyone else?

Invalid Attachment specified. If you followed a valid link, please notify the administrator

EDIT: Nevermind. Got it now. :p
[Galaxy S I9000 Android Development] Methyldioxide:
Please add the option to use a external sd for the ext2/4 filesystem. Nice work dude!
[Galaxy S I9000 Android Development] Tayutama:
Manually removed sl4a_r1 here also and pushed the old version to /system/app... didn't show up... went into root explorer and installed it that way and said yes to overwrite other installation... shows up now and no FC here when running a script
[Galaxy S I9000 Android Development] Zilch25:
Okay well if thats the case I'll purge my phone one more time and give it a shot fresh... might just be fubar from the last failure
[Galaxy S I9000 Android Development] DavidX_07:
v2.3.1 I used
[Galaxy S I9000 Android Development] Zilch25:
Just did a full wipe, and reinstalled 2.3.1, the correct version of SL4A comes up but I'm still getting FCs =/
[Galaxy S I9000 Android Development] Tayutama:
Wth... it worked for you yesteday without a problem
[Galaxy S I9000 Android Development] Zilch25:
Don't know... it only crashes once you select the script... so maybe there's something there it doesn't like?
[Galaxy S I9000 Android Development] Tayutama:
Explain why it works for me then... :(

Anyway flashing I9000XXJM1 and testing
[Galaxy S I9000 Android Development] Zilch25:
I don't know if this helps, but I arbitrarily grabbed one of the known working scripts from yesterday and dropped it into the folder on the SD... still crashed
[Galaxy S I9000 Android Development] Tayutama:
Removing links to files till i get this sorted... damn weird that it begins today with that error :(
[Galaxy S I9000 Android Development] mkleijer:
Newb question:

I got my device rooted and older versions of Busybox and Superuser installed. Should i upgrade them individually and install the noroot.zip or should i just go for the root.zip? i.e. will the root.zip overwrite the older versions without any problems?
[Galaxy S I9000 Android Development] Tayutama:
If you are already rooted then use the noroot version since there can be problems with overwriting your current root files.

But working on fixing a problem atm so links are down though i think i know what is wrong now
[Galaxy S I9000 Android Development] mkleijer:
Ye i saw that, take your time.

But this this fix work with Busybox 1.18?