How to Import Google Codes from File

Get your code from a Google’s 2-step verification website. Check this link for details. Now you can create a simple file on your PC with the code (or codes). The file can contain up to 20 lines looking as follows:

Account:Code

where ‘Account’ is an arbitrary short name that will allow your to memorize where this code should be used and code is the one that your retrieved from the Google’s 2-step verification web site. Example is provided below:

Google:wr2t ghj5 xz7y a64b yu34 hjkl uiop 45df

Code is usually a 32-char long string. You can use spaces for a better readability, but they will be removed by the program anyway.

After the file is created there are three ways of importing it to your Gear device:

1. Simplest Way – Creating gac-codes.mp3 File and Using Gear App.

Create the file as described above with the name – it gac-codes.mp3. You need the mp3 extension, because Gear App on your smartphone doesn’t transfer text files, so it’s a trick, but it does work.

Transfer  gac-codes.mp3 file to a Music folder on your smartphone that can be connected to your Gear device using Gear App.

Use your Gear App to transfer the file to your Gear Device:

Gear App -> Send Content to Gear -> Music -> Send Tracks to Gear

2. Using Gear’s Documents Folder

This approach will work if you can connect your Gear to a device to a Windows PC through a USB port . It works for all Gear devices except Gear S2, which doesn’t support a USB connection to a PC.

You gac-codes file should be named as gac-codes.txt in this case.

Simply connect your device to the PC and copy the file to your device’s ‘Documents’ folder.

3. Using SDB tool

If don’t mind installing Gear SDK with ‘sdb’ tool in it, you can use it to transfer you gac-codes.txt file to a device’s /tmp folder:

sdb connect

sdb push gac-codes.txt /tmp/.

After either of these steps is done you can import your codes on your Gear device from Client for Google Authentication App – just tap on “Init from File” menu item

GAC-CODES File Restrictions

The following rules are enforced when a file is imported. The lines, which are not compliant with these rules will be ignored and an error will be reported.

  • Account name should not be too long
  • Account name is not a menu item
  • Account code is in base32 notation
  • Code length is 16 chars or more
  • Number of accounts in the file is not bigger that 20

Leave a Reply

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