Chosen Solution

hello guys my huawei p10 lite doesnt get on when i press the on button the only it gets on and keeps on restarting is when i plug in the charger, and sometimes display huawei eRecovery then it resarts after some few seconds. the charging indicator does not get on

Seems like a battery issue. It doesn’t want to keep a charge, so it’s time to change the battery (or change your phone in shop, if it’s still under warranty).

If you are still looking for an answer , a solution might be USB Charging Port Charger. For me it was a short circuit in the charging port that was caused from the broken antenna cable. If that’s not the issue then unfortunately it must be a motherboard issue.