Chosen Solution

My iphone does not connect in pc but works in a powerbrick and it is stuck in recovery mode when i charge it in the powerbrick.

try another charge cord, use a real apple cord. There is software that will bump you out of recovery. Tenorshare ReiBoot