I have been using a Samsung Galaxy S9+ with /e/OS for about six months. It was a great experience until a bit more than a month ago, when my phone started to turn off or restart randomly, notably when it is in my pocket. If it stays still on a table, it will work fine, but walking 10 meters in my pocket and it will reboot. I have already requested help here, but got no resolving answer so far.
Among the things that I am told to try is to wipe the cache partition, but I have failed to perform this operation so far. I have found tutorials to wipe the cache partition for TWRP, but none for /e/ Recovery. I have tried to explore myself the /e/ Recovery, but I am a bit scared of making a mistake and deleting too much.