Answer to "iPhone X Error 4013"The usual issue with the 4013 is hardware. It is a loose HD on the MB usually and will require microsoldering.
Answer to "iPhone 6 plus earpiece speaker is quiet even after replacement."Did you try a network reset? Sometimes that helps