To unlock all levels, create a new game and enter the words ''GREYTHERAT'' and you will have every level (including bonus levels) unlocked.
Begin a new game with the name M1A2U3L4!? (Include the question mark and exclamation point). This will unlock all levels up to Darth Maul.