# Get device information
ATI
# Get OPENLOCK challenge
AT!OPENLOCK?
# Submit OPENLOCK response
AT!OPENLOCK="XXXXXXXXXXXXXX"
# Enter CND mode (password is often A710)
AT!ENTERCND="A710"
# Reset device to factory defaults
AT!RESET
# Enable ADB on some devices
AT!CUSTOM="ADBENABLE",1