Odex vs DeOdex
I have researched a little bit on the subject, but I am still confused about the purpose of DeOdexing. Correct me if I am wrong, but doesn't DeOdexing decompile apks and allow for modification of apks? Why do some roms use a deodex while other use the default odex?
Also more importantly, if I were to flash a deodex rom, could I revert back to odex if I were to make a nandroid backup (prior to flashing) and restoring from the backup (or does this make a permanent change in the file structure)?
Sorry if I am way off basis on my interpretations of odex vs deodex, but this is all new to me.