Chosen Solution

I replaced lightning and headphone part successfully in iPhone 5 according to iFixit guide but at reboot iPhone is as new device, like if I reset it to factory default and It asks to configure it as new iPhone. It’s possible part replacement can cause factory reset? iPhone is tuned off for many many months. What happened?

No, the phone de-activated itself meaning you’ll need to re-activate the phone either via 3UTools / iTunes or by going through the setup which will most likely ask for the Apple ID that was signed into iCloud on that phone. Data should be there as devices only are factory reset from restoring the phone or resetting through settings.

When I turn on It I have to choose Language, Country, Apple id … the same thing like a hard reset. So you think if I configure device typing original Apple id I can restore data?