mirror of
https://github.com/jberkel/sms-backup-plus.git
synced 2026-04-25 17:05:59 +03:00
[GH-ISSUE #972] Google IMAP error fixed on Android #770
Labels
No labels
AM+RCS
FAQ
awaiting response
backup
bespoke
bug
calendar
call log
cannot reproduce
cloudless
device-specific
documentation
dual- & multi-SIM
duplicate
feature-request
fixed in beta
good first issue
half-missing
help wanted
helpful
meta
misattribution
mms
other message sources
pull-request
question
rejuvenation
restore
schedule
security
stale
task
thanks
v1.5.1
v1.5.10
v1.5.11
v1.5.2
v1.5.3
v1.5.3
v1.5.4
v1.5.4
v1.5.5
v1.5.5
v1.5.6
v1.5.7
v1.5.8
v1.5.9
v1.6β
xoauth
~$ bounty $~
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/sms-backup-plus-jberkel#770
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Shackledup on GitHub (Aug 9, 2019).
Original GitHub issue: https://github.com/jberkel/sms-backup-plus/issues/972
The IMAP access error is due to a change in Google's App security - I had a notification that SMS Backup+ wouldn't work after a certain date explaining this.
Solving it is easy.
Create an App specific password in your Google account:
Go to your Google account, select Security from the left menu, select App Passwords in the Signing in to Google box.
At the bottom of the list select the Select app drop down menu - SMS Backup+ won't be there, so select Other.
Type SMS Backup+ in the field and click generate. You'll get a 16 character password.
Now open SMS Backup+ (it's easier if you have the password open on a different device, or maybe write it down if you're doing all of this on the same device.
In SMS Backup+ go to Advanced Settings/Custom IMAP server
Tap Authentication at the top and change it to Plain Text.
Leave the server address as imap.gmail.com:993
Enter your email address.
Enter the app password you generated WITHOUT the spaces.
Make sure Security is on TLS.
You're done, go back to the main SMS Backup+ screen and it should work. Does for me.
@jasonab commented on GitHub (Aug 9, 2019):
Thank you for the steps, I wasn't sure where to put that password in. This should be in the README.
@Shackledup commented on GitHub (Aug 9, 2019):
Ah sorry, I'm new to GitHub and I'm unaware of the protocol.
I'll move, or copy it, there when I can.
Greg.
On Fri, 9 Aug 2019, 11:33 pm Jason Bennett, notifications@github.com
wrote:
@jasonab commented on GitHub (Aug 9, 2019):
Sorry, that wasn't a criticism, more of a general statement of "this should be shared more widely."
@Shackledup commented on GitHub (Aug 9, 2019):
Don't worry! It was taken that way 😊
It's so easy to misinterpret the written word without the inflections of
audible speech.
On Fri, 9 Aug 2019, 11:47 pm Jason Bennett, notifications@github.com
wrote:
@jenbooks commented on GitHub (Aug 10, 2019):
Worked for me as well! Extra info: You have to have Two-Factor verification turned on for the "app password" option to be available.
Tip: Authy works just fine - you don't need to be tied to Google Authenticator.
@eohrnberger commented on GitHub (Aug 10, 2019):
Tried setting up the Google account and SMS Backup+ using these directions.
The 2 factor authentication was setup successfully, and the app password generated, but not accepted.
Copy / Pasted the app name 'SMS Backup+' in the web browser, is this a string, along with the 16 random character generated password, that the app presents to Google to gain access?
Might there be something else that's not 'quite 'right'?
Are there any plans for SMS Backup+ to support another Google authentication method soon?
@Conan179 commented on GitHub (Aug 10, 2019):
@eohrnberger App password only working witch IMAP login, not witch browser login!


@eohrnberger commented on GitHub (Aug 10, 2019):
Yes, that's exactly what I did on my phone.
Checked the 'clear text' password and other parameters, and entered by Google account email address.
@Conan179 commented on GitHub (Aug 10, 2019):
"Copy / Pasted the app name 'SMS Backup+' in the web browser, is this a string, along with the 16 random character generated password, "
With IMAP login, donst open any browser window.
@eohrnberger commented on GitHub (Aug 10, 2019):
To set the Google account app password, this is the app name that I used, and entered into the browser to setup the app password. I was asking if this was the correct app name for setting up the app password.
@Conan179 commented on GitHub (Aug 10, 2019):
The app password is only for looking on the Site.
For logging in there is no difference.
You must enter your email address and app password.
I have only "Backup" as Appname.
@eohrnberger commented on GitHub (Aug 10, 2019):
@eohrnberger commented on GitHub (Aug 10, 2019):
I access my GMail using Outlook, which Google has determined as 'a less secure app', so I can't have 2 factor authentication turned on. It would disable my Outlook client.
@Conan179 commented on GitHub (Aug 10, 2019):
Outlook need a app passwort two
@eohrnberger commented on GitHub (Aug 10, 2019):
Would rather that SMS Backup+ authenticate without a two factor authentication being required, and app password required.
Is that possible? Or in future plans for SMS Backup+?
@adgorn commented on GitHub (Aug 10, 2019):
Hey, it worked! Thank you! Lucky I found this thread!
@schneemaier commented on GitHub (Aug 12, 2019):
If you don't have 2 factor enabled, then you can use your normal gmail password, but you have to enable "less secure application" access in your account:
Go to your Google account, select Security from the left menu, select enable access for less secure applications
@eohrnberger commented on GitHub (Aug 13, 2019):
All set. Thanks for the pointers / hints.
@PMulvany commented on GitHub (Aug 16, 2019):
You're a star. It works a treat. Thanks! It's such a great app - would have been a real shame to have lost use of it.
@rossum commented on GitHub (Aug 18, 2019):
This is working for me, thanks!
@oroboros commented on GitHub (Aug 20, 2019):
Please add this to the Google Playstore and your website descriptions. It took me forever to find how to solve this problem!
Question: Do I need to save the Google generated app password if I reinstall the app later? What problems might I face if we generate a new password later for this app (if even we can)?
@easp3400 commented on GitHub (Aug 21, 2019):
I want to thank all of you for helping me get SMS Backup+ running again. I am not a coder, so no way could I have figured this out in a million years. Those of you that designed the work around are pretty dang cool in my book. It is a terrific app and I hope we can use it forever, or until the world stops turning, whichever comes first. @jberkel YOU ARE A ROCKSTAR and your SMS Backup+ app is the bomb!
@turkeyphant commented on GitHub (Aug 23, 2019):
Thanks, the OP worked and it's finally fixed again.
@MaudMo commented on GitHub (Aug 24, 2019):
Hi everyone, I followed the procedure and the back up starts. Nothing happens on Gmail, though. Sms are not exported. Can someone help me? Thanks 🥰
@vttale commented on GitHub (Aug 28, 2019):
Note that although the text describes it as a 16 character password, it is displayed as a 19 character password because of spaces. If you copy and paste it will copy only the 16 characters, but if you're entering it manually then do so without the spaces.
@luxmj commented on GitHub (Sep 3, 2019):
thanks very much
@dorianjoy commented on GitHub (Sep 5, 2019):
In my Google account in the signing in to Google box I have no option to select App password.
@Arkanosis commented on GitHub (Sep 5, 2019):
Hi! Consider enabling “2-Step Verification” for increased security. App passwords only make sense when “2-Step Verification” is enabled, because it prevents your regular password from being used alone.
@dorianjoy commented on GitHub (Sep 5, 2019):
Thank you for the quick response. This worked. Thank you.
@alyn9317 commented on GitHub (Sep 5, 2019):
I followed all the advice, and I still get an error code that it can't connect to my Gmail ("Error during backup/restore: Cannot connect to host imap.gmail.com:993"). I'm not a coder, so please help. I've left the server name the same, entered my email address, and the password Google generated with NO spaces, and the security is on TLS. Anything else I can try?
@MaudMo commented on GitHub (Sep 5, 2019):
Can someone help me please?
@Arkanosis commented on GitHub (Sep 5, 2019):
Hi! There's a typo there: it should be imap.gmail.com, not impap.gmail.com.
@alyn9317 commented on GitHub (Sep 5, 2019):
That was my typo in my comment. I double-checked. SMS Backup+ has it correct (imap.gmail.com:993). It still doesn't work.
@andejoh commented on GitHub (Sep 12, 2019):
For me, it did not work when security was set to TLS, but did work when I switched back to SSL.
@jonboy345 commented on GitHub (Oct 10, 2019):
Possible to add support for backing up to either cloud storage (Gdrive, Box, etc.) or to other email services? (exhange, other IMAP email providers, etc.)? @jberkel
@kareengas commented on GitHub (Nov 1, 2019):
Seemed to work ok but now I get a "Error during backup/restore. Username not set".
Isn't the username my email address?
@digiboule commented on GitHub (Nov 25, 2019):
Although I previously had a working configuration a couple months ago in September, nothing worked for me until I turned on log messages in the app and found that the error message contained a link to a google support article.
That article included the step of visiting the following link:
https://accounts.google.com/DisplayUnlockCaptcha
After doing that, it started working again.
Hope this helps!
@truckmann commented on GitHub (Nov 26, 2019):
I was getting this error after setting it up and found I had to remove the @gmail.com part of my email address and then it would connect.
@bsarasua commented on GitHub (Dec 8, 2019):
Thanks to everyone who contributed to this thread! I've loved this app for years and was extremely disappointed when it quit working.
For those still having problems, for my phone/account, I had to do all the steps listed by shackledup in the original post, but I also had to (1)remove the @gmail.com from my username, (2)enable two-step verification, AND (3)when generating the app password, I had to use the app name "SMS Backup & Restore" (without the quotes). It didn't work when I used "SMS Backup+". Hope this helps someone - good luck!
@brooklynn0307 commented on GitHub (Dec 28, 2019):
I have a galaxy s8 and it won't back up immediately only in the middle of the night. I've checked all my settings and its set to back up calls immediately and sms is set for 1 minute. Is anyone else having this issue?
@brightvalley commented on GitHub (Dec 29, 2019):
The last messages I had received were August 8, but the above instructions (including turning two factor on) worked for me.
Why hasn't this become the default login for Gmail? Is there anyone who claims the old login system actually still works?
@MarinaInMA commented on GitHub (Jan 17, 2020):
This was very helpful. I back up sporadically, and only discovered today that it wasn't working. So nice to have clear instructions on how to fix it immediately! Thank you!
@baltas01 commented on GitHub (Jan 20, 2020):
Why are you mencioning "SMS Backup & Restore" what I need is sms and call to appear in google calendar. That app doesn´t do that does it?
@smikwily commented on GitHub (Jun 11, 2020):
I had no luck at all getting this to work with the 1.6 beta I had installed. I installed the 1.5.11 apk and was able to find stuff like the Advanced Settings/Custom Settings or the "plain text" setting. Everything I tried in 1.6 beta failed, but I rolled back to 1.5.11 and followed the first post and everything worked within seconds.
I don't know if it helped at all, as I tried it as part of trying to get 1.6 working, but I made sure that IMAP was on in my Gmail account, the Captcha thing above was listed, and I think that was it.
Thanks for this. I really missed being able to search old texts in Gmail, as well as having everything backed up in one place.
@tanterosi commented on GitHub (Aug 13, 2020):
Thank you for provding this workaround! Unfortunately the App (version 1.5.11, German) still doesn't connect/login.
.
I carefully followed the steps in the original instruction and tried any further hint in the thread to get access. The option to connect hasn't been active but grey from the start; after trying to connect via the workaround, the on/off "switch" there even looks as if out of order, see screenshot
Same result after following the procedure several times, including restart of the Smartphone.
Any helpful hints very much appreciated!
I was looking forward to saving my messages so much.
@tanterosi commented on GitHub (Aug 13, 2020):
P.S. Using my Gmail account without mail client, in browser only; IMAP had been enabled already.
@arnaudboub commented on GitHub (Aug 13, 2020):
is your IMAP option in Gmail is activated ?
@tanterosi commented on GitHub (Aug 13, 2020):
Thanks for getting back – yes, it is and has always been!
@dunaengus commented on GitHub (Oct 8, 2020):
I tried the IMAP fix many times. I checked and double-checked my settings, tried tweaking each of the settings, and created multiple app passwords but could not get it to work with my Gmail address. I have no issues using Google app passwords with other applications. I finally decided to attempt to use my Microsoft email account to see if that would work. It connected and backed up without any problems. I have a backup, which is important to me-- although if there is a solution that I can find to use my Gmail address again I would prefer that. I'll add that I value SMS Backup+ quite a bit and have been using it for years. Let's keep working toward a solution to keep this app viable. Thanks everyone!
@captng1 commented on GitHub (Oct 25, 2020):
I have done all the instructions including 2 step verification and have entered my gmail email address And used the16 digit password that was generated, but get an error When trying to start backup saying IMAP authorization error. Make sure login and password are set correctly? Can someone help? I sure would like to get this backup app working again. Thanks
@arnaudboub commented on GitHub (Oct 25, 2020):
IMAP option in Gmail must be activated. Repeat
@captng1 commented on GitHub (Oct 25, 2020):
Thanks for your reply. My IMAP in Gmail is turned on. Doesnt log in.... :(Gary
-------- Original message --------
From: arnaudboub notifications@github.com
Date: 10/25/20 11:49 AM (GMT-05:00)
To: jberkel/sms-backup-plus sms-backup-plus@noreply.github.com
Cc: captng1 captng1@aol.com, Comment comment@noreply.github.com
Subject: Re: [jberkel/sms-backup-plus] Google IMAP error fixed on Android
(#972)
I have done all the instructions including 2 step verification and have entered my gmail email address And used the16 digit password that was generated, but get an error When trying to start backup saying IMAP authorization error. Make sure login and password are set correctly? Can someone help? I sure would like to get this backup app working again. Thanks
IMAP option in Gmail must be activated. Repeat
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/jberkel/sms-backup-plus/issues/972#issuecomment-716168936",
"url": "https://github.com/jberkel/sms-backup-plus/issues/972#issuecomment-716168936",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]
@NiKiZe commented on GitHub (Nov 17, 2020):
Still working with gmail:
Make sure IMAP is enabled on your account
Create an App password
Under Custom IMAP server
input imap.gmail.com:993 (empty didn't work for me)
enter your email as the username, and the just created app password as password
Security is TLS
Backup should now be working
If you are using an old app password, try to create a new one (and remember to only enter the 16 letters, not the spaces)
@captng1 commented on GitHub (Nov 17, 2020):
NikiZe,
Thanks for your reply.
All info I had input was correct. When I first Created a 16 digit password it didn’t work. Today I deleted the password and created a new one, and it is working now. Go figure? Thanks so much for your help...
All The Best
@amreggie commented on GitHub (Jan 11, 2021):
ERROR: " IMAP authorization error. Make sure login and password are set correctly"
I am having exact same issues as captng1 and have followed steps numerous times. Have used this app for years and love it. I just got a new phone (Galaxy 20+). Set it up two days ago and it worked then, but it has not backed up since that initial run and cannot get it to work again. And yes, IMAP is enabled. Two step auth is set. Generated password (5 times now) Typed it in with no spaces. Tried my email address/ user name both with and without "@gmail.com" Made sure Security is TLS. Like I said, it worked a few days ago on initial run.
Also tried clearing cache of app. Tried battery optimizer both on and off. Tried with phone plugged in and not.
Do I need to uninstall it from my old phone (no longer has a SIM card)? Could that be the issue?
Tried this too:
What, for heaven's sake, am missing? Thanks in advance.
@tina1stpriority commented on GitHub (Apr 19, 2021):
you are a GOD send. I so wish I Wasn't so sick for so long thank you sooooo much!!! I am a Human Trafficking and Missing person Advocate in Houston Texas so this will take all night to download but I don't care I am so greatful!!! Praise GOD I found this link!!! I was NOT giving up!!! PROBLEM I do not know where they are backing up to so I have stopped the back up. can you please help me. I think I saw your email some where or I will email Jan.
@tina1stpriority commented on GitHub (Apr 19, 2021):
I have mine up and going and it says it completed but only 505 of 114505 sms backed up and I need way more how dod I fix this issue quick?
@bityob commented on GitHub (May 2, 2024):
@Shackledup
Thank you for this great guide!
I'll add 2 things that I had to find:
@brightvalley commented on GitHub (May 3, 2024):
I really do hate to say this, but the app still fails to operate
automatically, as it should, but rather must be started manually. It seems
to work as expected once started, just the scheduler appears to be
nonfunctional. It worked fine when I first started using it several years
ago, but hasn't in quite some time.
@adgorn commented on GitHub (May 3, 2024):
That's what I do. Run it manually once per month. That's fine for me.