Stop Your Screen From Turning Off with KeepItOn

We all know the feeling of reading a news article orrather longdocument, when our screen … more

The XDA LG QPair Developer Challenge Voting Has Begun!

It seems like it was just yesterday that weannounced that we had paired up with LGto … more

Major Update for the Sony Smartwatch 2 Brings DND and More

With the wearables landscape now dominated by Android Wear and Pebble, its … more

How to Root Android Wear 5.0.1 Lollipop Devices – XDA TV

The Lollipop update for Android Wear devices has hit the market and people are … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Thread Closed

[OLD] The old and busted Lag fix thread

OP Zilch25

9th August 2010, 02:40 PM   |  #1  
OP Senior Member
Flag West Palm Beach, FL
Thanks Meter: 12
 
1,998 posts
Join Date:Joined: Jul 2010
More
NEW THREAD HERE
http://forum.xda-developers.com/showthread.php?t=765822


THIS IS NOW AVAILABLE IN EXT2, EXT3, AND EXT4 VARIATES(DOES NOT REQUIRE CUSTOM KERNEL!)

IF YOU ARE USING JH2/JH3 FIRMWARE, READ THIS POST, IT IS VERY VERY VERY IMPORTANT:
http://forum.xda-developers.com/show...&postcount=312
The reason this step is important is that the JH2 firmware is a test build, and as a test build it has GPS logging enabled... this uses an absolutely ludicrous amount of storage space- and the real kicker? It uses the space OUTSIDE of this fix, meaning your phone will encounter low space warnings very quickly if not instantly upon applying the fix!

THIS NOTE IS FOR EVERYONE. THESE FIXES WORK BETTER FROM A FRESH FLASH. THEY *CAN* WORK WITHOUT A CLEAN FLASH BUT REALIZE THAT YOU ARE POTENTIALLY PUTTING YOUR DATA AT RISK!

What this does (Shamelessly stolen from RyanAZ's OP)
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.

PROS
Doesn't rely on external SD
Easy to do
Reverse-able
Real, noticeable performance increases outside of Quadrant (Seriously don't pay attention to Quadrant, but if that's what you care about this will make your pants tighter)

CONS
Uses EXT2 file system which is non-journaled and CAN become corrupted, frequent backups are strongly recommended! (2.2 Implements error checking every 30 mounts)
It's also up for debate as to whether this adds extra strain on your internal memory.

1.0 SECTION WILL FOLLOW 2.0 STUFF

AS WITH ANY FIX: READ THE INFO, KNOW WHAT YOU'RE DOING, AND UNDERSTAND POTENTIAL CONSEQUENCES!

LINKS TO GET THE GOODS BELOW!!

The RyanZA version that does EXT2 is Available at the thread linked below
http://forum.xda-developers.com/showthread.php?t=751864

RyanZA has put out an APK version of the fix for people less comfortable doing the update.zip or batch file methods! (This is the V1 lagfix, so for people having issues with the newer fixes this one might work for you!)
TEMPORARILY DOWN UNTIL VERSION 2.3
http://forum.xda-developers.com/showthread.php?t=760571

There is also an update.zip version that does EXT2, EXT3 (1500 Quadrant), or EXT4 (1800 quadrant) versions thanks to Tayutama! I've tested this to work on JH2, and JM5 firmwares! There is also a special version for Captivate JH2 (It also works for JH3) that fixes the GPS Log issues so no need to edit the XML's yourself!
http://forum.xda-developers.com/show...&postcount=208

praveer01 threw up a handy writeup for those of you running Unbuntu or any other Linux system:
http://forum.xda-developers.com/show...&postcount=583

READ THE INSTRUCTIONS AND REMEMBER THIS IS *VERY* BETA, NEITHER RYANZA OR MYSELF WILL TAKE RESPONSIBILITY FOR MELTING YOUR DEVICES OR KILLING YOUR DOG IF THIS FAILS. That said, this thread has been very good about helping people who borked their Captivates with 1.0

Here's the reasons you'd want to do this:

Benefits over version 1

1.7GB of application data available, with no data loss. (Up from < 1GB)
e2fsck of the EXT2 partition on each boot. (To scan and fix corruption!)
Correct busybox version included! YES! (Because no one can get it right =P)
/app directory included in the fix for faster application installs.
Mounts instead of symlinks for extra performance as OS does less work (about 100 or so more quadrant).

2.3 Changelog
/dbdata has been removed. This fixes maps issues.
/app-private is now a symlink to /app/app-private. This fixes paid apps issues.

2.2 Changelog
/app-private is included
A second EXT2 partition is created in fast /dbdata storage. /dbdata/databases are moved inside here for increased speed in applications that use it. (System apps mostly, I think)
Proper parameters for e2fsck.
0% space reserved in the EXT2.
EXT2 partition reduced from 1.7GB to 1.5GB to allow more space for captivate users.

Running from a stock install of JH2 I'm currently getting 2300 quadrant scores with ALL AT&T BLOATWARE AND TW ENABLED!

IF YOU'RE NEW TO THIS KIND OF THING, OR ARE WORRIED ABOUT POSSIBLY HAVING TO REFLASH YOUR PHONE, YOU PROBABLY SHOULD WAIT A LITTLE WHILE FOR MORE PEOPLE TO TEST THIS!

__________________________________________________ _________________________

Found this over in the i9000 forums and tested it myself- I'm getting 2100+ quadrants scores with the stock Captivate kernel and it doesn't hang up on the I/O portion like all the other fixes... in addition you don't require an SDcard for this to work.

Original thread:
http://forum.xda-developers.com/showthread.php?t=748596

One of the folks over there created a one-click lagfixer and it DOES work for the Captivate:
http://forum.xda-developers.com/showthread.php?t=749495

FOR PEOPLE WHO DONT WANT TO READ THE ORIGINAL THREAD
This fix creates a 1GB file formatted in EXT2 and moves all of your apps, data, dbdata into it which DRASTICALLY improves I/O performance. One advisory SHUT YOUR PHONE DOWN PROPERLY, this means no yanking the battery out. Due to it being EXT2, non graceful shutdowns CAN cause corruption.

Edit: No wake up lag either- not sure if that's due to using a non-modded kernel or because the ext2 file is located on the internal memory.

Edit 2: Make *SURE* before attempting this that you have Busybox 1.17.1 or the boot animation script calls won't work!

Link to Busybox 1.17.1
http://forum.xda-developers.com/show...&postcount=229

DO NOT UPGRADE BUSYBOX TO 1.18! 1.18 REMOVES MAKEFS WHICH IS NECESSARY FOR THIS PROCESS

Edit 3: I haven't used the stock Captivate ROM for a while, but this feels quite fast- Also worth noting that this SHOULD work with any ROM- including i9000, I might test that later but I'm enjoying having functioning haptic feedback. 2200 Quadrant with Shootme and market running! Since seeing is believing I've thrown in a screen cap.

Confirmed working with JM5 ROM

IF YOU USE A MAC OR JUST CAN'T GET ADB TO WORK THIS FIX CAN BE PERFORMED WITHOUT A PC- SEE THE POST BELOW:
http://forum.xda-developers.com/show...&postcount=116
Attached Thumbnails
Click image for larger version

Name:	snap20100809_092535.jpg
Views:	1542
Size:	26.6 KB
ID:	376573  
Last edited by Zilch25; 28th August 2010 at 01:34 AM.
9th August 2010, 03:47 PM   |  #2  
mykenyc's Avatar
Senior Member
Thanks Meter: 29
 
718 posts
Join Date:Joined: Jun 2009
Ha! it worked thanks dude you should rename this thread with brackets. " [Fix][Lag] Alternative by {author name} - alpha " .. so it can gain more attention. Just we need two more fixes GPS and my attenna issues then i'm good with my captivate.

[edit]omg my phone is flying see this is how my phone should have been out the box it flies!
Last edited by mykenyc; 9th August 2010 at 03:52 PM.
9th August 2010, 03:49 PM   |  #3  
Senior Member
Flag Lancaster
Thanks Meter: 4
 
287 posts
Join Date:Joined: Jul 2010
More
rebooting from this now. I should not that I had to run the shell script manually because it kept not prompting me for SU...? No biggy though.

Will test, can't post screen from work though.

Edit: running quadrant....


Edit: ... *thud* 1961, 2237 ( FB, gmail, etc were running & syncing in background last time!)
Last edited by max_warheads; 9th August 2010 at 06:26 PM.
9th August 2010, 03:54 PM   |  #4  
OP Senior Member
Flag West Palm Beach, FL
Thanks Meter: 12
 
1,998 posts
Join Date:Joined: Jul 2010
More
Quote:
Originally Posted by mykenyc

Ha! it worked thanks dude you should rename this thread with brackets. " [Fix][Lag] Alternative by {author name} - alpha " .. so it can gain more attention. Just we need two more fixes GPS and my attenna issues then i'm good with my captivate.

[edit]omg my phone is flying see this is how my phone should have been out the box it flies!

Title change done!

Glad this is working for you guys, I've tried every fix so far and this one is MILES ahead of the others in terms of real world improvement (At least for me).
9th August 2010, 03:58 PM   |  #5  
mykenyc's Avatar
Senior Member
Thanks Meter: 29
 
718 posts
Join Date:Joined: Jun 2009
Quote:
Originally Posted by Zilch25

Title change done!

Glad this is working for you guys, I've tried every fix so far and this one is MILES ahead of the others in terms of real world improvement (At least for me).

I agree! waking up this morning in fear of being fired from my job, this made my day a little lol.
9th August 2010, 03:59 PM   |  #6  
Senior Member
Flag Michigan
Thanks Meter: 13
 
161 posts
Join Date:Joined: Jun 2008
More
Besides downloading the .zip file, do i need anything else?

Also, i am assuming we install this by booting into recovery mode?

Thanks

Sent from my SAMSUNG-SGH-I897 using XDA App
9th August 2010, 04:02 PM   |  #7  
mykenyc's Avatar
Senior Member
Thanks Meter: 29
 
718 posts
Join Date:Joined: Jun 2009
Quote:
Originally Posted by LockeCPM4

Besides downloading the .zip file, do i need anything else?

Also, i am assuming we install this by booting into recovery mode?

Thanks

Sent from my SAMSUNG-SGH-I897 using XDA App

Nope just run lagfixme.bat this in the zip file, run and leave your phone screen on so you can see the root request permission.
9th August 2010, 04:02 PM   |  #8  
OP Senior Member
Flag West Palm Beach, FL
Thanks Meter: 12
 
1,998 posts
Join Date:Joined: Jul 2010
More
Quote:
Originally Posted by LockeCPM4

Besides downloading the .zip file, do i need anything else?

Also, i am assuming we install this by booting into recovery mode?

Thanks

Sent from my SAMSUNG-SGH-I897 using XDA App

Nope, you don't need anything else. Also nope, no recovery mode shenanigans, just unzip the file, turn on debugging mode on your phone, plug her in, and run the batch file!
9th August 2010, 04:07 PM   |  #9  
Senior Member
Flag Lancaster
Thanks Meter: 4
 
287 posts
Join Date:Joined: Jul 2010
More
Also you MUST undo any prior lag fix

Sent from my SAMSUNG-SGH-I897 using XDA App
Last edited by max_warheads; 9th August 2010 at 04:26 PM.
9th August 2010, 04:08 PM   |  #10  
ranova's Avatar
Senior Member
Thanks Meter: 201
 
1,286 posts
Join Date:Joined: Jul 2010
again, those high quadrant scores mean nothing unless you get no lag in real world testing. Such tests can be done in the following apps: Dolphin HD browser, facebook, twitter, touchdown, k-9 email

All common applications that have serious lag on the SGS. Assuming that this method does fix I/O problems (Especially the I/O quadrant tests), there should be no lag in those apps. Anyone try?

I noticed this in the original thread:
Quote:

EDIT3 09 aug 0033HKT:
it's not for the benchmark only, instead, it has very good effects on ur phone's io

Sounds good, I'll give it a try
Last edited by ranova; 9th August 2010 at 04:15 PM.

Thread Closed Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes