First of all I'm new here... So I hope this is the right category. ^^
Today I tried to root my Galaxy A5 2016 with the Model Number SM-A510F. My goal was to flash Lineage OS 17 so I can try some sweet Android 10. Unfortunately I was not able to get TWRP working in the first place... It failed after the bootloader mode, even though I switched on USB Debugging and OEM. So I decided to try it with Odin. But even with Odin and my device being in the download mode I was not able to get the TWRP image working. It simply did not install it (Odin even said it was installed successfully, but it didn't. Woops.) After that I tried CF-Auto-Root (https://autoroot.chainfire.eu/). Surprisingly this one actually worked! My device now was rooted. I then decided to give the official TWRP App a try and install the image twrp-3.4.0-0-a7xelte.img directly onto my phone. (I think this is where my error began, I should not have tried this right?) The installation was successful, but I was not able to go into the TWRP recovery mode where I could flash Lineage OS and Gapps... So I selected the "reboot in recovery mode" option in the TWRP App. The device shut down, but then froze in the boot loading screen. Since then I was not able to boot it again. Furthermore I was not even able to get into Samsung own recovery mode from now on (by pressing the home button, power button and volume up). The only mode I actually got working was the download mode, in which I also installed CF-Autoroot in the first place. And now I have no clue how I can get my device working again... I'm not able to boot or even do a factory reset (since I cannot even enter the recovery mode). My PC does not recognize my phone. Only when I turn the download mode on, but then I does not recognize it as "Samsung Galaxy A5", my PC tells me I have connected something different.
What should I do now? Should I wait until the battery is empty and then try to reboot it? You guys are my only hope. Help would be greatly appreciated.