Hi! My name is ***** ***** I will be assisting you. Let's get started!
If the iPhone is just showing the Apple logo then you cannot factory reset it until it can get past the logo.
How old is the phone?
The good news is that it is still under warranty which means that you can take it into the Apple store for a free replacement or repair since it has hardware issues.
If you can take a minute and use the rating system to rate our session as 4 stars or higher and press Submit so I am credited with helping you.
I will send a note to customer service for you.
I am checking back up on you about your issue. If the issue is resolved or you do not need anymore help, please rate our session as 4 stars or more and press Submit so I am credited with helping you otherwise please reply back so we can continue with the issue.