Use HTC restart-apq8064 (else reboot fails etc..). Use the one in mach-msm/htc folder.