[APP][ROOT] Trimmer (fstrim) - Take control of your device NAND chip trimming

fifthelement

Senior Member
Jun 12, 2006
408
171
0
Hi Guys,
Let me present to you my first published app in google play. it is both free and ad-free and requires no permissions.
Trimmer allows you to trim your device NAND chip manually, which may improve your device storage speed significantly.
it supports lollipop as well and I am going to add more features to this app in future so stay tuned ;)
In order to use this app your device should be rooted and your device NAND chip should support TRIM command.
Let me know what you think and send me your suggestions for next update.

Here is a short explanation about what this app does :

Almost all Android devices use NAND chips for data storage. Because of how NAND chips work, they may become significantly slow after some time. Trimming would help to restore NAND Chips performance to their initial value. Although Android 4.3+ supports trim natively, users have no control over this process and Android doesnt trim the storage as much as it is supposed to do, which results in slow storage performance and thus laggy devies. Trimmer enables you to trim your device manually if you feel it has become laggy.

Trimmer incorporates a well-known fstrim utility which is a part of Linux kernel tools. This utility trims memory devices which support TRIM operation.
Download : Google Play

If you liked my app, please dont forget to rate it 5 stars. your stars will give me motivation to spend more time developing and add more features to this app.
 

Publiuss

Senior Member
Jun 29, 2012
948
170
43
Sounds interesting!
Would also be nice to put trimming as startup operation in init.d, can the fstrim binary be called directly by a shell?
A question: when i connect my device to a PC as usb storage to remove files from SD card, then the freed space is not reported by system till next reboot; does trimming fix also this (reporting right free space)?
[must-ask-question]Does this app perform potentially dangerous operations on filesystems?[/must-ask-question]
 
Last edited:

fifthelement

Senior Member
Jun 12, 2006
408
171
0
Sounds interesting!
Would also be nice to put trimming as startup operation in init.d, can the fstrim binary be called directly by a shell?
A question: when i connect my device to a PC as usb storage to remove files from SD card, then the freed space is not reported by system till next reboot; does trimming fix also this (reporting right free space)?
[must-ask-question]Does this app perform potentially dangerous operations on filesystems?[/must-ask-question]
putting trimming in init.d is not good enough. init.d only runs at startup while device storage needs to be trimmed more than that. at least once or twice per week based on usage.
yes, you can install busybox which includes fstrim and call it from shell.
 
  • Like
Reactions: mailm

Publiuss

Senior Member
Jun 29, 2012
948
170
43
putting trimming in init.d is not good enough. init.d only runs at startup while device storage needs to be trimmed more than that. at least once or twice per week based on usage.
yes, you can install busybox which includes fstrim and call it from shell.
Ehm... I reboot quite often than twice per week... :p
 

fifthelement

Senior Member
Jun 12, 2006
408
171
0
I have questions, why I will need press trim now everytime when I open the trimmer apps? It is normal... Is not stick/set on boot. Thanks in advance.
Trim has nothing to do with boot. last time my phone was rebooted was few months ago, while some devices need to be trimmed once or twice weekly to keep optimal performance. I may add a feature in future to schedule the Trim automatically without the need of trimming manually.
 
  • Like
Reactions: mailm and Iceman

Publiuss

Senior Member
Jun 29, 2012
948
170
43
Trim has nothing to do with boot. last time my phone was rebooted was few months ago, while some devices need to be trimmed once or twice weekly to keep optimal performance. I may add a feature in future to schedule the Trim automatically without the need of trimming manually.
Wow, uptime warrior! :laugh:
However, rated 5* on playstore!
 

fifthelement

Senior Member
Jun 12, 2006
408
171
0
Wow, uptime warrior! :laugh:
However, rated 5* on playstore!
Thanks buddy for rating :)
I have a GPE HTC One m7 and I only reboot it when I want to flash something like a new ROM or Kernel. otherwise it is pretty stable and there are no reboots.
I guess your devices are unstable :p
 

CyanMod-X

Member
Dec 1, 2014
9
2
0
significantly improved with my devices...

S3 i9300 - 4.4.4 Kitkat

S2 i9100 - 5.0.2 Lollipop

Note N7000 - 4.1.2 JB with trim kernel support

Thanks buddy...
 

2koko

Member
Feb 23, 2015
19
6
0
play.google.com
I'm a bit puzzled about what the app actually does.
If this NAND issue really is a problem to IO performance, why isn't this taken care of by the native android system?

No disrespect to your App! You'll have to excuse my ignorance here... If it actually solves such a problem, it great!
 

fifthelement

Senior Member
Jun 12, 2006
408
171
0
Please could you add support to trim /efs and /preload?

Sent from my GT-I9100 using Tapatalk
I am not sure if trimming /efs and /preload has any effect on the performance of the device and AFAIK only some Samsung devices have these partitions.
trimming is only effective for the partitions which are written to frequently.

/system needs attention on the screen layout.
I will update the layout for small screen devices in next update.
 

Beonico

Member
Jun 25, 2015
19
11
0
Automatic trim stopped

For a few weeks the automatic trim worked flawless and I got a notification it had done it's job.
Since a few days it stopped automatic trimming. Manually it still does it's job.
Any ideas ??
 

WarriorMax

Senior Member
Jun 10, 2011
500
173
63
Hi ..sorry for Noob question. ... I've note n7000 rooted with Omnirom. I never tried lagfix fearing the famous brickbug issue. Can I use this app without fear?
 
Last edited:
  • Like
Reactions: laserkater

baciv

Senior Member
Sep 22, 2010
114
10
0
Center City
I searched for a solution following the failure of my previous fstrim solution after updating to 5.1.1 on my Nexus 7 2012, and found your work. Thank you for very much for your work.
 

laserkater

Senior Member
Sep 3, 2015
66
32
38
Last edited: