Git Product home page Git Product logo

android2wp_smsconverter's Introduction

Android2Wp_SMSConverter

Android2Wp_SMSConverter is a Python3 script to convert SMS from Android to Windows Phone and is able to generate .hsh checksum file to import .msg file using contact+message backup app. The script will append all SMS from Android to the Windows Phone backup and regenerate a valid integrity checksum

Conversion usage

  1. On Android phone:
  • Download SMS Backup&Restore application
  • Backup SMS to a XML file
  • Copy .xml file on the computer
  1. On Windows Phone:
  1. On the computer: You have multiple options to convert files

  2. Option 1 - The easy way * Visit https://android2wpsmsconverter.pythonanywhere.com/, send your files, convert them and extract the files from the generated zip archive.

  3. Option 2 - The Do It Myself (online) way * Create an account on https://www.pythonanywhere.com/ * Start a new Bash console * In the console, execute following command: bash $ git clone https://github.com/gpailler/Android2Wp_SMSConverter * In PythonAnywhere management, select Files section and import .xml and .msg files in Android2Wp_SMSConverter folder. * In the console, execute following commands: bash $ cd Android2Wp_SMSConverter $ python3.4 converter.py convert --xml android.xml --msg windowsphone.msg * Finally, you can retrieve generated file

  4. Option 3 - The hard way * Clone this project, create a virtual env to retrieve dependencies and launch the conversion process $ git clone https://github.com/gpailler/Android2Wp_SMSConverter $ cd Android2Wp_SMSConverter $ pyvenv venv $ source venv/bin/activate $ pip install -r requirements.txt $ python converter.py convert --xml android.xml --msg windowsphone.msg * Copy generated files result.msg and result.hsh on the Windows Phone

  5. On Windows Phone:

  • Launch messaging application, click select then select all (in extended menu) and delete all messages
  • Launch contact+message backup application and restore all SMS

Checksum generation only

If you have manually modified a .msg backup file generated by contact+message backup Windows app, you can generate the associated .hsh checksum file using this script. You can use the online way or use the following command line

$ python converter.py createchecksum --msg windowsphone.msg

Background

I switched from Android to Windows Phone. I tried to use Transfer my data application but this app was unable to copy SMS. So I searched applications to export/import SMS on these two platforms and wrote this script to achieve the conversion. The only tricky part was to generate the integrity check required by Windows Phone app to be able to import SMS. I used lot of magic to achieve this part.

android2wp_smsconverter's People

Contributors

gpailler avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.