yashsingh1/xdaforums huggingface dataset:
[HTC One X] :
Yes, it's safe - safe as rooted required apps are! It could happen everything!

Btw I'm using this app with all of my nexus devices without any problems (nexus one, n4, n7, n10, galaxy nexus} - you should give it a try.
[HTC One X] rmsinaga:
Do you still need this app for KitKat 4.4.2 ?

I thought it is already integrated?
[HTC One X] Anderson2:
My understanding is that even so, it does help. Maybe I'm wrong.
[HTC One X] NPeete:
Tried to use with my Defy+ but it froze, had to reflash it starting from sbf...
[HTC One X] migotevo:
How often can i use this app? I mean how should i set shelude? Sry for my english:P My phone is lg g2
[HTC One X] AuxLV:
Running once a week is enough for most users.
[HTC One X] MacSeoin:
Fstrim is used in kitkat but not so frequent as some people like so this app lets you manually control this
[HTC One X] mdalacu:
Can i add a custom partition ? Thx.
[HTC One X] chrone:
Works on N5 16Gb black.

Sent from my Nexus 5
[HTC One X] djangosteen:
Deleted

Sent from my LG-P705
[HTC One X] insanelycool:
you can try trimming manually by opening a terminal window and using:

# fstrim -v "Path to partition"

Just remember that the device with the partition has to support the trim function (SD cards don't apparently)
[HTC One X] Shudushi:
Works on Acer Iconia A510

Hi!

I just wanted to confirm that LagFix works on Acer Iconia A510 running stock Jelly Bean-ROM (4.1.2)

Kernel-Version 3.1.10+

Build-Number Acer_AV051_A510_1.036.00_EMEA_DE

Thank's for this great tool!
[HTC One X] mdalacu:
Yes, but internal sdcard does! 16GB was trimmed! :)

:D

On note 3:

# fstrim -v /data/media
[HTC One X] fozzie:
I think you'll find that mount point is actually the internal flash memory and not a physical SD card ;)
[HTC One X] mdalacu:
I have already stated that ...;)
[HTC One X] fozzie:
You said it was an internal SDcard in response to a point about SD cards. I was pointing out that what you mentioned isn't an SD card. ;)
[HTC One X] mdalacu:
In Samsung phone you have "internal sdcard" name convention for internal flash memory and external sdcard (the acuat phisical sdcard), also in all Android phones you have /sdcard mount point witch refers to the internal flash memory, so it is a naming confusion.
[HTC One X] Motwera:
This is a life saver, along with Seeder, but it really needs more than one schedule and also a homescreen or on screen widget that i can manually use because my TF300T suffers from the nand slowdowns problem.. while my new device, Xperia M doesn't suffer from it despite having no apptosd support
[HTC One X] maly_szcz:
Hi.

I have two questions.

I have SGS2 with insane chip (brick bug possible). But as far as i know, stock android 4.1.2 has fixed thit issue (eMMC check passes "check memory"). I am using this app (link in this thread) for 2-3 months i think, without any problems. So i think, i can use that app. Am i right?

And second - if i'm right, how can i buy this app? I can't do this because of message, that this app is no compatible with my device.

Regards,

Daniel
[HTC One X] permutations:
phone is rooted, but lagfix not getting root

My phone is rooted using the Superuser app from ChainsDD. But when I try to run LagFix (I've tried both free and premium, v1.5.1), I get a message that LagFix couldn't get root and root is required. But I never got a request for root from the app. After closing LagFix, I opened Titanium Backup, just to see if it got root, and it did. So there's no problem with the rooting of my device. There's something wrong with how LagFix is requesting root access.

Can this be fixed? My phone is slow as molasses and driving me nuts.

Thanks!
[HTC One X] fozzie:
Try flashing SuperSU instead.
[HTC One X] permutations:
I tried that, per your suggestion, but SuperSU keeps giving me the message "Installation Failed".

---------------------

Edit: I found the problem... My SuperUser binary was old. That may also have been the problem with LagFix. Still sorting things out...

---------- Post added at 08:11 PM ---------- Previous post was at 07:51 PM ----------

I installed SuperSU (had to first update the SuperUser binary). I then disabled SuperUser within SuperSU. I tried launching Titanium Backup to make sure I still had root and all was well. SuperSU prompted me to give Titanium root access. I then launched LagFix, and it immediately failed due to no root access. I went back into the SuperSU settings, re-installed SuperUser, and then went back to LagFix. This time, I was prompted by SuperSU for root access. For some reason, both need to be on my phone for this to run.

I don't think it's generally a good thing to have both SuperSU and Superuser on a device, is it? Couldn't they conflict?
[HTC One X] permutations:
One last update... I installed SuperSU as a system app. In the process, Superuser was removed. But LagFix still works. So now I have just one superuser app on my system, it works, and all is well.

Thanks for your suggestion.
[HTC One X] permutations:
LagFix: system partition? running repeatedly?

What is the reason that LagFix leaves off the system partition by default? What are the risks and benefits of including the system partition? Is it just that the consequences of corruption on the system partition are catastrophic? If I've run the program successfully on the other two partitions, is it then safe to include the system partition? Wouldn't including the system partition make things even snappier?

Another question... Is there a risk in running LagFix (fstrim) too frequently? Would that use up free blocks faster? Or if you run it twice in a row, is nothing changed?

Thanks.
[HTC One X] permutations:
[[dupe post - don't know how to delete. sorry]]
[HTC One X] fozzie:
Glad you got it working.

The system partition is off by default as nothing normally changes on it as it's read only. It only changes when you flash things to it.
[HTC One X] permutations:
Ah! Duh. I should have thought of that.

I discovered, after purchasing LagFix, that Android Tuner (which I also bought) includes a trim feature. The trimmer in Android Tuner completes much quicker than LagFix - no idea why.

I just upgraded my Nexus 10 to 4.4.2, so I don't need to trim that anymore. But my phone - ugh. Even with trimming, it's still pretty laggy, I love apps and I probably have too many loaded on there.

My OTA update to 4.3 failed on the Nexus 10 because I had a custom recovery partition, so I had to upgrade manually, which I hadn't done before. The doing of it was fast, but the figuring out how to do it took many hours. There is so much conflicting (and plain wrong) information out there! In the end, happily, I was able to upgrade from factory images without losing a thing - still have all my data and all my apps. Once I'd updated to 4.3 - restoring stock recovery - Google was happy to give me 4.4.2. (I realized too late that the factory images were full, not upgrades, so I could have gone directly to 4.4.2.) Anyway, I lost root in the process, so I temporarily booted into a custom recovery (TWRP) to re-root. And now all is well. I feel very satisfied having learned out to do all this, and relieved I didn't lose anything (though I did have a full Titaniam Backup, just in case).
[HTC One X] St3ve32:
Is there any way to get the schedule work more than just once a day? Thanks :)
[HTC One X] fozzie:
Why on earth would you want to do that?
[HTC One X] RoachForLife:
Gang,

Would there be any benefit to schedule this on my AT&T Note 3? It was my understanding that new devices handled this trim command properly but was unsure

Thanks
[HTC One X] Motwera:
Because tablets like the TF300T constantly need trimming to avoid lag when updating apps or using it generally..
[HTC One X] permutations:
You don't need it on any device running Android 4.3 or later. Android 4.3 and later include TRIM in the OS.
[HTC One X] St3ve32:
Yes, thank you, because that is exactly the same problem with my thl w8s. After trimming it runs absolutely smoothly, but without it it's very bad..
[HTC One X] quoctruong274:
is there anyone try this on Xperia P Lt22i? Does it work well??:D
[HTC One X] blackbuffalo:
It work
[HTC One X] quoctruong274:
I rooted and installed this app to my xperia P but it didn't work. It said that "Trim is not supportted due to hardware or kernel problem". :(
[HTC One X] onlykami:
is this app support xperia p?? i think its not
[HTC One X] Progressive82:
Time schedule

Every how many days do you recommend to use lagfix? at what time I've to schedule it?

I chose to set it on Tuesdays, Thursdays, Saturdays, Sundays at 23.30.

I've galaxy nexus, cyanogenmod 10.2 with franco kernel r395.
[HTC One X] St3ve32:
I guess that is good schedule. You'll see what effect the app gives and might change it in the future. Someone here in the tread said he runs trimming once a week, but I need to run it manually like twice a day, so it is very individual I think... Hope I helped you :cool:
[HTC One X] Progressive82:
Force closure app, than delete lagfix cache and data, so open lagfix and trim. I've resolved in this way the first time.
[HTC One X] Mikelevel:
works fine with Xiaomi Hongmi ( 4.2.2 )

please add an option to disable notification :)
[HTC One X] chrone:
You might want to go to android settings, app, lagfix, and untick the display notifications option.

Sent from my Nexus 5
[HTC One X] evildog1:
Not supported by device

Hello. can you make it support for my tablet Denver TAC-80053? i really need this app because my tablet lag a lot even i have 15 apps installed. my tablet have 4 cores, 1,2 GHz. i posted a attachment of my screenshot so you can see my kernel info.

EDIT: My device doesn't support trim thing. can't use this app...
[HTC One X] Tampqq:
Thanks

Hello

It works very well. when my phone lagged as hell I used this and it helped a lots but can I ask something.

Will it harm my device if i use it like 5-6 times a day? because my phone got lagging and I have tried many ways to fix it but it didn't work until i used this.
[HTC One X] absalom:
G2x

Does anyone know if this works with the LG G2x (P-999?)

I know custom ROMs change everything, but I saw the warning signs for O2x users and wondered if the issue carried over to the American version as well.
[HTC One X] Titchener17:
Seems to work with mine
[HTC One X] GilmourD3:
FINALLY got to pay some attention to the needs of my Asus TF201 and installed this today. Seems to be working nicely. :good:
[HTC One X] chrone:
Once a day perhaps?

Might as well leaving 25% capacity as free space for garbage collection.

Sent from my Nexus 5
[HTC One X] MetalOllie:
How often does 4.3 trim? I bought the app, and have it scheduled to run every two days and it definitely seems to make a difference?
[HTC One X] gbossley:
Motorola Defy+ on Quarx - CM10

On Playstore blurb statement is that this app doesn't lock.

Well, I can run it without any drama for the cache, but when I run it for /data, IT LOCKS. 90% of the time. Suggestions?

And before you tell me to be patient - I left the phone alone after kicking off Lagfix at 1130 last night, and there was absolutely no visual change and a locked phone the next morning.

I have seen it work and know it can take 10 minutes or more, but surely not 20 mins plus plus plus?
[HTC One X] osama-selo:
Do I need this App if I'm on latest version 4.18.401.4?
[HTC One X] jeyml:
Thank you verry much for this app, now everything works verry smooth. I only do this cleanup once every 2-3 weeks, but that doesn't bother me. Thank you again.
[HTC One X] Mr Hofs:
Depends if you want to use it or not :rolleyes:
[HTC One X] St3ve32:
What do you mean 4.18? Version of what is this? :) you don't need this app only if you're running Android 4.3 or higher :)
[HTC One X] Mr Hofs:
Explain why not on lower versions.......
[HTC One X] St3ve32:
I meant that you should use the app on lower versions of Android, because 4.3 or lower don't have the trim built in. But 4.3 or higher already include the trim it self, so we don't need to use it anymore. Hope this is clear enough. And sorry for any misunderstanding :)

PS: www.xda-developers.com/android/yet-another-reason-to-update-to-android-4-3-trim-support/
[HTC One X] osama-selo:
I mean I'm on latest Rom version of HTC One X android 4.2.2

I don't know if I'm right, but I remember some time ago I read that the trim is supported already in Sense 5 [emoji53], if I'm wrong what benefit will I get from this app based on your usage.

Thanks
[HTC One X] St3ve32:
If your ROM doesn't have trim inbuilt, you should get a smoother experience when using this app now and then. It should reduce laging. But it is very individual. Someone uses this app just once a week, I personally use it at least once a day, because it reduces lags on my device very much. Try and see :)
[HTC One X] TarteMan:
Will it work on stock 4.4.3 nexus 7 (2012) ?

If yes, why system partition isn't checked by défaut ?
[HTC One X] fozzie:
Yes. No need; it's a read-only partition.
[HTC One X] Damianat:
Cm 11

Hello everybody, my Nexus 4 runs a 4.4.3 cm11 and Lagfix tells me that trim is not supported on system, data and cache. Is it because of the Rom?

Thanks!
[HTC One X] gbossley:
From my understanding, later versions such as 4.4.3 have no need for Lagfix as the TRIM activities are integrated into the ROM - you should check the rest of the thread though.
[HTC One X] Titchener17:
Maybe, but what if the garbageman comes on Tuesday, but you're full on Sunday ?
[HTC One X] gbossley:
You've lost me mate! If you have 4.4.3 and the processes performed by TRIM are integrated into the ROM, why would you run Lagfix? If you have an earlier ROM and it isn't integrated, you need to run Lagfix from time to time? I could be missing something. In fact it's probable I'm missing something. But your garbo analogy doesn't give me a clue.
[HTC One X] c5satellite2:
I get what you are saying, but it isn't the same. Day to day usage will generate very little "garbage". So little that the "garbage man" only needs to come once a month just to pick up a few scraps.

Built in trim is more than adequate.
[HTC One X] Titchener17:
when you run the commands from terminal it will actually show how much (or little depending on perspective/scenario) is finally deleted and if you are on a more than adequate level rock on... one of my favorite roms runs it at boot and I think that's cool personally. so in my opinion this app can definitely be useful to many folks who - those who see benefit. I like to use the app everytime after cleaning with sd maid, but that's just me.
[HTC One X] stsaerox:
RK3066 tablet

Hello

I was wondering what are my changes to brick my tablet while using Lagfix?

My tablet came with android 4.0.4(then I updated to 4.1.1) , it has a rk3066 cpu at 1.5 or 1.6 and probably has a bad nand driver that cause major slowdowns when then apps are updated from playstore.

This is the tablet the specs are in latin form: http://forum.oktabit.gr/topic/vero-tablet-a9724-97-ips-dual-core

I've already checked with gotbrickbug but it doesn't recognize the chip.
[HTC One X] stsaerox:
Please anyone? I cannot even read eMMC info....
[HTC One X] Lord Childe:
works on Fonepad 7 4.2.2

Just want to know if it needs to be 'run' after every reboot, and if it's necessary to hit run whenever the device is sluggish.
[HTC One X] St3ve32:
If you don't have the pro version, I would recommend you the second option so you don't waste your time running after every reboot :)
[HTC One X] void23:
Sure trim is working?

While I haven't read all the posts, this certainly is an interesting topic and I've made some tests. In short, I think trim has no effect, at least for my device and rom it doesn't. Mind that it's no fault of the app, it merely looks like Android devices in general don't trim. I've verified it on two devices, following is one example. The first part is from my linux "server", second part Oppo Find 5 phone with Codefire 4.4.2 ROM.

I hope I don't make a fool of myself, but I'm pretty confident the procedure is coherent. It demonstrates that trim on my Find 5 has no effect. For reference, I've also tried the app, same result. Also, rebooting inbetween changes nothing.

Some explanations since this is a complicated topic and requires some knowledge: Simply put, the test is to create a file with known content, read its raw sectors from storage (bypassing the file-system) and examine the content. Then we delete the file and raw-read the same sectors again. Before trim, storage still contains the former data, but after trim, storage has to return all binary zeros for these sectors (erased NAND cells return 0x00). If that's the case, TRIM is working (linux server), if still the old data (Find 5 Android), it isn't.

So, anyone can explain this? Is my test somehow wrong or maybe I'm making some false assumptions about how storage on these devices works? Erase block size of the NAND or alignment could be an issue. Please feel free to question my approach!

(Note that I had to transfer the trimdat testfile from the server, since Android shell didn't support the for-loop, but it makes no difference. Second, debugfs is not included per default on Android, but I found some working binary on the web and copied it to /sdcard/)

EDIT:

To avoid confusion:

Android does _not_ complain about trim not being supported on my Find 5, it even claims to have trimmed something... ;)
[HTC One X] gertmenkel:
Huawei Ascend Honor 2 - U9508

Hi, just wanted to let you know that the Huawei Ascend Honor 2 (model U9508) is not supported by this app.

It shows the following output:

Idle_ Click run to TRIM filesystems. You will be asked for root rights.

# fstrim -v /data
fstrim: FSTRIM: Operation not supported on transport endpoint

Finished, hurray!
Some devices might need a reboot so the kernel could re-initialize block data. But most do not
[HTC One X] marbulas:
I wish to do fstrim more than once per a day :( and also do this during boot...
[HTC One X] Bazzu:
Hi guys! I'm running on my Galaxy nexus maguro the omnirom fml with r54 fancy kernel.

My doubt is: i don't understand why 10 minutes ago i downloaded free version of your app and it trimmed /data and /cache partitions, then i tried the full version after the download, but said partitions weren't available anymore because of the kernel :/ ... is it possible?

Can be useful trim only the /system partition?

:D solution: clear app data :)

Inviato dal mio Galaxy Nexus utilizzando Tapatalk
[HTC One X] ArcziPL:
Not working...

Lagfix (free) does not work on rooted Xperia Sola (MT27i). It's running on clean installed official Sony 4.0.4.

Anybody knows what to do?
[HTC One X] zega00:
o-o
[HTC One X] goldohulk:
A HUGE thank you to the LagFix developer. Same me the trouble of throwing my first gen Nexus 7 out of the window. Now it's so damned FAST again!

THANK YOU MATE!
[HTC One X] riven67:
First I want to say great job !! This app gave new life to my Transformer Prime, and I have been using it for at least a year now. I also purchased the app to support development.

My issue is I have both the free app and paid version on my prime because after running the paid app once it told me /system cannot be trimmed due to kernel. Now having used the free app forever I reinstalled it and guess what? It still allows me to trim all three partitions with no error message. I noticed someone else with a similar issue but he had the other two partitions not being trimmed, what could be causing this message/issue?? Help please !!!!!
[HTC One X] swedocme:
In case anyone was wondering, LagFix does't work on the HTC Sensation (TRIM function not supported).
[HTC One X] expl0:
I have formatted my /data and /cache partition to F2FS. TRIM seems not to be supported on those two partitions, any idea why? My /system partition is still formatted as 'ext4', it works fine on this one.

My phone is a Galaxy S3 with Slimkat ROM and Devil Kernel.
[HTC One X] nabril15:
I ran this on my lg g2 running Cloudy G3, and i got lower numbers after I ran lagfix.

Before:

Seq write : 17.37

Rnd wr: 341.62

After

Seq wr 16.45

Rnd wr 352.88

Is this normal/ok?
[HTC One X] Terrarist:
Run it in HTC one x and it worked fine. Factory wiped the phone and it hasn't worked since. Runs but no performance change.

Relocked bootloader, unrooted, and flashed RUU in an effort to get back up to speed. Didn't work. Still very slow. Busted IC on the board also means I have to connect to a monitor to see what I'm doing.
[HTC One X] wweasel:
Don't work in Android 5.0 in my Nexus 5 (stock image LRX21O)

When I try to trim a partition, this error is generated: "error: only position independent executables (PIE) are supported"
[HTC One X] javacody:
Same error on 2012 Nexus 7 running Lollipop.
[HTC One X] Orographic:
Mega 6.3 I9205 - LagFix applicable?

Hi folks,

I have read a lot of this thread and am trying to understand if my Mega 6.3 I9205 on Android 4.2.2 would benefit from this app. I haven't rooted this phone yet but know how to, if needed.

My kernel is 3.4.0-2719155

My phone is a stock phone with no customisation and has only updated to 4.2.2 thus far via official channels (software updates performed via 'about device' section of phone menu), it was bought from Kogan in Australia. I've had my phone for a year and its not running slow yet. I have read on the LagFix Google Play page that Kernels with -discard mount option are NOT affected. Its just that I don't know how to determine if my kernel has -discard mount option.

Thanks for your help. :)
[HTC One X] bacardiandwatermelon:
Try running the commands from a terminal emulator.

1|u0_a94@grouper:/ $ su

1|root@grouper:/ # fstrim -v /system

/system: 50769920 bytes trimmed

root@grouper:/ # fstrim -v /data

/data: 10500141056 bytes trimmed

root@grouper:/ # fstrim -v /cache

/cache: 438890496 bytes trimmed

root@grouper:/ #
[HTC One X] PabloSZ:
Great App (suggest new feature)

This is a great app. Would be great if you can add the ability to reboot the device after a scheduled fstrim.

Regards.
[HTC One X] RedDemon:
I've been using LagFix premium to schedule trims overnight on /system, /data and /cache on my TF700. The device has generally been more responsive, but it's now taking about half an hour to boot up the device. I'd have thought that it would improve read times and device boots, have I done the wrong thing by trimming the /system partition?
[HTC One X] ABBolle:
Didn't work on my N7 with lollipop... :(

u0_a96@grouper:/ $ su
root@grouper:/ # fstrim -v /system
tmp-mksh: fstrim: not found
127|root@grouper:/ #
[HTC One X] aenima1985:
Just install busybox then:

busybox fstrim -v /data

Worked on my Nexus 7 2012
[HTC One X] ABBolle:
Thanks for your advice, but still no success...

root@grouper:/ # busybox fstrim -v /data
Segmentation fault
139|root@grouper:/ $

Gesendet von meinem Nexus 7 mit Tapatalk
[HTC One X] ASimPerson:
This app has used more data (159 MB) than my main web browser has (157 MB) over the past two weeks. I haven't run it in that timeframe. Anyone have any ideas why?

For now I'm probably going to uninstall it, especially given the reports it doesn't work on Lollipop N5s anyway.
[HTC One X] Dreamer...:
Nexus 7 (2012) Android 5.0

App not work: only position independent executables (PIE) are supported.

But, via terminal emulator works fine.
[HTC One X] parnunu:
You need to format partition. (format! don't using wipe data it not a samething)
[HTC One X] Terrarist:
Which partition?
[HTC One X] ABBolle:
Okay, I think I have to reinstall the system.img because I don't have an idea, what I've done wrong that it won't work for me.

So, I will reflash the lollipop, root, install busybox and then I try to trim via terminal emulator...

Do I need a special version of busybox?

EDIT:

Okay, now it works... I think, something went wrong the first time I installed busybox, but uninstall and reinstall didn't solve the issue.

Gesendet von meinem Nexus 5 mit Tapatalk
[HTC One X] parnunu:
Data partition.

Fstrim does not help my htc one speed up.

After format partition, I fill my internal storage untill it almost full and test it again, seem it very fast but 3-4 month later it start slow again when it almost full.
[HTC One X] Knucklessg1:
A simple update would fix compatibility with Lollipop. Any news developer?