I still have my trusted Nexus 7 2012 version. It’s not the fastest tablet in the world, but definitely a handy one that allows me to check my email when I require, play a few games or watch some videos. A few months back I installed CyanogenMod in order to replace the stock android. If you’re running the stock Android version, I strongly recommend installing CyanogenMod.
Although I had installed CyanogenMod with the hope of speeding up my device, I noticed in the past few weeks that it’s once again started to slow down. Opening apps took a fair bit of time and switching between them was even more painful. The issues stems from a potential memory / storage allocation issue that plagues many Android devices.
The source of the problem is that internal storage is not properly TRIMmed when needed. This allows an operating system to inform a solid-state drive (SSD) which blocks of data are no longer considered in use and can be wiped internally. The good way is to fix this issue is to run fstrim() regularly. Alternatively, you can get hold of LagFix.
LagFix is a user-friendly implementation of fstrim utility. It allows you to select which partitions to trim (you should leave defaults unless you know what you are doing) and run the process easily. Scheduled auto-trim is also available in the premium version which is also ads free and ensures that you don’t need to bother about running the app yourself.
When you hit Run in the app, it will prompt you for root access. If you’re running CyanogenMod, just allow it to access for 10 minutes, which is usually sufficient time for the app to run the command across the various “partitions” and free up the space.
After running LagFix for the first time, I noticed an amazing leap in performance with all apps and the system getting very responsive. If you’re struggling with a slow phone and have root access, do give LagFix a shot.