[4.5.0.24][Email] Cannot log into email

REPRODUCIBILITY: 100%
OS VERSION: 4.5.0.24
HARDWARE: Sony 10 3
UI LANGUAGE: Polish
REGRESSION: Yes

DESCRIPTION:

I’ve been daily driving sony 10 2 for more than a year. Formatted it multiple times, each time making a backup and restoring it right after. Reflash used to fix battery problems and device had better battery life after that. I moved to sony 10 3, restoring same backups. Its my daily driver since mid? 2023. Around 2 months ago, some1 broke to my email account and replaced my password. I’ve replaced it right after, but couldn’t log in on my phone. Email logs are meaningless. Not sure if email app cannot handle my password, or if its a bug related to backups.

Currently, I have no accounts on my phone, but sfos account. I was waiting those 2 months for 4.6 flashable zip, but it might not be available for next month or so. I didn’t test logging into my account without restoring backups ( because jolla did not publish flashable 4.6 and I do not want to reflash 4.5 and update manually ). I’ve tried removing account information from backup, but restore utility in settings would not recognize backup file as backup file.

I am sure that I provide correct smtp and imap domains. I am sure that I provide correct email and password

PRECONDITIONS:

N/A ?

STEPS TO REPRODUCE:

  1. Restore and reapply backups from multiple os reflashes
  2. Try to log in to email account

EXPECTED RESULT:

I expected to be logged in to my email account

ACTUAL RESULT:

After providing CORRECT information ( I can log in with same settings on thunderbird etc ), I get “Could not log in” screen. Sometimes I get loading screen, which can load up to 2-3min and still fail.

MODIFICATIONS:

Patchmanager:

  • fuzzy time,
  • brightness fix for xperia 10 2 and 10 3

ADDITIONAL INFORMATION:

Email log. I’ve replaced my email with generic placeholder.

Summary

[5805] maj 25 10:28:57 [Warning] void QCopClient::connectToServer() QLocalSocket::ServerNotFoundError “QLocalSocket::connectToServer: Invalid name”
[5805] maj 25 10:28:57 [Debug] Messaging : MessageServer ctor begin
[5805] maj 25 10:28:57 [Debug] Messaging : opening database
[5805] maj 25 10:28:57 [Debug] Messaging : Initiating messageserver plugins.
[5805] maj 25 10:28:57 [Debug] Messaging : Initiating attachment auto-download plugin
[5805] maj 25 10:29:01 [Debug] Messaging : Online state changed: true
[5805] maj 25 10:29:32 [Debug] Messaging : bool SSOSessionManager::createSsoIdentity(const QMailAccountId&, const QString&) Creating SSO identity for the service “imap4” from account 66 using authentication method “password”
[5805] maj 25 10:29:32 [Debug] IMAP : void ImapClient::setAccount(const QMailAccountId&) SSO identity is found for account id: 66
[5805] maj 25 10:29:32 [Debug] Messaging : Registering service: “imap4” for account: 66
[5805] maj 25 10:29:32 [Debug] Messaging : bool SSOSessionManager::createSsoIdentity(const QMailAccountId&, const QString&) Creating SSO identity for the service “smtp” from account 66 using authentication method “password”
[5805] maj 25 10:29:32 [Debug] SMTP : void SmtpClient::setAccount(const QMailAccountId&) SSO identity is found for account id: 66
[5805] maj 25 10:29:32 [Debug] Messaging : Registering service: “smtp” for account: 66
[5805] maj 25 10:29:32 [Debug] Messaging : CanCreateFolders for 66 changed to true
[5805] maj 25 10:29:32 [Debug] Messaging : bool SSOSessionManager::createSsoIdentity(const QMailAccountId&, const QString&) Creating SSO identity for the service “imap4” from account 66 using authentication method “password”
[5805] maj 25 10:29:32 [Debug] IMAP : void ImapClient::setAccount(const QMailAccountId&) SSO identity is found for account id: 66
[5805] maj 25 10:29:32 [Debug] Messaging : Registering service: “imap4” for account: 66
[5805] maj 25 10:29:32 [Debug] Messaging : bool SSOSessionManager::createSsoIdentity(const QMailAccountId&, const QString&) Creating SSO identity for the service “imap4” from account 66 using authentication method “password”
[5805] maj 25 10:29:32 [Debug] IMAP : void ImapClient::setAccount(const QMailAccountId&) SSO identity is found for account id: 66
[5805] maj 25 10:29:32 [Debug] Messaging : Registering service: “imap4” for account: 66
[5805] maj 25 10:29:32 [Debug] IMAP : void ImapClient::onAccountsUpdated(const QMailAccountIdList&) “email@wp.pl”
[5805] maj 25 10:29:32 [Debug] IMAP : void ImapClient::onAccountsUpdated(const QMailAccountIdList&) “email@wp.pl”
[5805] maj 25 10:29:32 [Debug] IMAP : void ImapClient::onAccountsUpdated(const QMailAccountIdList&) “email@wp.pl”
[25432] maj 25 10:29:33 [Warning] void QCopClient::connectToServer() QLocalSocket::ConnectionRefusedError “QLocalSocket::connectToServer: Connection refused”
[25432] maj 25 10:29:33 [Debug] Messaging : MessageServer ctor begin
[25432] maj 25 10:29:33 [Debug] Messaging : opening database
[25432] maj 25 10:29:33 [Debug] Messaging : Added storage configuration for account 66
[25432] maj 25 10:29:33 [Debug] Messaging : bool SSOSessionManager::createSsoIdentity(const QMailAccountId&, const QString&) Creating SSO identity for the service “imap4” from account 66 using authentication method “password”
[25432] maj 25 10:29:33 [Debug] IMAP : void ImapClient::setAccount(const QMailAccountId&) SSO identity is found for account id: 66
[25432] maj 25 10:29:33 [Debug] Messaging : Registering service: “imap4” for account: 66
[25432] maj 25 10:29:33 [Debug] Messaging : bool SSOSessionManager::createSsoIdentity(const QMailAccountId&, const QString&) Creating SSO identity for the service “smtp” from account 66 using authentication method “password”

[25432] maj 25 10:29:33 [Debug] SMTP : void SmtpClient::setAccount(const QMailAccountId&) SSO identity is found for account id: 66
[25432] maj 25 10:29:33 [Debug] Messaging : Registering service: “smtp” for account: 66
[25432] maj 25 10:29:33 [Debug] Messaging : Initiating messageserver plugins.

Just in case that sfos’s email app cannot handle some characters in password, I use auto generated passwords by keepass. Example: E$hng<PFrd;x!-zwR$!]"Z3P5JCDv_bU`,4keQ*}t~?VYY].+@"k&[jxpv]?sb-^@m7ub>FjiN>['d{JT+>!$)E39F%E77nUc+pJH2YXVFhaEv$7\y-.P(yZP7YLX. Yes, its painful to manually type this password each time I format my phone. I have similar password to sfos account…

1 Like

This is not an answer to your question, but to save you a few precious hours of your life, you can install ownKeepass from OpenRepos to open your KeePass database on your phone and just copy-paste the passwords. It hasn’t been updated in years, but it still works.

2 Likes

I would rather install ownKeepass from Chum.

1 Like

This is a well-known issue with backups in certain situations. You need to delete and re-create the account(s).

Sadlly it does not support yubikey. My keypass file usses yubikey to decrypt it and sfos keypass app does not. There are android apps, which do support it, but android emulator does not detect yubikey

1 Like

In currect state, I have no accounts on my phone, but sfos account. Unless there is a way to remove accounts section from backup files, I am unable to do it. I have more than 50 notes which I want to keep and I cannot do it without restoring previous backup

1 Like