x PhoneArena is hiring! News writer

How to fix the Android 5.0 Lollipop boot animation memory leak (and possibly speed up your device's boot time)

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.

FEATURED VIDEO

11 Comments

Neros

Posts: 1016; Member since: Dec 19, 2014

Haven't seen s5 users crying over lollipop. Most people say the phone is very quick and responsive. Maybe sammy had fixed some of the problems before releasing the update?

TylerGrunter

Posts: 1544; Member since: Feb 16, 2012

Or may be the S5 has 2 GB of RAM and therefore is not affected by the issue as the article says...http://www.phonearena.com/phones/Samsung-Galaxy-S5_id8202 A memory leak only slows phones that fill out the memory, so phones with enough memory that it doesn't get full by the bug should not be affected.

kaikuheadhunterz

Posts: 1157; Member since: Jul 18, 2013

http://forum.xda-developers.com/android/software/arm-arm64-android-5-0-lollipop-t3032247 (this is the link given above) "On my test, Samsung's Touchwiz was the only ROM that has this issue solved(probably thanks to the their proprietary qmg format)"

vincelongman

Posts: 5552; Member since: Feb 10, 2013

Actually this "memory leak" (its not really a memory leak) here is purely CM's fault Their boot animation is too big and long So it causes this "memory leak" If they have a stock ROM they won't be affected There's an actually memory leak in Lollipop related to the new screen on/off animation Everytime you turn on/off the screen it leaks maybe 1-2mb It builds up, so for many after 2 days many need to reboot

Mxyzptlk unregistered

There's a huge memory leak issue on some devices running lollipop.

Predator1701

Posts: 130; Member since: Oct 28, 2014

A little bit off topic but my Nexus 4 with 5.0.1 stock ROM just started to have massive battery drain, like 10% in like 10 min. Any suggestions? I was thinking of trying cyanogen mod since the ROM is based on AOSP 5.0.2 build. My only question is if they solved most of issues in 5.0.2.

efixLT

Posts: 5; Member since: Aug 26, 2014

check battery stats in options. Reboot didn't help?

Predator1701

Posts: 130; Member since: Oct 28, 2014

I tried everything,i rebooted the phone a couple of times in the last couple of days, i even did a factory reset again. in battery stats it shows that chrome and my screen are draining most of my battery so that counts out rogue apps. I did noticed right away a slightly higher battery drain after i installed lollipop but lately it's been brutal. To be fair 90% of the bugs have been fixed in lollipop for me considering i had a lot of problems with kit kat but now the biggest one is battery drain.I mean you can have all the features in the world but if your screen on time is 2 hours! Damn... I hope they fix it in 5.1

vincelongman

Posts: 5552; Member since: Feb 10, 2013

Download BetterBatteryStats Find out which app caused it Then uninstal that app or take away its permission to wakelock

Predator1701

Posts: 130; Member since: Oct 28, 2014

I will try it out. Thanx

jack123

Posts: 272; Member since: Jan 07, 2013

Why even bother by booting time? It's not like it'd take a minute or more like the ancient desktop or laptop anyway.

Latest Stories