How I've Installed CyanogenMod on the Motorola RAZR HD (GSM) - the "xt925"


#1

Disclaimers

  • First of all: if you want to use clockwork or have the latest android releases, do yourself a favor and get a Nexus phone. Or, maybe, a OnePlus. In worst case scenario, go for freaking Samsung. Don't think Motorola, LG or anything else will make things easier. It won't.

  • Well, I just spent a whole freaking day stuck in a few points which could have been made much simpler if there was a few points better explained in a lot of good other tutorials I've found along the way.

  • Here's the same guide in XDA.

A "bad guide", with no revisions

The main reference to me was, as one might expect, from cyanogen mod wiki.

The real steps needed are very similar:

  1. Unlock device
  2. Install recovery using fastboot
  3. Wipe every single thing
  4. Install CyanogenMod from recovery

All steps but 3 can be found on that wiki. Step 3 can actually become really big. Making it as clean as possible could be very complicated. Or very simple.

The most important thing is understanding the concepts of what's being done and knowing how long each step can actually take. Specially the ones that give no feedback. Such as that terrible horrible loading screen, which I've learned to hate. The "spinning CM robot" should appear for 1 or 2 minutes at most, but that's way too far from clear and that info is nowhere to be found.

I won't repeat the tutorial, rather I'll explain it and correct it.

Unlocking Device

This is for allowing your Razr to be tweaked. And it's not rooting the device as it may appear (being somewhat a newbie and not too interested in rooting, I've mixed up the concepts).

Other than this, the steps on the wiki are pretty clear and complete here, I don't see how anything could go wrong if you just follow it.

I've got no screen that would be more than a few seconds without a feedback.

Recovery and fastboot

This starts to present apparently minor issues.

It says to use Clockwork Mod but all newest files to download on the other wiki page itself already bring a Recovery Image. Now, CWM is well established and used, but the versions linked there didn't work on my device. Only the new Cyanogen Recovery works. And it's not as complete as, although I really appreciate the higher simplicity there. Anyway, in the end CWM is just not needed, a version I could find that loads can't install any ZIP and it ends up just holding back because it offers a lot of useless options.

And "Volume Down + Power" doesn't work to boot into recovery. At all. You need to hold Volume Up + Power, or some sort of combination from Vol Up & Down & Power. It's easier to just look for videos of how it's done. I can do it quickly most of the times using Vol Down & holding Power to boot into fastboot, and then just hold Vol Down and quickly hold power for 1 second, release, and keep holding Vol Up until a menu opens up in which you can choose to boot to Recovery (or back to Fastmode as well).

Those misleading things there held me back 1 hour at first... But the CWM really screwed me up big, wasting time trying to use it to fix stuff. It's just not enough. I guess.

Maybe, however, there's one thing it could prove to be important. Backing up. Install it for this, if you're worried about trying to recover data without using google's own backups, after android is installed. To me, that was more than enough.

I've got no screen that would be more than a half a minute without a feedback.

Wipe every single thing

fastboot -w. That's all that took me, although it did give errors and I still saw many warnings through the whole process, if only I knew this command before, it would have saved me 20 hours or so.

Maybe it was the sum of cleaning up stuff with CWM, but I doubt it.

I really don't want to get into more details here, right now.

I've got no screen that would be more than a few seconds without a feedback for anything I've done in this step.

Recovery for CM

You probably also want to install google apps. Just take the nano OpenGApps. And if you're trying to use CM stable and it bricks, just get the nightly build.

If you're lucky, installing with sideload should be enough. All those options are just means to getting the zip files into the device for recovery installation and if you'd only have to use sideload once it's perfect. Having to use it again eventually is a pain, because it doesn't save local copies on the device.

Another 2 options: You could also have a SD card to USB adapter, or use CWM mounting SD card and transfer everything through the USB cable.

The biggest missing information in this step, however, is this: the loading CM robot screen, which appears after you boot, when that wiki guide is over and it thinks "everything is fine". It should be not more than 2 minutes, from my experience.

But google says otherwise. You might be led to believe it could take many minutes, maybe as much as 10. Which can easily be extrapolated by "well, maybe it takes 15". Before you know it, you're easily wasting hours waiting for it.

So, there you go. Hope this might have been of any help to you! :stuck_out_tongue_winking_eye: