With 4.3 enabling the support for TRIM (though I read that it was present since the first JB). I was wondering if there is a way for me to force TRIM on my device? Is there an app that I can sideload and have it issue it? I have a rooted chinese Tablet running on 4.2.2 JellyBean release.

Just to add, it's a PiPo M1 Max tablet.


There is an app called LagFix, which can let you trim your device literally.

It can only run if the device is rooted, and since your device is already rooted then it is perfect for you.

And here is the thread on Xda developers about LagFix.

I hope it helps.

  • Thanks for the recommendation. I used the app, but it is giving me a FS:TRIM Operation not supported on transport endpoint. Does it mean it doesn't work on my device? – Mr A Oct 29 '13 at 3:52

I was having lag issues on my N7 2012. After doing some research I was lead to Forever Gone.

This app has been used to overwrite the free space on the device so that it can be more efficiently used. Until 4.3 is released for you device I would give this a try to see if it helps with performance. It sure helped my N7.

  • Funny that when I can't install it on my device since it is registered as a Samsung gt9xxx, but it was ok for my original firmware. Anyway, could you kindly recommend a similar App? – Mr A Aug 5 '13 at 2:28
  • I am not aware of any other app that does this. If you are on a custom firmware (rooted & rom'd) you can edit a file with the device information to mimic a supported device in order to convince the Play store to let you install it. – Zooks64 Aug 5 '13 at 12:38

On newer versions, Android runs fstrim with a daily schedule, provided that the conditions meet. Or it should run on a reboot if not run for 3+ days. See this answer for details.

However if you want to do TRIM manually, use Android's commandline tool sm fstrim. Previously this was vdc fstrim dotrim but added to Storage Manager in Oreo (1) and removed from vold in Pie (2).

In order to send FITRIM ioctl to selected filesystem(s) only, use fstrim tool; a busybox applet.

Both commands require root, or sm fstrim can be executed from adb shell.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.