yashsingh1/xdaforums huggingface dataset:
[HTC One X] stylemessiah:
Id love to see an option to add custom mount points, like internal memory (if you have it formatted to ext4, like i do on my SGS2)

At the moment, i have to launch a shell and issue: fstrim -v /mnt/media_rw/sdcard0
[HTC One X] daedric:
Just a heads up, TRIM as been fixed in those Samsung devices which previously where at risk of superbrick do to trim. Could you please allow the app to be installed on those?
[HTC One X] xaueious:
Market does not filter devices well, so you'll have to do it with the app within. I don't think Android 2.2 support is sensible though considering what's on those devices.
[HTC One X] azturbomini:
Re: [APP] LagFix (fstrim)

One x user here running Viper 3.1 with stock kernel.

Thank you for your app it's made a big difference. :thumbup:
[HTC One X] Kroutnuk:
I have granted the root permissions for the app but it's keep saying "can't execute: permission denied".
[HTC One X] AuxLV:
Re: [APP] LagFix (fstrim)

Which device and ROM do you have? Which version of LagFix do you have? Did you upgrade from first version? If you have custom Sense ROM and updated from first version of LagFix to the latest, then you need to re-install it. I forgot to mention it in release notes.
[HTC One X] Kroutnuk:
Aah Ok. (HTC One X custom ROM Bindroid V9 sense 4+)

Uninstalled and re-installed and it worked!

Thanks.
[HTC One X] Lovetz:
The same problem. CM10.1 ROM on Samsung Galaxy Ace:

Version 1.1. - first clear install.
[HTC One X] Ham duden:
Sv: [APP] LagFix (fstrim)

Trimmed my Nexus 7, will see if it improves anything. Been pretty snappy, but I guess some lags happen.

Thanks!

Quick question:

My low-end LG L5-610 can't use it, am I right? See attached SS!
[HTC One X] AuxLV:
Send me PM with information, I'll look when I have free time.

You are right - your device does not support TRIM operation. I will add it to excluded list in Market, thanks for report.

Some news:
[HTC One X] delanvital:
And i can do Danish if you want. PM me.
[HTC One X] AuxLV:
Re: [APP] LagFix (fstrim)

Ok, thanks! I'll PM everyone once I finish code for update.
[HTC One X] ctfTijG:
If you want it in Dutch, just PM me. :)
[HTC One X] TToivanen:
If you want it in Finnish, just PM me. :)
[HTC One X] 7OOKA:
what happens if i trim \system too !!!!!

just wondering
[HTC One X] AuxLV:
Re: [APP] LagFix (fstrim)

The same as with other partitions. May be useful for guys hacking Android internals a lot.
[HTC One X] 7OOKA:
i mean will it harm by anyway as it's not selected by default!!

thanks
[HTC One X] AuxLV:
Re: [APP] LagFix (fstrim)

No harm.
[HTC One X] chrone:
Re: [APP] LagFix (fstrim)

I can help with Indonesian translate. :)

Sent from my Nexus 4
[HTC One X] apatal:
Re: [APP] LagFix (fstrim)

Hi guys, is there a way to check if the above statement applies to my ROM or not? Like something I can check via terminal emulator? Thanks.
[HTC One X] chrone:
Re: [APP] LagFix (fstrim)

In terminal:

cat /etc/fstab

Or

cat /etc/mtab

And see the mount option on /data or something like that.

Sorry it should be:

mount | grep /data

mount | grep /cache

mount | grep /system

Sent from my Nexus 4
[HTC One X] nazfalas:
I could do a German translation if you still need that.
[HTC One X] varun94:
[MENTION=1740651]AuxLV[/MENTION] can i use this application on galaxy s2 i9100?
[HTC One X] jemis1983:
This apk it's not compatible with stock lollipop rooted note 3!!!!????
[HTC One X] St3ve32:
Hi guys, I just wanted to say that I found another nice trimming tool. It's called Device Control. It's a complex app, that includes trimming settings and it's free. You can also set a custom interval. https://play.google.com/store/apps/...control&pcampaignid=APPU_ihmvVKSBNInVaoj2gdgB
[HTC One X] anukilimanoor:
Could you please add a reboot option in the scheduler.
[HTC One X] pac213:
Doesn't work on Lollipop.
[HTC One X] zedZero:
LagFix safe on "Tesco Hudl" (budget tablet)??

[MENTION=1740651]AuxLV[/MENTION] is LagFix likely to be safe on a Tesco Hudl 7" budget tablet, or is it quite likely to brick it? Tesco is a UK supermarket chain. Hudl 7" (wikipedia: Tesco_Hudl) is an Archos HT7S3, with Rockchip RK3188 System-on-chip, Android 4.2.2
[HTC One X] daedric:
If you have root, and your storage supports it, there's nothing LagFix can do wrong (excluding bugs, like S2's secure erase and super brick, which has been solved by the way, if you're using the correct kernel (most incorrect kernels do not support trim anyway)).

If your storage doesn't support trim, the app will state it.
[HTC One X] St3ve32:
[MENTION=1740651]AuxLV[/MENTION] do you have any plans to fix lollipop support? :) it would be really great!

Edit: dont know why but now it magically works on my cm12 rom :D

Edit2: does not work on nexus 7 2012, android 5.1 eventhought fstrim command works just fine.
[HTC One X] diddsen:
where's the dev?

no answers, no support? :(

no more working on lollipop.
[HTC One X] Bazzu:
Flashed today for the first time lollipop on my galaxy nexus and it doesn't work here too! Maybe you should try LagFixer..it seems to work

Inviato dal mio Galaxy Nexus utilizzando Tapatalk
[HTC One X] St3ve32:
Here is another tool supporting lollipop. Hope that the dev updates LagFix as I personally like it most of all these tools.

https://play.google.com/store/apps/details?id=com.fifthelement.trimmer

Odesláno z mého GT-I9300 využívající xda Forum
[HTC One X] Ohmster:
50% discount, ...where?

[MENTION=1740651]AuxLV[/MENTION] I want to tell you that I think that LagFix (fstrim) Premium is an excellent front end for the built in fstrim command plus scheduling. I just purchased it, love it, and the scheduling is excellent. But when I made the purchase, I was billed the same 99¢ that has always appeared for this app, even now that it has a "50% Off" brand over the image.

You know, 49½¢ is hardly worth going to battle over. I think it is well worth the money at either price. But why are you advertising a 50% discount and then billing full price for the app? I don't get it. :confused:

I am not upset. I love the app and I love your work. I just do not like false advertising. :(

Just to be fair, I am posting the "good screenshots" that show LagFix is actually working, on schedule. :)
[HTC One X] fifthelement:
There is a much better app than lagfix to trim manually. free, ad-free with schedules and lollipop support : https://play.google.com/store/apps/details?id=com.fifthelement.trimmer
[HTC One X] AndrOmega:
seeder is the best.

try yourself on playstore.

:)
[HTC One X] jemis1983:
Thank you it's work like a charm!!!!
[HTC One X] daitalos:
Working well

In tablet's samsung p5100&sm-t520 without problem..ty
[HTC One X] RyTekk:
Should I fstrim system? If I use discard flag, will it get issue with fstrim (ext4)?
[HTC One X] St3ve32:
Well I believe that you don't really need to trim the system portion as it is read only and trimming affects writing speed. :)
[HTC One X] RyTekk:
I rechecked my device, it does not support fstrim while it said need PIE support to do, but it've already been mounted with discard flag so fstrim will not affect like OP said.
[HTC One X] St3ve32:
Did you try this app https://play.google.com/store/apps/details?id=com.fifthelement.trimmer

It might work better :)
[HTC One X] RyTekk:
No, I didn't use this app of OP too, I find on the internet fstrim binary and push it in /system/bin, then run init.d script in terminal and got error that said require PIE support to run (I forgot what does PIE stand for). I think my Xperia Z2 is strong enough to discard mount flag can't make it down in performance.
[HTC One X] Bazzu:
With my galaxy nexus i keep seeing this message even if i just deleted app data and cache.. (just flashed a 5.1 rom)

Any advice?

Inviato dal mio Galaxy Nexus utilizzando Tapatalk
[HTC One X] matuszp:
Hi.

I've bought the app some time age - used it on my SGS3 5.1 - worked great !

Now I tried to run it on LG G3 it does not work.

Any clues ?
[HTC One X] Doc_Samson:
hi, the app is not supported in my Xiaomi mi3, with miui 7 ..the directory /system in particular. Any advice? :)
[HTC One X] St3ve32:
Try autotrim app :) it has been updated more recently and the developer might help you in case of problems :)

Odesláno z mého GT-I9300 pomocí Tapatalk
[HTC One X] kerpert:
Why developer doesn't support more this app? Really don't understand, I also bought the pro version.
[HTC One X] Schrotty35:
Can i use on my new Oneplus 5T and which settings are recommend?
[HTC One X] veer.killerboy:
Not supported by kernel or hardware issue.
[HTC One X] charnkamon:
tg
[HTC One X] geoffcorey:
Re: [APP] LagFix (fstrim)

In an emulator: mount

And check if anything has "discard" in it.

Or try: mount | grep discsrd
[HTC One X] tarroyo:
Do overclock speeds matter with LagFix?
[HTC One X] ranova:
works on the Atrix HD, only trimmed from /cache, nothing in /data
[HTC One X] jwthompson:
Re: [APP] LagFix (fstrim)

Works on Verizon galaxy s3 jelly "beans" b9! Thank You!

Anthrax'd d2vzw
[HTC One X] RoachForLife:
Any idea if this is already built into CM10.1? Running 10.1 on my S3 and N7

Also once this is set, if I wanted to reset back to stock, is there an option to do so in the app? Or perhaps uninstalling it would reset? Thanks
[HTC One X] Milamber33:
This isn't something that you can 'reset', it's like wiping your cache. Once you do it, it's done. And there is no 'stock', just like a cache, it's just junk that accumulates over time that you're clearing out.
[HTC One X] drraptor:
Galaxy SII isn't supported :(
[HTC One X] bmg1001:
Error about a typerwriter or something in CM7 on the LG MyTouch (LG E739)
[HTC One X] apatal:
Re: [APP] LagFix (fstrim)

The terminal says "no file or directory". I checked using root explorer and /etc folder really doesn't have those files. However, I did see a vold.fstab file. Is that what I'm supposed to be looking for?

Well I grep discard in mount and came up blank. So I guess this means the fix in the OP is applicable to my ROM. Thanks! :)
[HTC One X] malavan:
Re: [APP] LagFix (fstrim)

Yes what's up with that:(
[HTC One X] chrone:
thanks for this.

nope, overclock does nothing with subsystem storage performance of a nand chipset characteristic. :D

Sorry, it should be like these following instead of my initial post (mixed with ubuntu back then):

mount | grep /data

mount | grep /cache

mount | grep /system

or just "mount | grep discard" like geoffcorey suggested. :)
[HTC One X] mrberni:
[APP] LagFix (fstrim)

That means discard is NOT used as mount options. So this app will be useful to you. :)
[HTC One X] AuxLV:
Re: [APP] LagFix (fstrim)

If app is not available for your device in market, that means that there were user reports that your hardware does not support trimming.

Everyone wishes to translate - I'll message you as soon as I finish latest update. Probably - today's evening.

Thanks everyone for your support and interest!
[HTC One X] chrone:
can't wait to see what the update holds. kudos to lagfix, my phone is always on its top shape. :victory:
[HTC One X] DeFcOn:
Please upload the apk here because I don't have access to Play Store.

Thanks.
[HTC One X] kokesh:
+1 - I want to try it on my 4.2.1 CM 10.1 SGS2 and for some reason it says taht my device is incompatible...
[HTC One X] DeFcOn:
My nexus 7 is compatibile but I don't have Wi-Fi right now so I can't access Play Store.:laugh:
[HTC One X] quick_:
Just wanted to say thanks for coming up with this fix/app. My goddamn galaxy nexus would be great after flashing new ROM, then slowly but surely slow to as horrible crawl!!! Driving me nuts for at least 6+months. I kept wondering why everyone was raving about super smoothness with certain ROMs and/or kernels... Now I know why I wasn't seeing the same.

I kept trying to find what's using all the CPU or memory causing the slow down, and I could never find the culprit. I've always suspected that it was storage related.

Every time I updated or installed a new app, it would completely kill my phone everything would hang or slow down so much I would reboot my phone. At first I thought it was antivirus apps like lookout or avast scanning after installing apps, but uninstalling them did nothing.

I hope this stupid big gets fixed either by Google or by ROM developers soon. For now thanks for this app.

I have yet to use it, I just recently installed a fresh ROM and kernel (because of horrible lag). But I will use it soon as it comes back which will be soon no doubt.
[HTC One X] AuxLV:
SGS2 does not support TRIM operation. App will not do anything on your device. Devices banned in Play Store are banned for a reason ;)

APK is attached, enjoy!
[HTC One X] DeFcOn:
Thank you. This app seems to be really helpful. Not like seeder entroopy sh!t :silly::laugh:

---------- Post added at 09:43 AM ---------- Previous post was at 09:36 AM ----------

What do you recommend: enable or disable Fsync?

Thanks in advance.
[HTC One X] AuxLV:
NEVER disable fsync! Otherwise you WILL loose data and even corrupt your memory on unexpected reboots like kernel panic, sudden discharge etc. These all are force major situations, most people never see them. But there's a meanness law, which states that it will happen when you relax and disable syncing (:
[HTC One X] MaximilianPs:
Two question

1) Where the hek is going on the "Developer" option ?

I need to activate adb but I Cannot find the voice under the settings ...?!?!

2) Can I disable the lock screen with the two pages on the left and the right ?

'cause the default one is enough.
[HTC One X] chrone:
i'm sure you are using an Android 4.2.x based cusrom and there's nothing this lagfix do to your rom settings. :P

here's to answer your questioning:

to enable developer options: go to settings > about phone > and hit 7 times on the build number right at the bottom.

the lockscreen widget is a built-in feature unfortunately. but some cusrom or device administrator app hacking can hide it.
[HTC One X] Kwisatz89:
R: [APP] LagFix (fstrim)

works great also on nook color... now it's fast as a galaxy tab :eek:

Inviato dal mio HTC One X
[HTC One X] caliga4221:
Re: [APP] LagFix (fstrim)

Getting error at play store that the package I am trying to "purchase" could not be found. Where can I get apk? Vibrant SlimBean ROM. Suffering terrible lag and frequent Insufficient space errors trying to install apps with 5gb free.... god how I hate that error.
[HTC One X] AuxLV:
APK is one page back. Please test it and if it works I will enabled your device in Market.
[HTC One X] caliga4221:
Re: [APP] LagFix (fstrim)

Didn't ask for root 2 times. Checked system the it did. Uncked system then ran again. Got this result

Edit. Also sorry missed apk skimmed right over it. Could not run benchmark before and still can't get FC every time. But VERY noticible difference even opening app drawer much less an app.

Edit 2. Also might be of note. Using SuperSU instead of regular SU.
[HTC One X] fozzie:
https://play.google.com/store/apps/details?id=com.wordpress.chislonchow.deviceadminkeyguard
[HTC One X] AuxLV:
Looks like your /data partition supports TRIM, but /cache does not. Thanks for info!
[HTC One X] ireun:
Odp: [APP] LagFix (fstrim)

On nexus 7 everything went well. But on neo V it didn't work. I only get "Not a type writer" error on every partition.

Wysyłane z mojego Nexus 7 za pomocą Tapatalk 2
[HTC One X] CamoGeko:
Interesting app! :)
[HTC One X] supernova_00:
EDIT: Nevermind saw the FAQ and figured it out.
[HTC One X] RoachForLife:
Re: [APP] LagFix (fstrim)

Ahh. I guess my understanding of how this works is off. I thought this changed the value in the device so it auto trimmed often instead of waiting for it to fill. Instead it seems like the app is used to manually trim one time or I can set a schedule of when to trim.

Is this correct? The latter

Thanks
[HTC One X] chrone:
Re: [APP] LagFix (fstrim)

Reboot didn't solve all the problem, in nexus 4 and galaxy nexus, reboot only improve the write performance up a bit but not back to normal. Proper fstrim from this app does back performance to normal more less right before you filling up your storage. Tested. :)

Sent from my Nexus 4
[HTC One X] Soulfly999:
Wow thats really incredible. What where my hox doing before (sequential read). :eek:

thanks al lot dude.
[HTC One X] rtiangha:
Re: [APP] LagFix (fstrim)

Works great on the HTC Doubleshot/T-Mobile myTouch 4G Slide. Thanks!
[HTC One X] RoachForLife:
In what scenario would one want to also check the /system option? Also are anyone seeing benefits on a S3? Looking forward to trying on my N7 tonight

Thanks
[HTC One X] AuxLV:
If you do a lot of hacking on a live system. ROM makers might need it, normal people should not (:
[HTC One X] the7thson:
WOW!! Tried this on my Galaxy Nexus and Nexus 7, results on both are staggering. I might have shed tears of joy, this is amazing :)

My GNex is running PA 2.54 (4.1.2 base) with Franco Kernel m6.

Nexus 7 is running PA 2.54 (4.1.2) base with stock kernel.

To the OP - THANK YOU! :good:
[HTC One X] chrone:
hey AuxLV, care to adding the app version and last update date on this subject thread just for easier reading from topic favourites. :)
[HTC One X] mettleh3d:
Unable to install on T-Mobile Galaxy S 2. Not listed in my Play Store :(

Possible to post apk?

Much love OP.
[HTC One X] M3wThr33:
Ran on HTC Evo 3D. Trimmed fine. Rebooted fine.

Ran on AT&T Thrill 4G (LG Optimus 3D) and got the Typewriter response, so I guess you can mark that one as not compatible.
[HTC One X] kwartey:
should i jus run and restart?? thats it?
[HTC One X] the7thson:
Already posted a few posts above.

Yes.
[HTC One X] a1exus:
does it make sense to install/run it on Samsung Galaxy Nexus (toro) and/or ASUS Nexus 7 (grouper)?
[HTC One X] revan17:
Not sure yet if placebo, but things seem smoother on my XS. Worked like a charm.
[HTC One X] AuxLV:
Re: [APP] LagFix (fstrim)

Yes.
[HTC One X] cistamlaka:
Does this app work with most of the android devices or not?Is there any chance of bricking or bootloop with this app?I just ask before I run it.
[HTC One X] sishgupta:
I've had a very good experience with this app on my Galaxy Nexus (maguro).

After having owned my phone for over a year (purchased dec 7th 2011) I had noticed the phone get noticeably slower for a long time. For a while I just kept throwing a new version of AOKP on it and wiping everything. This would help for a while but eventually the AOKP releases slowed down and I would be stuck on a version for months. Instead of just wiping and reloading every week I had to try to find a solution.

Things like clearing the cache with TiB would help a LOT and it was really helpful but eventually the issue would come back and sooner than I'd like.

I tried seeder but for me it did nothing and I agree with the google dev's assessment that it is not necessary on 4.0+.

I heard about LagFix, and skeptical from seeder I decided to try it out. What world of difference. It's like my phone is just as fast as my new N7 or my GF's SGS3. Feels like the day I bought it!

I greatly look forward to the scheduling feature of this app. I hope to see the following features:

- Automatic reboot

- skip a week (run every other week/twice a month)

I would like the auto reboot because after I run LagFix the system is INCREDIBLY slow.
[HTC One X] bigwavedave25:
Yes. I installed in on my GNex toro and it instantly (after reboot) speed up the redraw that "MultiPicture Live Wallpaper" was having. Looked to take 1/4 the time making it almost an instant refresh whenever the app needs to do so. I'm sold. :)
[HTC One X] jpo234:
Reports that LagFix kills the Acer Iconia Tab A210

Hello all,

over in a German Acer A210 Forums are reports that the LagFix app kills the A210 (falls into APX mode). Has anybody an explanation for this and maybe an idea how to recover the tablet?
[HTC One X] TheShoura:
Galaxy Nexus Maguro GSM here

I was having persistent lag and bad IO performance with sysUI and other various apps. Reboots, cache wipes, flashing ROM, force-flashing partitions back to stock... I tried a lot of things... Ultimately after running this app and rebooting, it makes sense... Nothing was trimming the memory in my phone and this was a huge turn around for performance!

Having several SSDs in my desktop and laptops, I understand what and how trim works... It really surprised me that this was needed external from the built in OS but at the end of the day.... I am so happy this app exists.

Thank you!!!
[HTC One X] the7thson:
Agree 100% with everything you said, including the suggestions for auto-reboot and scheduling.
[HTC One X] AuxLV:
Re: [APP] LagFix (fstrim)

Khm, sounds like brickbug, like the one found on some Samsung devices... Sadly I can't help you. Will ban acer tablets in market, this is all I can do...

The only thing I can recommend is if you are able to get into recovery, then format memory and reflash everything.

Also check out brickbug info in Google.
[HTC One X] AuxLV:
Re: [APP] LagFix (fstrim)

Yes, there is a chance to catch a brickbug. Read Google about it.

I should add a warning...
[HTC One X] CamoGeko:
Re: [APP] LagFix (fstrim)

Very useful app, it has noticeably sped up my HOX.

Thanks for devving it. :D

One thing I would like to see is a Reboot menu after the process has finished, or maybe even just a button. Would make things more fluid.

Spun out from a JELLIED and RENOVATED One X.
[HTC One X] RoachForLife:
In reference to my question about if this is in CM10.1. Let me restate. When applying a new ROM flash (in this case, a nightly), is it standard procedure that the flash would also do the trim command? I say this because both my S3 and N7 have cm10.1 and I update every morning with the latest nightly. I ran the benchmark on both and both were around 7.4 on seq write. Ran lagfix, rebooted, and both still at 7.3-7.4.

Ive had both for some time so it would seem like it should have been lower, unless my constant updates of the rom are also trimming

Any thoughts? Thanks
[HTC One X] goTouch:
Re: [APP] LagFix (fstrim)

What do you mean when you say brickbug?

Enviado do meu Galaxy Nexus
[HTC One X] chrone:
Re: [APP] LagFix (fstrim)

Here and here:

http://xdaforums.com/showthread.php?p=25869754

http://xdaforums.com/showthread.php?p=27014974

Sent from my Nexus 4
[HTC One X] :
Re: [APP] LagFix (fstrim)

This app is amazing on my gs3:eek:

Envoyé depuis mon GT-I9300 avec Tapatalk
[HTC One X] goTouch:
Re: [APP] LagFix (fstrim)

Didn't know about this. Thx

Enviado do meu Galaxy Nexus
[HTC One X] chrone:
Re: [APP] LagFix (fstrim)

Anytime dude, i also just knew it couple months ago. Hehe

Sent from my Nexus 4
[HTC One X] el6006:
I want to try this on my Fascinate but it doesn't show up in the play market. Can someone send me the apk please/thanks!!!!
[HTC One X] chrone:
Re: [APP] LagFix (fstrim)

The apk is on this post #119:

http://xdaforums.com/attachment.php?attachmentid=1666400&d=1358843031

Sent from my Nexus 4
[HTC One X] revan17:
How often should we/can we run this fix?

My Xperia S really seems smoother after running this.
[HTC One X] AuxLV:
Re: [APP] LagFix (fstrim)

Official CM updates do not modify partitions. I also believe that recovery does not anything special too. But you should not care, because there are no writting operations to /system during normal usage.
[HTC One X] AuxLV:
Re: [APP] LagFix (fstrim)

Depends on your usage. Run AndrodBench once per day and make your own mind (: I use once a week.
[HTC One X] Brds7t7:
Re: [APP] LagFix (fstrim)

Wow this is awesome! I have SSD's in my desktop which support trim. Only a couple weeks ago I was wondering how it would work on phones. I've ran it even though my phone isn't exactly full, but I know it can't do any harm. But I'll be keeping this app now. Great job :thumbup:

Sent from My Calculator!
[HTC One X] DirkStorck:
Sorry to ask if it is already been said but the search doesn't work at the moment....

Does this work with SGS3?

Thank you!
[HTC One X] Galaxy_Fan:
YES!
[HTC One X] ViNOK16Bit:
I keep getting the "ROOT acces was NOT granted,.." message. I have the ViperX 3.2.4 with Superuser app installed. What can I do?
[HTC One X] jr_718:
Reserved...
[HTC One X] AuxLV:
Nothing at the moment. I will investigate why some users can't get root rights after I finish current updates.