Question [Q] Volume keys not working

yesterday my photon was bricked but by flashing the US cellular electrify sbf and then flashing Stock Photon 4.5.1A-1_SUN-254_13 via bootstrap recovery i got the rom up and running.but after few hours volume keys stopped responding and sometimes they worked without me pressing them.finally volume keys stopped working when rebooting the phone either it goes to rsd mode or boots in safe mode.does it have anything to do with the software flash?? plz help me