Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,806,072 Members 46,882 Now Online
XDA Developers Android and Mobile Development Forum

Can't fstrim on /sdcard

Tip us?
Junior Member - OP
Thanks Meter 0
Posts: 1
Join Date: Jun 2014
Default Can't fstrim on /sdcard

Hello all,

As some of you you may know, some Android manufactures gift their mobile devices with slow memory chips, and I assume the 4X contain one of these, sometimes the lag gets me extremely frustrated.

Now, the application LagFix may be a solution, but as I didn't feel a noticeable difference, and I doubt that it may be because it does not work on /sdcard, only trims /cache, /data and /system.

So I am trying to do it myself from terminal, yet doing 'fstrim -v /sdcard' returns 1, which according to fstrim manuals indicates a failure.

So my question is, does the hope that additionally trimming /sdcard would enhance the situation, seem like a logical one ? If so, can you help me investigate the reason for failure ? trimming /data, for example, successes.
Adam77Root's Avatar
Recognized Developer
Thanks Meter 11,016
Posts: 2,422
Join Date: Jul 2012
Location: My coordinates

The /sdcard 'partition' is virtual and emulated by the FUSE daemon. It can be found under /data/media so if you trim /data, you're fine.

Sent from my OmniROM-powered LG Optimus 4X HD
I'd be glad if you could spare me a few bucks. You can use PayPal.

Thanks very much to all donors, it is much appreciated!
The Following User Says Thank You to Adam77Root For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes