jberkel / sms-backup-plus

Backup Android SMS, MMS and call log to Gmail / Gcal / IMAP
https://play.google.com/store/apps/details?id=com.zegoggles.smssync
Apache License 2.0
1.79k stars 497 forks source link

Update README #976

Closed tomswartz07 closed 4 years ago

tomswartz07 commented 4 years ago

This pull request updates the readme file with information discussed in the Issues related to the XOAUTH decision from Google.

This will provide quicker access to the appropriate information as well as reduce the amount of noise and chatter on the issue topic.

pingu8007 commented 4 years ago

@tomswartz07 The description is okay on desktop browser. On mobile browser, however, the thread is too huge to locate the comment. (Largely caused by GitHub's poor mobile site design)

Just summarize them below, feel free to modify it.

## For user who want to stick with Gmail

Thanks for @chwaze 's excellent description [here][513018820]. The instructions are complemented below.

### Enable IMAP access to Gmail

> In this step, you will configure your mailbox accessible through IMAP protocol.

1. Go to [Gmail > Setting > Forwarding and POP/IMAP][fwdandpop] from a desktop browser
2. Select `Enable IMAP` for Status in the IMAP access section
3. Click the "Save Changes" button at the bottom of the tab

### Update account security

> In this step, you will allow external application to access your account.

Before start, go to [Account > Security > 2-Step Verification][2-step-verify] to check whether 2-Step Verification (2FA) enabled.

- If 2-Step Verification **enabled**
  1. Go to [App passwords][app-password]
  2. Re-enter your Gmail password
  3. Click the dropdown menu titled `Select app` and choose `Other (Custom name)`
  4. Enter a name for SMS Backup+ (e.g., "sms-backup-plus")
  5. Click the "Generate" button
  6. Make note of the 16-character password (no space) and click the `DONE` link. It will be used in next stage

- If 2-Step Verification **disabled**
  1. Go to [Less secure app access][less-secure-app]
  2. Toggle `Allow less secure apps` to `ON`
  3. You're done. Use your Gmail password in next stage

### Setup SMS Backup+

> In this step, you will configure SMS Backup+ to access your Gmail.
>
> You MAY receive warning someone is accessing your account, having your password, or even be blocked temporarily by Gmail. In this case, make sure the access time and IP matching your action.

1. Back to SMS Backup+ on your phone
1. Press "Advanced settings"
1. Press "Custom IMAP server"
1. Press "Authentication" and select `Plain text`
1. For server address and port, enter `imap.gmail.com:993`
1. For IMAP account/e-mail address, enter your Gmail e-mail address (including `@gmail.com`)
1. For IMAP account password, enter the password mentioned in previous stage
1. For Security, confirm it is set to `TLS`
1. Unckeck `Trust all certificates`

[513018820]: https://github.com/jberkel/sms-backup-plus/issues/959#issuecomment-513018820
[fwdandpop]: https://mail.google.com/mail/#settings/fwdandpop
[2-step-verify]: https://myaccount.google.com/signinoptions/two-step-verification
[app-password]: https://myaccount.google.com/apppasswords
[less-secure-app]: https://myaccount.google.com/lesssecureapps

## For user who want to switch to other mail service

As long as your mail service providing IMAP access, you can switch to them freely.

### Outlook

Thanks @kokishin1 providing instructions [here][507385460]

> ### **ALTERNATIVE SOLUTION TO GMAIL**
>
> I haven't read this entire thread so perhaps this is redundant.
>
> I was using a specific gmail account for only SMS Backup+ but recently punted due to gmail blocking SMS Backup+ on 7/15/19.
>
> I switched over to using a "[yourusername]@outlook.com" email address successfully.
>
> Here's the necessary info for android SMS Backup+:
>
> - Turn off the gmail access using the switch.
> - Go to Advanced Settings -> Custom IMAP Server.
> - For the imap server enter (without quotes): "smtp-mail.outlook.com"
> - Email address enter (without quotes or brackets): "[yourusername]@outlook.com"
> - Enter your password associated with "[yourusername]@outlook.com"
> - For Security, select STARTTLS.
> - Return to the appropriate backup settings for SMS, MMS, and Call Log and make sure they are all setup and enabled to your liking.
> - Press the Backup button to commence a backup to "[yourusername]@outlook.com".
> - If you have a lot of messages, it may stop in the middle of the backup. Just press the Backup button again and the backup process will resume. I've encountered the same when using gmail.
> - When backing up Call logs, it may give an error message the first attempt. Just ignore it and press the Backup button again and it will successfully backup.
>
> I've been using the above for almost a week without a glitch.
>
> I should mention although Backup works great, I have not tried a Restore.

[507385460]: https://github.com/jberkel/sms-backup-plus/issues/959#issuecomment-507385460