Backup option not available on FP3 4.4.1-a15-official

On my FP3 (currently on 4.4.1-a15-official), I still do not have the backup option available in the settings. After each upgrade and update, I have been waiting for this to appear but in vain. This FP3 was installed initially with the a12-official version, and followed the upgrade path to a14-official and a15-official.

This issue was already reported in the past by other users, see these threads:

[HOWTO] use Seedvault early to understand Android backup

https://community.e.foundation/t/cant-find-seedvault-backup-option-on-my-system/71543

Some users with a rooted device seems to have found a way, by reactivating Seedvault with adb.
Others just reinstalled /e/OS to get the option, thus wiping the phone, or had it appear with an upgrade to community build. A user reported that Seedvault was hidden in a commit at some point (in a Pie build), but it is really long time ago.

I just discovered something that may perhaps help solving this long lasting issue, and avoiding us to reinstall to be able to backup: I created a new user on my phone. At the end of the first-time setup wizard, I can see that the backup menu is there, as expected (with both Murena and seedvault option), and working.

If I run adb shell bmgr list transports on my historical user, I see the e.backup transport:

  • foundation.e.backup/com.stevesoltys.seedvault.transport.ConfigurableBackupTransport
    com.android.localtransport/.LocalTransport
    com.stevesoltys.seedvault.transport.ConfigurableBackupTransport

If I try to run the settingsActivity, I get this Exception:

adb shell am start-activity com.stevesoltys.seedvault/.settings.SettingsActivity
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.stevesoltys.seedvault/.settings.SettingsActivity }

Exception occurred while executing ‘start-activity’:
java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.stevesoltys.seedvault/.settings.SettingsActivity } from null (pid=28561, uid=2000) requires com.stevesoltys.seedvault.OPEN_SETTINGS
at com.android.server.wm.ActivityTaskSupervisor.checkStartAnyActivityPermission(ActivityTaskSupervisor.java:1184)
at com.android.server.wm.ActivityStarter.executeRequest(ActivityStarter.java:1233)
at com.android.server.wm.ActivityStarter.execute(ActivityStarter.java:865)
at com.android.server.wm.ActivityTaskManagerService.startActivityAsUser(ActivityTaskManagerService.java:1330)
at com.android.server.wm.ActivityTaskManagerService.startActivityAsUser(ActivityTaskManagerService.java:1271)
at com.android.server.am.ActivityManagerService.startActivityAsUserWithFeature(ActivityManagerService.java:3245)
at com.android.server.am.ActivityManagerShellCommand.runStartActivity(ActivityManagerShellCommand.java:859)
at com.android.server.am.ActivityManagerShellCommand.onCommand(ActivityManagerShellCommand.java:250)
at com.android.modules.utils.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:97)
at android.os.ShellCommand.exec(ShellCommand.java:38)
at com.android.server.am.ActivityManagerService.onShellCommand(ActivityManagerService.java:10420)
at android.os.Binder.shellCommand(Binder.java:1143)
at android.os.Binder.onTransact(Binder.java:945)
at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:5757)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2721)
at android.os.Binder.execTransactInternal(Binder.java:1411)
at android.os.Binder.execTransact(Binder.java:1350)

@Manoj, do you think it may help developers to understand why a phone migrated from a12–>a14–>a15 is missing this option (missing permissions)?
I guess there may be something wrong in https://gitlab.e.foundation/e/os/android_packages_apps_Settings/-/commits/a15/src/com/android/settings/backup/UserBackupSettingsActivity.java?ref_type=heads

Thanks!