Giter VIP home page Giter VIP logo

Comments (11)

HardDie avatar HardDie commented on July 26, 2024 1

I have encountered the same problem. But before this import was working 100%, I tested it before I started using this app. But now I tried to set up a new phone and after entering the password nothing happens, just a blank screen.

from freeotp-android.

HardDie avatar HardDie commented on July 26, 2024 1

This is so weird. I seem to have started using FreeOTP when it was in version 2.0.2. I backed it up from time to time, and old backups created on version 2.0.2 could be restored on both version 2.0.2 and 2.0.3. But new backups created on version 2.0.3 could not be restored on all versions of the application.

from freeotp-android.

GeorgeHu6 avatar GeorgeHu6 commented on July 26, 2024

I met this problem too now in version 2.0.3 (Android).

from freeotp-android.

phudgee avatar phudgee commented on July 26, 2024

So what do we do now? I was unaware of the issue, backed up, reset my phone, now I am unable to import, and have lost all my 2FA access. Is there a workaround?

from freeotp-android.

HardDie avatar HardDie commented on July 26, 2024

I spent a whole evening trying to find how to do this but couldn't. I got lucky and had all my 2FA codes on my other phone, so I visited all the sites, generated new codes and switched to Aegis. If you've already lost them, you'll probably have to restore all your accounts.

But I will be happy to be wrong and if you find a way to restore data from this backup, please share it.

from freeotp-android.

nolosb avatar nolosb commented on July 26, 2024

I had to restore all my accounts. Then switched to using FreeOTP+.

from freeotp-android.

vollkorn1982 avatar vollkorn1982 commented on July 26, 2024

I was able to recover my accounts when moving to a new phone. The problem seems to be the export in version 2.0.3. I did a downgrade to version 2.0.2, exported my accounts and was able to import the backup with version 2.0.3 on the new device.

What you need:

  1. Copy the apk on the phone: adb push org.fedorahosted.freeotp_43.apk /data/local/tmp
  2. On the old phone do a downgrade: adb shell pm install -r -d /data/local/tmp/org.fedorahosted.freeotp_43.apk
  3. Export your accounts on the old phone.
  4. Copy the backup file over to the new phone.
  5. Import backup file on new phone with version 2.0.3

from freeotp-android.

vollkorn1982 avatar vollkorn1982 commented on July 26, 2024

I think it should be possible to build an exporter, which takes a backup file, decrypts it and stores it as .cvs or similar, so that one can import it with another tool. The code for restoring tokens from the backup is at https://github.com/freeotp/freeotp-android/blob/master/mobile/src/main/java/org/fedorahosted/freeotp/TokenPersistence.java#L146

from freeotp-android.

xinwu-yui avatar xinwu-yui commented on July 26, 2024

i have downgrade to 2.0.2。but it did not work!

from freeotp-android.

vollkorn1982 avatar vollkorn1982 commented on July 26, 2024

@xinwu-yui What exactly did you try? Mind you, to follow my workaround you have to have a working app with all the TOTPs inside, that you downgrade.

from freeotp-android.

xinwu-yui avatar xinwu-yui commented on July 26, 2024

i clone source code and debug。i think The reason for the error is that there was an encryption issue during export

from freeotp-android.

Related Issues (20)

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.