How to fix the Android 5.0 Lollipop boot animation memory leak (and possibly speed up your device's boot time)
Hey there, fellas! As early as last year, there were reports of Android 5.0 and 5.0.1 Lollipop suffering from lags caused by memory leaks. While Google and its partners did their best to squash most of the issues in the 5.0.1 and 5.0.2 updates some devices are getting, there are still bugs like this that are rearing their heads from the Android code.
An example of such a fiend is a boot animation memory leak bug. Or in other words, the Lollipop boot animation implementation won't free the processor and RAM resources that were held up to play previous frames. Luckily, developer arter97 of the Android developer community came up with a fix.
The procedure is pretty easy and on some devices, it leads to slightly to greatly improved boot times. For example, DroidViews reported that a Lollipop-running Moto G got its boot time reduced from 38 seconds to a much better 29 seconds! However, the dev community claims that only devices with less than 2GB of RAM will get to benefit from the fix. You won't lose anything by trying it out, but your mileage may vary.
Here's how to get the memory leak fix on-board, if you're interested. You will need a rooted device for this procedure. If it isn't, bear in mind that methods of rooting Lollipop on all but Google's Nexus devices vary greatly, so look up the correct one for your device.
Things that are NOT allowed: