[Q] Windows Phone 8.1 WhatsApp backup/restore - Windows Phone 8 Apps and Games

I've seen some threads about accessing the WhatsApp messages backup database files on iPhone, Android and older Windows Phone versions (7.x). However, none of the methods seem to be compatible with the WhatsApp messages backup database file found on Windows Phone 8.1. I am looking for a way to either extract/decrypt or restore an older messages backup database. Tried so far:
- Place messages.db file on SD card and reinstall WhatsApp. WhatsApp does NOT find the backup on installation. It only restores the most recent chats (not the ones from the backup file)
- Tried available tools for iPhone/Android (Python scripts with crypto 5/7/8). Database format is incompatible
- Tried opening the database file directly in Microsoft Access, SQLite Browser. Unrecognized file format
- Tried the Zune/WP Device Manager approach. Seems to work only with Windows Phone 7.x, Windows Phone 8 is not seen by the tool
- Tried Windows Phone Power Tools to access Isolated Storage for the WhatsApp app, but access to an apps isolated storage is not possible in Windows Phone 8 anymore.
- Tried the WhatsApp Xtractor, but it contains the same iPhone/Android python scripts that don't work with the Windows Phone version
- Even tried asking WhatsApp support directly, but they have not given any response yet
Can any WhatsApp / encryption wizard please help me out. I am more than willing to reward/tip you for it if the solution works!

i have the same problem ,pls pls pls tell me about the solution thx

Given that you already enabled full FS access on your phone or have control over an app wich has the ID_CAP_OEMPUBLICDIRECTORY capability, you can extract the unencrypted sqlite database from C:\Data\SharedData\OEM\Public\WhatsApp.
The structure of the database is quite complex (I suppose it grew over the years), but not too hard to understand.
However, I have no experience in using this mechanism as a backup/restore solution.
Source: blackhat . com/docs/ldn-15/materials/london-15-DeFulgentis-Witchcraft-For-Windows-Phone-Breakers.pdf page 68f
Sorry for broken link, I'm a new member.

I realize this is a pity, I want the Microsoft support seriously and updating applications

If you do not want to unlock / flash your phone in order to enable the full FS unlock, you can try the hack as shown in the Blackhat slides posted above.
It works by replacing an apps' core files with your own, but keeping the capability restrictions of the original app. (Use http://forum.xda-developers.com/win...p-customwpsystem-patch-xaps-wpsystem-t2975419 for example)
So just target an app with ID_CAP_OEMPUBLICDIRECTORY, deploy your custom payload and use it to copy the WhatsApp files somewhere.

Given the full FS access, is there any way to access the Whatsapp key file like on Android. That's what you would need to access the backup files instead of the unencrypted current message database, which is easily opened as SQLite database?

Hello ... I'm new here ... just wondering if there is any answer to this question ... I know it's not a recent discussion, but I really need some help from you guys. I have a wp where whatsapp is installed, but it's asking for verification and I dont have no more the sim card related to that account ... I saw chats, but then I made a huge mistake (opened whatsapp while I was online) and now I cannot access to those anymore ... I have messages.db but I'm unable to retrieve the key to decrypt that ... there are tons of posts about similar issue on android or IOS, but I need the same for WP ... is it something someone can drive me through? Thanks a lot in advance

If your phone has the Full-FS-Unlock enabled you can get the unencrypted databases at C:\Data\Users\DefApps\APPDATA\Local\Packages\5319275A.WhatsApp_cv1g1gvanyjgm\LocalState (or similar package name).
Or you can get unencrypted backups from C:\Data\SharedData\OEM\Public\WhatsApp
Or you can use a interop-unlocked File Manager App

jumpz said:
If your phone has the Full-FS-Unlock enabled you can get the unencrypted databases at C:\Data\Users\DefApps\APPDATA\Local\Packages\5319275A.WhatsApp_cv1g1gvanyjgm\LocalState (or similar package name).
Or you can get unencrypted backups from C:\Data\SharedData\OEM\Public\WhatsApp
Or you can use a interop-unlocked File Manager App
Click to expand...
Click to collapse
The files in C:\Data\SharedData\OEM\Public\WhatsApp seem to be encrypted as well … Or can you just not open them with a standard SQLite viewer?

weaselmc said:
The files in C:\Data\SharedData\OEM\Public\WhatsApp seem to be encrypted as well … Or can you just not open them with a standard SQLite viewer?
Click to expand...
Click to collapse
No, these files are indeed encrypted.

The winwazzapmigrator software did a good job migrating my database to a new android phone.

Tool to access file system on Windows 8.1 mobile
jumpz said:
If your phone has the Full-FS-Unlock enabled you can get the unencrypted databases at C:\Data\Users\DefApps\APPDATA\Local\Packages\5319275A.WhatsApp_cv1g1gvanyjgm\LocalState (or similar package name).
Or you can get unencrypted backups from C:\Data\SharedData\OEM\Public\WhatsApp
Or you can use a interop-unlocked File Manager App
Click to expand...
Click to collapse
Can anyone help me with a tool to access the file system where app files are stored on a windows 8.1 mobile?

me too
PritiM said:
Can anyone help me with a tool to access the file system where app files are stored on a windows 8.1 mobile?
Click to expand...
Click to collapse
I do have the same request...

Related

[Q] How to play/ save talkbox message?

Hello,
well i'm trying to save talkbox message in to a normal file type cus i wanna send it to my friend. i found out where the files are but they are. ilbc and i have no idea how to play/convert it.
Any suggestions?
Sent from my X10 using XDA App
Bump.....
Sent from my X10 using XDA App
TalkBox - how to get voice messages from iphone to pc
In order to copy voice messages created by talkbox app from your iOS device all you have to do is to gain access to your device file system with any free software (I used iExplorer ). acess your device and you will see at the root file system the directory User->Applications and there all you application data is stored - one of them is TalkBox (you will recognize it by enter every folder and check for the folder that finish with '.app' or see the icon of the application inside it). all the messages are in [talkbox-folder-id]->Documents->Audio at caf files (Core Audio Format). export it easily with your software to your pc. Cheers and Good Luck !
help
white-bear said:
In order to copy voice messages created by talkbox app from your iOS device all you have to do is to gain access to your device file system with any free software (I used iExplorer ). acess your device and you will see at the root file system the directory User->Applications and there all you application data is stored - one of them is TalkBox (you will recognize it by enter every folder and check for the folder that finish with '.app' or see the icon of the application inside it). all the messages are in [talkbox-folder-id]->Documents->Audio at caf files (Core Audio Format). export it easily with your software to your pc. Cheers and Good Luck !
Click to expand...
Click to collapse
Hi
This all sounds really good as i have a deceased friend and wanting desperately to switch / access / back up talk box voice messages between my devices.
All was stored on my samsung galaxy s3 and now i have an s5 things are proving a little tricky so could you please brake down these instructions for me so i can successfully access them from the root.
I can access them in the device but only in the .ilbc format..
Thanks in advance

Transfer iPhone Backup to S3 with Kies?

Hi,
i want to transfer my sms and contacts to the s3 with kies. After chosing my newly created and not encrypted itunes backup off the iphone in Kies i get always the following error : "The backup information could not be read. Please choose a valid backup file."
Latest Kies Version and S3 Firmware Version. Can someone tell me how to fix this?
No, but you might want to change the thread to a question, I though this was a tutorial!
You need a Phone to Phone Data Transfer software,have anyone use this:
URL= recovery-iphone.com/phone-to-phone-data-transfer.html
This MobileTrans is a powerful phone to phone data transfer tool lets you seamlessly copy data between Android, Symbian and iOS phones.With one click, you can directly transfer data between two phones,no matter Android phone (HTC, Samsung, etc.), Symbian phone (Nokia, Motorola, etc.) or iOS phone (iPhone 5, iPhone 4S, etc).You can selectively transfer data between any two of them without data loss.Moreover, Directly transfer from one phone to another, no need of any transfer stop during the process.
Sync contacts with Gmail and send yourself texts? Think you can only sync music with kies?
Sent from my GT-I9300 using xda app-developers app
For sms messages transfer, a program called iPhone SMS + MMS to Android Transfer from backuptrans may help. google it.
I have the same problem
Paitor said:
I have the same problem
Click to expand...
Click to collapse
Did the answer above your post work?
Kangburra said:
Did the answer above your post work?
Click to expand...
Click to collapse
Nope, very buggy and bad program.
I managed to get my sms to the phone with another program though.
see this guide: http://faked.org/isms2droid/
iPhone SMS to Android Converter
Step 1: How to find your iPhone SMS database
Jailbreakers: You can either follow the "iTunes Users" instructions, or install OpenSSH via Cydia and use something like scp, WinSCP or Fugu to copy "/var/Mobile/Library/SMS/sms.db" to your desktop.
iTunes Users: If you have a recent backup of your iPhone, or haven't received any new SMS you'd like to move to your Android phone since the last backup, you can skip the first step:
make a backup in iTunes (right-click your iPhone icon in the left pane)
depending on your operating system, go to the folder
Windows 7/Vista: "C:\Users\[USERNAME]\AppData\Roaming\Apple Computer\MobileSync\Backup\"
Windows XP: "C:\Documents and Settings\[USERNAME]\Application Data\Apple Computer\MobileSync\Backup\"
Mac OS X: "~/Library/Application Support/MobileSync/Backup/"
Linux: "/itunes/?/you're/kidding/me/right/?" (seriously, i have no idea if that's ever gonna happen)
if there's more than one folder in there, look for the one which doesn't have a timestamp (-YYYYMMDD-HHMMSS) at the end, and open it
copy the file "3d0d7e5fb2ce288813306e4d4636395e047a3d28" to your desktop
older iTunes versions may use the extensions ".mddata" or ".mdbakup"
on Mac OS X Lion the file doesn't have any file extension
optional: rename "3d0d7e5fb2ce288813306e4d4636395e047a3d28" to "sms.db", if you're a neat-freak
Step 2: Use iSMS2droid
Option 1) Get iSMS2droid on the Android Market
Step 3: Import your messages on Android
If you used Option 1 (the App):
Install SMS Backup & Restore (Android Market Link) to your Android phone, launch it, tap on "Restore", select "iSMS2droid.xml", done!
Click to expand...
Click to collapse

SMS Database Android

Hi,
I'm trying to create a desktop (java based) application that extracts SMS from an android device and prints the SMS onto a relational database. I just have a few questions......
/*Answer Found*/
After research I found out that the SMS are stored in a database. I've been pointed in various directions, but the most common is directory is com.android.provider.telephony.SMS although I can't actually find it on my phone. My phone is rooted and I'm looking for the file using a "File manager" app from the Play store.
So my first question would be "Where is the SMS database stored"? I'm assuming it's the same place for all phones as long as it's android based. Please correct me if I'm wrong......
I'm aware the database will be encrypted. Does anyone know what type of encryption is on the database, and if so - is it easy to crack?
Thanks in advance,
Wazza
Update: OK - So it turns out the file explorer I was using was a bit......naff. I've downloaded another and am now able to see the relevant DB.
My idea was to run the developers USB debugging mode onto the computer and extract the DB like that - However, the folders / files being shown when it's plugged into the PC are those on the SDCARD. (I believe this is the level above root?).
Update 2: Seems as if I jumped the gun posting this topic. A few more hours research and I've got to where I need to be.
For those who don't know - this is how I did it.
Plugging your phone into the PC and selecting USB Debugging mode temporarily disables the "SDCARD" on your phone so you can't tamper with it whilst uploading files via the PC.
I downloaded a file manager that allows the user to view root access files / folders. I then found the mmssms.db, copied it and pasted it into a folder on the "SDCARD". I was then able to plug the phone into USB Debugging mode and transfer the database file from the phone onto my desktop.
My next challenge is viewing the database. As started in the OP, I'm aware the database is most likely encrypted. How would I go about breaking this encryption and viewing it on a database.
:good:
If you want to make backup of SMS, just use SMS Backup & Restore. It will export your database to xml file.
przemcio510 said:
If you want to make backup of SMS, just use SMS Backup & Restore. It will export your database to xml file.
Click to expand...
Click to collapse
Thanks przemcio but I'm doing it as a project. I don't want the easy way around

First File Manager For windows Phone 8 with Full SD Card Access Capability

Now Windows Phone 8 Got his First Real File manager.
Pocket File Manager .
Now The latest improvement:
- Full Access to media library
- Full access to video files
- Full access to SD Card
* I think Now Microsoft open windows phone 8 API's .
Common Developers....Hurry Up...
Now U can Make More Powerful File managers for Wp8.
Get it Here:
http://www.windowsphone.com/en-in/store/app/pocket-file-manager/56dd9c3d-fe0a-4ceb-84b0-043e58e55b19
Checked....Working Fine with All capabilities in....
Yeaaaah this was posted a couple days ago so I wouldn't really call it "GRAB IT FAST" (nor, for that matter, is this post quite in line with the forum rules as you're kinda-sorta advertising a paid app, even though it's not yours).
If you read the dev's forum thread (it's not here, it's easy enough to find though) you'll see he got special permission from Microsoft to use a capability which is normally only available to OEMs. Sure, it's a good sign and may mean good things to come, but don't go getting all breathlessly excited about it *just* yet!
Also, "Full API Access" is a pretty bad description. It doesn't appear to use any non-standard APIs at all, in fact (I decompiled it already). The filesystem APIs are available to all developers. You just can't *DO* much with them because apps run in sandboxes with very low permissions. The dev got permission to add *one* extra capability, ID_CAP_MEDIALIB_PHOTO_FULL, which gives full access to the pictures library and the SD card. It does not give anything even vaguely close to full access to the whole phone (as a trivial example, it still doesn't give access to the Documents folder). It's also not something that just any random developer is going to be able to use.
Thanks for trying, though, I guess...
Not the means of any ad here.
I just got it...usefull....
Delete the thread...if its not suitable here.
thanks
Amirphp said:
Not the means of any ad here.
I just got it...usefull....
Delete the thread...if its not suitable here.
thanks
Click to expand...
Click to collapse
I don't think this thread should be deleted.
Anyway I just went to the Pocket File Manager facebook and this is what I found out :
"Hello developers.
I want to info you that in next version of Pocket File Manager we added support for third party application to save files into Phone storage and SD Card. It is very simple process and will cost you nothing.
How it works:
All what you need is to add special extension into your file and execute Launcher. PFM will receive file and save it to desired location , also it will remove extension so the file name remains original.
Extensions supproted:
.tosd - Save file to SD Card. For example you have file named "my new file.dat" and you want to save it to SD card. Rename the file to "my new file.dat.tosd" and use Windows.System.Launcher.LaunchFileAsync(); PFM will store the file named "my new file.dat" in SD Card. If no SD card is presents file will be stored into Phone's storage Picture folder)
.tols - Save file to PFM local storage.
.tops - Save file to Phone's storage under the Pictures folder.
If you have any questions fill free to ask!"
Maybe this can be helpfull to other developers that can't get the ID_CAP_MEDIALIB_PHOTO_FULL capability for their own app.
I think this is interesting ...
Best app
Super app!! Installed trial version on Lumia 925, all works as described. Hurry up developers!!!
This looks great! But I wish the ability to access even a small part of the SD card was open to all developers. Its been very difficult to build a productivity app when the only way to get files out of the phone is email. Looks like he got into the Nokia collection about a month before he added the capability, I assume Nokia made this happen.
That could be. Nokia has the ability to add ID_CAP_MEDIALIB_PHOTO_FULL to "their" apps if they want; they could probably arrange for this app to receive it.
I'm with you on the SD thing. The official APIs for SD access (read-only, limited to the file types you specify beforehand, can't specify reserved file types, can only see so many files) are really stupid.
The fact that 8.1 supposedly allows devs to enable installing apps to SD is encouraging. If that feature stays, there's a decent change it will mean the apps are installed to a FAT partition, which would mean they would have full access, automatically (MS can restrict access to the mount point, but then the app couldn't get at its own binaries and resources; if they allow that, they allow it all). Of course, they might split-partition the card, making part of it NTFS so that they can ACL it to hell again. Even then, though, you could remove the card and put it in a PC...
From my experience with the emulator, the SD card still appears to be a single partition, FAT32 to be exact. Installed apps are stored in a hidden folder, namely WPSystem\Apps. Unless there's some trickery here that I'm unaware of...
Heh, "hidden" folder. Yeah, that'll be effective. I bet they set the readonly flag too...
GoodDayToDie said:
Heh, "hidden" folder. Yeah, that'll be effective. I bet they set the readonly flag too...
Click to expand...
Click to collapse
That folder was there before, but now it also contains apps and appdata as well, besides some system files from before. Some folders are marked as partially read-only.
Well if there is a difference between the winRT file access and the winPTR 8.1 file access for apps I am yet to find it (aside from not being able to get on network locations and DLNA from phone).
I say devs should be more focused on getting their apps ready for 8.1 than still trying to live up with the *redacted* limitations of WP8.0...

App Twin Floder Location

Hello, I've just created a Twin App for Whatsapp on my Mate 10 Pro, but I can't find the Twin App folder. Can anyone help my find its path... Thanks
2nd icon will appear on home screen. Make sure you have selected Drawer Home Screen from settings.
[BUMP] File Location
Hi All,
Recently i have just started to use AppTwin for Whatsapp.
However i am not able to find the folder/directory when i connect my phone to PC through USB.
Any help are appreciated.
Non-rooted Mate10Pro here, running on EMUI 8.0
The same question here...
How can I find the app twin whasapp file/folder location?
Mate 10 Pro, EMUI 8... moving from old samsung dual sim (second whasapp was used through "Parallel App" - so no google drive backup... only local).
No, trying to transfer the old "local" whataspp backup file to the "unknown" twin app whatsapp location!
Please help.
Thanks,
Costi
From what I saw when enabling this for Facebook, the folder /data/user/10 is created. So basically it's creating a new user where you launch the twinned Facebook from.
This would be where your data is located, and impossible to get to without root.
Hi,
I installed adb and took a look at adb commands and paths and so on .
It looks that app twin makes a different path every time BUT it keeps a structure.
So, for App Twin Whatsapp it's the following path: "storage/emulated/<10 or 11 or 12 or 13 or xx >/whatsapp
So far so good, I managed to push the "msgstore.db.crypt12" file to the above Database folder/structure but have no idea how to force whatsapp for load the backup file!
And whatsapp Q&A is saying: uninstall and reinstall the app... in my case swhitching the APP TWIN button off and on again.. .but in this case the above folder structure is deleted
Will try again (in the mean time I'm on a 2 hours hold for authentication code (too many codes asked ) in a few hours!
And no, no root here but thanks anyway
LE: OFF-ON the App Twin switch. Above folder structure erased by the system.
Started Whasapp again and right before receiving the authentication code, I created through ADB the Whatapp and Database folder in the above path and copied the msgstore.db.crypt12 file.
After inserting the code, whatsapp identifies the above file and prompts for restore.
JOB DONE!!!!
Costi Lazar said:
Hi,
I installed adb and took a look at adb commands and paths and so on .
It looks that app twin makes a different path every time BUT it keeps a structure.
So, for App Twin Whatsapp it's the following path: "storage/emulated/<10 or 11 or 12 or 13 or xx >/whatsapp
So far so good, I managed to push the "msgstore.db.crypt12" file to the above Database folder/structure but have no idea how to force whatsapp for load the backup file!
And whatsapp Q&A is saying: uninstall and reinstall the app... in my case swhitching the APP TWIN button off and on again.. .but in this case the above folder structure is deleted
Will try again (in the mean time I'm on a 2 hours hold for authentication code (too many codes asked ) in a few hours!
And no, no root here but thanks anyway
LE: OFF-ON the App Twin switch. Above folder structure erased by the system.
Started Whasapp again and right before receiving the authentication code, I created through ADB the Whatapp and Database folder in the above path and copied the msgstore.db.crypt12 file.
After inserting the code, whatsapp identifies the above file and prompts for restore.
JOB DONE!!!!
Click to expand...
Click to collapse
Steps please

Categories

Resources