[UTIL] One Click Lag Fix

Status
Not open for further replies.
Search This thread

RyanZA

Senior Member
Jan 21, 2006
2,023
784
JHB
Is it possible to keep critical data on the original filesystem ? Why not exclude some folders from /data/data ? I know it will complicate things, but why not look into it? I don't need my contacts, calendar, email databases to be that blazingly fast... I find it more important that they are save. So why not giving the possibility to exclude these from the trick?

Most people do actually want their contacts, calendar and email to be blazing fast! Me especially. ;)

There are still no known issues of data loss - but if it is a problem for you, consider syncing them with google, or some other provider. I don't really know what would happen if you lost only part of /data/data, I doubt it would be any different from losing all of it. So it doesn't change much.
 

jd-omnia

Member
Mar 18, 2009
30
2
Wow. I got quadrant score 2160 with this fix. Initially the ddjg4 score is juat 898.

Sent from my GT-I9000 using XDA App
 

THUDUK

Senior Member
Aug 12, 2007
1,685
154
eastbourne
Google Pixel 4a
Blimey...spent near on most of the morning get this done, must admit, being three days an Android virgin, I was a bit scared to say the least, but I have now managed to root, install all these things and now add this update file and so the msc script install, before hand I was got 900 odd on the Quadrant check, now I have just run it and I got 2024...but more impressive, I thought my new device was pretty quick before doing all this, now its balistic, paper toss opens instantly now, where as before it took about 5-10 seconds to get started.

Everything is just so zippy, you people on here are just way to clever...:)
 

RyanZA

Senior Member
Jan 21, 2006
2,023
784
JHB
Depending on the journalling fs, in most cases only metadata like directory and file creation is
is journalled, not the file content writes.

Even if this was not an issue, the ext2 metadata writes
would still be pending, either in the ext2 or loopfs buffercaches.

An fsck on the loopback image file is needed imho
after a unclean shutdown of the phone.
Using ext3 or ext4 would not help due to the loopfs on rfs layering.

We don't actually have any idea how RFS works! So maybe, maybe not.

Next version will have the fsck for sure. At any rate, these are phones which are always connected to battery. Plus, this is very fast flash memory. I understand the concerns at a theoretical level, but I'm not convinced they make a difference on the practical side of using your device. Could be wrong... :D

It would be super if you (or anyone) could do some tests and help work this stuff out!
 

udovoodoo

Member
Nov 20, 2009
47
2
Abu Dhabi
Thanx

I haven't tried this yet, however if the phone explodes I'll know that you were only trying to help ;)

Thanx and keep up the great work.
 

kalpik

Inactive Recognized Contributor
May 19, 2010
4,604
2,065
Amsterdam
www.kalpik.com
We don't actually have any idea how RFS works! So maybe, maybe not.

Next version will have the fsck for sure. At any rate, these are phones which are always connected to battery. Plus, this is very fast flash memory. I understand the concerns at a theoretical level, but I'm not convinced they make a difference on the practical side of using your device. Could be wrong... :D

It would be super if you (or anyone) could do some tests and help work this stuff out!
Can we get the fsck version quickly? :D
 

atul.dharne

Senior Member
Aug 23, 2008
59
4
Mumbai
Thank you! You the man... Hat's off!
Quadrant score 892 before and 2083 now :)

Sent from my GT-I9000 using XDA App
 

Attachments

  • ImageUploadByTapatalk.jpg
    ImageUploadByTapatalk.jpg
    33.4 KB · Views: 41

engineer14

Senior Member
Jul 2, 2009
230
2
hey i have a question:
is there anyway around connecting it to your computer, i forgot my cable at home and really want to try this out now.

any replies?

also now that our phones quadrant score has gone through the roof with this fix (even beat nexus one on froyo), do we still expect to see tremendous improvements like the nexus one had when changing from 2.1 to 2.2? so would our quadrant score become something like 3500+?
if so do we need seatbelts when using our phone?:):D
 

lyno

Senior Member
Feb 9, 2005
96
10
Any idea how to get my marketplace working after removing mimocan's fix (I did the market fix too)?

Just stays on "Starting download...."
 

Tayutama

Senior Member
May 21, 2010
1,310
20
Helsinge
any replies?

also now that our phones quadrant score has gone through the roof with this fix (even beat nexus one on froyo), do we still expect to see tremendous improvements like the nexus one had when changing from 2.1 to 2.2? so would our quadrant score become something like 3500+?
if so do we need seatbelts when using our phone?:):D

From what i have read so far from people that are running JP3 (Froyo) and this fix they only get around 1800 in quadrant but remember JP3 is what i would consider an alpha built since JIT isn't optimised in it yet.
 

atul.dharne

Senior Member
Aug 23, 2008
59
4
Mumbai
Any idea how to get my marketplace working after removing mimocan's fix (I did the market fix too)?

Just stays on "Starting download...."
Had the same issue...was going to clear the Market cache...and then the download started after around 2 minutes...just did a reboot..everything's fine
Suddenly the Quadrant score has gone up to 2134 from 2083 now!!! i.e. 892 (Stock) ~> 2083 (RyanZA's lagfix) ~> 2134 (rebooting after the lagfix)
Fastening my seatbelt :)
Thanks RyanZA...was regretting migration from my HTC Desire...until today :)
 
Last edited:

Gooofy

Senior Member
Jul 1, 2008
68
0
This fix really turns the galaxy S into the jesus phone it was meant to be. Works like a charm.
 

RyanZA

Senior Member
Jan 21, 2006
2,023
784
JHB
Try mailing him? Stericson.g1@gmail.com

He's the developer of the busybox installer on the market. Please also tell him about the missing stuff in 1.18?

Will do. Looks like the only option is gonna be to include an ARM binary for e2fsck inside this fix. I don't really want to do that, since I think it opens up a lot of room for errors...

I guess if I was gonna include that, I could also include binaries for EXT3 and other stuff... Still doesn't seem like a great idea though.
 

furstrated

Senior Member
May 31, 2010
117
4
From what i have read so far from people that are running JP3 (Froyo) and this fix they only get around 1800 in quadrant but remember JP3 is what i would consider an alpha built since JIT isn't optimised in it yet.

i'd say the average for jp3 is 1900, ive hit several 2k with highest at 2058. lowest is 1870, most o the time in the 1900 range
 

mikebeecham

Senior Member
May 5, 2010
56
57
Really want to try this fix, but I'm so concerned about the future damage to my phone because of it.

Can I get any reassurances?



Sent from my GT-I9000 using XDA App
 

stianbert

Senior Member
Dec 28, 2008
281
4
troms
Hey. Have some problem installing this. have downloaded busybox from thread an activated usb debugging. Start lagfixme on my computer, but gets "error device not found" any help:)
 
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://xdaforums.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://xdaforums.com/showthread.php?t=751864
    Tayutama has made an update.zip version that is easy to install - http://xdaforums.com/show...&postcount=208
    Chainfire has a .NET version of this fix with some nice features - http://xdaforums.com/showthread.php?t=751513
    Ubuntu version is here: http://xdaforums.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://xdaforums.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://xdaforums.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://xdaforums.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://xdaforums.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://xdaforums.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://xdaforums.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://xdaforums.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