Another solution 100% working -> download dr. phone data recovery for android and install it. https://wondershare-data-recovery-for-android.en.softonic.com/ -> put your phone in download mode by pressing power+home+vol_down ->pug the phone to you computer and dr. phone will say the phone is in download mode please exit ->click exit on the dr. phone app -> the phone will exit from download mode and resolve all software problems