[UTIL] One Click Lag Fix

Status
Not open for further replies.
Search This thread

RyanZA

Senior Member
Jan 21, 2006
2,023
778
0
JHB
This software is currently in BETA status! This means that a lot of people have tested, and reported good results. There are still issues, but if you take note of the known issues and make sure to avoid them, you very likely will have no problems in using this fix. The worst this software should be able to do is force you to reflash your phone, by removing the battery and turning on the device with HOME+VOLDOWN+POWER + Odin and then following one of the many guides to flash a new firmware to your phone.

More questions about how this fix works? Check out the FAQ - http://forum.xda-developers.com/showpost.php?p=7620940&postcount=2

UPDATES:

There is currently a 2-3 version made by me that can be found here that has more features: http://forum.xda-developers.com/showthread.php?t=751864
Tayutama has made an update.zip version that is easy to install - http://forum.xda-developers.com/show...&postcount=208
Chainfire has a .NET version of this fix with some nice features - http://forum.xda-developers.com/showthread.php?t=751513
Ubuntu version is here: http://forum.xda-developers.com/showpost.php?p=7671640&postcount=583

[size=+2]DEPRECATED:[/size]

[size=+1]This lagfix is now marked as DEPRECATED and the following tool should probably be used in all circumstances that this one would be used in: http://forum.xda-developers.com/showthread.php?t=760571[/size]

Details about what this fix does:

Creates a VIRTUAL EXT2 filesystem inside the stock RFS filesystem on the internal SD card, with a 4KB block size. This means that this lag fix creates a buffer between the real filesystem and the android system. This buffer should reduce the amount of disk I/O required for all operations by utilizing EXT2 buffering, as well as not writing file access times to disk, etc. It allows only 1GB for application data at this stage, down from the 2GB of application data when running stock.

Folders that are currently supported:

/data/data
/data/system
/data/dalvik-cache

More folders can be added, and should help performance further.

Advantages for this fix over mimocan's fix

Does not require an external SD card.
Allows the external SD card to be removed and reinserted into the device.
Faster speed (Quadrant benchmarks of 2000+ vs 1700 for mimocan's fix)
Possible battery savings, by not requiring the external SD card to be always active.

Requirements for this fix

(Beta Release) The ability to reflash your device if something goes wrong.
Any firmware should work, including 2.2 froyo firmwares. (Tested!)

Rooted device - I used this: http://www.addictivetips.com/mobile...t-samsung-galaxy-s-i9000-with-a-single-click/

Busybox 1.17.1 from http://forum.xda-developers.com/showpost.php?p=7574130&postcount=229 -
You must have a busybox version installed that has mkfs.ext2. If unsure, install 1.17.1 from that thread!
That thread has an APK that you must sideload onto your device. Once installed, you will have a new application on your phone called "BusyBox Installer".
Run this application, and it will have a button to install busybox. Click the button, and it should install it for you!
If you have made a mistake and run this without the right busybox, there may be a solution for you! Check out this post: http://forum.xda-developers.com/showpost.php?p=7580071&postcount=187

A windows box to run the batch script. (Batch script does very little, you should be able to easily modify this to run in any enviroment.)

If you are already running mimocan's lag fix, check out this post: http://forum.xda-developers.com/showpost.php?p=7578137&postcount=85

How to run the one click fix

Place your phone into USB debugging mode: Settings->Applications->Development
Download the attached ZIP file.
Unzip to a folder of your choice.
Double click "lagfixme.bat"
Wait for it to complete.

How to remove the one click fix

Double click "unlagfixme.bat"
Wait for it to complete.

New Method for applying this lag fix

Tayutama has developed an update.zip version of this lag fix. I haven't tested it personally, but some people have had a lot of success with it. It should be more robust and less likely to cause you problems. I believe it avoids all rooting and busybox issues as well! Nice! Check out this helpful post by glockyboots for instructions. You must only use one lag fix, not both! http://forum.xda-developers.com/showpost.php?p=7587405&postcount=417

Known Issues

1) If you do not have 1GB of free space on /data, this fix won't be able to run. Looking into workarounds.
2) Script fails if your busybox does not have mkfs.ext2 - Solution is to update busybox - http://forum.xda-developers.com/showpost.php?p=7574130&postcount=229
3) Script will not work if you have previously used mimocan's fix on your current firmware. Try this to revert mimocan's fix: http://forum.xda-developers.com/showpost.php?p=7578137&postcount=85
4) Make sure your device is plugged in, and that you have the correct drivers. Permission denied errors usually mean that your device is not in USB debug mode. Settings->Applications->Development

Credits

Big thanks to mimocan for putting us all on the right track in how to sort out lag problems!
Big thanks to ykk_five for showing us all how well loopback filesystem mounting works!

Warning, this software is BETA QUALITY, and is known to function on a lot devices! You must have busybox 1.17.1 !
This doesn't meant that this won't break your phone and force you to reflash. It does mean that if you do everything properly and you read everything a few times, you very likely will have no issues!
 
Last edited:
  • Like
Reactions: sean.paul

RyanZA

Senior Member
Jan 21, 2006
2,023
778
0
JHB
What if im using mimocans fix. Will it work?

Won't currently work with mimocans fix. I can make a slightly altered version that will work with mimocan, but if you could install mimocan, you should be able to open the .txt files and check how this is done, and do it yourself in ADB!

It seems a bit strange to have two lag fixes installed at once anyway...
 

RyanZA

Senior Member
Jan 21, 2006
2,023
778
0
JHB
Nice! Looks ok at a glance! Though I see you have changed the directory name and the loop file.. :(

I based this off my script from yesterday, so it has the names I used and not the names other people used. Feel free to just edit the text files to change the names.

Important part to note is that this fix is intended (eventually when all issues have been sorted out) for people who have no idea what linux is! ;)
 

kalpik

Recognized Contributor
May 19, 2010
4,602
2,056
243
Amsterdam
www.kalpik.com
I based this off my script from yesterday, so it has the names I used and not the names other people used. Feel free to just edit the text files to change the names.

Important part to note is that this fix is intended (eventually when all issues have been sorted out) for people who have no idea what linux is! ;)

EXACTLY! And good job for the effort! Too bad I already applied the fix manually, so don't feel like doing it all over again. Though if you really need to test it out, let me know, ill waste another half an hour :p
 

jodue

Senior Member
Dec 15, 2009
453
37
0
vienna
Important part to note is that this fix is intended (eventually when all issues have been sorted out) for people who have no idea what linux is! ;)

nice work RyanZA but i think it wouldn't harm people to know that they ARE in fact using linux behind that fancy ui ... this is after all a dev-forum :D
 

bucklino

Member
Jul 20, 2010
30
0
0
Great job ............. I have a question (noob).... And the device? Should I connect it to my computer at what time, and in which way the usb cable?


Have I to save or transfer some file (extracted from lagfix) for the galaxy samsung s?

Tanks.
 

FadeFx

Senior Member
Mar 22, 2010
8,838
3,034
253
Vienna
nice work RyanZA but i think it wouldn't harm people to know that they ARE in fact using linux behind that fancy ui ... this is after all a dev-forum :D

you are right, but be sure there will be lots of people that want this, that eaven dont know how windows works, they just want to use it ;-)

edit: the first proof ;-)

@bucklino connect your rooted galaxy s to usb...
 
Last edited:

jodue

Senior Member
Dec 15, 2009
453
37
0
vienna
you are right, but be sure there will be lots of people that want this, that eaven dont know how windows works, they just want to use it ;-)

hehe, yeah i guess so :D

... i'm already looking forward to "[Q] Will the new improved one click lagg-fix make my head explode?"
 

RyanZA

Senior Member
Jan 21, 2006
2,023
778
0
JHB
nice work RyanZA but i think it wouldn't harm people to know that they ARE in fact using linux behind that fancy ui ... this is after all a dev-forum :D

It actually looks more like they are using DOS at this point. The fancy ui is just a little coloured text window for now. I might make this into a proper GUI at some point if I'm bored! ;)

Great job ............. I have a question (noob).... And the device? Should I connect it to my computer at what time, and in which way the usb cable?


Have I to save or transfer some file (extracted from lagfix) for the galaxy samsung s?

Tanks.

You don't have to do anything! That's the point! :D

You put your device into debug mode. Settings->Applications->Development
You plug the device in.
You double click "lagfixme.bat"
Bang!

Just gotta make sure that its rooted, and has busybox (well, it needs mkfs.ext2 included in busybox).
 

FadeFx

Senior Member
Mar 22, 2010
8,838
3,034
253
Vienna
[Q] will this lag fix also fix the delivery lag of my galaxy s?

it was supposed to arrive last wednesday, today i caled the guy and he told me i get it this week... however he´s a friend of mine and i trust him. just cant wait so long...............
 

bucklino

Member
Jul 20, 2010
30
0
0
It actually looks more like they are using DOS at this point. The fancy ui is just a little coloured text window for now. I might make this into a proper GUI at some point if I'm bored! ;)



You don't have to do anything! That's the point! :D

You put your device into debug mode. Settings->Applications->Development
You plug the device in.
You double click "lagfixme.bat"
Bang!

Just gotta make sure that its rooted, and has busybox (well, it needs mkfs.ext2 included in busybox).
Tanks again!!!!
 

jodue

Senior Member
Dec 15, 2009
453
37
0
vienna
[Q] will this lag fix also fix the delivery lag of my galaxy s?

it was supposed to arrive last wednesday, today i caled the guy and he told me i get it this week... however he´s a friend of mine and i trust him. just cant wait so long...............

hm, that sux! i had to wait about 2 weeks when i ordered my htc magic because they f***** it up. terrible 2 weeks of watching/reading reviews and crying. this time i ordered from amazon and got it 3 days later ... :cool:

good luck for your lagging problem :D
 

hq83

Member
Jul 28, 2009
11
0
21
how to confirm tat its completed without any problem ?

it shows "
Setting up permissions
All Complete!
Script complete!
Press any key to continue . . ."

but i did a benchmark test its still 899 same as before i do this.
 

jodue

Senior Member
Dec 15, 2009
453
37
0
vienna
how to confirm tat its completed without any problem ?

it shows "
Setting up permissions
All Complete!
Script complete!
Press any key to continue . . ."

but i did a benchmark test its still 899 same as before i do this.

have you applied any other fix previously?
have you rebooted since you applied the fix?
 

RyanZA

Senior Member
Jan 21, 2006
2,023
778
0
JHB
how to confirm tat its completed without any problem ?

it shows "
Setting up permissions
All Complete!
Script complete!
Press any key to continue . . ."

but i did a benchmark test its still 899 same as before i do this.

Huh... hmm..

Do you still have the log window open? If you could paste the full log here I can take a look. Like I said, alpha... ;)
Your files may be in different locations than mine, or you may not have the right busybox.
 

q123123an

Senior Member
Feb 8, 2006
59
0
0
[Q] will this lag fix also fix the delivery lag of my galaxy s?

it was supposed to arrive last wednesday, today i caled the guy and he told me i get it this week... however he´s a friend of mine and i trust him. just cant wait so long...............

[A] If you apply this fix to the delivery/schedule systems of goods transporters, delevery times will be halved worldwide ;) .
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    This software is currently in BETA status! This means that a lot of people have tested, and reported good results. There are still issues, but if you take note of the known issues and make sure to avoid them, you very likely will have no problems in using this fix. The worst this software should be able to do is force you to reflash your phone, by removing the battery and turning on the device with HOME+VOLDOWN+POWER + Odin and then following one of the many guides to flash a new firmware to your phone.

    More questions about how this fix works? Check out the FAQ - http://forum.xda-developers.com/showpost.php?p=7620940&postcount=2

    UPDATES:

    There is currently a 2-3 version made by me that can be found here that has more features: http://forum.xda-developers.com/showthread.php?t=751864
    Tayutama has made an update.zip version that is easy to install - http://forum.xda-developers.com/show...&postcount=208
    Chainfire has a .NET version of this fix with some nice features - http://forum.xda-developers.com/showthread.php?t=751513
    Ubuntu version is here: http://forum.xda-developers.com/showpost.php?p=7671640&postcount=583

    [size=+2]DEPRECATED:[/size]

    [size=+1]This lagfix is now marked as DEPRECATED and the following tool should probably be used in all circumstances that this one would be used in: http://forum.xda-developers.com/showthread.php?t=760571[/size]

    Details about what this fix does:

    Creates a VIRTUAL EXT2 filesystem inside the stock RFS filesystem on the internal SD card, with a 4KB block size. This means that this lag fix creates a buffer between the real filesystem and the android system. This buffer should reduce the amount of disk I/O required for all operations by utilizing EXT2 buffering, as well as not writing file access times to disk, etc. It allows only 1GB for application data at this stage, down from the 2GB of application data when running stock.

    Folders that are currently supported:

    /data/data
    /data/system
    /data/dalvik-cache

    More folders can be added, and should help performance further.

    Advantages for this fix over mimocan's fix

    Does not require an external SD card.
    Allows the external SD card to be removed and reinserted into the device.
    Faster speed (Quadrant benchmarks of 2000+ vs 1700 for mimocan's fix)
    Possible battery savings, by not requiring the external SD card to be always active.

    Requirements for this fix

    (Beta Release) The ability to reflash your device if something goes wrong.
    Any firmware should work, including 2.2 froyo firmwares. (Tested!)

    Rooted device - I used this: http://www.addictivetips.com/mobile...t-samsung-galaxy-s-i9000-with-a-single-click/

    Busybox 1.17.1 from http://forum.xda-developers.com/showpost.php?p=7574130&postcount=229 -
    You must have a busybox version installed that has mkfs.ext2. If unsure, install 1.17.1 from that thread!
    That thread has an APK that you must sideload onto your device. Once installed, you will have a new application on your phone called "BusyBox Installer".
    Run this application, and it will have a button to install busybox. Click the button, and it should install it for you!
    If you have made a mistake and run this without the right busybox, there may be a solution for you! Check out this post: http://forum.xda-developers.com/showpost.php?p=7580071&postcount=187

    A windows box to run the batch script. (Batch script does very little, you should be able to easily modify this to run in any enviroment.)

    If you are already running mimocan's lag fix, check out this post: http://forum.xda-developers.com/showpost.php?p=7578137&postcount=85

    How to run the one click fix

    Place your phone into USB debugging mode: Settings->Applications->Development
    Download the attached ZIP file.
    Unzip to a folder of your choice.
    Double click "lagfixme.bat"
    Wait for it to complete.

    How to remove the one click fix

    Double click "unlagfixme.bat"
    Wait for it to complete.

    New Method for applying this lag fix

    Tayutama has developed an update.zip version of this lag fix. I haven't tested it personally, but some people have had a lot of success with it. It should be more robust and less likely to cause you problems. I believe it avoids all rooting and busybox issues as well! Nice! Check out this helpful post by glockyboots for instructions. You must only use one lag fix, not both! http://forum.xda-developers.com/showpost.php?p=7587405&postcount=417

    Known Issues

    1) If you do not have 1GB of free space on /data, this fix won't be able to run. Looking into workarounds.
    2) Script fails if your busybox does not have mkfs.ext2 - Solution is to update busybox - http://forum.xda-developers.com/showpost.php?p=7574130&postcount=229
    3) Script will not work if you have previously used mimocan's fix on your current firmware. Try this to revert mimocan's fix: http://forum.xda-developers.com/showpost.php?p=7578137&postcount=85
    4) Make sure your device is plugged in, and that you have the correct drivers. Permission denied errors usually mean that your device is not in USB debug mode. Settings->Applications->Development

    Credits

    Big thanks to mimocan for putting us all on the right track in how to sort out lag problems!
    Big thanks to ykk_five for showing us all how well loopback filesystem mounting works!

    Warning, this software is BETA QUALITY, and is known to function on a lot devices! You must have busybox 1.17.1 !
    This doesn't meant that this won't break your phone and force you to reflash. It does mean that if you do everything properly and you read everything a few times, you very likely will have no issues!
    1
    Hello
    in the beginning i was verry happy with this fix
    but later my device (gt-9000) freeze a lot?
    I don't know how to fix this :(
    I only use oneclickroot and this lagfix

    This is a very old lagfix, please don't use this on present ROMs, search for recent ones like voodoo, speedmod, trasig, super-optimized, & go through the posts & decide for yourselves.

    @ RyanZA, either update the util or update the TITLE. Lot of people will loose confidence in you if you don't
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone