recovery: add graphics.c