Dirt Off Your Shoulder The Black Album Jay Z

from bricks to billboards, from grams to Grammys

This phrase refers to Jay-Z's progression from drugs on the street to fame: bricks of cocaine to the Billboard charts, grams of cocaine to winning Grammys.
ms. d-dizzle
Next line continues with a metaphor with similar meaning as those two (and also with an alliteration): "O's to opposite", in which O's mean ounces in relation to drugs.
GormDK