My phone samsung s4 doesnt come on

my phone s4 was off for 5 days in a bag when i take it and try to on it start but after some time it start to reboot continuously i surf on net about the reason i find out its button is defective.i remove the power button before removing i try to root the mobile with odin so many times and then remove the button. after that my phone does not come to on. if o.s software deleted it effect on the phone on/off?

Resources

Repairability

Stay in the loop

It's time to speak out for your right to repair

We have a chance to guarantee our right to repair electronic
equipment—like smartphones, computers, and even farm equipment. This is a once-in-a-generation
chance to protect local repair jobs—the corner mom-and-pop repair shops that
keep getting squeezed out by manufacturers.

Join the cause and tell your state representative to support Right to Repair. Tell them you believe repair should be fair, affordable, and accessible. Stand up for your right to repair!