via a micro-USB cable. For some tools, you may need to boot into "Bootloader Mode" by holding the buttons.

Some popular custom ROMs for the Nokia X7 include: