Default [Q] htc one problems with setting up device

hello everyone i have a sprint htc one m7 running 4.4.2 sense 6...
recently I decided to factory reset the phone and after the reboot i wasnt able to get past the setup wizard because it got struck at the hands-free activation screen because i use my phone in india...
so i rooted the phone and flashed twrp recovery.. and through TWRP file manager i deleted the HTCSetupWizard.apk and HTCOmadmspcs.apk which seems to have fixed the problem....
but now after about 6 hours the phone has started shutting down automatically and after startup i get a notification from an app called "Smith"..
please suggest me a way to fix this problem.... all help appreciated... thanks in advance
My Device:
SPRINT HTC ONE M7
Stock 4.4.2 Carrier: Vodafone IN
DiD i hElP U??? PrEsS tHaNkS bUtTon