• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root data/aacdump (Netflix)

sbdc003

Android Enthusiast
Hi guys & gals,

Has anyone noticed that Netflix creates a huge aacdump file?

Here is an example.

Before watching a movie

System data: 80.4MB
Free space: 1579MB




After watching one TV episode

System data: 660MB
Free space: 998MB




When I wasn't rooted, there was no way to retrieve free space without factory reset and I got sick of resetting my phone every time I watched movies, so I quit using Netflix.

My phone (OOTB JB) was rooted a few months ago, but I had not used Netflix until recently as I was too lazy to find out what's taking up space in System data.

Well, it's a new year and I'm a movie buff. So, I decided to find out what's going on.

It looks like Netflix creates an aacdump file as shown in the screenshot below. Now, I can just delete it every time I use Netflix.




I was a bit surprised that no one has really talked about this issue.
 
My available space dwindled to tens of megabytes, so when I found that file was the culprit I deleted it and put a blank one in its place with no write permissions. I don't recommend doing that because now Netflix doesn't work.

What an annoying thing. More annoying though is Netflix on my TF101 doesn't do that, the file isn't there at all.
 
I tried the following:

Code:
touch /storage/extSdCard/aacdump
su
cd /data
rm aacdump
ln -s /storage/extSdCard/aacdump .

Same result as when /data/aacdump was read only. The next thing I'm going to try is formatting a microsd card (that's card, not internal storage) to ext2 and setting the permissions of extSdCard/aacdump the same as /data/aacdump to see if that gets it working. The idea there is that having the actual file I'm linking to on a FAT partition with no real permission support is messing it up somehow.
 
Thanks for the reply and update.

Deleting aacdump worked for a while, but you are right. Netflix stopped working the other night. So, I restarted my phone and that temporarily solved the problem even though I had to sign-in again.

It's very odd. I wonder if it's a Samsung thing.
 
Not sure, but my last attempt seems to have met with success. There are more steps than anticipated, but a bonus that makes it worth the effort. Just in case I'll say if you're not rooted this will not work.

First back up your microsd contents and partition/format it so the first partition is FAT and the second is ext2 (NOT ext3 or ext4, those journal and kill your sdcard). Both should be primary partitions, not logical. As far as sizes I did 10GB/6GB. The phone will automount the FAT partition so put your stuff back on there. The ext2 partition it will ignore, which is where Link2SD comes in to play.

Start up Link2SD, it will do its startup thing, ask for root rights (grant it obviously), then ask what the format of the second partition is. On mine ext2 was already selected but make sure just in case. It'll do its thing again then ask to reboot, go ahead and hit the reboot button.

When the phone is done booting it'll look like nothing happened which is just fine. If you want you can open up Link2SD at this point and link your largest apps to free up some internal storage (this is the bonus I mentioned)... filter the list by what's "internal" to make it easier to see. I freed over 100MB moving a few apps just as a test to make sure it worked and it did.

Start Netflix and watch something for a couple minutes to make sure /data/aacdump is created.

Now what you want to do is this in a terminal (you need a terminal app):

Code:
su
cd /data
cp aacdump ./sdext2
rm aacdump
ln -s /data/sdext2/aacdump aacdump
chown media.system ./sdext2/aacdump
exit
exit

This symlinks aacdump, which now resides on the ext2 partition of the microsd card, to the place Netflix expects it to be. All the actual data will go to the microsd card instead now and Netflix won't know the difference.

note: I did this with a 16GB card. It wouldn't be worth doing with a card you can't have at LEAST a 4GB ext2 partition on IMO. If you only have a 1 or 2GB card then this would be a pointless exercise for you though, get a bigger card first.

Followup: Five hours and all is well. This works. Unrelated to Netflix/aacdump, do not use Link2SD's "integrate" function... I broke Chrome hard trying it.
 
Very clever!

BTW, watching YouTube videos afterwards has made the size of aacdump smaller (7~12 MB) somehow. Odd.
 
Netflix and youtube use decoding software to produce videos so they dont get the movies stolen or illegally copied.

aacdump is the actual video you are watching in a dumped readable format. If you make it read only you will not be able to decode the movies to watch.

using link2sd to make netflix be put on sdcard will make the dump file be created on the sdcard instead.
 
Netflix and youtube use decoding software to produce videos so they dont get the movies stolen or illegally copied.

Why doesn't this happen on my TF101 I wonder? Everything works fine but there's no giant blob of video data hanging out in my storage.
 
Back
Top Bottom