modify for omni rom and clean up left over cyanogenmod stuff