yashsingh1/xdaforums huggingface dataset:
[HTC One X] veldom:
Thank you! It works perfectly on my Galaxy Nexus.

My current configuration is:

Galaxy Nexus

emmc V3U00M (affected by the performance bug)

Yakiu boot

ROM Cyano 10.1.2 (rooted deodexed)

3Gb of free space
[HTC One X] 2WildFirE:
Great! 50% off I have buyed the premium version. Thx for the great App
[HTC One X] GrillMouster:
This app worked wonders on my original wifi-only Nexus 7 prior to updating to Android version 4.3. I've heard that ftrim may already be enabled in 4.3, potentially making this app unnecessary. Does anyone know if this app causes problems or continues to work on the Nexus 7 after the 4.3 update?
[HTC One X] AuxLV:
Root functionality is very unstable for 4.3 so I don't recommend running any root apps at the moment.
[HTC One X] mw86:
This is true, Chainfire is very hard at work. Been updates almost daily for Super SU. See change log. https://play.google.com/store/apps/details?id=eu.chainfire.supersu
[HTC One X] fozzie:
Just run 'mount|grep discard' as root in terminal emulator.

If the partitions you're interested in have the discard option then there's no need to trim them (but it won't cause any harm to).
[HTC One X] radzer0:
On nexus 7 with cm10.1.2 I got permission denied and a not supported. After I cleared cache on the app it rna it but it finishes instantly and doesn't do anything. Ideas? It's getting root access.
[HTC One X] fozzie:
What do you mean by "it doesn't do anything"? Do you mean the command returns back to the prompt? If so, it means that none of your partitions have been mounted with the discard option and so you should trim.

To confirm, try 'mount|grep by-name' - you should then see all your partitions (including cache, data, system) and the options they were mounted with.

If you're getting permission denied then there's a root problem.
[HTC One X] radzer0:
Inside lagfix it says it completed successfully. But it does everything in under a second so I'm guessing it's a bug when you clean the cache on it as it didn't pop-up at the bottom saying it was given root access after cache was cleared. And in terminal fstrim always comes back with permission denied. If it's a root issue is it something wrong with cm 10.1.2 in general? Since I'm not running a rooted stock rom or anything like that.
[HTC One X] alfredino85:
Tested on htc one s (s4)

I have tested this app on my htc one s and apparently it works, but i have a doubt about this real effect. The processing of trim command takes only some second (2 second), it's normal only 2 second for trimming data partition and cache partition?
[HTC One X] radzer0:
My razr hd takes about 5min.. Even if it just ran when I run it again it takes about 1min.. That's why I don't think it's working on my Nexus 7 even tho it says it is..

Terminal can't run the command on it yet this app somehow can?
[HTC One X] ahecht:
Same on my HTC EVO 4G LTE. Just immediately spits out "Partition was trimmed" without any delay, so I doubt it's doing anything.
[HTC One X] panfiluta:
Thx for app

This is my result in AndroBench for HTC Desire S:

https://dl.dropboxusercontent.com/u/8477841/fora/Screenshot_2013-07-30-21-02-37.png

And After

https://dl.dropboxusercontent.com/u/8477841/fora/Screenshot_2013-07-30-21-09-25.png
[HTC One X] AuxLV:
It worked like it should. It is slow only on dumb memory controllers.
[HTC One X] radzer0:
Managed to get it to go thru in terminal.. And it took 2min.. Why would it go so much quicker in your app? Not saying its a bad app btw as it worked great on my razrhd.

Its just the fact that it first got permission denied than after i cleared the cache on the app it started saying it was doing it without even having root access...
[HTC One X] JeremyNSL:
Just want to make sure - is this safe to use on a HTC One XL running the latest Sense OS? (I'm on ViperXL 3.2.6, rooted and s-off)
[HTC One X] Tyrador79:
Couldn't load App from Play Store but testet with the free version here.

App is working on GT-P1000 with latest AOKP SGT7 rom
[HTC One X] sasha007:
Is it even necessary on Galaxy S4 ?
[HTC One X] chrone:
No need if you don't feel any slow down in write performance.

Sent from my Nexus 4
[HTC One X] AuxLV:
Search the thread if anyone tried before.
[HTC One X] gamepois0n:
im using JB 4.3, will this work on it?
[HTC One X] bpdev:
Android 4.3 has fstrim enabled automaticaly in the background while your device is charging. So this is not nessesary.
[HTC One X] gamepois0n:
I like to do things manually, I don't trust this "background" feature.
[HTC One X] AuxLV:
Should work, but there are big issues with getting root access at the moment.
[HTC One X] gamepois0n:
nah, I have already rooted my system. but thank for the info tho.
[HTC One X] jeffreynothing43:
Should I run lag fix on 'system?'
[HTC One X] bsoplinger:
You could but how often do you add or delete files there? Trimming fixes the problem created when deleted file space isn't recognized as usable.

Sent from my Nexus 7 using Xparent Purple Tapatalk 2
[HTC One X] arana1:
i dont know if my bionic kernel (stock 4.1.2) uses -dscard to mount, so ill just ask would i benefit at all by using this, or will it do any harm if i use it on a device that uses -discard?
[HTC One X] gamepois0n:
how can I know if my kernel have "-discard" function or not?

Signup and get 15 Gb free plus an extra 5 Gb each using this link: https://copy.com/?r=vOeT9D
[HTC One X] hastalafiesta:
Also for me!!! I have an i9070 and lagfix after the trimming (idk if it works or not) shows to me this

Here are the screen
[HTC One X] dimitarc:
I bought the premium app to use it on my Galaxy Nexus and Asus Transformer TF101.

It's not working for me.

TF101 is on rooted KatKiss, I was able to trim /system but then I get

# fstrim -v /data

and it gets stuck there.

Gnex is on CM 10.1.2 and I get that LagFix is not able to run because hardware issue.

I grant root permissions on both of my devices?

Any help?
[HTC One X] Headless96:
Clear app data and try again

Sent from my :tank:
[HTC One X] radzer0:
Could also be something failing in your phones memory requiring a replacement.. Flash memory does fail over time
[HTC One X] dimitarc:
I can run it on my gnex. Perfect.

Only issue now is with the transformer, getting stuck on /data. Its running for 25 minutes now. I hope it will finish. Either way, running faster with just /system and /chace trimmed.
[HTC One X] Headless96:
Run the command through terminal and see if you get any errors, if you do trimming /data probably just isn't supported

Sent from my :tank:
[HTC One X] arana1:
huh?
[HTC One X] AuxLV:
There are reports that TF101 is not trimming properly. Maybe I need to ban this device in market to avoid confusion.
[HTC One X] jjl468:
How do I know if my current ROM uses -discard? Also, this app does not work on my phone. I'm using a rooted S-7500L running GB 2.3.6 and the GellyBread ROM.
[HTC One X] domg73:
from terminal type:

mount|grep discard

it will show partitions mounted with discard option...

if it does show nothing then partitions are mounted without discard option
[HTC One X] jjl468:
This is what popped up when I entered mount|grep discard. Could somebody tell me what this means? I'm not very experienced with this kind of stuff.
[HTC One X] domg73:
According to the output only the sdcard is mounted with the discard option...
[HTC One X] jjl468:
Oh, well my phone calls the internal storage sdcard and it calls my actual sd card external_sd, so at least I have trim on there.
[HTC One X] lou2s:
OMG this helped eliminating my phone lag after a new ROM flashed. Thanks!

Sent from my Boeffla I9300
[HTC One X] Blackherted:
This sounds really interesting... will it work on SGS 1 running android 4.2.2?
[HTC One X] dollyaja:
U still can uninstall if doesnt work. But it should work
[HTC One X] vintr:
Showed up as not compatible with the HTC One S in the app store. I understand I can just download and install the apk but just wanted to make sure that it shouldn't mess anything up if I were to install and run this. Thank you!
[HTC One X] Dreadllokz:
i9000b SGS

Compatible with SGS i9000b, running CM 10.1.2 JB 4.2.2 with stock CM kernel, only /system and /data are compatible, /cache is not! To bad I could test it with the benchmark, it crashes everytime!

I rly don't see any performance improvements, gonna try it every day and come back with some feedback.
[HTC One X] grinder777:
Works nice at my SGS i9000 running 4.2.2 ROM!

Thanks a lot, maybe I will buy pro!

SGS - Devil 4.2 - Black Beast - Cobalt Sam-X - Thnx2all
[HTC One X] Doc Franky B.:
Works fantastic :thumbup: on SGS3 with nightmare rom 4.2.2

Thx
[HTC One X] heintosz:
I would really like to use this fix to speed up my phone / tablet. But i also read that there are bricked devices. Is there any way this could brick my device? Do i have to check first if it is compatible?

If someone could explain the risks and advice if it is possible i would highly appreciate!!

I'm on HTC One X (international tegra3 version), CM10.1.2.

As for the tablet: Asus Transformer Prime TF201 with JB bootloader and HairyBean2.2.

Thanks in advance for the answers!!
[HTC One X] StormIceX:
4.3 background trimming work fine or i need this app on 4.3 after some time?

Inviato dal mio Galaxy Nexus usando Tapatalk 4
[HTC One X] AuxLV:
HTC One X is 100% compatible, don't know about Asus.
[HTC One X] AuxLV:
Just test it!
[HTC One X] heintosz:
No risk of bricking the device?

That would be awesome! Then i will try right away :D
[HTC One X] AuxLV:
I have HOX and Nexus 7, so these two devices are 100% supported and tested (:
[HTC One X] heintosz:
Thanks! I will try it then and see if it gives me some extra speed...

Any advice on the frequency? I know android 4.3 tries to do it every day but for moderate use would once a week be enough? Whats your experience?
[HTC One X] mhboooool:
tank u :good:
[HTC One X] arana1:
Works on bionic, but haven't noticed any change on speed, probably my installation was still fresh.
[HTC One X] Brianrh:
Has anybody tried Lagfix on a Huawei Ascend P1 or any Huawei for that matter? Like others I am worried about bricking a fairly new, and my only phone.

Thanks.

Brian
[HTC One X] AuroEdge:
Is the premium app supposed to do notifications when the scheduler runs? Also please fix the schedule time input. If I put in 05:00 and tap install it says the run time is at 5:0
[HTC One X] DirtyIdiot:
Use the premium app in my asus TF700T.

Could i also use it in my S3 with Android 4.1.2?

Dont want to risk a brick ..
[HTC One X] lou2s:
I used it on my s3 without any problem.

Sent from my Boeffla I9300
[HTC One X] AuxLV:
Yes, there should be notifications and yes,I know about these bugs. Just a bit busy now, sorry.
[HTC One X] AuroEdge:
The scheduler ran as expected this morning and had a proper notification. I installed the premium app on my Nexus 7 and Galaxy Nexus (toro). My toro device is in a much better state after having used it.

I ran 'mount|grep discard' and saw it was active on my Nexus 7 but not Galaxy Nexus. Both are on CM 10.1.2 stable. It would be very valuable to have a button in the free/premium versions that reads out whether or not using the lagfix app within the ROM that is installed is needed. Maybe in the background run the discard command I mentioned. I'm not sure what other checks would be helpful.
[HTC One X] AuxLV:
Yep, I'm working on a greatly improved version with checks, but it takes time.
[HTC One X] heintosz:
Ok, i downloaded the premium version yesterday and used it to trim /system, /data and /cache on my HTC One X and Asus Transformer Prime TF201.

As for the HOX: The trimming was done in 1-2 seconds, which i think is really short and i doubt if it did anything? But perhaps i didn't need trimming in the first place. But anyway, no bricking, no freezing or anything, the program ran perfectly. I rebooted after it was done just to be sure. Results: Can't feel any difference.

As for the Prime: The trimming took about 5 minutes. /system took about 1 minute, /data about 4 minutes and /cache took some seconds. During the process the tablet was still responsive and worked pretty normal. So, considering the time, it must have done something. No problems here as well, no brick, no freeze or anything. I rebooted after it was finished just to be sure. Results: I feel the tablet is a little smoother than before, it seems to respond a little faster when loading apps. Not very much though.

I am very satisfied with this app! It works great and i will run scheduled trimming once a week from now on. Keep up the good work!!

As suggested before, a test would be nice and a log of what actually happened during the process.
[HTC One X] ismethajametovic:
Scored an extra 100+ points on quadrant if that even matters to anyone. I know it doesn't, but I'm just throwing it out there.
[HTC One X] AuxLV:
Trimming on HOX is fast, because chip firmware is smart. It stores needed data in its RAM and writes it in chip when idling. So it works fast and correctly.
[HTC One X] heintosz:
Thanks for the clarification!
[HTC One X] Brianrh:
I'm sure there was a mention somewhere in this thread of a list of devices compatible with Lagfix. Please can anyone point me in the direction of this list so that I be sure of not bricking my device.

Thanks.
[HTC One X] AuroEdge:
Not sure what you have planned for the next update and overall so my suggestions could be redundant. Are you planning on integrating the function of BrickBug into LagFix? It's not clear to me if you have a whitelist or blacklist of devices you support on the Play Store i.e. do you only block certain devices or the other method do you only allow certain devices to download the app? It would be great to copy Google's fstrim power checks from Android 4.3; only runs if battery above 80% or if plugged in above 30%. That should be completely optional to disable in case there are problems with that on certain devices or (custom) ROMs.
[HTC One X] p-walker:
it also worked on my SGS1 I9000, but only on \data not on cache. Benchmarks also improved significantly :D
[HTC One X] AuxLV:
Ok, will see what I can do.
[HTC One X] yavu:
Does this app function on a Galaxy S i9000 with MoviNAND chip? Advantage?
[HTC One X] nereis:
I'll quote myself from another thread, should be no problem on i9000 w/ movinand if you have the same eMMC chip.

If I am not mistaken, the so called MoviNand Galaxy S actually has a small iNand too, and that's being used as the data partition on the CM10.1 partition layout.

I had no trouble doing TRIM on the MoviNand system partition though.
[HTC One X] Raijin:
I was just wondering what would happen if 4.3 fstrim and LagFix run simultaneously. Maybe a check before LagFix runs would be good.
[HTC One X] DLAddict:
Can I run fstrim manually via adb? What would be the command for this?
[HTC One X] yavu:
I have movinand for sure. Why do you talk about eMMC Chip? Are there differences on i9000 too? Playstore can't find this app with my phone. It's blocked through the developer for i9000?
[HTC One X] nereis:
There is always the bricking risk to some NAND chips, I used "eMMC" because that's what Got BrickBug app called it, and yes there are variants to i9000. I think you can find apk links somewhere on this thread, but at least check the brickbug app to see if you have a known problematic chip.
[HTC One X] Pens and DreamS:
is it safe to trim system on a galaxy s3 us variant?
[HTC One X] AbhishekS:
Is it still needed on Android 4.3?
[HTC One X] chrone:
Am afraid it's not.

Sent from my Nexus 4
[HTC One X] nirogu325:
Yes. Done it several times on my T-mobile GS3.
[HTC One X] rubpa:
Nexus S -> no benefit

I rooted my Nexus S (i9023) phone just for this hoping for some improvement. However I don't see any improvement at all. I am using stock ROM 4.1.2. The fstrim command completed very fast (less than 15s). Does this app need some kernel support?

My AndroBench random write performance is in the order of 0.20MB/s both before and after. :crying:
[HTC One X] stein-one:
Thank you for this! Will give it a try on my galaxy i9000.
[HTC One X] CheekyLord:
---

check pm

---

Greetz

SentFrom a very fast Nightly
[HTC One X] stein-one:
Information for other i9000 users. Worked with semaphore kernel. At least no brick :)
[HTC One X] gelo01:
Works on HTC One S. :) though i can't feel any difference in overall performance within UI and games..
[HTC One X] AuxLV:
To avoid placebo, you should use benchmark before and after and your storage should be under lag condition before running LagFix.
[HTC One X] nhariamine:
is there any update for fstrim coming out?
[HTC One X] AuxLV:
Yes, bug fixes this weekend.
[HTC One X] rmsinaga:
Hi AuxLV,

Is this app applicable for Android 4.3?

Thank you
[HTC One X] AuxLV:
Android 4.3 has this function built in, but my app does not conflict.
[HTC One X] rmsinaga:
In other words, there's no need to install your app if I already use Android 4.3, isn't it?

Thanks
[HTC One X] yavu:
It's recommened to install on a Galaxy S2 i9100 ?
[HTC One X] AuxLV:
Yes, but if you have it already then it won't do any harm. I mean - no need to panic (:
[HTC One X] itenos:
I would suggest that this app is still necessary because of the extreme restrictions that Google put into 4.3 like minimum 80% battery AND at least one full hour without any activity.

I left my phone on charger every single night since the OTA but fstrim never showed up in my logcat... Probably my phone has too many apps installed and therefore NEVER sleeps for one full hour... Even when its master is in the land of dreams since long time. :P
[HTC One X] FedUpChoosing:
I have found the same here, checked quite a few times but never see fstrim in the logcat
[HTC One X] pac213:
On CM 10.2, /system cannot be trimmed? Is this expected?
[HTC One X] badbod:
works great on my HOX .. :good:

Thanks...
[HTC One X] :
Any news regarding the update? ;)
[HTC One X] AuxLV:
Not finished yet, sorry. Need to fix a lot...
[HTC One X] AuxLV:
Why update is not ready? There were a lot of feature requests and I want to change UI a lot. That takes a lot of time. Looks like I will release maintenance update with bugfixes in comming days and continue with features after that. sorry for big delay.

P.S. I'm also working on updating Ctrl+C app and working on two new apps. Eh...
[HTC One X] 2WildFirE:
AuxLV

Take your Time, its done when its done.
[HTC One X] :
+1

Gesendet von meinem Nexus 4
[HTC One X] ColBill:
Shows as compatible but not run

Hi

This app seems to be a superb tool however, I am using PA 3.68 on a P6800 - Laxfix will not run - states device not supported for /system /data /cache. Am I doing something wrong that prevents the app from functioning? Or, should i wait till your next update and try again?:D thanks for your efforts this seems to be a must app.
[HTC One X] AuxLV:
Read FAQ please.
[HTC One X] shmallow:
I just got bricked, using EVOLTE. I wasn't using a CM rom, but a rom that had some CM elements in it, Dirty Unicorns 4.2.2. Don't use lagfix if you're on that rom and have an EVOLTE.
[HTC One X] AuxLV:
Which device are you talking about?
[HTC One X] AuroEdge:
For the Nexus 7 (original) on CM 10.1.2, the discard option is enabled for both /data/ and /cache/. I swear I read somewhere there could be benefit of using Lagfix once to clean up since -discard does not do exactly the same process as -fstrim. Is there truth to this?
[HTC One X] chrone:
Discard will freeing up the used block each time you or system delete files and write new ones. Old deleted files are only marked as deleted to improve nand life. The calculation to free up the marked as deleted block when writing new files and or deleting old ones will increase latency and low IOPS. High latency and low IOPS = lag, pause, stutter.

That's why Google go with the fstrim on Android 4.3 instead of discard. They go with scheduled trim and not on every write or delete.

http://www.anandtech.com/show/7231/the-nexus-7-2013-review/4

And Motorola go with f2fs and trim on delete on Moto X device. Trim on delete is made possible thanks to the serial write mechanism introduced on flash friendly file system (f2fs). It puts write in queue to avoid starving the IOPS.

http://www.anandtech.com/show/7235/moto-x-review/9

So yeah, I might say go with LagFix to manually control the trim function with GUI for ease of use, or use fstrim binary from terminal. :)

Sent from my Nexus 4
[HTC One X] fozzie:
Yes you did read that (as I did some time ago) :)

The comment was that the discard option only cleans up deleted files from the point that the discard option was enabled, on each file as it's deleted; it doesn't do anything for files that were deleted before discard was enabled and so it's possible that there's a load of old deleted files still hanging around. Therefore running fstrim once would ensure that all old deleted files are also cleaned up.
[HTC One X] AuroEdge:
When I read that I ran lagfix and got some weird side effects. My tablet would have slow I/O until I rebooted. Can I and would I want to disable discard and start a lagfix schedule?

For the other member who replied I'll be interested to see if the eventual 10.2 stable has gotten rid of discard. I can't imagine why it'd still be enabled
[HTC One X] jordanishere:
Just tested this on my Xiaomi MI2S.

Works no problem.

Great app.

---------- Post added at 11:03 AM ---------- Previous post was at 10:30 AM ----------

Bought the paid version.

Sent from my Xiaomi MI2S
[HTC One X] View92612:
Just bricked my phone

I just bricked my HTC Amaze 4g using the app from Google Play. When I ran it the fstrim was successful on both /data and /cache. I did not do anything to /system but after shutdown the phone is very unstable and fail to boot 90% of the time. It sometimes boots successfully but would freeze shortly. Even recovery would freeze and then shut down.... Should I dump my phone or is there any chance it can be revived?

Thanks...
[HTC One X] jordanishere:
Reinstall your ROM?

Sent from my Xiaomi MI2S
[HTC One X] View92612:
Can't....It always fails to boot into recovery(or hangs after 2 seconds while starting recovery.) Flash recovery is successful every time. I think the emmc is not stable...

UPDATE: After reading what the brickbug is all about, I believe the emmc is effectively killed by lagfix and no way it can be recovered.

The only way to fix it is to replace to emmc completely. As the phone is 15 months old and the market value has dropped a lot, it does not make any sense to spend the money to fix it. I will never use lagfix again or run fstrim on any phones. It's simply not worth the risks....

I read the Nook HD+ forums and someone also bricked his Nook HD+ using lagfix... I should have been more cautious.... stupid me...
[HTC One X] ColBill:
Here is a link that might be helpful. Revive your device from SuperBrick: Guide[GUIDE]

[Noob-Friendly][adb] How to avoid Superbrick // How to revive your bricked Tab

this is the guy - Androguide.fr he developed PIMP your ROM

It applies to TABs but maybe worth a read. at least it is a place to start. good luck.
[HTC One X] View92612:
Thanks. I appreciate the info. However, I can't even get USB debugging enabled. All I have are the boot loader and fastboot. I have fell back to my Samsung Behold II. I already have a plan for upgrading the phone in December anyway. It's only slightly more than 90 days away. I consider it a punishment for recklessly trying some dangerous file system optimization and the tuition for learning how dangerous it is.
[HTC One X] TAGTRAUM:
/data and /cache partitions trimmed successfully, rebooted, but i can't see any difference in AndroBench???
[HTC One X] currydude:
Re: [APP] LagFix (fstrim)

Then you didn't need it in the first place. What are the results? And device?
[HTC One X] dosmac:
I'm using the MB860 Motorola Atrix 1, Android 2.3.4

Posted the problem i'm trying to solve here: http://xdaforums.com/showthread.php?p=36258006#post36258006 for reference.
[HTC One X] alexflash:
On my tab 7.7 with Paranoid 2.50 (Android 4.1.2):

fstrim: FSTRIM: Operation not supported on transport endpoint.

both for /data and /cache

Why do I get this error? My mmc controller doesnt't support trim?
[HTC One X] AuxLV:
Re: [APP] LagFix (fstrim)

Try running fstrim manually with different mount point. Binary is in /data/data/com.grilledmonkey.lagfix/files after first app run. Maybe you need to trim / or other mount point.