Chosen Solution
Hy i have iphone 6 and i replaced a the battery and if i connect the charger then the phone keep restarting and i cant do with it. Any idea to fix tish problem , i rested a phone .
Sounds like you may have a defective replacement battery or something on the logic board was damaged either during the replacement or was the root cause for you needing to change the battery in the first place. If the old battery still worked, even if with reduced capacity, I would install it to see if the problem persists. You need to eliminate some variables here and give more information on why you had to change the battery in the first place.