[Q&A] How to Share Facebook videos w/o Apps - Android Q&A, Help & Troubleshooting

Hi there,
I made a quick search about this, but I wasn't able to find a complete answer.
Just wanted to share how to view/share/save Facebook videos to other apps (i.e. whatsapp).
The reason why I prefer doing this over using an app, is because some "video downloading" apps require you to login inside their app, and for me that doesn't seem safe.
Requirements
Facebook App
Root Explorer (or similar)
Rooted phone
Procedure
Open your Facebook App, and watch completely the video (or wait till it finishes loading).
Use Root Explorer to go to (Bookmarking this makes it much easier):
Code:
data/data/com.facebook.katana/files/video-cache
Arrange the folders according to Date (so the latest date/time is the video you just saw).
Copy the file inside the folder (i.e. 00000000), to a safe folder back in your SD or extSD
Rename the "0000000" file, to whatever name you like and using the extension .mp4 (i.e. video.mp4)
Watch or share the video from root explorer (long-press and share)
Notes
I believe is safe to delete the whole cache folder to work better
I have only used the .mp4 format and it has been effective so far
You can't watch the video inside the Cache folder (at least w/my phone)
Enjoy:fingers-crossed:

Related

[Q] .pls/.m3u woes

I have a problem with my mp3's on my harddisk, or rather, the problem occurs when I try to copy them to my phone (on the sd-card if that matters). My cd's are ripped and for each cd, the is a .pls file indicating the order of the files (the files are not prefixed 01, 02, etc.).
My problem is that I have found no player on android (S2) that can use my .pls files (they are just text files with 1 file on each row, relative path) and the .pls file is placed in the same folder as the mp3 files. Then each cd has their own folder.
I have tried winamp, poweramp, builtin prog, video players and more. No program can understand the contents of my .pls files, but many do accept .pls files. How must the files be built in order to work? (format)
I have also tried with .m3u files and .m3u8 files, but it is the same story as with .pls.
I am at a loss. How do I transfer playlists from my pc (.pls or .m3u) to android?
Also, why is it that winamp cannot even see my mp3 files? Is it because I place them om the SD-card? It only finds a couple provided by Samsung.
galmok said:
My problem is that I have found no player on android (S2) that can use my .pls files (they are just text files with 1 file on each row, relative path) and the .pls file is placed in the same folder as the mp3 files. Then each cd has their own folder.
Click to expand...
Click to collapse
You might give AudioPlayer a try.
- free version has ads, but runs ok without internet connection
- available on SlideME (direct download apk file, no google account needed) or Market
I tried AudioPlayer 1.10 on Android 2.3.6 (Samsung Galaxy Player 4.2). It will read m3u playlists with relative paths, whether opened directly in player or passed from file manager.
Playlist editing is limited. You can't view the list or reorder items, but you can remove the current item. Saving a changed list seems buggy. When I saved right away in the directory that comes up, I got relative paths. But when I back out some levels and come back to that same directory and save, then I get absolute paths that begin "../../../../../../../../sdcard". So it seems like it works best if you already have your playlists made.
I also tried renaming the m3u list to .pls (and added .pls as a playlist extension in player settings). This .pls list worked if the player opened it directly, but not if I went through the file manager.
For now, I'm keeping it as one of my installed players. It is simple to use. I like it for what it does. It has multiple seek buttons (you can set the time interval) which are handy for navigating long sound files. And it opens the now obscure RealAudio format for me, once I added .rm .ram file extensions in the settings (though this decoding might be dependent on hardware).

Busybox scripting for games with only one user profile

I am using a tablet with multiple users- myself and two kids. The problem is that we have several games installed that only have one default profile. I am trying to write a script for each user that
1) Copies their game progress data from a backup folder on the external SD card to the game data folder,
2) launches the app, and
3) when the game closes, saves their progress to their backup folder. Each user's script would access a different backup folder location, so that each user has their own game progress.
The problem is that I can't find a tutorial that explains how to do this to someone that hasn't done command-line anything in a long time. I looked at an app launch example, and now I am even more confused. Busybox doesn't look anything like what I have used in the past (DOS, bash).
The game data is in /data/data/(Game folder)
The backup folders are located in /mnt/external_sd/(User folder)
So, how do I copy /mnt/external_sd/(User folder)/(Game folder) to /data/data/(Game folder)
launch app (App) (and what are intents, anyways?)
wait for (App) to close
copy /data/data/(Game folder) to /mnt/external_sd/(User folder)/(Game folder)
Device info: Rooted Acer Iconia Tab a500 with stock ROM (4.03), Busybox 1.19.?, scripting to be launched by ScriptManager widget.
Noob status: Does it get any worse?

[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!
Bump for interest
mvmacd said:
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.
Click to expand...
Click to collapse
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.
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
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.
JCBucks said:
Where can I find these files on my Samsung Infuse? I go into /data/data/com.snapchat.android/cache but the folder is empty.
Click to expand...
Click to collapse
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.
JCBucks said:
Where can I find these files on my Samsung Infuse? I go into /data/data/com.snapchat.android/cache but the folder is empty.
Click to expand...
Click to collapse
same here....
Galaxy Nexus CM 10.1
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.
shenkenstein said:
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.
Click to expand...
Click to collapse
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
incarceration said:
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
Click to expand...
Click to collapse
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.
I'm not familiar with Tasker. is it possible to have it automagically copy and rename the files that show up in the picture cache folder upon receiving a snap?
-edit-
From reddit:
I've got one method working on doing this, albeit I dislike it because this is questionable practice as is.
you''ll need Tasker and the Secure Settings plugin (tasker's run shell didn't like playing nice most of the time, but the secure setting run command does).
so i have tasker wait for snapchat to be opened, then the opening tasks are to wait 7 seconds (gives you time to load any pictures, honestly, i tried doing this with a file closed but tasker doesn't seem to like using wildcards in that command. if you really want, you can make this an exit command and open snapchat then back out before viewing)
then run shell as root cp -r /data/data/com.snapchat.android/cache/received_image_snaps/ /storage/emulated/0/snaps/ (you'll need to change the second directory, mine is for a gnex on 4.2.2 so that's why it's emulated/0)
next, you'll need to make a script in atext editor, and for sake of sanity, push it to /system/bin with chmod 755 (rwxr-xr-x)
the script then reads as CODE
!/system/bin/sh #there should be a hashtag in front of this but reddit's formatting is being wonky
cd /storage/emulated/0/snaps/ #wherever you copied them to
for file in *.nomedia
do
mv "$file" "${file/.nomedia}"
done
exit
then in tasker, as an exit action, run a secure settings run command with the command of whatever your script name is (include location if you do no push to bin).
it should work
You can play with the triggers and such, but i was having no luck including the scripted portion with the copy actions, it never seemed to run the script (secure settings has options to notify that it's running/completed).
Again, this is mean to be instructional on how to automate this with tasker, since I wanted to solve a puzzle. Not for anyone to be a creepy ass person saving snapchats that you shouldn't.
Click to expand...
Click to collapse
Couldn't post link =/
nannus said:
I'm not familiar with Tasker. is it possible to have it automagically copy and rename the files that show up in the picture cache folder upon receiving a snap?
Couldn't post link =/
Click to expand...
Click to collapse
Is it possible, yes. Will it work flawlessly, not really.
Once I move the file and remove the no media extension. I can open the image but it is blank. Any ideas? Anyone know how to retrieve deleted Images
kprz24 said:
Once I move the file and remove the no media extension. I can open the image but it is blank. Any ideas? Anyone know how to retrieve deleted Images
Click to expand...
Click to collapse
Deleted images are deleted. That's the point of Snapchat. As for the file you moved (I'd recommend you copy it instead, cause Snapchat'll show a blank screen when you view it if you moved the file), make sure it ends in .jpg (for images) or .mp4 (for videos).
kprz24 said:
Once I move the file and remove the no media extension. I can open the image but it is blank. Any ideas? Anyone know how to retrieve deleted Images
Click to expand...
Click to collapse
Actually there is a program called PhotoRec that scans a disk for files using the headers. So as long as the file is unfragmented and not been written over, you can retrieve it with the software. Of course you'll have to either plug in your phone to your PC with usb mass storage mode [if your phone supports it], or else put it in a card reader.
mvmacd said:
Actually there is a program called PhotoRec that scans a disk for files using the headers. So as long as the file is unfragmented and not been written over, you can retrieve it with the software. Of course you'll have to either plug in your phone to your PC with usb mass storage mode [if your phone supports it], or else put it in a card reader.
Click to expand...
Click to collapse
Nice! I didn't think that technology was available on phones at this point.
quantemplation said:
Nice! I didn't think that technology was available on phones at this point.
Click to expand...
Click to collapse
Well actually it's not run from the phone [as I mentioned in my previous post], you must plug your card into your PC with usb mode in order for it to work.
I have used PhotoRec in the past and it has worked pretty well. The only thing, and it's not PhotoRec's fault, your files will have a random number. There's no way to know what the old filename/path used to be, so you have to figure that part out on your own.
In short, always backup your sdcard unless you don't mind losing everything, and depending on the damage, might be able to recover the files, but only the ones not fragmented and they will be randomly named.
I developed an easy way to sync the received pictures and videos with your Dropbox account.
If it is interesting you can check my thread here
Using the Droid DNA and looking in com.snapchat.android and the cache folder is there, but that is empty. There is no received images folder. Anyone know why this is the case? I know I've gotten plenty of images from snapchat.
jaredkent said:
Using the Droid DNA and looking in com.snapchat.android and the cache folder is there, but that is empty. There is no received images folder. Anyone know why this is the case? I know I've gotten plenty of images from snapchat.
Click to expand...
Click to collapse
The same thing is happening with my Galaxy S3

Backing up whatsapp contacts and message conversations from bluestacks to phone

Hey guys,
Since I'm having my board exam, so I don't have my phone right now with me and I'm using whatsapp on bluestacks app players. But after exams are over, I'll be soon back with my Xperia U. So guys can you tell me how do I backup my files, folders, apps, whatsapp full media and its full conversation with people I chat with and every single goddamn thing from bluestacks to my phone??
Thanks in advance.
nirajkaushik said:
Hey guys,
Since I'm having my board exam, so I don't have my phone right now with me and I'm using whatsapp on bluestacks app players. But after exams are over, I'll be soon back with my Xperia U. So guys can you tell me how do I backup my files, folders, apps, whatsapp full media and its full conversation with people I chat with and every single goddamn thing from bluestacks to my phone??
Thanks in advance.
Click to expand...
Click to collapse
Try This:
1. WhatsApp stores a backup of all conversations in the SD Card. It can be accessed by doing the following:
1. Install a File Manager such as Astro File Manager, on BlueStacks
2. Navigate to sdcard/WhatsApp/Databases/
3. The message history backups are stored here. Click down on the file msgstore.db.crypt,
select Copy from the options that come up. Navigate to
/sdcard/bstfolder/bstSharedFolder/ and paste the file.
4. This file can now be accessed on the PC by navigating to
C:/ProgramData/BlueStacks/UserData/SharedFolder.
2. Now the messages can be accessed by decrypting the databases (this link tells you how)
I Don't Know That Whether It'll Work Or Not. [Do At Your Own Risk. ]
This worked for me
1. Explore your phone files on your PC, search for whatsapp messages in something like this: phone/whatsapp/databases
2. Upload the last created message database you found to your Dropbox or Drive account
3. Install file manager HD in bluestack (This App allows you to copy/delete files from SD and cloud servers/dropbox)
4. Make sure to uninstall whatsapp from bluestack before you do next step
5. In the file manager HD identify the database you upload in dropbox
6. Install whatsapp, before they ask your phone number do the next step
7. In file manager hd move the message file from dropbox to SDcard/whatsapp/databases
8. Put phone in whatsapp and it will ask you to recover messages, accept, and it should work
while updating the bluestacks whatsapp, i changed my profile name and now no old history is available... how to get my old chat history, Please help.
better idea is install file manager make a zip file of watsapp folder and paste it to /sdcard/bstfolder/bstSharedFolder/
find that zip file on your pc from C:/ProgramData/BlueStacks/UserData/SharedFolder and paste it in your phone and extract it to your internal directory and done

Hungama Music and Video app, How to import downloaded videos to pc? please help

help!!!!!!!
I have installed Hungama app from Google playstore now after that is downloaded some videos from this app and the video are there inside the application only,
then i installed ES file explorer where i can access the android/data/com.hungama.myplay.activity/files/video/.
inisde this folder all the videos can be found but the problem is that every video is having a filename with extension .cache
at first time when i entered to the folder and copied one from them and pasted there in same folder than moved the copy to another folder and renamed the filename by changing only its extension from .cache to .mp4 while having the app running in background, after renaming the file with .mp4 extension i tried to open it with MX video Player, it was played well without any buffering like an file in sdcard. i thought its easy, therefore selected all the files from that folder and copied them to another location in the sd card and tried to rename all files at once by changing their file extension from .cache to mp4 ,
But this time MX player and every mp4 player failed and now also no video is playing outside that particular app.
What could be the solution?? please post your suggestions soon,, and help!!!!
if possible can anyone here check this video file for the error why it cant be played after playing once in android MX player...
"filehosting.org/file/details/686141/video_2800254777.mp4"
Progress..?
d1310 said:
help!!!!!!!
I have installed Hungama app from Google playstore now after that is downloaded some videos from this app and the video are there inside the application only,
then i installed ES file explorer where i can access the android/data/com.hungama.myplay.activity/files/video/.
inisde this folder all the videos can be found but the problem is that every video is having a filename with extension .cache
at first time when i entered to the folder and copied one from them and pasted there in same folder than moved the copy to another folder and renamed the filename by changing only its extension from .cache to .mp4 while having the app running in background, after renaming the file with .mp4 extension i tried to open it with MX video Player, it was played well without any buffering like an file in sdcard. i thought its easy, therefore selected all the files from that folder and copied them to another location in the sd card and tried to rename all files at once by changing their file extension from .cache to mp4 ,
But this time MX player and every mp4 player failed and now also no video is playing outside that particular app.
What could be the solution?? please post your suggestions soon,, and help!!!!
if possible can anyone here check this video file for the error why it cant be played after playing once in android MX player...
"filehosting.org/file/details/686141/video_2800254777.mp4"
Click to expand...
Click to collapse
Tested on app version 5.2.18
When the app opens a .cache file, it "decrypts" it. When a file is decrypted, its name will have "decrypt" at the end
EX: encripted "audio_134298.cache"
decrypted "audio_134298decrypt.cache"
So, my solution was to download an FTP server on my phone, then connect to it through windows CMD and download the decrypted songs with a wildcard
(Make sure to CD into wherever you wanna download the songs first BEFORE doing the commands)
Code:
ftp -i
open
PHONE_IP PORT
cd Android/data/com.hungama.myplay.activity/files/track/
mget *decrypt.cache
mdelete *decrypt.cache
When I did the process described above, there were only 21 decrypted songs (Even though my library has +500 songs) (I don't know if the same 21-rule applies to videos), so you'll have to press PLAY (from the hungama app) 21 times, and then repeat the download process (mget and then mdelete to free up space)
After that's done, I fired up "Bulk Rename Utility" and changed all extensions to .mp3 (since I was converting music), and also removed the "decrypt" characters from the filenames.
But BEWARE, decrypted files are not the final form of the mp3; If you listen to them you will only hear giverish.
But at least we now have meta-data.
I would post a link to one of these files, but:
a) I don't have enough reputation to post links
b) Copyright
At this point it might just be better to write down a list of all your songs and re-download them from hungama<dot>com
Hope this helps
First of all navigate to the browser where it saves the file and Remove .nomedia File from that folder not browse the folder in MX or VLC and Enjoy the videos
d1310 said:
help!!!!!!!
I have installed Hungama app from Google playstore now after that is downloaded some videos from this app and the video are there inside the application only,
then i installed ES file explorer where i can access the android/data/com.hungama.myplay.activity/files/video/.
inisde this folder all the videos can be found but the problem is that every video is having a filename with extension .cache
Click to expand...
Click to collapse
It's not uncommon that an app creates files that other apps don't need to access, or shouldn't access.

Categories

Resources