A iPhone 7 stuck on the Apple logo usually means startup files are failing, not always hardware death. Follow this sequence to isolate software corruption, force a clean boot, and restore the system ...
I installed Cydia and upon reboot, the system froze with the Apple logo on the screen. I hold both buttons to shutdown, the screen goes black for half a second and quickly goes back to the Apple logo.