diff --git a/README.md b/README.md index 04617d8..6afb906 100644 --- a/README.md +++ b/README.md @@ -10,12 +10,23 @@ __Be sure to understand the security implications of backing up the secrets from # Instructions +## ADB Backup + Make an adb backup of FreeOTP, (details on how to do this are currenly left as an excercise for the reader. While you are doing the backup, consider the above warning!). Open the adb backup file (.ab) with this app. Read the displayed qrcodes with the authenticator app on your other phone. The author has tested the app with current Google Chrome and Mozilla Firefox on Ubuntu 16.04 in April 2017. Other browsers probably do not work. Generated qrcodes have been succesfully imported in FreeOTP and Google Authenticator on Android and Microsoft Authenticator on Windows Phone 8, Windows Phone 10 and Android. This app can be opened directly at https://rawgit.com/viljoviitanen/freeotp-export/master/export.html +## XML Backup + +If your phone is already rooted you can directly backup the XML file containing all your accounts. +Just use a root explorer to copy the tokens.xml file from `/data/data/org.fedorahosted.freeotp/shared_prefs/tokens.xml` to your phones internal storage. +From there you can copy it onto you PC any way you like. +Open the tokens.xml file with this app. Read the displayed qrcodes with the authenticator app on your other phone. + +This app can be opened directly at https://rawgit.com/viljoviitanen/freeotp-export/master/export-xml.html + # Acknowledgements Based on https://github.com/philipsharp/FreeOTPDecoder (Apache license) diff --git a/export-xml.html b/export-xml.html new file mode 100644 index 0000000..002f1f4 --- /dev/null +++ b/export-xml.html @@ -0,0 +1,141 @@ + + + + + + + +Instructions at GitHub +
+FreeOTP XML file: +