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

23 Responses

  1. TheDudeNovember 2, 2012 at 10:52 PMReply

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

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

    This worked perfect. Thank you very much :)

  3. KenNovember 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.

    • ChrisDecember 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

      • FridzaDecember 2, 2012 at 7:25 AMReply

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

        • ChrisDecember 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.

          • ChrisDecember 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. khushanshFebruary 7, 2013 at 10:36 PMReply

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

  5. knightprowler1971February 14, 2013 at 5:32 AMReply

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

    • FridzaFebruary 17, 2013 at 7:19 AMReply

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

      • knightprowler1971February 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. powerkillFebruary 16, 2013 at 7:07 PMReply

    would this work if my phones stuck in bootloop

    • FridzaFebruary 17, 2013 at 7:18 AMReply

      Yes, it would.

  7. tahaMay 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. johnJune 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 cramerJune 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. MetanJune 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. AndyJune 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. TyJune 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. TedSJune 24, 2014 at 8:16 AMReply

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

  14. cjJuly 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. KyleJuly 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…?

Leave a Reply