Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,736,274 Members 45,630 Now Online
XDA Developers Android and Mobile Development Forum

[discussion] where does snapchat store photos/videos?

Tip us?
 
mvmacd
Old
#1  
mvmacd's Avatar
Senior Member - OP
Thanks Meter 116
Posts: 840
Join Date: Nov 2010
Location: Massachusetts
Default [discussion] where does snapchat store photos/videos?

So I've went into the /data/data/com.snapchat.android/ folder, and it is only about 200KB, so the image/video files can't be stored there.

I also noticed if you have a new message, and you close and open the app, it will have to redownload it. So it seems that snapchat is storing the images in the RAM.

So I dumped the ram of my snapchat PID, using this method. I had to download a compiled gdb binary.

I then used photoRec to scan all the *.dump files [I concatenated them all first, the file was about 100MB]. For filesystem I said "Other."
All I got was one txt file. It seemed to be xml, and contained a lot of usernames of my friends, but that's all.

If anyone has any input on the subject, here is the thread for it!
Current devices | Samsung Galaxy S4, Nexus 7 (2013),

Previous devices | HTC Evo 4G LTE, Nexus 10, HTC Rezound, Nexus 7, Samsung Fascinate
__________
check out FreeMyApps on your Android or iOS to earn gift cards by downloading other apps free!
The Following User Says Thank You to mvmacd For This Useful Post: [ Click to Expand ]
 
b3ndik
Old
#2  
b3ndik's Avatar
Senior Member
Thanks Meter 17
Posts: 397
Join Date: Jul 2010
Location: Norway
Bump for interest
HTC Desire -> HTC Sensation -> HTC Sensation XE -> Samsung Galaxy Note II -> Google Nexus 4 -> Nexus 5
 
Pompsy
Old
#3  
Junior Member
Thanks Meter 4
Posts: 29
Join Date: Jul 2012
Quote:
Originally Posted by mvmacd View Post
So I've went into the /data/data/com.snapchat.android/ folder, and it is only about 200KB, so the image/video files can't be stored there.
Snapchat save picture under /data/data/com.snapchat.android/cache/received_image_snaps. You then have to copy and paste the file out of the folder, and rename the file extension from .jpgnomedia to .jpg

I can not find where the videos are stored. That's how I found this thread.
Devices
Samsung Galaxy S3 (d2vzw) -Jelly Beans Build 5

Former Devices
HTC Droid Incredible
LG Ally
The Following User Says Thank You to Pompsy For This Useful Post: [ Click to Expand ]
 
DoNiMaToR
Old
#4  
Member
Thanks Meter 5
Posts: 46
Join Date: Sep 2009
Like the previous poster said images are stored in /data/data/com.snapchat.android/cache/received_image_snaps. They are deleted when they are viewed though so you must copy them to your sdcard or wherever and change the file extension before viewing them. Videos are stored in /data/media/0/Android/data/com.snapchat.android/cache/tcs_pahn
Proud Nexus 4 owner.
 
JCBucks
Old
#5  
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Mar 2013
Default Samsung Infuse

Where can I find these files on my Samsung Infuse? I go into /data/data/com.snapchat.android/cache but the folder is empty.
 
mvmacd
Old
#6  
mvmacd's Avatar
Senior Member - OP
Thanks Meter 116
Posts: 840
Join Date: Nov 2010
Location: Massachusetts
Quote:
Originally Posted by JCBucks View Post
Where can I find these files on my Samsung Infuse? I go into /data/data/com.snapchat.android/cache but the folder is empty.
I have not had time to check this location, however I have sort of discovered a workaround. [HTC Rezound CM10.1]

Ideally you should have a wifi toggle in the statusbar.
Open snapchat and then click on your snaps, after it loads the images [It will say "Loading image..", then "Tap to view"], turn off WiFi. Then you can view the snapchats [pic or video], and before enabling wifi, wipe Snapchat's data.

This way you can screenshot while offline and they will not know.

Alternatively you can use TitaniumBackup. Backup app while logged in, after viewing snapchat offline, restore data from backup so you do not constantly have to login.
Current devices | Samsung Galaxy S4, Nexus 7 (2013),

Previous devices | HTC Evo 4G LTE, Nexus 10, HTC Rezound, Nexus 7, Samsung Fascinate
__________
check out FreeMyApps on your Android or iOS to earn gift cards by downloading other apps free!
 
CaseyJames22
Old
#7  
Junior Member
Thanks Meter 0
Posts: 3
Join Date: Jan 2013
Location: Fargo, ND
Quote:
Originally Posted by JCBucks View Post
Where can I find these files on my Samsung Infuse? I go into /data/data/com.snapchat.android/cache but the folder is empty.
same here....
Galaxy Nexus CM 10.1
 
quantemplation
Old
(Last edited by quantemplation; 16th April 2013 at 06:08 PM.)
#8  
Member
Thanks Meter 13
Posts: 49
Join Date: Feb 2013

 
DONATE TO ME
If you can't find the video folder, it's because it deletes it and the videos when they are not loaded. They are stored under /data/media/Android/data/com.snapchat.android/cache/received_video_snaps/ in mp4 format with a .nomedia file extension. As soon as you navigate away from the app, they are deleted, so I set up a tasker gesture to allow me to copy them while they are loaded.

As people said before, the images are stored in /data/data/com.snapchat.android/cache/received_image_snaps/ with the jpg.nomedia extension. If that folder doesn't exist, try making sure you've received and loaded a snapchat first. The images seem to stay until they're viewed.
The Following 2 Users Say Thank You to quantemplation For This Useful Post: [ Click to Expand ]
 
incarceration
Old
#9  
Senior Member
Thanks Meter 20
Posts: 193
Join Date: Aug 2011
Quote:
Originally Posted by shenkenstein View Post
If you can't find the video folder, it's because it deletes it and the videos when they are not loaded. They are stored under /data/media/Android/data/com.snapchat.android/cache/received_video_snaps/ in mp4 format with a .nomedia file extension. As soon as you navigate away from the app, they are deleted, so I set up a tasker gesture to allow me to copy them while they are loaded.

As people said before, the images are stored in /data/data/com.snapchat.android/cache/received_image_snaps/ with the jpg.nomedia extension. If that folder doesn't exist, try making sure you've received and loaded a snapchat first. The images seem to stay until they're viewed.
That location you name for videos doesn't exist on my phone.
- I have /data/media/ "0" and "obb" are the only 2 folders within there
- I have also read that the videos are stored in /Storage (SD CARD)/Android/data/com.snapchat.android/cache/... but there isn't anything further from here, my 'cache' folder is empty, there's never been a "received_video_snaps" folder, let alone any content within here.
- I am able to get the photos from /data/data/com.snapchat.android/cache/received_image_snaps/ but never been able to intercept videos

Note: this is all done BEFORE "viewing" the material and allowing it to "load" and show "tap to view" from within SC

I'm using the EVO 3D CDMA version
 
quantemplation
Old
(Last edited by quantemplation; 3rd May 2013 at 07:41 PM.)
#10  
Member
Thanks Meter 13
Posts: 49
Join Date: Feb 2013

 
DONATE TO ME
Quote:
Originally Posted by incarceration View Post
That location you name for videos doesn't exist on my phone.
- I have /data/media/ "0" and "obb" are the only 2 folders within there
- I have also read that the videos are stored in /Storage (SD CARD)/Android/data/com.snapchat.android/cache/... but there isn't anything further from here, my 'cache' folder is empty, there's never been a "received_video_snaps" folder, let alone any content within here.
- I am able to get the photos from /data/data/com.snapchat.android/cache/received_image_snaps/ but never been able to intercept videos

Note: this is all done BEFORE "viewing" the material and allowing it to "load" and show "tap to view" from within SC

I'm using the EVO 3D CDMA version
I'm running TouchWiz. I wonder if you are on a 4.2.2 ROM or something, cause I've experienced the sdcard being moved around before...
Does your "0" folder have any subdirectories? such as Android/data/com.snapchat.android/cache/

In any case, videos are special: You need to actually click "load" (but don't hold, or else you'll actually view it before saving) if it doesn't do that automatically. Unless I misinterpreted, you didn't do that step. I think they might load automatically on Wi-Fi or something, though. For a general rule: As soon as it says "Load", the video is no longer (or never was) on your device. Furthermore, the sneaky little application deletes the folder at the same time, which is why you're never seeing "received_video_snaps" within the cache folder you found (assuming that one actually stores the videos in your version) because in my experience, almost everytime you navigate away from Snapchat, it unloads the video.

If you want to test for whether a file exists in a particular directory using Tasker, mess around with different directories in a File Modified profile (and have the associated task flash something). It'll flash as soon as something is added to that folder (including another folder, it seems).

Otherwise, check out my thread for this here.

Tags
ram
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes