# Export and Import android wallet

1. Backup keys on the **old legacy wallet.**

   * See also ["Backup PandaWallet keys" on YouTube](https://www.youtube.com/watch?v=msfXugpNc5g)

2. Transfer backup to **desktop**.

3. Install **openssl**
   * On **Windows** install through <https://chocolatey.org/install>

     * `cinst -y openssl`
     * Restart terminal

     Or through here : <https://indy.fulgan.com/SSL/>
   * On **Ubuntu** / Debian through `sudo apt-get install -y openssl`

4. Decrypt your backup
   * &#x20;**You can ignore the warning** *\*\*\* WARNING : deprecated key derivation used.*\
     &#x20;*Using -iter or -pbkdf2 would be better.*
   * On Windows\
     &#x20;`openssl enc -d -aes-256-cbc -a -md md5 -in "C:\path\to\pandacoin-wallet-keys-2021-04-02" -out "C:\path\to\decrypted-pandacoin-wallet"`

![](https://3195711364-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ma1DXKIiUS1a49GvEno%2F-Man-WJwssXYUBvHRlPP%2F-Man-hfbWOaP1ShPZ7E4%2Fimage.png?alt=media\&token=790ae94a-d191-43cb-9675-686645f7a07c)

* On Ubuntu / Debian\
  &#x20;`openssl enc -d -aes-256-cbc -a -md md5 -in /path/to/pandacoin-wallet-keys-2021-04-02 -out /path/to/decrypted-pandacoin-wallet`
* Enter your password

1. Install and launch desktop client <https://gitlab.com/pandacoin/pandacoin/-/releases>
2. Open Debug window
3. Click Console
4. Enter the following:
   * On Windows\
     &#x20;`importwallet "C:\path\to\decrypted-pandacoin-wallet"`
   * On Ubuntu / Debian\
     &#x20;`importwallet "/path/to/decrypted-pandacoin-wallet"`&#x20;

![](https://3195711364-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ma1DXKIiUS1a49GvEno%2F-Man-50_UgowI5cBJN-1%2F-Man-DUW7Wsj8ZTeQ9je%2Fimage%20\(1\).png?alt=media\&token=10189b7e-0956-45f7-88ca-3b4058accdd3)

**After successful import, make sure to delete the decrypted file again. It is in plaintext and could be opened by anyone that has access to your computer.**
