enable developers options,, scroll down to default USB mode, toggle from charge only to midi and back to charge only, put into recovery mode, wipe cache, reboot system, plug charger in while phone is booting, as soon as phone starts it should be charging, if its not keep plugging/unplugging ....if all else fails plug into computer , select charge only and wipe cache while charging on computer then go back to wall charger