Keepass2Android on shared Gdrive folders

Prerequisites:

  • Have Google Drive installed on phone.
  • Be signed into Google account on phone.
  • Make a backup of your .kdbx! Use these steps at your own risk!

Steps:

  1. Open Keepass2Android
  2. Open file...
  3. Choose "Get from third-party app" or "System File Picker"
  4. It will take you to your downloads. Open the menu drawer which will allow you to select your Drive account.
  5. Navigate to Shared Drives, then the team drive you want to access.
  6. Open the .kdbx file
  7. K2A will complain that it can only temporarily access this and to select a local place to store the file. This is a lie. Select "System File Picker" then repeat the same steps above to get back to the team drive folder.
  8. Select the same .kbdx file you opened, and overwrite it. (If you're scared, make a copy of your .kdbx before following these steps to test on it.)
  9. Phone will now be synced to .kbdx and it will be properly stored in Team drive folder. I have verified that updates from other members of the Team drive as well as from my PC successfully sync with my phone and vice versa.
  10. But you need t close the file every time you want to sync. And reopen in from the shortcut that is kept.