yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] scooterman:
Installed 2-3 everything went smooth no issues other than i had to reload a few widgets on the home page.

but, i don't notice a difference, the phone was so fast anyway i cant tell. Quadrant was 2302 w/ rooted phone on stock rom.

One thing i noticed is the I/O tests are 20x faster than before i feel like its not even doing the test, seems something is going wrong and its inflating the scores. Is there anyway we could tell if this is true or not?
[Galaxy S I9000 Android Development] FadeFx:
Tayutama

u c what i mean? Obviously everything was ok for this Guy, except the phone showing very low space for apps,

which is not true in any way.
[Galaxy S I9000 Android Development] Hobbsee:
I didn't, but some people are talking about either losing apps mid-fix, or flashing firmware first as recommended (and losing apps then), before applying the fix.
[Galaxy S I9000 Android Development] EarlZ:
I recently flashed to JM5 and applied this lag fix even though my unit does not have any lag and i seem to notice the battery drop so fast.. was just doing a general use on the phone and in 2mins i lost 2% ( from a full charge ) I don have many applications installed yet so it could be this lagfix or my battery stats is borked.. would uninstalling this lagfix render my current installed applications broken ?

EDIT:

ran the unlagme

i got this:

Then it said something like script completed now rebooting phone...

is this expected/normal ?
[Galaxy S I9000 Android Development] iqbalbaskara:
updated from lagfix 1.0 to 2.3.

on stock firmware ( TGYJH1 )

Quadrant score dropped from around 2100 (lagfix v.1) to around 1600 (v.2.3).

a couple of errors ( concerning launcher pro and beautiful widget) after the first boot.

rebooted and goes smoothly up until now, will report if I see any more errors.

EDIT: *WOOT* jumped back to 2255 after a while!
[Galaxy S I9000 Android Development] wayne_zmh:
Great!!! Doing now, hope nothing goes wrong!
[Galaxy S I9000 Android Development] wayne_zmh:
Fabulous!!! Bentchmark score 2121!!!

One problem here. I can't use Kies anymore. Kies won't detect my SGS even I choose Kies USB setting. When I choose Massive Storage in USB setting, my windows 7 detects SGS as massive storage, but I can't see it under my computer. I do see 2 extra drive in disk manager, but says no media.

Anyone can help me?
[Galaxy S I9000 Android Development] TheFinality:
I changed my mind... While the lag is a lot better its still there. Does 1.8 fix this?
[Galaxy S I9000 Android Development] anndalis:
I Need to do " factory reset " for my device. Will I lose the lag fix this way? Should I do un-lag before reset the device?

Thanks.
[Galaxy S I9000 Android Development] AlCanDrive55:
After using this I no longer get a boot animation. What did I do wrong and how can I fix this?
[Galaxy S I9000 Android Development] bonobo78:
I did a removefix then reinstall some of my previous apps or widget.

Then i ran lagfix_ext2. Bad decision, instead of simply remove apps, this time i lost all settings from the phone, even google account, just like a fresh new device.

I know this script have been given «as is» but i'm really desapointed of the lack of support.

We are a couple of guys in this situation.

Do you have any clue of what could have happen.

It seems that the script is not doing sufficient controls after each statement execution.

If the backup of data is not functionning the script goes on deleting original data.

Anyway, this is not a big deal, apps can be reinstalled and retuned, but when i run a Quadrant full bench i get a poor 800 !!

Disapointed, that is the word.
[Galaxy S I9000 Android Development] eLLuSioNiST:
why do i still get 884 on benchmark!! i dont get the 2000 thingy like u guys!!
[Galaxy S I9000 Android Development] androidfreak:
I am have alot of issues all of a sudden. ran the lagfix.bat file about about a week ago. everything was great. worked perfect benchmark at about 2160. loved it. finally decided to flash Vibrant6 from eugene373. did a wipe flashed the file came up great. lost the lag fix. figured it was because of the wipe. check the storage and it is still at 543 like it was before. so I ran the unlagfixme.bat file and got this

===============================================================

===============================================================

One Click Lag Fix for Galaxy S I9000

===============================================================

===============================================================

__________________________________________________________

Pushing required files to /sdcard This is internal SD Card Please wait.

* daemon not running. starting it now *

* daemon started successfully *

50 KB/s (515 bytes in 0.010s)

Now running remove lag fix. On your device, select allow root privledges!"

Removing symlinks

rm: /data/data: is a directory

rm: /data/system: is a directory

rm: /data/dalvik-cache: is a directory

Copying data back from EXT2 to RFS

Removing datafile

rm: can't remove '/data/linux.ex2': No such file or directory

Removing auto boot support

mv: can't rename '/system/bin/playlogosnow': No such file or directory

All done! Rebooting device so that the EXT2 Loopback device is freed.

Script complete!

* server not running *

Press any key to continue . . .

Phone reboots but memory is still at 543. I can't run lagfixme.bat it errors out too. I'm so lost. All benchmarks are back at 900. Im lost at this point. I removes the createlagfix.sh, userinit.sh, playlogos1, removelagfix.sh files.. thinking that it was getting a conflict from an existing file.. still failed. put them back in still failed.

anyone got any ideas? do I need to run a full wipe again and reinstall the vibrant6 rom then run the lag fix. did it not clear something correctly?
[Galaxy S I9000 Android Development] b0ricuaguerrero:
these are my results

how would i get rid of these .bak files from root manager apk
[Galaxy S I9000 Android Development] RyanZA:
If there is no error, then it is still copying. It could take a huge amount of time if you have 1GB of tiny files. I don't know how long though.
[Galaxy S I9000 Android Development] thebazman:
just done the unlagfix v2 and when phone rebooted i lost 2 pages of apps and it went back to how it was with jm5 (the first page with stock apps) no launcher pro

not a problem as i have them on sd card

i guess thats why we need testers

will wait for your update 2moro

cheers again guys:)

regards
[Galaxy S I9000 Android Development] zerocoolspain:
Do I need to flash again? I have the V1. Would it be to uninstall and put the V2? Might I lose the installed applications? Might I have problems with them?
[Galaxy S I9000 Android Development] NeoXTC:
ok did this fix. Had to remove the bak files manually cos got the early version :)

anyway things I lost was widgets I had on my dxtop. Just had to put the widgets back on homescreen again. From reading a few other post some people are losing widgets as well?

Anyway phone is still snappy :)

Using JM5
[Galaxy S I9000 Android Development] kennethpenn:
I should've noted I was testing on the new JH2 firmware for the Captivate with "Bugless Beast for Captivate" utility flashed.

Didn't software brick. Rebooted up alright. Lost all of my apps+data except stock apps. Bugless Beast modifications still on phone (so all AT&T apps removed).

Kept getting mount: invalid argument.
[Galaxy S I9000 Android Development] hcarrega:
just uninstall v1 with unlagfix
[Galaxy S I9000 Android Development] RyanZA:
Might be a good idea to close all running apps, and remove all widgets before running this fix. That or wait for a new version with bug fixes. :D

Anyway, I have to go for now. I'll try get as many bug fixes done as possible tomorrow. In the meantime, have fun testing! ;)
[Galaxy S I9000 Android Development] hcarrega:
c u tomorrow
[Galaxy S I9000 Android Development] DvTonder:
This is prob not the spot to ask this but how long should the ODIN repartition take before I start seeing the reflash happening? Have been sitting on "Set PIT File, DO NOT TURN OFF TARGET" for 10+ minutes. Worried that my reflashing is somehow not working.

Also, to recover from this fix, do I need to do a repartition or will a normal reflash do the job?
[Galaxy S I9000 Android Development] RyanZA:
Normal flash will do it. Sounds like something has gone wrong though.

I'd recommend:

Unplug phone, pull out battery.

Reboot PC.

Put phone into download mode, but don't plug it back in.

Start up odin and put in the settings.

Plug the phone in now, wait 3 seconds, hit start.

This procedure has never failed me. (I've done it a lot) :D
[Galaxy S I9000 Android Development] aeo087:
I think closing all apps and disabling widgets is essential... My screen went blank and then rebooted with the stock firmware data and internal memory full :(

I'll retry disabling everything.
[Galaxy S I9000 Android Development] DvTonder:
Flashing now, thank you.

Am wondering, would a nandroid restore fix it (i.e. revert my phone to prior state?)
[Galaxy S I9000 Android Development] shaunm1989:
im running JG8, did the unlagfix from 1.0 then ran 2.0 lag fix, widgets all had errors reloaded them all and its fine, apps install alot faster and quadrant is on 2200

very happy thankyou gents!
[Galaxy S I9000 Android Development] Astug:
Everything went perfect. Quadrant score; 2156! It was 950 before :O

I'm using JM2.

Thanks so much man!

Though, is it normal that without any apps installed my phone says the storage for apps is 1.66gb/1.87gb filled.. :o
[Galaxy S I9000 Android Development] Zilch25:
Here's the edited createlagfix.sh that only creates a 1.5GB chunk, it got rid of the low space message and I'm able to download from the market again!

Also this neglected to cleanup the 1.5G file on the interal SD (No doubt due to my amateur edits), I had to do it manually. Everything else seems to be running great though
[Galaxy S I9000 Android Development] zerocoolspain:
thanks!:D:D:D
[Galaxy S I9000 Android Development] kennethpenn:
Ahhh! Just re-tried with stock JH2 right before I could've grabbed that new sh from you. :P
[Galaxy S I9000 Android Development] E_man5112:
Ok, well, I'm reinstalling 2.0 now, after unlagfixme.bat I get this message though, got it last time, but thought nothing of it

Device size reported to be zero, invalid partition and mount: Invalid argument have me worried.
[Galaxy S I9000 Android Development] Tayutama:
There will be a update.zip out for Eclair builds when i get up from bed. Got one made just need to test it now.

Froyo version of the zip will follow shortly after the Eclair one gets released.
[Galaxy S I9000 Android Development] iqbalbaskara:
After a day I have to say that I feel the v.1 of the lagfix made my SGS faster compared to lagfix v2.3.

The quadrant score after v.2.3 is similar, even higher at times, but in real life usage I definitely feel it's slower than when I use v.1. It even stuttered when opening some apps.

Still faster than stock though.

www.iqbalaribaskara.com | Sent from my GR-I9000 using XDA app.
[Galaxy S I9000 Android Development] m3ta1head:
Flashed to a fresh ROM and ran fix 2-3 on my Vibrant. Worked perfectly, more stable than v1.
[Galaxy S I9000 Android Development] dripke:
Failed to copy ...

Any idea what's the problem? My phone is rooted, so that's no problem.

Also I gave permission.

===============================================================
===============================================================
One Click Lag Fix for Galaxy S I9000
===============================================================
===============================================================
__________________________________________________________
Pushing required files to /sdcard - Please wait.
* daemon not running. starting it now *
* daemon started successfully *
mkdir failed for /sdcard/lagfixtemp, Permission denied
failed to copy 'createlagfix.txt' to '/sdcard/lagfixtemp/createlagfix.sh': Permi
ssion denied
failed to copy 'playlogos1' to '/sdcard/lagfixtemp/playlogos1': Permission denie
d
failed to copy 'userinit.sh' to '/sdcard/lagfixtemp/userinit.sh': Permission den
ied
failed to copy 'busybox' to '/sdcard/lagfixtemp/busybox': Permission denied
failed to copy 'e2fsck' to '/sdcard/lagfixtemp/e2fsck': Permission denied
failed to copy 'libext2_blkid.so' to '/sdcard/lagfixtemp/libext2_blkid.so': Perm
ission denied
failed to copy 'libext2_com_err.so' to '/sdcard/lagfixtemp/libext2_com_err.so':
Permission denied
failed to copy 'libext2_e2p.so' to '/sdcard/lagfixtemp/libext2_e2p.so': Permissi
on denied
failed to copy 'libext2_profile.so' to '/sdcard/lagfixtemp/libext2_profile.so':
Permission denied
failed to copy 'libext2_uuid.so' to '/sdcard/lagfixtemp/libext2_uuid.so': Permis
sion denied
failed to copy 'libext2fs.so' to '/sdcard/lagfixtemp/libext2fs.so': Permission d
enied
failed to copy 'mke2fs' to '/sdcard/lagfixtemp/mke2fs': Permission denied
failed to copy 'resize2fs' to '/sdcard/lagfixtemp/resize2fs': Permission denied
failed to copy 'tune2fs' to '/sdcard/lagfixtemp/tune2fs': Permission denied
Now running lag fix. On your device, select allow root privledges!"
/system/bin/sh: Can't open /sdcard/lagfixtemp/createlagfix.sh
Script complete!
[Galaxy S I9000 Android Development] sturmeh:
You probably had the USB Mass Storage mounted whilst trying to do this.

The phone needs access to the internal sdcard to apply this lagfix.
[Galaxy S I9000 Android Development] dripke:
I thought I had put it on the internal SDcard.

And yes, I had the USB mass torage mounted, but I don't got a external SDcard in my SGS. How do I put the files on the internal? How do I get into the internal?
[Galaxy S I9000 Android Development] distortedloop:
Why are you monkeying around with this if you don't have lag to begin with? Just curious? Chasing after the high Quadrant scores...? ;)

I don't think the "safety" of this method has been fully determined in terms of data corruption, or at least not everyone is convinced that it's safe. I'm not sure it's worth the risk if your phone performs respectably without the fix.

I also think that if you're worried about the Quadrant scores all you're seeing is that the WRITES to the databases are sped up because of cacheing/multithreading. Some are saying that you're effectively cheating the Quadarant score without any real performance improvement - but I disagree, the performance improvement is obvious to the naked eye.
[Galaxy S I9000 Android Development] distortedloop:
DO NOT MOUNT THE STORAGE VIA USB. The adb commands have access to the internal sdcard UNLESS you mount it. If you can see the phone's storage in Windows Exlporer or Mac File Manager, you're doing it wrong.
[Galaxy S I9000 Android Development] dripke:
But how dot you put the files on the internel SDcard if you are not allowed to mount? You just have to launch the lagfix.bat file from your desktop?
[Galaxy S I9000 Android Development] sturmeh:
You do not need to put anything on your sd card, the lagfix.bat will copy them to your sd for you.

Just enable USB Debugging on your phone and plug it in, do NOT mount USB Mass Storage from the phone.

Then try running the lagfix.bat from the Desktop or wherever.
[Galaxy S I9000 Android Development] distortedloop:
Right. The batch file and the scripts it runs should put all the files that are needed in their proper place without user intervention.

Hook the phone up to the computer, DO NOT enable USB Storage mode. Run the batch file. It should work.

My only concern is you seem confused just enough to indicate that you might not have the skills to get yourself out of trouble if something does go wrong...

Good thing is a factory wipe/reset and reflash of the firmware from Odin will almost always get you out of trouble.

Also, PLEASE PLEASE PLEASE get the Clockwork Rom Manager from the Market, install it, run it, the run a nandroid backup of the phone before you do any of this. Doing that you will be able to get your phone right back to the exact same state it was in before you started any of this in case something goes wrong.

Good luck!
[Galaxy S I9000 Android Development] jlaval:
Maybe it's due to the order I do the mod? Here is what I did:

1. ODIN stock ROM

2. root

3. flashed vibrant6

4. restore apps+data w/ Titanium

5. lagfix

6. OCv3 kernel

maybe I should lagfix before 4?

thx
[Galaxy S I9000 Android Development] stluciasound:
Hei Ryan,

Already tried your newer version (2-3), but it seems slower on Quadrant test than your first lagfix, and I couldn't change my font. Hope you can fix this.
[Galaxy S I9000 Android Development] zimphishmonger:
Has anyone run into the following error. I just redid everything on my phone, and for some reason every "lagfix" gives the following error. No idea why, but its common throughout the various fixes.

mount: mounting /data/ext2data/data on /data/data failed: No such file or direct
ory
mount: mounting /data/ext2data/system on /data/system failed: No such file or di
rectory
mount: mounting /data/ext2data/dalvik-cache on /data/dalvik-cache failed: No suc
h file or directory
#

Thanks for your help! Had no issues the 1st time, but for whatever reason the ext2data refuses to bind mount as data, system, and dalvik. Tried Busybox 1.17.1 and 1.18
[Galaxy S I9000 Android Development] mdalacu:
Kies

Hi, i have a problem connecting my phone through Kies, the devices it's not recognized after i have applied the 2.3 fix.

Is there a way to connect it other than unlagfixme.bat ? (have not tested it)

I know this was asked several times before but i couldn't find any answer.

Thank you.

Update: Reading other thread i found that one of the problem could be LauncherPro, and Kies is working only when TW3 is active. I will test it and report back.

Update 2: No, it doesn't work. Help please!
[Galaxy S I9000 Android Development] networkdood:
2nd working lagfix for me

Quadrant score around 1750 with very little lag - I am tempted to use setCPU with this, but that has too many issues. Seems to not boot the galaxy logo after rebooting, but I will double check this. Love the galaxy s boot up and sound, so if it is not, please have an alternate file, like 2.3a, to include it. Thanks a bunch, dude!!
[Galaxy S I9000 Android Development] PhilAd:
I have installed this fix after a reflash. I habe already used this before.

This time I went afk for any reason after starting the script. When I came back I saw that the script finished as "complete" after pushing the files to the phone, because I didn't accept root rights.

After that I started the uninstall script before starting the install script again. Everything seemed to be ok. After installing some apps I restarted my phone and I had a black screen instead of the Animated S logo, but I heared the sound. My SGS is now lagging sometimes and Quandrant has 1800 pts instead of 2300 pts like before. Is that because I have used the uninstall script before? Can I fix it without reflashing it?

regards

philad
[Galaxy S I9000 Android Development] rafalense:
Lag Fix 2.3 on ECLAIR.XWJM5: 2280

Like a charm!

Thanks!
[Galaxy S I9000 Android Development] zandalar:
@OGC313: be sure you've got it rooted!

My score with V2-3 is 2307! ;)
[Galaxy S I9000 Android Development] jlaval:
My available memory for apps goes down by the minute, lost 80MB today down to 180MB...it might not be "true" but the low memory alert is annoying.
[Galaxy S I9000 Android Development] cba1986:
Can the Fixlag interfearing with GPS reception?

I recently flashed JM6 FW went out and test it and get 8+ satellite fix (stable with no dropping) but after the lagfix(and wiping GPS data) i'm only get 4 satellite(jumping everywhere). Tested Outside and with WIFI off.

:confused:

I reflashed to see if this was a coincidence and i get the same results.
[Galaxy S I9000 Android Development] isyj90:
thx ryanza!

got 2161 from quadrant on my SGS~!
[Galaxy S I9000 Android Development] Adevem:
do report back!
[Galaxy S I9000 Android Development] maximus007:
Hi Ryan,

I installed v2-3 directly after first using and then uninstalling v1.4 of the OCLF apk. Installation seems to have gone smoothly, other than a few widgets needing to be readded to the home screen, and Quadrant scores are up about 10%, but paid apps don't install ("download unsuccessful".

Any ideas? I know it says that this is a known issue in your FAQ, but I thought according to the above that it should be fixed?
[Galaxy S I9000 Android Development] polygonwood:
app-private issue

The createlagfix.bat is indeed changed to create a logical link for the app-private directory. The userinit.sh script though is still written to mount it. I suggest to fix the userinit.sh, to reboot and to try if this solves the issue.
[Galaxy S I9000 Android Development] RyanZA:
Naw, it just errors out (or should) because the symlink is already there.
[Galaxy S I9000 Android Development] networkdood:
Hey, RYAN, I have a question for you:

I ran the bat file to undo the lagfix and it tells me that there is nothing to delete and yet my phone still flies with QUADRANT program. If I wipe the internal memory/SD will it delete the lagfix automatically?? I believe it should but I just wanted to double check with you. I figured it would since an actual partition was never created on the internal SD card. Thanks, in advance.
[Galaxy S I9000 Android Development] sprucas:
what's the difference?

i tried portman0's post from modaco - http://android.modaco.com/content/samsung-galaxy-s-s-modaco-com/315464/new-very-fast-lag-fix-using-internal-memory-and-playlogo1-hack/

adb shell

su

busybox dd if=/dev/zero of=/data/dataimg bs=1024 count=1048576
busybox mknod /dev/loop0 b 7 0
busybox losetup /dev/loop0 /data/dataimg
busybox mkfs.ext2 /dev/loop0
mkdir /data/data1

busybox mount -o remount,rw -t rootfs /
mv /system/bin/playlogos1 /system/bin/playlogosnow
cp /sdcard/playlogos1 /system/bin/playlogos1
cp /sdcard/userinit.sh /system/bin/userinit.sh
chmod 755 /system/bin/playlogos1
chmod 755 /system/bin/userinit.sh
busybox mount -o remount,ro -t rootfs /

reboot

and now i have tried OCLF

I feel that portman0's fix is faster than OCLF

i'm getting black screens, app lag with OCLF and i maybe got one with portman0's

what is the difference? i think the only difference is the BS

i have flashed the phone in between OCLF and portman0's fix - so there is no hangovers between the two

any ideas?

sprucas
[Galaxy S I9000 Android Development] maximus007:
polygonwood, thanks for your response. How do I "fix" the userinit.sh? Is it a permissions issue?
[Galaxy S I9000 Android Development] joel.bourquard:
Some TitaniumBackup users are seeing intermittent non-detection of SQLite on their i9000.

I know it sounds far-fetched but could this anti-lag ext2 layer be somehow related to that ?

(I'm not subscribed to this thread. If somebody tried with and without the lag fix, please e-mail me )

Thanks!
[Galaxy S I9000 Android Development] Ateisti:
Tried to apply the fix by copying the files to the SD and running the script manually via terminal emulator. Got to the line:

echo "Copying data across. This could take a bit of time.";

...after which the emulator closed and I got the message "The application Superuser (process com.noshufou.android.su) has stopped unexpectedly. Please try again."

Naturally f*ked up the file system and made all the installed applications disappear.

Any idea what went wrong? Running rooted stock JM2 with the latest busybox installed from the market. Didn't have the SD mounted while installing.