Chosen Solution
When I change brightness or tun on of tun off internet SIM or have any call turn on the speaker The phone alway turn off by itself My phone has replaced battery and screen after this fix l have this problem . so everyone can recommend any idea for Me and Thanks for helping
You may have bought a defective part with the battery and screen or both. Try putting the original battery and see what it does.