I had a similar problem, my sollution was install lineage with android 10 so that what worked for me:
This procediment will clean all data on your device! Follow all the steps at your risk
1 - know how to lock and unlock your device bootload, you will need do it sometimes
2 - flash your device...