Open and extract .sbf files - android

I have backed up my messages from my Sony Xperia, and now I want to open the file and export them to excel or something more easy to read, but I can't find a program or tool to do that
I just have the file and i want to open it and extract especific information.
I need some help, thanks!

There's a utility called MotoAndroidDepacker (Google it) - I used it to unpack sbf files for Motorola phones. I'm not sure if it will work in your case, but it's worth giving a try.

Related

Where on my Mac do the emulator's external data directories map to?

I am trying to figure out where the Android emulator's external storage (/sdcard/Music/ for now, but of course I want to find the other external storage locations too) maps to in my Mac's file system. I want to copy some music files over for testing a simple music playing test app.
Tried to use Device File Explorer to figure it out, but there doesn't seem to be an option for that (unlike the resource folders, which have a "reveal in Finder" right click option). Also tried the virtual device configuration options panel but didn't see it there either. Probably overlooking something obvious, so I apologize in advance. Thanks a lot.
It can probably be found somewhere, but since its content can be encrypted, it would be very inconvenient to work with.
The easiest way to upload a file is to right-click on its folder in Device File Explorer and select Upload...
You can also do it with the adb push <local-path> <remote-path> command line tool if you prefer.

How to find and play videos downloaded by Lynda.com Android or Windows app

There is an App which features downloading their videos for offline viewing via their Android and Windows app. I was wondering where does this app saves these videos and if they are encrypted, how to decrypt and play them?
I am a programmer but I know nothing about Android/windows app development, here is what I have been able to hack so far:
On Android
It seems like it saves videos at
/storage/emulated/0/Android/data/com..android.root/files/videos//encrypted/
These files have no extension, I copied them to my laptop and tried giving different popular media extensions, nothing worked so far in neither of WMP, VLC & Quicktime Player.
I tried to identify file type using TrID (as specified in this link and this utility suggests it is an mp3 file (while it should be a video), I changed the extension to mp3, it did not worked either.
I tried opening the file in ISO buster and several other apps. Finally while trying different things, on android system itself when I choose the option to compute checks, it display some MD5 and SHA-1 values. I am not much familiar with these terms but figured out, these files seems to be encrypted.
If I try to directly open this file on Android, System starts generating Hex Dump and then file explorer crashes.
Now if these files are really the video files and are encrypted, is there a way I can decrypt them and play directly in a video player?
On windows store App in my laptop's Windows 8.1
I found App files are stored at:
C:\Program Files\WindowsApps\.com..com_1.5.0.2_neutral_split.scale-140_
C:\Program Files\WindowsApps\.com..com_1.5.0.2_x64__
C:\Program Files\WindowsApps\.com..com_2015.924.1324.2728_neutral_~_
I was able to figure out how to assign privileges to currently logged in User and gain the access to reach at these paths but couldn't make any further progress to find encrypted or non-encrypted video files in these folders at all.
I understand that if I really just want to download the video files there is much better and easier way - directly log in to their website and use any video grabber application or extension, it's as easy as that, which does works.
But my intention here is not to download videos but rather I am just curious to do ethical hacking for learning and exploring things. Just want to understand whether it is even possible to decrypt, find appropriate extension and play them directly without the app or not. And where does both Android and Windows Apps are actually storing these videos on my own device which I am unable to access/play without App.. huh well done app developers!
Any help or pointers appreciated.
Since Lynda is using HTML5 just click Save as on the video an download it as a mp4....
For Mac users, you can find the offline files at
~/Library/Containers/com.lyndadotcom.lyndaosx/Data/Library/Caches/com.lyndadotcom.lyndaosx/offlnvds/
Cheers!
I was wondering the same thing and I done some exploring with windirstat and found a large bunch of files at:
C:\Users\*username*\AppData\Local\Packages\lynda.com.lynda.com_0dmhem0sv94sr\LocalState\offline\194074
They are .file but the large ones are the videos and they play fine in vlc. Could probably mess around with them and add the .avi or whatever, to the end for completeness if you wanted..
Alright, so the above listed solutions worked for a while but Lynda was smart enough to begin encrypting the downloaded videos. And hence just finding the downloaded content is not good enough anymore.
I could not find a way to decrypt the videos downloaded by the Windows Store app but someone did a great job in decrypting the videos downloaded by the Desktop app (yes, it is different), which is not as popular as the store app.
You can download the desktop version of this app from here.
Find encrypted downloaded vdos here:
C:\Users\\AppData\Local\lynda.com\Lynda.com Desktop App\offline\ldc_dl_courses
and decrypt them using this tool.
This is how:
Browse to:
C:\Users\*User Name*\AppData\Local\Packages\lynda.com.lynda.com_0dmhem0sv94sr\LocalState\offline\*XXXXXX*
Add the extension .mp4 to the files in that folder.
(If you download the files in order they will be alot easier to name because it will be possible to sort by date and time.)
Open a Command Window in that folder (as administrator)
Run the following command in the folder containing your extesionless video files to give all of them .mp4 extesions.
ren *. *.mp4
if you use lynda.com Windows Store App you can find it under
C:\Users{userName}\AppData\Local\Packages\lynda.com.lynda.com_0dmhem0sv94sr\LocalState\offline
for those who use "Lynda Desktop App" to find the exact location for
video files in windows
Run Lynda Desktop App from App menu on top left of app select
"Options" you can find path of downloaded files there "Course
Download location" also you can change it to any path you want,and
its default location is
."C:\Users\{userName}\AppData\Local\lynda.com\Lynda.com Desktop App\offline\ldc_dl_courses"
for those who can not play files using VLC now offline App Encrypt files so it can only decrypted and played with lynda offline App only
if any one needs how to decrypt files I have already developed tool for my personnel use to do so but I think I can not share it for public

QPython3 on Android read and write txt file

I am writing a little python textbased game on my android phone with qpython3.
Now I want to store the highscores in a txt file but I can't find out how I can realize this. I know how I can do it on windows but it doesn't work on android.
Hope anyone has an idea.
Krowit
After testing on my device, it appears that QPython has blocked write permissions from the application. Here's a way of getting a version which allows for it*:
Download SL4A, and install it. This is what launches the Python script.
Download PY4A, this is the Android version of Python. You can download both 2.x and 3.x from here.
You'll need a text editor now. DroidEdit is my personal favourite, and you can launch a script straight from the app.
Then you can write in your code, save it, and run it!
Of course, there's no real substitute for a real desktop, at least in my opinion, but this is (again, in my opinion) the best setup I've found so far.
*I don't know where the files are saved, but you can read and write from them, wherever the saved file's directory may be.

Detecting /legacy/ directory as a symbolic link

I have a file util which detects if the file is a symbolic link. I more or less use the code presented here. It works fine for almost all files in Android. I run into problems, however, with a legacy folder. The legacy folder is a symbolic link to the file the user is actually on (This is for Android devices running 4.2.2 or higher which allows for multiple users). For example the path will be "storage/emulated/legacy/file" but when run through the isSymbolicLink method, I get false returned. This is because the file.getCanonicalPath() does not seem to resolve the symbolic link for the /legacy folder. Does anybody have an idea on how to detect /legacy as a symbolic link? I'm really trying to avoid just coding in "legacy folder is a symbolic link, deal with it". Let me know what you think.
Edit: It seems like I've run into the same problem as this question.

Simple editor for Android Permissions File

I am new to Android and Eclipse development, but not new to software development in general.
As my first real project, to get over the learning curve, I am modifying the SDK example soft keyboard.
I would like to add a macro capability. So far so good.
I have created a Permissions file to hold the macro string definitions and store that in the getApplicationInfo().dataDir – which turns out to be something like "/data/data/…". I can write then read back a single key-value pair – so I know the file exists. But, I can't see the file using Astro file manager or an FTP program looking at the Device. I have a feeling I may not have the access permissions to view the directory and I don't have root.
I would have liked to edit the macro definitions in this file on a PC and then save it back to the proper location – that would've been the easy solution. I think my other options are to create a simple key-value parameter by parameter editor or somehow use intents to open the file using some already available text file editor. I am guessing the second option will also encounter the file permissions problem.
A third option would be to store the file in some publicly available directory. I tried using a few "get DIR's", but they required a higher level SDK than I was using – I would like to stay compatible with version 6 and below.
Can somebody offer suggestions on how I can edit the key-value pairs or find a public place to create this file? And, where to look to find an example of how to implement the suggestion?
Thanks much,
Barry.
You can save any data in the SD card. Please read the SDK here, where there is a code snippet which may help you.
Try saving the file on your SD card.
http://androidgps.blogspot.com/2008/09/writing-to-sd-card-in-android.html

Categories

Resources