There are two main ways to recover your Samourai Wallet, via the encrypted backup file + passphrase or via your seed words + passphrase.
By default your Samourai Wallet will save a samourai.txt file onto your phone. This file is essentially your seed words, encrypted by your wallet passphrase. It also contains meta data such as Dojo connection details and PayNym connections. This backup file can be stored on your phone or you can even export it to a USB drive for extra redundancy.
To recover using this method...
If you have a RoninDojo backed wallet, it will never default back to the Samourai Servers. The only way to "un-Dojo" your wallet is to recover via seed words + passphrase (see below)
Recovering via your seed words to your own RoninDojo is covered in the following section 'Moving Wallet to a New RoninDojo'.
If you are having RoninDojo issues and need immediate access to your funds by recovering to Samourai's Dojo you can do this by following these steps...
Be aware that following this process will expose your addresses and balances to the Samourai servers and should only be carried out if you are in need of immediate access to your funds. To recover via seed + passphrase using your own RoninDojo please follow the steps outlined in the following section.
Use the following steps when migrating a Samourai Wallet from one RoninDojo to another.
Open your Samourai Wallet and press the three dots in the top right corner to access the menu. Go to Settings > Wallet > Show mnemonic. Check (and double check) this matches your offline backup.
Back to the menu and press Troubleshoot > Passphrase/backup test. Enter your wallet's passphrase. If you entered this correctly you will be notified. Do not move past this step until the wallet confirms you entered the right passphrase. Without this, you cannot access your bitcoin.
If you don't already know it, make a note of your PayNym. You can access this from the main wallet screen. Press the blue + and then press PayNyms. This is a good way of testing that you recovered the correct wallet at a later stage.
Go to Settings > Wallet > Secure erase wallet.
Restart Samourai Wallet , select main-net and activate Tor. Then press the three dots in the top right corner > Connect to existing Dojo.
Still not seeing your expected BTC balance? See section below.
Which extended public key you choose will depend where your funds you are looking for are located within your wallet.
BIP44 XPUB = Your deposit account for addresses starting with a '1'
Segwit BIP49 YPUB = Your deposit account for addresses starting with a '3'
Segwit BIP84 ZPUB = Your deposit account for addresses starting with 'bc'
By default Samourai Wallet uses BIP84 ZPUB so it's highly likely that this is the one you will need if you are scanning for a balance in your deposit account.
Whirlpool pre-mix ZPUB = The account for any funds sent to Whirlpool that have not yet been mixed
Whirlpool post-mix ZPUB = The account where your mixed funds will be sat
ProTip - You can send your extended public keys from your mobile wallet to your computer (please use encrypted email) by following these steps
This will open the email app of your choice and paste in a data dump of your wallet details (including your XPUBS). Simply change the email recipient to your own email address.
For XPUBs enter: xpub=your_xpub&type=restore&force=true
For YPUBs enter: xpub=your_ypub&type=restore&force=true&segwit=bip49
For ZPUBs enter: xpub=your_zpub&type=restore&force=true&segwit=bip84
Once you hit enter you should get a 'processing' message, this can take a couple of minutes so be patient.
Once this is complete you should see a 'Status ok' result.
The main things to look for here are...
Tracked = True
Balance = Your expected balance (in sats)
Derivation = The derivation scheme relevant to your PUB (as mentioned above)
The following step is only required if you do not see your expected balance during the previous step.
Navigate to the XPUB RESCAN tab and paste in the same PUB, and enter the default values into the other two boxes then press go.
Once completed, repeat step 6 in the XPUB INFO tab and you will now see your correct balance.
Restart your Samourai Wallet app and wait for the blue loading line to disappear and navigate to the part of the wallet where you expect to see your funds eg Deposit (the wallet opens on this page), Premix or Postmix and you should see all of your sats.
If you have funds stored in multiple parts of the wallet simply repeat these steps for the relevant extended public key.