my phone will not turn on the camera nor the flashlight after I tried rooting it and failed
Welcome to the community!
Can you explain a bit more? What phone? What was the error you got? What method did you attempt at rooting? Any and all extra information will be helpful for us to diagnose your issues.