Default how convert odex rom to deodex?!

how can i convert odex htc amaze rom to deodex and then back to odex?!