This script converts the sqlite database form the Google Authenticator app to the config file for Authenticator-ng.
./convert.py -i /path/to/database -o /path/to/output/config
On android devices the database is located at
/data/data/com.google.android.apps.authenticator2/databases/databases
CREATE TABLE accounts ( _id INTEGER PRIMARY KEY, email TEXT NOT NULL, secret TEXT NOT NULL, counter INTEGER DEFAULT 0, type INTEGER, provider INTEGER DEFAULT 0, issuer TEXT DEFAULT NULL, original_name TEXT DEFAULT NULL );
[%7Be0af62c9-2f2b-401e-b9af-3287f31a4011%7D] account=Test counter=0 pinLength=6 secret=aaaaaaaaaaaaaaaa timeStep=30 type=totp