I need to restore my HTC one m7 to stock, but the usb port on the device is broken.
Is there a way i can restore my device to stock without conecting it to the PC?
the device is on 30% (and turned off) and i cant charge it.
To return your HTC one m7 to stock without a pc and a broken usb port you will need to have backed up your phone operating system before flashing roms in cwm or twrp or any other custom recovery. Then you could proceed to restoring stock rom in custom recovery.
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?