yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] normpang:
thank you very much for the lag fix; using the update.zip was very easy

just a couple of questions:

1. I've previously used the MCR scripts - what is the difference with the sl4a ones?

2. how do I use nandroid for backups? would I replace the update.zip?

cheers,

Norm
[Galaxy S I9000 Android Development] appelflap:
Question: I had to reflash my device because it didn't boot anymore (experimented with a driver). Did this removed the fix completely or do I have to run a de-install script to remove it also from my internal SD card? Or can I just format the internal SD card?

Thanks
[Galaxy S I9000 Android Development] RyanZA:
Reflash will remove it completely. Flash overwrites everything in /data
[Galaxy S I9000 Android Development] stoneyfordni:
the reflash will have wiped it so you will have to try again

i just redone mine with JM5 firmware but with a different csc file. must say it seems to have worked ok , quadrant score are up over 2000 again and no crashing tho the alarm clock issue still stands

any ideas ?
[Galaxy S I9000 Android Development] s3gfault:
Quadrant score went from 888 to 2156 and the difference is obvious. Thanks RyanZA! i think you can remove the Alpha tag, heh.
[Galaxy S I9000 Android Development] frankencat:
Forgive me if this is a noob'r dev question but I am just starting to get into the nuts and bolts of this.

So for LagFix1024.sh basically we would do this...?

#!/system/bin/sh
if [ "$(/system/xbin/busybox id -u)" == "0" ]; then
clear
echo "Creating 1GB file to store data inside. This could take a long time..."
busybox dd if=/dev/zero of=/data/linux.ex2 bs=1024 count=1048576 seek=1000
echo "Creating loopback, you may see an error that it already exists. Ignore that error."
busybox mknod /dev/loop0 b 7 0
echo "Linking loopback to the 1GB file store"
busybox losetup /dev/loop0 /data/linux.ex2
echo "Creating the EXT2 filesystem"
busybox mkfs.ext2 -b 4096 /dev/loop0
echo "Creating a mountpoint for files, you may see an error that it already exists. Ignore that error."
mkdir /data/ext2data
echo "Mounting device"
mount -t ext2 -o noatime,nodiratime,errors=continue /dev/loop0 /data/ext2data
echo "Copying data across"
busybox cp -rp /data/data /data/ext2data/
busybox cp -rp /data/system /data/ext2data/
busybox cp -rp /data/dalvik-cache /data/ext2data/
echo "Clearing out any old backups, ignore any errors"
busybox rm -rf /data/data.bak
busybox rm -rf /data/system.bak
busybox rm -rf /data/dalvik-cache.bak
echo "Backing up old data"
busybox mv /data/data /data/data.bak
busybox mv /data/system /data/system.bak
busybox mv /data/dalvik-cache /data/dalvik-cache.bak
echo "Linking to fast ext2"
busybox ln -s /data/ext2data/data /data/data
busybox ln -s /data/ext2data/system /data/system
busybox ln -s /data/ext2data/dalvik-cache /data/dalvik-cache
echo "Now setting up reboot support"
echo "Moving boot animation"
busybox mv /system/bin/playlogos1 /system/bin/playlogosnow
echo "Copying over init scripts"
busybox cp /sdcard/ase/resources/playlogos1 /system/bin/playlogos1
busybox cp /sdcard/ase/resources/userinit.sh /system/bin/userinit.sh
echo "Setting up permissions"
busybox chmod 755 /system/bin/playlogos1
busybox chmod 755 /system/bin/userinit.sh
echo "All Complete!"
else
echo -e "Getting root privileges\n"
su<$0
fi

And just run it from the root of the package?

Could probably move the playlogos1 and userinit.sh as well but it looks like it would work as-is. Would have to change the RemoveFix.sh as well. Am I close?

P.S. Also, what is the "count=1048576 " in there for? I mean I know what it is but it's not in the original RyanZA script and I was wondering what difference it makes. Is it supposed to help speed up the creation of the 1GB file or something like that? Thanks :)
[Galaxy S I9000 Android Development] WhatZitTooya:
Hm, i think i forgot something?!

USB Debugging enabled.

When run SL4A and LagFix1024 it force closes :(

JM5
[Galaxy S I9000 Android Development] appelflap:
Thanks! .
[Galaxy S I9000 Android Development] darksaber73:
After doing the fix are programs like titanium backup or mybackup pro still able to make complete and working backups?
[Galaxy S I9000 Android Development] RyanZA:
What is the alarm clock issue? I must have missed it...
[Galaxy S I9000 Android Development] RyanZA:
I'm loving this phone for modding though! You can beat it senseless and it just comes back for more! :D If you delete a folder in /data, like /data/data and reboot the phone, it actually recreates the /data/data from the stock firmware image it has flashed. So it's actually a quick way to reflash your device! :D I was wondering how people without the right busybox weren't having to reflash, and it is because of this.
[Galaxy S I9000 Android Development] lex_87:
Haha nice! :D

Are you still working on a version 2 (so to speak) of your lag fix?
[Galaxy S I9000 Android Development] 348:
Great fix, but I'm using JP3 at the moment. Do you have any idea when this fix will be updated to work on JP3?
[Galaxy S I9000 Android Development] jonohanson:
Ahh I see now, thats why when I installed more programs the data usage still went up, but that was the apk's, is there anyway to get the apk files to save anywhere else? Like when I download apk's off here and just put them on sd?

Cheers
[Galaxy S I9000 Android Development] RyanZA:
Yeah, I'm doing a fair bit of reflashing trying to find the best ways of doing things. What I just found out, that will make this much less painless if it really works properly, is that RFS does not block files from being deleted out from under it. This is kinda crazy, but it seems to work. :D

I'm also gonna include everything in beta 2, so you won't have to worry about busybox or anything. e2fsck as a binary too, since the busybox guy hasn't come through yet. :(
[Galaxy S I9000 Android Development] Narcissus85:
thanks for this great utility! :)

just a question...when i completed the lagfix i see new files into the internal memory of sgs:

busybox

newsImage

createlagfis.sh

userinit.sh

playlogos1

what are those files? can i delete it?

thanks

ivan
[Galaxy S I9000 Android Development] RyanZA:
The script fix in the OP works on every available firmware, so you could try that. It will be awhile before an update.zip fix will work there.
[Galaxy S I9000 Android Development] frankencat:
I just meant to move them into a different folder - i.e. not "ase/" folder. Doesn't really matter though, as long as they are accessible from the script. Thanks for the clarification.

Just rolled back to stock ROM and I am flashing your update.zip version now.
[Galaxy S I9000 Android Development] frankencat:
BTW, can we flash this from clockwork recovery?
[Galaxy S I9000 Android Development] stickyasglue:
Heym

my power died when i was applying and no my phone boot loops...

any ideas?
[Galaxy S I9000 Android Development] stoneyfordni:
it wont save an alarm programmed into the stock clock , it says once you save your settings , your alarm will activate in 7hours etc like it always did but its not listed in the alarms listing
[Galaxy S I9000 Android Development] Tayutama:
Sure you can move those that are in ase/resources since those that it runs are located in /system/bin

Can't see why not just make sure that clockwork recovery is update.zip and my update.zip's are called something else.

Try and see if you can get into recovery and do a factory reset.

Either by booting phone and holding down Vol up + Home + Power

or through adb with: adb reboot recovery
[Galaxy S I9000 Android Development] nanolite:
This was the first sentence in this thread. Might help you out.
[Galaxy S I9000 Android Development] frankencat:
Full instructions:

1. The update.zip installs all the files needed. It is attached here; http://xdaforums.com/atta...2&d=1281390347

2. Place it on your internal sdcard

3. Turn off your phone.

4. Hold down Up+powerbutton+Menubutton 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. It installs root, correct busybox (1.17.1) as well as all the scripts needed for the fix and the 'MCR Scripts' app to run the scripts. (NOTE: This version does not install superuser.app which is needed, although the beta update.zip does, so read 'requirements' above if needed)

8. After install, the phone restarts.

9. Go to the newly installed 'MCR Scripts' application from the app list, open it and choose from 3 scripts. For example, Lagfix10024 is the 1gb ex2 version.

10. The script should run and take a few minutes.

11. You should see an 'all complete' prompt, and this means you can close the application.

12. Run quadrant to test if the fix was applied.

Not seeing any "MCR Scripts" in applications but I do see the script in the ase/ folder. Can I just run the script in terminal?

Edit: Too impatient, running from terminal....
[Galaxy S I9000 Android Development] Tayutama:
Weird that you don't see them. You could try to use the new update.zip's i posted a bit back... need to get RyanZA to link to those...
[Galaxy S I9000 Android Development] Uss_Defiant:
Hey guys, after usning the update.zip method my phone turned off and loads up wth the Samsung logo.. but then stops but the bottom lights stay on.

I've tried reflashing but the problem aways occurs... after reflashing a blue screen wih "samsung Recovery Utils" pops up and has yellow saying "update media please wait" followed by some stuff ending with "Cant mount SDCARD:"

"you storage is not prepared yet, please use UI me nu for format and reboot actions"

When i reboot, it only loads up to the samsung logo, then goes blank.. any ideas?
[Galaxy S I9000 Android Development] °Dexter°:
With the latest update.zip i can't reboot...it hard resets everytime i do (annoying indeed,and i cannot change wallpaper too).

Could it be a problem if i undo the fix before every reboot? not so smart,but while i wait for a solution... :D
[Galaxy S I9000 Android Development] br549times:
Works on Samsung Captivate

I just tried it and got it to work on a Samsung Captivate. Quadrant was 2276!!

Wifi and all is working fine.

Oh yeah, the script fails to run if USB mount is mounted in Windows as drive letter. ADB can't access the internal /sdcard directory. On the phone, turn off USB mount of the sdcard.

I used the original zip file not the update.zip.

D
[Galaxy S I9000 Android Development] luvbug1977:
I downloaded from that link about an hour ago and it worked fine. After rebooting, went to my apps drawer, and MCR Scripts was there. Ran it; I chose the 512 script.

This worked smoothly, if you follow the instructions and run the MCR Scripts app! I was getting the errors others reported when trying to do the one-click way with RyanZA.apk.

BEFORE Quadrant benchmark = ~820

AFTER = ~2256

You can tell it worked when you run Quadrant after implementing and it zips right through the I/O tests. Seriously...if you blink, you'll miss it.

I haven't noticed any more lag, especially when using a browser (Dolphin HD) and a page is loading.

MUCH THANKS to Tayutama and the other devs! You guys rock.
[Galaxy S I9000 Android Development] frankencat:
Seems to have worked, I went from a Quadrant score of 853 with the stick ROM to 950 with Paul's original lag fix to 2251 with this fix. Wow! Now I need to run it for a couple of days and see how it works in the real world. Paul's fix was smooth and reliable, hopefully this will will be as well. Thanks! :)

BTW, the .apk never got copied or installed on my phone via the update zip so I just ran the LagFix1024.sh in the Terminal app. I have ADW installed and everything else was stock at that point.
[Galaxy S I9000 Android Development] Tayutama:
Ill try and see what i can do about this but didn't have that problem myself.

Also the undo fix requires you to reboot the phone before it does it in the latest update.zip.
[Galaxy S I9000 Android Development] Tayutama:
Glad you got it working though the new update.zip doesn't use MCR Scripts ;) It uses sl4a which is what the new project is called where the old was called ASE (MCR Scripts)
[Galaxy S I9000 Android Development] frankencat:
Where is the new update.zip? I would like to check it out. I d/l'd the one from your original post #417.
[Galaxy S I9000 Android Development] xmonkee:
Just used Ryan's method after removing mimocan. Phone works GREAT. Never even felt close to this fast. Installed over JG5 with quadrant 2106.

A huge heartfelt thanks to ykk_five, Ryan, mimocan, and all the developers. You guys rock!
[Galaxy S I9000 Android Development] Tayutama:
Here: http://xdaforums.com/showpost.php?p=7613688&postcount=878
[Galaxy S I9000 Android Development] 348:
I'm getting this error message when running update.zip:

E:Error in /mnt/internal_sd/update.zip

(Status 2)

Does anyone know what's wrong?
[Galaxy S I9000 Android Development] dajola2007:
Thanks for the fix, I was considering selling the phone due to the lag, now i'm keeping it. Runs lightning fast.

Dave
[Galaxy S I9000 Android Development] BackfireNL:
OMG! just applied the fix (through ADB) and i got a score of 2031...

everything is superfast now! no more lag!

Big ups!
[Galaxy S I9000 Android Development] stickyasglue:
I can reboot now but ma boot screen has gone :( noo!!!
[Galaxy S I9000 Android Development] dalepa:
worked for me... quadrant from 890 to 2002!

awesome!
[Galaxy S I9000 Android Development] odyssey61:
Just a suggestion, maybe say thanks and acknowledge those that helped you out.

http://xdaforums.com/showthread.php?p=7614690#post7614690
[Galaxy S I9000 Android Development] makamiso:
Hmm so i did the batch file lag fix on my pc and improved my phone dramatically. Is it worth using the newer lag fix in the update.zip? If so do i have to use the remove lag fix batch file and then use the update.zip on my phone? cheers for any help guys
[Galaxy S I9000 Android Development] RyanZA:
Hey guys, there is a 2.0 version available for testing here - http://xdaforums.com/showthread.php?t=751864

It has some nice new features, but needs people who know what they're doing and don't like their data all that much to try it out first! Give it a shot if you have what it takes. ;)

EDIT: Tayutama especially, so he can put the changes into his update.zip version. :D
[Galaxy S I9000 Android Development] Tayutama:
Bah you like to make me work :) Ill take a look when i wake up tomorrow cba to do it now :)
[Galaxy S I9000 Android Development] AMDPOWERFIST:
Samsung Galaxy S with a freshly flashed JM5 firmware...
[Galaxy S I9000 Android Development] kingpin2425:
I/O lag fix

Hey i am not a developer but what is the easiest way for me to install the i/o lag fix on my Samsung captivate without a computer and the tools i need to install it on my phone please.
[Galaxy S I9000 Android Development] odyssey61:
Hey RyanZA, thanks for the awesome work. A query, with it being a 1Gb partition what happens to the other 900mb, is it lost or does it become part of the rest of the memory or is it used elsewhere? Cheers.
[Galaxy S I9000 Android Development] distortedloop:
Hahahaha...funniest thing I've read all day! Those who don't like their data all that much. :D

Very cool.

Thanks for all your work.
[Galaxy S I9000 Android Development] distortedloop:
+1

It's remarkable how easy it is to get out of trouble on this device. That's certainly one thing Samsung did right on the SGS.

That's a good tip about the delete, and pretty amazing safety feature!

Could you elaborate on that? I don't really understand what you mean by deleting giles out from under it. Thanks.
[Galaxy S I9000 Android Development] distortedloop:
Your experience supports the position of the french guys who claimed they tried this earlier and found it made things worse over the long haul.

I'm on this fix for a couple of days, and I do notice some heavy lag once in a while on certain activities, but it's random, and the overall snappiness and speed of the phone more than makes up for the occasional lag...it's nothing like the phone was before any of these fixes started popping up.

Be sure to let us know what happens and if you try to install again if it acts up so quickly again.

I've rebooted for various reasons several times the last 24 hours, including a phone crash/reboot on its own, so maybe I'm not actually letting things clog up enough to cause real issues, but there's enough people running this for long enough to say your case appears to be the exception, not the rule.
[Galaxy S I9000 Android Development] paOol:
thanks for this . posting as a bookmark
[Galaxy S I9000 Android Development] stone_phalanges:
internal memory full now

I had 1.5gb free in the internal memory now I only have 77.mb is this normal. Is there a way to fix this, or will I need to uninstall to get some space back?
[Galaxy S I9000 Android Development] distortedloop:
Actually, I think those concerned about free space should just remove:

data.bak

system.bak

dalvik-cache.bak

from their phones whether undoing the fix or not. If you're undoing per the last undo script I saw, those files aren't used to undo anyways. They're really just a waste of space. I freed up 200mb deleting them on mine.
[Galaxy S I9000 Android Development] soloecho7:
update.zip lag fix

hey guys i have a question im rooted and running stock 2.1 i assume that the update.zip roots and adds fix at the same time since im rooted i would load the zip with the up down and power buttons not the up menu and power which i tried and it just flashes vibrant samsung screen over and over and never gives me a galaxy logo.so im assuming that since im rooted i have to install from the update mode.any input on this would be greatly appreciated
[Galaxy S I9000 Android Development] stone_phalanges:
I can't find those folders in data are they hidden? I'm using astrofile
[Galaxy S I9000 Android Development] zaures:
Wow 21115 quadrant score and definite difference in just normal use, really easy too
[Galaxy S I9000 Android Development] stone_phalanges:
wow!

My system is much faster. Does anyone know if there might be a way to get even a few hundred MBs back? I tried looking in the \data directory but it shows that there are no files:D
[Galaxy S I9000 Android Development] jtescanuela:
i have applied this but is now not able to download anything from market. any advice?
[Galaxy S I9000 Android Development] remixfa:
yes, on the vibrant its the volume up+down+power. the other way is for the european galaxy i guess.

i have noticed that i got better battery life today than i did yesterday after install, so thats great.

BUUUUT... (isnt there always a butt!?)

- i can no longer upload files through wifi...???

- when connected to the computer either just charging or in mass storage mode, it drops connection and reconnects about every 1-3 minutes.

neither of these were an issue before installing the fix yesterday. any ideas??

clockworked,titanium backuped, rooted, vibrant on stock rom, w/lag fix, and "gps fix"
[Galaxy S I9000 Android Development] distortedloop:
You need a file explorer that has root access. Get Root Explorer or EStrongs and enable root access, unless Astro has root..? I don't use it. You can also find them with adb shell.

Yeah, there is. See my response to the guy in the previous section of this message about why you can't see the files, and then see my message post four posts above yours on how to get some space back. ;)
[Galaxy S I9000 Android Development] distortedloop:
Off topic, but which of the hundreds of supposed "gps fix" methods are you using?
[Galaxy S I9000 Android Development] remixfa:
the original method of going into the *#*# menu and changing the settings. It works well enough for me to do what i need to, so i havent chased it further. I dont use GPS all that often so its not a big deal to me.

UPDATE:

as i was replying to this post, i decided to play in maps and navigation for the first time since the update. the second i hit "my location" or "directions", google maps immediatly freezes and i have to kill it. this is also something very new..

anyone else having this issue?
[Galaxy S I9000 Android Development] Qazz~:
Using jm5 with samset 1.9c and used this lag fix. Now after rebooting my phone, and keeping in my pocket awhile, everything becomes laggy after awhile. Previously on jm2, my phone becomes laggy only after about half a day of use but now I have to reset it more often cause it becomes laggy more often
[Galaxy S I9000 Android Development] zoro02:
Sounded stupid...reading from the instruction this is done from the PC. I tried it but no go.

Can someone confirm if the Lagfix supposedly run on the PC or the phone itself?

I have root and downgraded Busybox from 1.8 to 1.71. I believe I have 1GB space since I have not installed too many things.
[Galaxy S I9000 Android Development] gcrutchr:
The lagfix is a DOS batch program.

Make sure your phone is connected via usb, then run per instructions.

If your phone is rooted it should work fine. Just have to watch for the superuser permissions dialog to pop up on phone so you can give app permissions to

install lagfix.
[Galaxy S I9000 Android Development] zoro02:
Yes I saw that and allow it but still not working

Error on Permission Denied on the DOS batch but Superuser permission has been granted on the phone, I can see that....

I click Forget Superuser permission for createlagfix.sh and will try again

Ok tried it again, re-allow permission but still does not work. I'm JG1

Before anyone jump to answer...and I forgot to write, it's already in USB Debugging mode....
[Galaxy S I9000 Android Development] Paxtez:
Used glockyboots file on my Vibrant, first Quad score of 2213, previous was 895. Thanks!
[Galaxy S I9000 Android Development] MagicOnline:
Batterylife after this fix has not changed for me. Still fine, I lost 3% in 7.5h over night. WiFi, BT, GPS Off. Phone is set to vibrant over night. One Gmail account and one Exchange account (push) is enabled, thats all.

I am happy with this fix, fantastic job from the Devs. Thank you. Everything elso is working perfect.

Now I wait for Froyo, this is my next big update.
[Galaxy S I9000 Android Development] nogorman:
Hello,

Applied the one click fix (reverted mimocan's which got me 1774) and now running at 2115 :)

As a noob, I would add to your instructions

- In dev mode the phone may not be recognized by your Win PC, if not then you need to install samsung kies in order that the USB driver is updated

- You need to unpack your zip "RyanZAEXT2LagFix ALPHA 1.zip" to the root of C: drive otherwise you will get an "Android Debug Bridge" (adb) error. Just copy and paste expanded folder to root of c: and try again all should be fine
[Galaxy S I9000 Android Development] TehMoe:
Thanks alot dude I did this on Jp3 and it works just fine, althought my quadrant score is lower than most other as I only get 1930 even after i reboot but still works great thanks alot man :D
[Galaxy S I9000 Android Development] revoltracers:
Holy moley! Getting 2178 now, thanks a LOT!
[Galaxy S I9000 Android Development] danikristijan:
And how it look about rebooting the sgs? Do i have to use the unlagfix bevor?
[Galaxy S I9000 Android Development] sunwee:
i rooted my phone using update.zip from samdroid. already included busybox 1.15 (which obviously wont work).

so i dl and installed the busybox 1.17 linked in page one. but when i run script, if fail to makeext2. so i check busyboxin adb shell, it still states that it is 1.15. how do i overwrite the old busybox? when i check under Manage Applications, it says 1.17 installed.
[Galaxy S I9000 Android Development] RyanZA:
How is that even possible? :confused:

Anyway, here is the method to revert the mimocan lag fix. After doing this, your mimocan lag fix should be gone, and you should be able to apply the one click fix. :D

Current Status: Untested (Be prepared for the worst? ;) )

adb shell
su -

busybox rm /data/data
busybox rm /system/media

busybox cp -rp /disk/data /data/
busybox cp -rp /disk/media /system/

You do this in the exact same way you originally applied the mimocan lag fix. All this does it revert it back, and copies your data back.
[Galaxy S I9000 Android Development] DagsJT:
Any help with my problem? I'm able to get into Recovery but not actually boot into the OS whatsoever now.