[Droid RAZR M General] carb0nrain:
Hello All!

This is my guide to rooting, recovering, and "romming" the Motorola Droid Razr M!

ROM: CyanogenMod 10.1 Official

DISCLAIMER: All software that I will provide links to is AS-IS. I will NOT be responsible for anything that happens to your phone as a result of this guide

Lets Begin!

Pre-Reqs:

- All download links are in the text document below. I am not allowed to post outside links because this is my first post

-Razr M

-OEM Cable

-Software Version must be < 98.18.78.XT907.Verizon.en.US (If software is 98.18.78 and you haven't unlocked your bootloader follow this guide (link in text document below) to only root your device )

-Android Jelly Bean 4.1 (I did mine with 4.1.2. Not sure it will work on ICS)

-Battery % > than 90 %

-Patience

-MAKE SURE TO BACK EVERYTHING UP (CONTACTS, DATA, TXTS, ETC)!!

Part 1 (Rooting):

Step 1: Obtain the "motochopper.zip" file (Credit to Dan Rosenberg)

Step 2: Extract the zip

Step 3: Make sure to have the latest windows drivers for phone (If not on windows skip this step):

Step 4: Connect M to computer and make sure usb debugging is enabled (allows computer to "talk" to phone)

Step 5: Navigate to motochopper folder and click "run.bat"

Step 6: Follow on-screen instructions

Step 7: Jump for joy because you now have root!

Step 8: Proceed to Part 2

Part 2 (Bootloader):

Step 1: Obtain the "motopocalypse.zip" file (Credit to Dan Rosenberg)

Step 2: Extract the zip

Step 3: Connect M to computer

Step 4: MAKE SURE that you have root!!!!!

Step 5: Click "run.bat"

Step 6: Follow on-screen instructions

Step 7: Confirm that the bootloader is unlocked (Status code 3 or "Warning Bootloader Unlocked!" Screen on boot up)

Step 8: Proceed to Part 3 if confirmation is successful

Part 3 (Recovery/ROM):

Before you proceed you must be sure that you actually want to install a ROM on your device. My choice was CyanogenMod 10.1 Official for the Razr M.

If you find some other guide that has a safer way of doing this the use that one.

Step 1: Obtain a recovery image. I chose ClockworkMod 6.0.3.2

Step 2: Put this file inside of the "motopocalypse" folder

Step 2.1: Grab the CyanogenMod 10.1 Official Zip and the gapps package

Step 2.2: Put these files on the root of your Android phone (/sdcard) or on a microSD and put it into your phone

Step 3: From the command window type: "adb reboot-bootloader" and hit enter. You should be greeted with a familiar screen;

Ok, here is where the guides on the internet failed me. On the official cyanogenmod blog for the Razr M, it says to issue: "fastboot flash recovery your-recovery.img" and then "fastboot boot your-recovery.img". This first command worked but the second one didn't and I was unable to ever boot into CWM. That's when I had to turn to this command: "fastboot flash boot recovery.img". What this command does is replace your boot sequence (correct me if i am wrong) with CWM. So when you reboot, it will only boot into CWM. This is why your have to be serious about putting a ROM on your device. Installing a ROM fixes the boot sequence.

Step 4: If you want to continue issue the command: "fastboot flash boot your_recovery_filename.img" If you want to turn back now issue the command: "fastboot continue"

Step 5: If it installed the recovery correctly then issue "fastboot reboot"

Step 6: You will now hopefully boot into CWM.

Step 7: Use volume keys to scoll and power to select

Step 8: Choose wipe_data/factory_reset and confirm the choice

Step 9: Choose "install zip from sd" and select the CyanogenMod package. Confirm and you will see it install

Step 10: Choose "install zip from sd" and select the Gapps package. Confirm and you will see it install

Step 11: On the main menu select "reboot phone now"

Step 12: If everything was successful you will boot into CyanogenMod 10.1 Official!

Step 13: Set everything up.

Step 14: Proceed to Part 4

Part 4 (Recovery again/ Finishing up):

Step 1: Everything may seem ok, but you don't have a recovery partition anymore :(

Step 2: Connect M to computer if it isn't anymore

Step 3: Hold down vol+, vol-, and power at the same time to get to boot menu. Select bootloader with vol- and select it with vol+

Remember my big spiel earlier about how these commands didnt work. Well now they do! I suspect that the didn't work before because Verizon's OEM Android kept overwriting your custom recovery

Step 4: Go to "motopocalypse" folder and Issue "fastboot flash recovery the-same-file-you-flashed-earlier.img"

Step 5: It will succeed and then issue "fastboot continue"

Step 6: Now you have your recovery partition back! You can now boot into it from the boot menu or from the cyanogenmod menu

Step 7: Not over yet! Boot back into CyanogenMod and go to settings

Step 8: In Android 4.2+ the developer settings are disabled. To fix this tap on the build number in the "about phone" section 10 times

Step 9: From now on to use adb your will need to get the updated adb files for Android 4.2+ :

Step 10: You may notice that the screen has some kind of weird refresh bug when you scoll. To fix this, check the Developer Setting item that says "Disable HW overlays"

Step 11: Enjoy

Thank you guys so much for reading this guide and I hope you found it very helpful!

If you have any questions or problems leave a comment or just PM me. I will do my best to help you out.

Cheers,

Ryan (carb0nrain)