Make installer script accept p940

For some widely used generic CWM recovery