mini-howto: add google authenticator to a new device

Note: For this to work you need to have google authenticator working on a rooted device.

Google authenticator stores user data in a sqlite database, so we can just get the key from there and move it on a different device, the process is as follows:

$ adb pull /data/data/
$ sqlite3 ./databases
sqlite> select * from accounts;
sqlite> .exit

The third column contains the key you need to manually copy to the new phone. After that, google authenticator will work on both devices (you can check the time-based generated key is the same on both).

This entry was posted in android, gadgets, linux, minipost, security and tagged , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>