Added some XPE stuffs from CM11