g2: CM12 updates

-Set SE mode to permissive
-Add Dex preoptimization