5 ms·
adb backup com.google.android.apps.authenticator2 all the codes are stored in the sqlite3 database which you can open with standard command line tools. there
by tokenizerrr 9y ago
adb backup com.google.android.apps.authenticator2
all the codes are stored in the sqlite3 database which you can open with standard command line tools.
there are also more user friendly backup apps such as helium, but adb works quite nicely.
- discreditable 9y agoLast I checked, adb backup doesn't backup the secrets. Has that changed?
- tokenizerrr 9y agoI don't know but I've been using this technique for a year or two now with great success. The Google authenticator just stores its secrets in the salute db every app gets.
- tokenizerrr 9y agoAutocorrect kicked in there... sqlite* (it is absurdly difficult to put an asterisk at the end of a message on HN. it seems to require a trailing whitespace[1] for it to show up, however the input is trimmed, so...) [1] https://news.ycombinator.com/formatdoc https://news.ycombinator.com/formatdoc
- discreditable 9y agoHave you tried a restore on a factory-reset device?
- tokenizerrr 9y agoI have not, but I have extracted the backup with https://sourceforge.net/projects/adbextractor/ https://sourceforge.net/projects/adbextractor/ and inspected the contents, visually confirming the secrets are there. Even if a restore doesn't work, I can re-enter them manually from the information in the sqlite database. However I fully expect a restore to work.