5,601,062 Members 46,493 Now Online
XDA Developers Android and Mobile Development Forum
View Poll Results: Did LagFix work on your Android 2.x device?
I don't have Android 2.x 96 80.67%
Yes 16 13.45%
No 7 5.88%
Voters: 119. You may not vote on this poll

[APP] LagFix (fstrim) v1.5.1 2013.03.04

Tip us?
 
ogre_x
Old
#461  
ogre_x's Avatar
Member
Thanks Meter 14
Posts: 43
Join Date: Jul 2010
Location: Stockholm
Default Sv: [APP] LagFix (fstrim) v1.5 2013.02.10

I run stock 4.2.1 rooted with SuperSU.

I tried running the command from prompt. Same result, just hangs on the command.
Samsung Galaxy Nexus | ROM: Google takju 4.3 build JWR66Y | ROOT: Superuser 1.0.2.1
LG Nexus 4 | ROM: Google occam 4.3 build JWR66Y | ROOT: Superuser 1.0.2.1
ASUS Nexus 7 | ROM: Google nakasi 4.4 build KRT16O
 
AuxLV
Old
#462  
AuxLV's Avatar
Senior Member - OP
Thanks Meter 689
Posts: 430
Join Date: Apr 2009
Location: Riga

 
DONATE TO ME
Default Re: [APP] LagFix (fstrim) v1.5 2013.02.10

Quote:
Originally Posted by ogre_x View Post
I run stock 4.2.1 rooted with SuperSU.

I tried running the command from prompt. Same result, just hangs on the command.
I have an idea why some users reported slower speeds after running LagFix previous versions - it did not finish running. The problem with older version is that I used another lib for su and shell stuff and this way LagFix did not properly synchronize with fstrim. So a lot of weird things were happening, like /data trimming output was shown after success message. Some people didn't see it at all.

Right now EVERYTHING WORKS! And all the errors are properly handled. Everyone with lagfix hanging also reports that running fstrim manually also "hangs".

So, just open terminal, run fstrim and let it run - you may go back to home screen. Check like every five minutes. Looks like Samsung failed with memory in Nexus too.

So, check how long it runs, I might move the execution into background service.

Sent from my Nexus 7 using Tapatalk HD
@my_unique_id :: Google+
HTC One X (CM10.1) / Nexus 7 (CM10.1)
GrilledUI - simplify your Android UI development!
Tabletizer - tablet UI for Nexus 7 for any 4.2 ROM
LagFix (fstrim) - fstrim in nice package, saves you from performance hell with one click.
Ctrl+C for Android! - a share to clipboard app.
NiceQL - open source library, makes database access easier.

Want to donate? Use my apps, rate them, tell friends, maybe click ads - everything is free (: Or use Donate button on the left.
The Following 3 Users Say Thank You to AuxLV For This Useful Post: [ Click to Expand ]
 
ogre_x
Old
#463  
ogre_x's Avatar
Member
Thanks Meter 14
Posts: 43
Join Date: Jul 2010
Location: Stockholm
Quote:
Originally Posted by AuxLV View Post
I have an idea why some users reported slower speeds after running LagFix previous versions - it did not finish running. The problem with older version is that I used another lib for su and shell stuff and this way LagFix did not properly synchronize with fstrim. So a lot of weird things were happening, like /data trimming output was shown after success message. Some people didn't see it at all.

Right now EVERYTHING WORKS! And all the errors are properly handled. Everyone with lagfix hanging also reports that running fstrim manually also "hangs".

So, just open terminal, run fstrim and let it run - you may go back to home screen. Check like every five minutes. Looks like Samsung failed with memory in Nexus too.

So, check how long it runs, I might move the execution into background service.
Hi,

You might just do that. I ran it using adb shell just now and it took about five minutes to complete:

Code:
root@android:/ # /data/data/com.grilledmonkey.lagfix/files/fstrim -v /data
4244234240 Bytes was trimmed
Thanks for making this!
Samsung Galaxy Nexus | ROM: Google takju 4.3 build JWR66Y | ROOT: Superuser 1.0.2.1
LG Nexus 4 | ROM: Google occam 4.3 build JWR66Y | ROOT: Superuser 1.0.2.1
ASUS Nexus 7 | ROM: Google nakasi 4.4 build KRT16O
The Following 2 Users Say Thank You to ogre_x For This Useful Post: [ Click to Expand ]
 
AuxLV
Old
#464  
AuxLV's Avatar
Senior Member - OP
Thanks Meter 689
Posts: 430
Join Date: Apr 2009
Location: Riga

 
DONATE TO ME
Quote:
Originally Posted by ogre_x View Post
Hi,

You might just do that. I ran it using adb shell just now and it took about five minutes to complete:

Code:
root@android:/ # /data/data/com.grilledmonkey.lagfix/files/fstrim -v /data
4244234240 Bytes was trimmed
Thanks for making this!
Looks like 4 gigs were processed (: It can't be done in one second. Ook, so the problem is diagnosed, I'll move processing to a service with status notification.

By the way, scheduler auto-trim in Premium version already runs in background service and no one complained yet.

Many thanks for your report! I wish Google had promo codes like in AppStore so that I could give away Premium version for free to everyone who helped me improve LagFix. Eh...
@my_unique_id :: Google+
HTC One X (CM10.1) / Nexus 7 (CM10.1)
GrilledUI - simplify your Android UI development!
Tabletizer - tablet UI for Nexus 7 for any 4.2 ROM
LagFix (fstrim) - fstrim in nice package, saves you from performance hell with one click.
Ctrl+C for Android! - a share to clipboard app.
NiceQL - open source library, makes database access easier.

Want to donate? Use my apps, rate them, tell friends, maybe click ads - everything is free (: Or use Donate button on the left.
The Following 3 Users Say Thank You to AuxLV For This Useful Post: [ Click to Expand ]
 
qdoba
Old
#465  
qdoba's Avatar
Senior Member
Thanks Meter 21
Posts: 197
Join Date: Aug 2010
It looks like 1.5 does work, it takes a little longer to complete but it doesnt hang. I was too quick to judge.
The Following User Says Thank You to qdoba For This Useful Post: [ Click to Expand ]
 
AuxLV
Old
#466  
AuxLV's Avatar
Senior Member - OP
Thanks Meter 689
Posts: 430
Join Date: Apr 2009
Location: Riga

 
DONATE TO ME
Default Re: [APP] LagFix (fstrim) v1.5 2013.02.10

Quote:
Originally Posted by qdoba View Post
It looks like 1.5 does work, it takes a little longer to complete but it doesnt hang. I was too quick to judge.
No problems, I'll just improve UI to avoid confusion (:

Sent from my HTC One X using Tapatalk 2
@my_unique_id :: Google+
HTC One X (CM10.1) / Nexus 7 (CM10.1)
GrilledUI - simplify your Android UI development!
Tabletizer - tablet UI for Nexus 7 for any 4.2 ROM
LagFix (fstrim) - fstrim in nice package, saves you from performance hell with one click.
Ctrl+C for Android! - a share to clipboard app.
NiceQL - open source library, makes database access easier.

Want to donate? Use my apps, rate them, tell friends, maybe click ads - everything is free (: Or use Donate button on the left.
The Following 2 Users Say Thank You to AuxLV For This Useful Post: [ Click to Expand ]
 
chrone
Old
(Last edited by chrone; 11th February 2013 at 01:14 PM.)
#467  
chrone's Avatar
Senior Member
Thanks Meter 383
Posts: 1,012
Join Date: May 2012
Location: Surabaya
Quote:
Originally Posted by AuxLV View Post
Looks like 4 gigs were processed (: It can't be done in one second. Ook, so the problem is diagnosed, I'll move processing to a service with status notification.

By the way, scheduler auto-trim in Premium version already runs in background service and no one complained yet.

Many thanks for your report! I wish Google had promo codes like in AppStore so that I could give away Premium version for free to everyone who helped me improve LagFix. Eh...
lagfix 1.5 autoscheduled running fine this morning at 5am on n4 stock rom, faux kernel 006b07, at least the notification was displayed.

haven't tested with the dynamic fsync as available from the kernel with trickstermod, though.
LGE Nexus 5 16GB Black: Android KitKat.
efrant's Android 101 for Nexus 4
 
kecek
Old
#468  
kecek's Avatar
Member
Thanks Meter 5
Posts: 66
Join Date: Feb 2012
Location: Samarinda
Default Re: [APP] LagFix (fstrim) v1.5 2013.02.10

Lagfix premium not support on CM 10.1 i use this rom


___________________________________
Using XDA Premium
N7100 - International
Rom CyanogenMod Nightly
Kernel Redpill
 
AuxLV
Old
#469  
AuxLV's Avatar
Senior Member - OP
Thanks Meter 689
Posts: 430
Join Date: Apr 2009
Location: Riga

 
DONATE TO ME
Quote:
Originally Posted by kecek View Post
Lagfix premium not support on CM 10.1 i use this rom


___________________________________
Using XDA Premium
N7100 - International
Rom CyanogenMod Nightly
Kernel Redpill
The image is not visible.
@my_unique_id :: Google+
HTC One X (CM10.1) / Nexus 7 (CM10.1)
GrilledUI - simplify your Android UI development!
Tabletizer - tablet UI for Nexus 7 for any 4.2 ROM
LagFix (fstrim) - fstrim in nice package, saves you from performance hell with one click.
Ctrl+C for Android! - a share to clipboard app.
NiceQL - open source library, makes database access easier.

Want to donate? Use my apps, rate them, tell friends, maybe click ads - everything is free (: Or use Donate button on the left.
 
MASOUD_PC
Old
#470  
Member
Thanks Meter 9
Posts: 36
Join Date: Feb 2011
Location: AHW
not working on JB 4.1.1 stock Rom
tested with superSU v1.04

Tags
fstrim, htc one x, lag fix, nexus 7, trim
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes