Restore Droid RAZR M (XT907) to stock factory firmware and Unroot it

In case you want to return, exchange, repair Droid RAZR M to Verizon store or even want to sell it to someone else, you might need to unroot or return your phone to stock firmware, a factory reset won’t be enough to restore your phone back to stock if your device already rooted or running leaked firmware.

Advertisement

As we know a leaked Jelly Bean firmware has been around for the XT907, and even an exploit to gain root access on this phone is also available. To restore Motorola device to its original condition we can flash back to the original firmware/fastboot file using RSD Lite.

droid razr m xt907 back to stock

Image Credit: Motorola/Verizon

Here is a simple guide to restore the Droid RAZR M to stock factory default

  1. Since this process will erase all data stored in the internal storage, you might need to backup all your data. If you already rooted you can install MyBackup or Titanium Backup.
  2. Download RSD Lite and install it on a Windows PC / Laptop, RSD Lite 6.1.4 are advised, as some users are having problems using the previous version.
  3. Download the stock firmware/fastboot file in the zip file.
  4. Extract the firmware/fastboot file that you have been downloaded in step 3.
  5. Open the extracted folder, find file VZW_XT907_4.0.4-7.7.1Q-144_SMQ_S1-36-10_CFC.xml and open it with notepad, remove any lines which contains “GetVar”, “var” or “oem”.
  6. xml-xt907-extract

    Inside extracted firmware file

  7. Open RSD Lite 6.1.4, press the “…” button, finds the xml files that you have been edited in step 5.
  8. Turn off your phone first, press and hold the following three buttons (volume-up + volume-down + power button) for a few seconds until your phone switches into “Boot Mode Selection Menu”, scroll down with the volume-down to highlight “AP Fastboot “then press volume up to select it, you will get into” AP Fastboot Flash Mode “.
  9. ap fastboot mode

    Motorola Boot Selection Menu

  10. Next connect your device to the PC via USB cable, your device models will be recognized as XT907.
  11. Press the “Start” button and the flashing process will run, wait a moment.
  12. restore stock xt907 rsd lite

    Loaded firmware on RSD Lite

  13. Done. Your Verizon Droid RAZR M will reboot and returned to the stock factory firmware.
Advertisement

 

Filled Under:Tips and Tricks
Related Mods

30 Responses

  1. TheDude
    November 2, 2012 at 10:52 PMReply

    Thx a lot! I have been looking for this information! :)

  2. WordPress Power Sites
    November 17, 2012 at 12:36 AMReply

    This worked perfect. Thank you very much :)

  3. Ken
    November 25, 2012 at 3:46 PMReply

    I flashed this stock rom which was removed lines with \VAR\ \OEM\, everytime device boots into fastboot. To solve this issue, just re-flash the original stock rom which was not removed anything. I succeed.

    • Chris
      December 1, 2012 at 12:04 PMReply

      My phone never shows up in RSD Lite… I am in ap Fastboot. What am I doing wrong? please help

      • Fridza
        December 2, 2012 at 7:25 AMReply

        Make sure your phone is recognized by your PC.
        Install device drivers first.

        • Chris
          December 2, 2012 at 10:06 AMReply

          I think it has something to do with Safe Strap… I am not even sure how I got safe strap on my phone. dont remember installing it. and now i cant seem to even get it off. phone functions fine just afraid it will hurt something later on.

          • Chris
            December 2, 2012 at 10:08 AM

            If i just plug the phone in while it is on the program recognizes it. But as soon as I try putting in AP Fastboot it no longer recognizes it there.

  4. khushansh
    February 7, 2013 at 10:36 PMReply

    thankyou so much dude. !! u kindof saved my life ;) :D !!. really thankyou very much !!

  5. knightprowler1971
    February 14, 2013 at 5:32 AMReply

    Do you have a method that will work for us non-Windows users? Linux or OSX?

    • Fridza
      February 17, 2013 at 7:19 AMReply

      Hi knight,
      Try to following this guide for rooting RAZR M on Mac.

      • knightprowler1971
        February 17, 2013 at 7:43 AMReply

        Thanks. I had done some more searching and wound up doing something similar. I meant to post about it but forgot. Thanks for the feedback.

  6. powerkill
    February 16, 2013 at 7:07 PMReply

    would this work if my phones stuck in bootloop

    • Fridza
      February 17, 2013 at 7:18 AMReply

      Yes, it would.

  7. taha
    May 21, 2013 at 12:45 AMReply

    hey can u tell me plz that will i be able to do this on my razr (xt905) cause my phone is a korean SKTELECOM version so if i want to make it US ver so can I …………… AND YA can i flash the verizon’s 4.1.1 update on it after this

  8. john
    June 1, 2013 at 3:50 PMReply

    I’m running cm10.1 nightly is it possible to use this guide or do I stand a chance of bricking

  9. scott cramer
    June 9, 2013 at 11:00 PMReply

    worked great! but when i restart my phone it still comes up saying boot loader. any solution? i want to get it back so there is nothing hacked on it

  10. Metan
    June 13, 2013 at 8:54 AMReply

    i get a fail
    Failed flashing process. 1/20 flash partition “gpt_main0.bin” -> Phone returned FAIL.
    any idea?

  11. Andy
    June 17, 2013 at 1:21 PMReply

    When i start the flashing. It goes through all the steps but once i get to step 17 System.img it says failure. I removed all Var, GetVar, and oems. But the device still fails. Help?

  12. Ty
    June 7, 2014 at 10:49 PMReply

    Which file do i download. There are three! Please help me!

    • Robbie S.
      June 8, 2014 at 8:44 PMReply

      The firmware links updated, go to firmware post again now to get DROID RAZR M (XT907) stock firmware.

  13. TedS
    June 24, 2014 at 8:16 AMReply

    Worked well for me, I’m back stock and on the latest version.

  14. cj
    July 6, 2014 at 9:15 PMReply

    my computer willnot recognize my droid razr m, im running windows 7 home premium 32bit and have tried everything under the sun to find and install the right drivers and still no luck, and help would be awesome, also I can run any version of anything, I paid $20 buck for this phone as a o ill just fix it type thing and its not working too good, I really want it fix, please reply I need help:( thx

  15. Kyle
    July 15, 2014 at 10:31 AMReply

    I followed the guide as outlined. My phone is connected via USB is flashboot mode and I have the xml selected in RSD. When I hit “start” it does nothing. No repsonse whatsoever from the program or phone. I’ve waiting 10 minutes and no change. I can still use RSD like normal. It’s like the start button isn’t working…?

  16. bilal
    August 1, 2014 at 3:05 AMReply

    i did every thing mentioned above n flashed the latest kitkat rom it flashed flawlessly but my singnals are gone ???:(

  17. Jonah
    August 12, 2014 at 5:18 PMReply

    “Failed flashing process. Unknown fastboot command(getvar)

  18. Dave
    September 16, 2014 at 10:21 PMReply

    Thanks A TON! this worked like a champ, though it probably took 5 minutes to process. No more Flash Boot loader error for me! thanks so much. And I can install the next OTA update now too.

  19. carl
    September 20, 2014 at 11:12 AMReply

    android 4.4.2 xt 907 please help try to flash stock rom 4.1 to be able to use for gsm and wait 10 mn rsd lite does nothing any suggestions im willing to pay through paypal if someone helps

  20. rickey
    October 14, 2014 at 6:45 PMReply

    thanks for the guide i been looking for a fix this seems to have worked

  21. Trevor
    October 15, 2014 at 6:25 PMReply

    Hello, I’ve tried doing this on three different computers, but the all recognize my phone as a “Fastboot SQM S”. RSD Lite will not start the update to this device. I have updated the deivers, but that did not work. I keep trouble shooting the “Fastboot SQM S” but it only tells me that it is not compatible with USB 3.0 and to switch to USB 2.0. The thing is, it is plugged into a 2.0. I have even tried this with different cables hoping that will work. Does anyone know how to get the computer to recognize it as a XT907 instead of a “Fastboot SQM S” ?

    • Luis
      November 14, 2014 at 4:03 AMReply

      the same thing happens ….. could you solve?

Leave a Reply