using twrp custom graphics.c