Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,806,888 Members 36,045 Now Online
XDA Developers Android and Mobile Development Forum

[OLD] The old and busted Lag fix thread

Tip us?
 
Zilch25
Old
(Last edited by Zilch25; 28th August 2010 at 12:34 AM.)
#1  
Senior Member - OP
Thanks Meter 12
Posts: 1,998
Join Date: Jul 2010
Location: West Palm Beach, FL
Default [OLD] The old and busted Lag fix thread

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  
 
mykenyc
Old
(Last edited by mykenyc; 9th August 2010 at 02:52 PM.)
#2  
mykenyc's Avatar
Senior Member
Thanks Meter 28
Posts: 708
Join Date: 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!
Xbox fanatic
N900 lover (Sold it but still love it)
HTC Droid Incredible 2
Best in everything

look at those kills pew pew
 
max_warheads
Old
(Last edited by max_warheads; 9th August 2010 at 05:26 PM.)
#3  
Senior Member
Thanks Meter 4
Posts: 287
Join Date: Jul 2010
Location: Lancaster
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!)
Samsung Galaxy S ( Captivate )
Stock JH7, Rooted & VooDoo'd (1755)

Liked it enough to turn around and buy one for the gf! (shes enthralled by it)

 
Zilch25
Old
#4  
Senior Member - OP
Thanks Meter 12
Posts: 1,998
Join Date: Jul 2010
Location: West Palm Beach, FL
Quote:
Originally Posted by mykenyc View Post
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).
 
mykenyc
Old
#5  
mykenyc's Avatar
Senior Member
Thanks Meter 28
Posts: 708
Join Date: Jun 2009
Quote:
Originally Posted by Zilch25 View Post
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.
Xbox fanatic
N900 lover (Sold it but still love it)
HTC Droid Incredible 2
Best in everything

look at those kills pew pew
 
LockeCPM4
Old
#6  
Senior Member
Thanks Meter 13
Posts: 159
Join Date: Jun 2008
Location: Michigan
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
HTC Vivid
HTC Jetstream
AT&T Retail Sales Manager
 
mykenyc
Old
#7  
mykenyc's Avatar
Senior Member
Thanks Meter 28
Posts: 708
Join Date: Jun 2009
Quote:
Originally Posted by LockeCPM4 View Post
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.
Xbox fanatic
N900 lover (Sold it but still love it)
HTC Droid Incredible 2
Best in everything

look at those kills pew pew
 
Zilch25
Old
#8  
Senior Member - OP
Thanks Meter 12
Posts: 1,998
Join Date: Jul 2010
Location: West Palm Beach, FL
Quote:
Originally Posted by LockeCPM4 View Post
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!
 
max_warheads
Old
(Last edited by max_warheads; 9th August 2010 at 03:26 PM.)
#9  
Senior Member
Thanks Meter 4
Posts: 287
Join Date: Jul 2010
Location: Lancaster
Also you MUST undo any prior lag fix

Sent from my SAMSUNG-SGH-I897 using XDA App
Samsung Galaxy S ( Captivate )
Stock JH7, Rooted & VooDoo'd (1755)

Liked it enough to turn around and buy one for the gf! (shes enthralled by it)

 
ranova
Old
(Last edited by ranova; 9th August 2010 at 03:15 PM.)
#10  
ranova's Avatar
Senior Member
Thanks Meter 200
Posts: 1,286
Join Date: 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

THREAD CLOSED
Subscribe
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Schedule Is Up for xda:devcon ’14

With xda:devcon ’14 just around the corner, and the venue close to selling out, there is a lot … more

aLogcat Returns Thanks to XDA Love

The developers of Android, that is Google, gave users several great debugging tools that can be used in … more

And the Winners in the XDA Pebble Development Challenge Are…

Almost two months ago, we set out with Pebble to findthree amazing … more

MediaTek Releases Full Kernel Source for First Android One Devices

Those who might have thought that MediaTek wouldnever release working … more