Commit with RegisterDevice and xml file for it.