Default XT907 stuck on boot screen

Hello, my dad's old droid RAZR m is stuck on the boot screen for a long time then it powers off. I have tried one 4.1.2 fastboot file to try to get it back to working order But had no luck and got some unknown command phone from RSD lite. He is getting a new RAZR m today but would like to get it working so that another person in my family can use it as a first time with a smartphone device. Any suggestions would be greatly appreciated.