xoa phuong thuc init device