Apple MDM profile, the Mobile Device Management (MDM) protocol provides a way for system administrators to send device management commands to managed iOS devices running iOS. If you don’t have the credentials to unlock MDM profile you can not use your device.
New bug found on iOS 11 to bypass MDM profile into any device running the latest firmware. Tested on iOS 11.2.1. This should also run on latest iOS 11.2.5 and iOS 11.3 beta.
Follow this steps to remove MDM profile using iOS 11.x:
Restore your iPhone to newest iOS.
Put in SIM Card and use 4G network to active iPhone, don’t use Wi-Fi.
Once activated, take out the SIM Card to disconnect from 4G network.
Then press Back button, you will see can’t download profile and pass it.
Pass Set Touch ID and Passcode setting.
Press Next to download profile page.
Put in SIM Card again to connect 4G network and download the profile file.
After profile download done, press Back button, don’t press Next otherwise go to first step.
Press Back button passcode setting page and choose don’t use passcode.
Enjoy MDM bypass on iOS 11.