init device repo