Fabrication based on the Kirkendall effect of Co3O4 porous nanocages with extraordinarily high capacity for lithium storage.