yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Scott:
I did try this on my Nexus 6 (stock based ROM) and it seems to have a couple megs more free when I boot. I would have to say that it provides, at least from a short term perspective, improved free memory.

Will try on my Nexus 7 Next.
[Android Software Development] dEris:
Euphoria on Nexus 5 doesnt have that file in system/bin. Am i doing it wrong?
[Android Software Development] mikeszf:
I didn't had the file on my nexus 5, then I made a system wide search with root explorer and the file appeared!
[Android Software Development] knuckles1978:
The file definitely didn't exist on mine. I pasted in the fixed file and my file manager didn't ask me if I wanted to overwrite the existing file.

Strange that happened to you..

Thanks though :)
[Android Software Development] Persechini:
For everyone saying the file is not there, I was using solid explorer and had to re-grant root access to the app for all the contents of the bin folder to show up
[Android Software Development] jdfeos:
Wow...this is huge. Thanks.
[Android Software Development] techlifeweb:
Just curious, and maybe your fix does a lot more but, why not just add this flag to Build.prop to disable boot animation altogether?

# Disable BootAnimation

debug.sf.nobootanimation=1
[Android Software Development] arter97:
Okay, I'm trying now to apply this code, but I'm stuck.

Your lines description, I don't think it quite matches with https://github.com/CyanogenMod/andr.../cm-12.0/cmds/bootanimation/BootAnimation.cpp

:confused::confused::confused:
[Android Software Development] Assa551N:
This is not solution for me. I changed the permission as the OP said, but the RAM usage is still same: I'm in running apps, and the free memory is still draining.
[Android Software Development] andy hall:
Question

I am running lollipop on an HTC Sensation XE, in general it all works fine.

Symptoms are that evrey 2-3 day it slows down horribly and the available memory drops to 100mb, no amount of process killing or greenify will recover, reboot does the job.

Have put this down to the 5.0 memory leak.

The question is.

With what you have described in this thread, could this be the reason that it can take 60 - 90 seconds to reboot and 10 minutes to stabalise after the lock screen appears.
[Android Software Development] Ja_som:
But this is not fix for memory leak after few days of use, this is fix for leak when device is booting and boot animation takes too much of RAM and apps are not running after boot...

Fix for leak after few days of use, which we all need, will be available only in next Android version (5.0.3 or 5.1)
[Android Software Development] andy hall:
agreed on the general leak fix.

I have a symptom where it takes ages to stabalise the device, and reliably open apps after a reboot, does this fit with the boot image issues, sort of sounds like it to me but am willing to be steared on this.
[Android Software Development] WhammyDroid:
Somebody please post the fix to Android's gerritt so that nexus owners can also receive the fix.
[Android Software Development] Entropy512:
Perhaps you should read the thread before posting.

NuShrike attached a license to his code that EXPLICITLY prevents doing that. Also, it's questionable whether that restriction is compatible with the Apache license, which means there's a good chance no project can use it. At the very least, even if such a restriction IS compatible with Apache, keeping track of NuShrike's restrictions will be a major pain in the ass for any project that uses his code.
[Android Software Development] knuckles1978:
This fix is not for phones which are booting up. If your phone is booting, then you don't need, and shouldn't install the fix.

It's only for phones which don't boot because of the bootanim. Once the phone has booted, the memory from the bootanim is released, so the fix will do nothing for you.
[Android Software Development] 8Fishes:
To echo this, I tend to agree with this.

It is more of a matter of legacy support because newer devices have more and more ram. Particularly with the nexus 6 has 3gb of ram, I think it's fine with the current implementation. With older devices like SGS3, nexus 4, etc .. I want to say devices with 2gb or less will definitely see gains in this fix.
[Android Software Development] georgios73:
Have you mounted as R/W?

Showed up on my N5
[Android Software Development] blue1106:
This is definitely working but after using the phone for a day or two, memory leak is still present. ?
[Android Software Development] Ejvyas:
This should probably go in OP.

My moto x ghost is booting with cm12 so I guess I don't need this

Sent from my Moto X
[Android Software Development] NuShrike:
I'll get back to you later tonight (PST).
[Android Software Development] Ja_som:
http://xdaforums.com/showpost.php?p=58928839&postcount=104
[Android Software Development] NuShrike:
Some reason, the lines didn't all line up or make much sense. So, let's do it the right way.

Attached is source, patched, and git-patch to cherry-pick. I've also thought about it more and removed more unnecessary Google code.
[Android Software Development] arter97:
Thanks a lot.

Will test it out ASAP :)
[Android Software Development] knuckles1978:
This fix does absolutely nothing to a phone that was previously booting up. Zero. Nada. F#@k all.

The fix was only for phones which did not boot because the boot animation was making the phone run out of RAM. But once the phone finishes boot, the memory from the boot animation is released.

So if you had a phone which was booting into the OS, then applying this 'fix' did absolutely nothing to help your phones performance. At all.

A pointless exercise.
[Android Software Development] Ejvyas:
So is this for ROMs that bootloop in LP? Lot of LP ROMs are seem to have bootloops

Sent from my Moto X
[Android Software Development] knuckles1978:
Only lollipop ROMs where the phone will not boot past the boot animation because of memory leak. Far too many people are going installing this fix when they have a booting phone, and it's a completely pointless thing to do. Does absolutely not a thing. But people will probably just keep installing it anyway. lol :)

Once the phone is booted up, the boot animations resources are freed up again. That's why the fix does nothing if you've got a booting phone. It's for phones that are running out of memory during the boot animation, and because of the boot animation. Once boot is complete, the boot animation RAM is freed.

The original problem was not that the boot animations RAM was not being freed up once the phone finished boot. The original problem was that people were making boot animations with many more frames than the original which were being cached in ram until eventually the phone ran out of ram before boot completed and the ram was freed up again.

So, I'll say again. People with a booting phone need not apply this fix.
[Android Software Development] arter97:
Wrong, if some service or process gets killed during boot due to bootanimation, it can cause system instability.

You're thinking too short, bro.
[Android Software Development] knuckles1978:
Wrong.

If system processes get killed during boot, you get bootloops.

Even if it did somehow manage to boot, you'd be getting error messages telling you so.

Loads of people are installing this 'fix', for absolutely no reason at all. I've spoken with people who really know their sh!t about this.
[Android Software Development] arter97:
There are lots of services with "oneshot" and no java backend to handle these.

Native services can be stayed "not running" and Android or users may not notice these.
[Android Software Development] knuckles1978:
Well, I'm running CM12 on Galaxy S4 (2GB RAM) which was always booting up fine. I downloaded the fix but then spoke to a couple of good android devs I know, who explained to me what I've repeated back in here. So I didn't apply the fix.

My phone is running amazingly fast and smooth, it's awesome. The only problem I've got is that multitasking is pretty much non existent. Everything has to reload. But that's an unrelated memory issue which will hopefully be fixed in 5.1.

I think that this boot animation fix is only really for phones with less that 2GB which refuse to boot past the boot animation. My phone is absolutely rock solid, without this fix.

Anyone else wanna chime in on this, maybe some people with phones with 1GB RAM or something? Thanks :)
[Android Software Development] arter97:
Ask that "a couple of good android devs" of yours to explain why my Nexus 7 2013(FYI - which has 2GB of RAM) got its Bluetooth MAC address reset by bdAddrLoader process killed due to OOM.
[Android Software Development] knuckles1978:
What's the file size of the bootanimation.zip on your nexus 7?
[Android Software Development] arter97:
https://github.com/CyanogenMod/android_vendor_cm/blob/cm-12.0/prebuilt/common/bootanimation/1080.zip

2.5MB I see.
[Android Software Development] Tomi_Ohl:
On Mi3 sometimes lost RIL after rebooting, this bootanimation fixed it. Since then never lost RIL after reboot.
[Android Software Development] arter97:
A very good example.

Thanks :)
[Android Software Development] :
Fix in Flashable Zip

People those who are using CM12 can flash this zip by mounting /system partition in any custom recovery philz/cwm/twrp .. This Worked for me hope it works for you too.

Main credits to OP and I made a flashable zip out of it . :good:

Link : http://www.datafilehost.com/d/619875ea

If you like my work hit the thanks button :D
[Android Software Development] bebolint98:
Hello!This flashable zip is working on

galaxy ace 2 on CM12 and before I flash need to mount system?
[Android Software Development] :
You can flash it on any cellphone or tab running on CM12 and yes i reccomend you to mount the system partition as some recoveries dont auto mount
[Android Software Development] Ejvyas:
How to verify that this is working ?

Sent from my Moto X
[Android Software Development] geowolf1000:
For 32 or 64?
[Android Software Development] hp420:
this fixed my systemUI crashing and restarting on boot and also fixed my random boot loops with PA 5 alpha on my Nexus 4. nice work! thanks!!!
[Android Software Development] murfi:
so even people whose phone is booting just fine (apparently) might be affected?

is there a way to diagnose this?

i have severe issues with the family guy game - it often just FC's out of nowhere - even when my phone has 700-800 mb free ram. not sure if that could be caused from the ram leak
[Android Software Development] Nees3:
Or why not just do this?

No bootanimation :D

And when you want it back, just delete the line.

http://xdaforums.com/showpost.php?p=37155338&postcount=1

I suppose this will also do the trick.

But it is freaky when it boots with a black screen...
[Android Software Development] FantasticalX:
Report:

I have a Sony Xperia L running CM12 but it is didn't have any bootanimation at /system/bin/. While my screen is blank if i added the bin file. What should i do? I think i shouldn't add it?
[Android Software Development] cmstlist:
Nexus 5, 5.0.2. There is no bootanimation file in /system/bin to replace in the first place. Am I looking in the wrong place?

I see there's a bootanimation.zip in /system/media but these aren't zips.
[Android Software Development] tobitege:
The second one: just remove it :)
[Android Software Development] cmstlist:
So you're saying paste the extracted file in /system/bin where there currently is none, set permissions, and zap the one in media, and it'll work?

---------- Post added at 09:44 AM ---------- Previous post was at 09:36 AM ----------

Never mind, I "found" the file. Upon mounting system as r/w, the bootanimation file magically appears.
[Android Software Development] psychomaniac189:
do you have to do this every time you update?
[Android Software Development] nmeuret:
I guess, but now I don't do it any more, I don't "feel" a real difference, so ...
[Android Software Development] Ejvyas:
Same for me

Sent from my Moto X
[Android Software Development] b00bs:
Need more tester:

http://xdaforums.com/showpost.php?p=59209702&postcount=14
[Android Software Development] Ejvyas:
I always turn these animations off and phone is real fast. BTW cm12 is on 5.0.2 so does this still affect 5.0.2?

Sent from my Moto X
[Android Software Development] b00bs:
Try to multitask 3-4 apps from recent apps after a day of usage. If the apps still re loading, it's still affected.
[Android Software Development] roirraW "edor" ehT:
As far as I know, this problem isn't fixed until 5.1, which isn't out yet.

Sent from my VK810 4G
[Android Software Development] psychomaniac189:
why would you turn animations off? that's what makes lollipop beautiful. i bet you turn off all effects on windows 7 too don't ya? make it look like windows 95. hahaha. im just messing with ya man :D
[Android Software Development] Ejvyas:
Because there is memory leak. Try it. It's so fast. In used to do that on win 7 too. Now on Mac :D

Sent from my Moto X
[Android Software Development] Eddiemc:
For me the issue is still there on 5.0.2
[Android Software Development] lparcshinoda:
Could you please check if 5.1 is still suffering of this issue?

Thanks
[Android Software Development] arter97:
FYI, Google have not patched this bootanimation memory leakages on Android 5.1.
[Android Software Development] eternal70:
We can still use your current patch for 5.1 ?
[Android Software Development] ahow628:
I'm using it just fine on 5.1. After boot, I was getting over a gig of free RAM which is about the most I've ever seen, even with this patch on 5.0.

I checked the Android bug tracker and the Google team says that the stock boot animation is working as expected for some reason and marked as such. So basically, they won't fix it.
[Android Software Development] Jerome_17:
Hey :) Can somebody help me? if i copy the 32bit AOSP bootanimation file to the system/media/, i have no Bootanimation. :/

My Phone: HTC ONE m8 GPE

Sorry for my bad english
[Android Software Development] NOSTALGIA:
they are close minded. they are trying to consider it as a "nevermind" issue

---------- Post added at 02:07 AM ---------- Previous post was at 02:03 AM ----------

did you chck if something is available on system/bin ??
[Android Software Development] Jerome_17:
Oh sorry, i mean that i have copy the file to the system/bin/ folder, sorry :D
[Android Software Development] itslels:
So does this deal with a different memory leak then the new xposed module that came out to fix memory leak in 5.0? That one says its for the leak dealing with the screen off animation and this one says its for bootanimation...so I'd assume these are different fixes for different leaks?
[Android Software Development] Ejvyas:
Which xPosed module

Sent from my Moto X
[Android Software Development] Ja_som:
Yes, different fixes for different leaks...
[Android Software Development] Walhalla:
[MENTION=4789623]Ejvyas[/MENTION]

this xposed module: Link
[Android Software Development] EuEra:
Do i need one of these files for the galaxy s6 edge i dont want to end up in a boot loop
[Android Software Development] boojay:
I tried replacing the bootanimation file in my device's internal /system/bin/ folder with the bootanimation file provided in the OP as instructed, unfortunately, I haven't really noticed an improvement--still experiencing memory issues and home redraws.

I'm thinking of just deleting the aforementioned bootanimation file altogether to see if that helps any. Is there any point or reason for me not to try that? I don't care if I no longer have a boot animation, I just want my phone to work smoothly.

I'm on a Sony Xperia Z3 Compact with stock Sony Lollipop 5.0.2 and running Xposed.
[Android Software Development] Vagelis1608:
Other than the lack of boot animation, nothing else.

If you don't care about it, then do it.

Sent from my D620r [Stock 4.4.2 , -V- Kernel]
[Android Software Development] Ejvyas:
Do you guys mean to say that we can just delete the /system/bin/bootanimation and that would take care of this issue ?

Only scary thing would be blank screen when starting ?
[Android Software Development] chitose_ndy:
Leaving footprints to read this again later.

Thankyou
[Android Software Development] Kiranveer Singh:
Any custom for mtk 6592 ?
[Android Software Development] hzx505:
xue xue
[Android Software Development] Cafi96:
Installed the v2 on my LG G2 mini with Ressurection Remix. Boot is faster, and the system looks more fast when just booted up.
[Android Software Development] halogenn:
Hi

Im using cm12.1 (Lollipop 5.1), how can i know if im suffering from this issue?

Thanks
[Android Software Development] deebray36:
ive had those same sometimes it boots perfect then sometimes random boot loops...did this fix work for you or did you find somthing else that worked?
[Android Software Development] RusherDude:
If stopped happening when updated to some xposed version, didn't see the problem again. I guess it was one of the first xposed problems on lollipop and got fixed eventually.

Checking the logs, it happened just as zygote started and no traces of xposed appeared.
[Android Software Development] deebray36:
Thanks i just updated xposed v67...it seemed to fix the boot loops

sent from my LG-D855 cloudyG3 2.5 xposed
[Android Software Development] benjamen50:
I replaced the bootanimation with the chmod permissions, 755 and root:root ownership. Restarted phone and no bootanimation came up. I'll try reboot again and see if it appears. If not, I'll just copy my default one from the cm 12.1 zip file.

Edit: Oh I'm an idiot. I was using a CM 12.1 theme that was changing the boot animation. Is that why it wasn't working?
[Android Software Development] ThomasBags:
So...how exactly are you supposed to use this fix if you're already in bootloop?
[Android Software Development] stewwmann:
Download the "bootanimation.zip", extract the right "bootanimation" binary and put it under /system/bin - replacing the old one.

The correct owner is root:root,

the correct permission is 755(rwxr-xr-x).

Thanks for this! would love to be able to plug this hole, but, my Sony Z Ultra on 5.0.2 doesn't have a bootanimation file in system/bin to replace.....? Any suggestions? Thanks

EDIT:I don't have issues with bootloops from xposed,only when trying to use custom anis longer than about 30 frames.
[Android Software Development] nokiagye:
The optipop rom have this bug?
[Android Software Development] locolyric:
is it mean 5.1 need no more of this fix?
[Android Software Development] ipeedalil:
Was this issue fixed in 5.1.1 Im using an of h631 (stylo) with a stock rom... Rooted of course
[Android Software Development] Jithu_Vijayakumar:
Thank you works fine
[Android Q&A, Help & Troubleshooting] scriberg:
I have a Sony Xperia M2 on Vodafone UK which I want to root.

I've looked around and many people are saying use TowelRoot, downgrade to JB, find the right TFT etc. and I'm getting really confused, especially since my bootloader is unlocked.

The method which seems to work with people is to flash JB and then use an exploit to root the phone. Since the I cant unlock the BL, I dont know how to flash JB onto this phone.

Also if i root this phone, am i still able install CyanogenMod or use root apps such as Xposed Framework?

How can I downgrade the phone and root it?

Thanks In advance!

(pictures are in my album http://xdaforums.com/album.php?albumid=11899)
[Android Q&A, Help & Troubleshooting] navYgor:
I did it

I just did it with KingRoot, without experiencing any problem, and no downgrade was necessary. The device was not listed as compatible, but it finally did it !

I hope this will help.

navYgor
[XDA Assist] fred_z:
Hi,

Since a few days, I'm having a strange wifi issue on my Xperia SP (Android 4.3 from Sony).

When I switch on my mobile phone screen, the wifi start, I can see the icon. When I unlock my phone, a few seconds after, the wifi goes off.

I have to manually switch off and on wifi if I want to use it.

I have posted a video explaining what I see, but I'm new to xda, so I can't post the link.

youtu.be/B6mnKKjOnoE

I have done a soft reset, remove many unused apps, and delete some app stored data.

How can I find which application is accessing wifi in order to solve this issue?

Maybe someone had any idea to help me.

Thanks guys.

Edit: Things went back to normal, I haven't done anything more to solve this issue. Probably some magics... Please close this question. Thanks
[XDA Assist] Heisenberg:
Thread closed.
[HTC Excalibur] atomicshockwave:
I HAVE FULL WM6! NOT BETA! FULL TMOBILE BRANDED WM6 FOR THE DASH!!!

i have good news, and bad news

good: its AMAZING, every issue was solved, i cant get this thing to hang, or find ANY problems, EVERYONE NEEDS TO GET THIS!!!!

bad: it was installed onto my device by HTC, and i have no idea how to get it off, if someone can tell me how to download it so others can use it let me know
[HTC Excalibur] neggie:
very kewl post the rom version radio version ext... that would be great. screenshots would be good too :)
[HTC Excalibur] atomicshockwave:
it LOOKS exactly like the beta, just runs properly, and ALOT faster, and uses less ram, even beter then after removing snapin from the beta version

windows ce 5.2.1236

build 17741.0.2.1

radio version 4.1.13.34_02.79.90
[HTC Excalibur] lafester:
htc messed with your rom? Was it in for service or purchased this way?

why would htc do that?
[HTC Excalibur] atomicshockwave:
HTC as a whole dident, i know people, but this person wouldent give me the file, but he did updat my dash :-)
[HTC Excalibur] lafester:
thats cool :)

did he say if the htc version was ready yet?

i wonder why they are waiting until may 4 if the rom is ready now...
[HTC Excalibur] atomicshockwave:
its part of a licence agreement with microsoft, microsoft wont let them release it yet
[HTC Excalibur] lafester:
lol. figures that ms would want to control everything.

maybe it has something to do with live messenger and live update.

can't wait to check it out :)
[HTC Excalibur] chava007:
Sorry I do not mean to pretend to know more than HTC or the original poster (being sincere here, no sarcasm), but I have an OMAP 2430 with Wm6, with an awful H264 decoder issue that I cant fix. (DSP level error). So unless these guys are using other hardware or DSPs I would expect at least 1 more version... sorry cant say my deadline.
[HTC Excalibur] Dutchmda:
Official Windows m\Mobile 6 Rom

This rom will be available for download on t-mobiles website May 4th. all dash an mda owners will be able to download it free from their my t-mobile account.
[HTC Excalibur] indiekiduk:
where did you hear that? I was thinking more like June because of todays announcement by HTC.
[HTC Excalibur] neggie:
MDA ????? i thought it was only going to be the dash for an upgrade not the mda??? thats why i got rid of the mda and kept my dash. Any clarification on this if it is TRUE?

thanks
[HTC Excalibur] Matmax:
Does that ROM have other languages than US english ?
[HTC Excalibur] stangy:
So is there no way to get this ROM off his phone?
[HTC Excalibur] atomicshockwave:
YO! in this new wm6, when u turn t9 off in one app, it STAYS off and its off in all apps, this is great!!!!
[HTC Excalibur] Henchman:
I guess I'm one of the few who like the t9 option.

I find it makes text messaging and websurfing much faster.
[HTC Excalibur] rizoh66:
I'm with ya.... I wish t9 would be even more predictive.
[HTC Excalibur] serialtoon:
I hate the T9..im glad it can be turned off thru the OS.
[HTC Excalibur] Dutchmda:
Update/Correction to my earlier post

I apologize the mda will not have an update to wm6 from t-mobile. however dash is all set for upgrade release may 4th. cant wait.
[HTC Excalibur] .PoNeH:
I can't wait neither! Not only is this ROM coming out that day, but I'll be finally done with my finals! :D
[HTC Excalibur] rklosinski:
Can someone tell this guy how to download the roms...
[HTC Excalibur] merwin:
You can download the rom, but you won't be able to put it back onto the phone.

Besides, the release is only like a week and a bit away. Be patient.