How do I move XChat to a new phone?

Last checked

Install XChat on the new Android phone and sign in with your private key (nsec), a bunker:// remote signer or a Nostr signer app. Your account and your circles come with you. Older message history may not, so save any photos or files you want to keep, and don't reset the old phone until the new one works.

On the old phone, before you switch

Ten minutes here saves the move. The one thing you can't do without is the key.

  1. Copy your private key from profile → Keys into a password manager or onto paper, and check it (backing up your key). If you signed in with a signer app or remote signer, make sure that signer will be available on the new phone.
  2. Save photos, videos and files you want to keep somewhere outside XChat. Plan as if chat history won't appear on the new phone.
  3. If you created a circle, note which Google account pays for it. The subscription belongs to that Google account, so you'll want the same account in Google Play on the new phone.
  4. Keep the old phone as it is until the new one is working.

On the new phone

  1. Install XChat - Private Messenger from Google Play. On an Android phone without Google Play, use the APK from the project's GitHub releases.
  2. On the first screen, choose to sign in with an existing account, rather than creating a new one or joining with an invite.
  3. Sign in one of three ways: paste your private key (nsec1…); paste the bunker:// link from your remote signer and approve the connection there; or pick the Nostr signer app installed on the phone and approve XChat's request in it.
  4. Once you're in, your circles are back. If one is missing, ask someone in it for a fresh invite link or QR code.
  5. Allow notifications when Android asks, so messages arrive while the app is closed.

What moves with you and what may not

On the new phone
Your accountYes. The key you signed in with is the account, so people in your circles see the same you.
Your circlesYes. Signing in with your key puts you back in the circles you belong to.
A circle subscription you pay forUnchanged. Google Play keeps billing the same Google account; the new phone doesn't start a new subscription.
Old messages, photos and filesMay not come back. Don't wipe the old phone counting on them.
App and notification settingsCheck them again on the new phone.

When signing in doesn't work

  • The key is rejected. Make sure you copied all 63 characters, from nsec1 to the end, with no spaces or line breaks. Nostr keys carry a checksum, so one wrong character makes the whole key invalid.
  • You pasted the npub. The key that starts with npub is public and can't sign you in. You need the one that starts with nsec.
  • The signer doesn't answer. Open the signer app, unlock it and approve XChat's request. A bunker:// remote signer has to be running and online to reply.
  • A circle is missing. Ask a member for a new invite and join with it; your account stays the same.
  • You have no key at all. If the old phone still works, copy the key from profile → Keys there first. If the old phone is gone and there's no copy, read what happens if you lose your key.

Finishing up

When the new phone can read and send in each of your circles, remove XChat from the old one, and reset the old phone before you sell it, trade it in or hand it to a relative. XChat keeps its local data encrypted, but a phone that's still signed in still opens your account for whoever holds it.

This is also a good moment to make sure your key backup is somewhere other than the phone you just retired.

Common questions

Do I need the old phone to move my XChat account?
No, only the key. If the old phone was lost or broke but you saved the key, sign in on the new phone the same way.
Will my chat history transfer to the new phone?
It may not. Your account and circles come back when you sign in, but plan as if older messages, photos and files stay on the old phone.
I used XChat on an iPhone before. Can I move to Android?
Yes, if you kept the private key: sign in with it on the Android phone. There's no iPhone version now, so Android is the only way to keep using XChat.
Do I have to pay again on the new phone?
No. A subscription you already pay for keeps running on your Google account, and people you invited never pay. Use the same Google account in Google Play on the new phone.

Sources

How this page was made: drafted with AI help by the XChat team. What it says about XChat was checked against the app's open-source code; what it says about other apps links to their own pages, as of the date above. Spotted a mistake? Write to support@0xchat.com.