I cannot install TWRP on pixel 5 with the latest e os version because of the android version 12. Here is some details on the topic. I haven’t been able to boot TWRP as suggested either.
What should I do in the mean time to backup the cellphone? I mostly need contacts and apps. Is there something else I should consider? Can I do this from adb?
If you have a dev build of /e/OS and access to a Linux machine - real or virtual- you can use Android Backup and Restore Tools project. You need dev build because the tools use rooted debugging, which can be enabled in Developer options but only in dev builds.
So I tried the full backup script, it didn’t restore properly. Pin didn’t work, then I got to reset to factory after reboot (data corrupt). The app backup worked at least. Didn’t try the partition backup.
I’ve not used the full script. backup_apps.sh and restore_apps.sh give me most of what I need for setting up a phone after factory reset (or acquiring a new phone)