When you are upgrading from one android version (Android 10/Q) to a higher version (Android 11/R), you usually need to format (not just wipe) the data partition before installing the upgrade. This will remove all your user-installed apps and data, so you would need to
- make sure you have a screen lock (pattern or PIN) ste
- backup your data partition before doing the upgrade (using TWRP or Android Backup & Restore Tools - see this post for more details)
- format the data partition
- install the new ROM
- go though first-time setup, and set the same screen lock
- restore the backed up data
If you didn’t backup, you may be able to retrieve the situation by re-flashing the e-Q13 ROM via adb sideload (but don’t format or wipe your data before you do.)