Hello,take the needle and clean all contacts on usb/charging connector and use original charger and original battery.You can't fix that problem with flashing.It is hardware problem.