I have a Samsung Galaxy Note II running CyanogenMod 11, so it's obviously rooted. As of recently the phone seems very laggy and much slower than it used to be. So I did some research and tried fstrim, among other things.

However, when I run fstrim -v /data as root (I use terminal emulator), fstrim outputs:

/data: 505982976 bytes trimmed

However, when I repeat the above command, I get exactly the same output. In my eyes this indicates the trim does not work and the system remains slow. I do the same on my Linux desktop machine and subsequent fstrim -v commands output zero bytes trims, to me this is what I expect on Android as well.

Any ideas?

  • Just to check if the fstrim binary in your device is not problematic, also try this app: FS Trimmer..
    – Gokul NC
    Sep 2, 2016 at 12:02
  • @GokulNC I have tried FS Trimmer before, but it appears it's just using the fstrim available on the system. Any idea how to update/check the fstrim binary available on the system?
    – psiphi75
    Sep 2, 2016 at 13:36
  • Oops, I thought that app uses its own version of fstrim. Also try the fstrim provided by BusyBox; maybe that has the latest version. And if your device is F2FS formatted (instead of EXT3/4), then it'll automatically be trimmed by the kernel; no need of explicitly doing that (maynot work)
    – Gokul NC
    Sep 2, 2016 at 15:07
  • @GokulNC Thanks, but BusyBox did not fix the issue either. It's formatted using ext4. I think I might try a new rom and formatting to use f2fs... but that's for another day.
    – psiphi75
    Sep 3, 2016 at 2:06
  • Has anyone found a solution ? I have the same problem with a Samsung Galaxy Tab 3 8" (SM-T310) running LineageOS 14.1. BusyBox 1.30.1 won't help either.
    – breversa
    Sep 3, 2019 at 7:13


You must log in to answer this question.

Browse other questions tagged .