iPhone X won't turn on
Hi,
Oneday while charging my phone it got turnedoff and didn't turn on again whatever I do. I took it to one of the iPhone repair center which is not Apple authorised as my native is remote village. They got it repaired and gave me working phone, but after 2 days due to lack of charge my phone turned off and didn't turn on again. I googled for this issue and kept my phone for charge whole night then by morning it got turned on then I updated my phone to latest iOS 14.4.2 but again during upgrade phone turned off and got turned on after around 7 Hours of charge. This time my phone charge percentage was fixed it was not changing at all and if I remove the charge phone again turned off.
So now the pattern is like this, keep the phone on charge for hours together to get the phone ON and if I remove the cable it turns off within seconds.
I have tried do force restart and put it recovery mode but with no success, but I am able to put the device in DFU mode and see that iTunes is detecting it.
Any support on this would be a great help. Thanks in advance
iPhone X