[Droid RAZR M General] sloosecannon:
So if anybody's been reading the news, you may know that the bootloader for the Razr M has finally been unlocked!

So here's a how-to on unlocking and flashing a custom recovery.

A couple notes:

This essentially makes the phone behave like an unlocked dev edition. You can flash any firmware, recovery, etc that you want. Be careful, don't flash stuff for other devices, etc etc...

FOLLOW THE INSTRUCTIONS...

Future OTAs may (will) disable this exploit. Do it while it can be done! Also, beware OTAs! They could disable this, or do bad things... Don't update unless you know it won't disable the bootloader exploit

You need to be rooted, have the motorola drivers installed (link here - sorry, it's device manager, but they do have all the drivers in a nice package...)

First, root if you haven't already...

Next, download Motopocalypse.zip by Dan Rosenberg from here: http://vulnfactory.org/blog/2013/04/08/motorola-bootloader-unlocking/

extract the zip and run

Run through the entire process, until it tells you you have a bootloader unlock.

Make sure that AP Fastboot indicates "Unlocked, status code 3"

Also, when you reboot, you will get a warning screen about an unlocked bootloader.

Next, choose your recovery. There are 2 options, TWRP (Touch Win Recovery Project) and CWM (ClockworkMod)

either works, and each has benefits and downsides, choose whichever one you want.

Follow the instructions for your flavor of recovery:

CWM:

Download the .img file here: http://goo.im/devs/Hashcode/scorpion_mini/cwm-recovery--scorpion_mini.img

Move it to the same place you extracted the .zip above.

Open a command prompt/terminal/command interpreter at that location (Windows short-cut: shift-right click, command window here)

type the following (filename is the name of the file you downloaded, probably "cwm-recovery--scorpion_mini.img" unless you renamed it): fastboot flash recovery filename

and press Enter. Let it flash, then reboot.

The first time you use CWM, it will ask you if you want to disable something that would cause CWM to stop working. You do want to, so say "yes". Othewise, you'll have to reflash CWM every time you want to use it

TWRP:

Download the .img file here: http://d-h.st/QGe

Move it to the same place you extracted the .zip above.

Open a command prompt/terminal/command interpreter at that location (Windows short-cut: shift-right click, command window here)

type the following (filename is the name of the file you downloaded, probably "twrp2.4-recovery-scorpion_mini.img" unless you renamed it):

fastboot flash recovery filename

and press Enter. Let it flash, then reboot.

Now, you need to disable the automatic re-flashing of stock recovery.

Reboot directly into recovery, and allow TWRP to disable the re-flashing.

Now, you have TWRP running on your Razr M

Please consider donating to Dan Rosenberg here for all the work he's done for our phones!

Congrats! You now have a custom recovery on your Razr M

Reboot into recovery, and you're done!

----IMPORTANT NOTE:----

IF you are on the latest OTA and have NOT unlocked, it is impossible at this time to unlock. It may be possible in the future if someone finds another exploit, but not likely. Basically, if you updated without researching (that's why you shouldn't do that) or got a new one after the OTA, you're SOL for right npw