Backup App Data Step ( Google authenticator2 )

 

 

目錄

Google authenticator2

 


Google authenticator2

 

### Device with Google Authenticator must have root.
### Computer requires Android Developer Tools and SQLite 3.

adb root
adb pull /data/data/com.google.android.apps.authenticator2/databases/databases

mkdir tmp
chmod 700 tmp
cd tmp
sqlite3 ./databases "select * from accounts" > pw.txt
rm -f databases

 


Enable Android ADB Backup

 

 * 這方案是不可行的

Settings -> Developer options

this feature does not work on all apps.

To enable ADB backup for an app, that app must have set the android:allowbackup attribute to true in the Android Manifest (AndroidManifest.xml) XML file.

<application>
    ...
    android:allowBackup="true"
    ...
</application>

Apps like the Google Authenticator have disabled the ADB backup feature to prevent sensitive information from being extracted from the device.

 


WhatsApp

 

/sdcard/WhatsApp/Database/msgstore-DATE.db.crypt12

 


Chrome

 

bookmarks

/data/data/com.android.chrome/app_chrome/Default/

Bookmarks  and the backup in the file Bookmarks.bak in the same directory.

 


 

 

Creative Commons license icon Creative Commons license icon