Early Lollipop Ports for Micromax A116 and A117

It feels like it was only yesterday when Google announced the mysterious Android L.After … more

Now Gesture Tweaks Replaces Google Now with Custom Action

On most modern Android devices with software navigation keys, swiping up from the … more

ToqAN Fixes Android 5.0 Notification Bug on Qualcomm Toq

The Qualcomm Toq is probably one of the lesser known smartwatches on the market … more

How to Root and Unlock the Google Nexus 6 on a Mac – XDA TV

In the past, XDA Developer TV Producer droidmodd3rx has shown you how to … 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

[UTIL] One Click Lag Fix

OP RyanZA

9th August 2010, 01:41 PM   |  #1  
OP Senior Member
Flag JHB
Thanks Meter: 743
 
2,021 posts
Join Date:Joined: Jan 2006
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/show...40&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/show...&postcount=583

DEPRECATED:

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

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/...-single-click/

Busybox 1.17.1 from http://forum.xda-developers.com/show...&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/show...&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/show...7&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/show...&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/show...&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/show...7&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!
Attached Files
File Type: zip RyanZAEXT2LagFix ALPHA 1.zip - [Click for QR Code] (294.7 KB, 18132 views)
Last edited by RyanZA; 21st August 2010 at 09:46 AM.
The Following User Says Thank You to RyanZA For This Useful Post: [ View ]
9th August 2010, 01:45 PM   |  #2  
Member
Thanks Meter: 0
 
36 posts
Join Date:Joined: Jun 2010
What if im using mimocans fix. Will it work?
9th August 2010, 01:48 PM   |  #3  
OP Senior Member
Flag JHB
Thanks Meter: 743
 
2,021 posts
Join Date:Joined: Jan 2006
Quote:
Originally Posted by heman1310

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...
9th August 2010, 01:52 PM   |  #4  
Recognized Contributor
Flag Delhi
Thanks Meter: 1,495
 
3,785 posts
Join Date:Joined: May 2010
More
Nice! Looks ok at a glance! Though I see you have changed the directory name and the loop file..
9th August 2010, 01:55 PM   |  #5  
OP Senior Member
Flag JHB
Thanks Meter: 743
 
2,021 posts
Join Date:Joined: Jan 2006
Quote:
Originally Posted by kalpik

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!
9th August 2010, 01:57 PM   |  #6  
Recognized Contributor
Flag Delhi
Thanks Meter: 1,495
 
3,785 posts
Join Date:Joined: May 2010
More
Quote:
Originally Posted by RyanZA

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
9th August 2010, 01:59 PM   |  #7  
jodue's Avatar
Senior Member
Flag vienna
Thanks Meter: 37
 
447 posts
Join Date:Joined: Dec 2009
More
Quote:
Originally Posted by RyanZA

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
9th August 2010, 02:02 PM   |  #8  
Member
Thanks Meter: 0
 
30 posts
Join Date:Joined: Jul 2010
More
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.
9th August 2010, 02:03 PM   |  #9  
FadeFx's Avatar
Senior Member
Flag Vienna
Thanks Meter: 1,985
 
6,757 posts
Join Date:Joined: Mar 2010
Donate to Me
More
Quote:
Originally Posted by jodue

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

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 by FadeFx; 9th August 2010 at 02:06 PM.
9th August 2010, 02:06 PM   |  #10  
jodue's Avatar
Senior Member
Flag vienna
Thanks Meter: 37
 
447 posts
Join Date:Joined: Dec 2009
More
Quote:
Originally Posted by FadeFx

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

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

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

Advanced Search
Display Modes