How to Install CyanogenMod on the Motorola Droid RAZR/RAZR MAXX (CDMA) ("spyder")

From CyanogenMod
Jump to: navigation, search

This guide will walk you through the process of taking the Droid RAZR/RAZR MAXX (CDMA) from stock to having a custom recovery image and the ability to flash the latest version of CyanogenMod.


Modifying or replacing your device's software may void your device's warranty, lead to data loss, hair loss, financial loss, privacy loss, security breaches, or other damage, and therefore must be done entirely at your own risk. No one affiliated with the CyanogenMod project is responsible for your actions. Good luck.

Important Notes

This is a KEXEC build and must be installed in rom-slot1. It works on all XT912 devices. Camera flash only works in preview not during actual image capture. Currently working to resolve this issues.

Gaining Root Access with RazrBlade

  1. You will need ADB on the computer to root the Droid RAZR/RAZR MAXX (CDMA).
  2. Download the following files:
  3. Windows Only: Install the Motorola device drivers.
  4. Unzip Razr Blade to a folder on your computer.
  5. Enable USB debugging on the Droid RAZR/RAZR MAXX (CDMA): Settings > Developer Options and check the Android debugging box.
  6. Clear Smart Actions Data: Settings > Apps > Smart Actions and click the Clear data button.
  7. Confirm Droid RAZR/RAZR MAXX (CDMA) is using MTP for USB connection: Settings > Storage > ≡(Menu) Button > USB computer connection > Select Media device (MTP)
  8. Connect the Droid RAZR/RAZR MAXX (CDMA) to the computer via USB.
  9. On the computer, double click the applicable file:
    Windows: run.bat
  10. Allow the exploit to finish, the Droid RAZR/RAZR MAXX (CDMA) may reboot several times.
  11. When the exploit says "Cleaning up" you may need to look at your phone, unlock the screen if necessary, and press the "Grant" button to grant SuperUser permissions for the exploit to finish.
  12. The Droid RAZR/RAZR MAXX (CDMA) is now rooted.

Installing SafeStrap Recovery

  1. Download the SafeStrap APK for Droid RAZR/RAZR MAXX (CDMA): Download
    • md5: 180b3ea3e696ab3c5ef8a8ba9ceacebc
  2. Place the downloaded APK alongside adb on your computer.
  3. Enable installation from unknown sources on your Droid RAZR/RAZR MAXX (CDMA): Settings > Security and check the Unknown sources box.
  4. Open a terminal on your computer and navigate to the adb executable and run the following: adb install YOURAPK.apk
  5. If you see [SUCCESS] in the terminal, continue on.
    NOTE: If you see [FAILED], please go back and ensure you've followed the instructions above to the letter.
  6. Run the SafeStrap app on the Droid RAZR/RAZR MAXX (CDMA).
  7. Once requested, permanently grant the application Superuser access.
  8. Click the button labeled Install Recovery.
  9. Once complete, reboot the device.
  10. When the SafeStrap splash screen appears, hit the Menu button on your Droid RAZR/RAZR MAXX (CDMA).
  11. Click the button labeled Boot Options.
  12. Activate romslot-1 and follow the instructions on the device.
  13. We will be updating SafeStrap to use all ROM slots for Kexec soon.
  14. Follow the instructions below for installing CyanogenMod from recovery.

Installing CyanogenMod from recovery


Some devices do not have removable SD cards. Regardless, there should still be a partition on the device named "/sdcard" that can be used for flashing purposes, even though the contents of /sdcard may actually be in internal storage.

  1. Download the prebuilt release of CyanogenMod you wish to install. (Or if you've built CM yourself, look in the $OUT directory for the .zip.)
    Optional: Download any supplemental 3rd-party applications packages for the device you wish to use.
  2. Place the CyanogenMod rom .zip file on the root of the SD card using adb:
    • Transfer your file(s): adb push /sdcard/
      • If you boot directly to recovery and have an internal sdcard, you may need to run adb shell mount /sdcard or mount data through the recovery menu before transferring.
      • If you see "error: device not found" there is likely a driver issue on the PC.
      • If you see "error: insufficient permissions for device", try "adb kill-server" and then run "adb devices" to see if the device is attached.
      • On some devices, the zip file can be copied to the device using standard USB Mass Storage or MTP support. Boot the device normally and transfer the file to it.
    Optional: Place any supplemental packages (e.g. Google Apps[1] or kernel) .zip file(s) on the root of the SD card.
  3. Boot to recovery mode on the device by holding Power and at SafeStrap splash screen press Menu key within 10 seconds.
  4. Once the device boots into the Team Win Recovery Project, use your finger to select your choices by tapping on the appropriately labeled button.
    Optional/Recommended: Select the Backup button to create a backup of the current installation on the device. If this option is missing, it's likely because the stock ROM has overwritten your custom recovery on boot.
  5. Select the Wipe and the Factory Reset buttons.
  6. Select the Install button.
  7. Navigate to the location of the installation zip.
  8. Select the CyanogenMod file you placed on the sdcard. You will then need to then confirm that you do wish to flash this file.
    Optional: Install any additional packages you wish using the same method.
  9. Once the installation has finished, return back to the main menu, and select the Reboot System option. The device should now boot into CyanogenMod.

Helpful Tip

See something wrong on this page? Report it here.