Saturday, February 26, 2011

Void your warranty and root your CM Magnum HD at the same time

This is basically a repost of Takahiro Sonogi's post over at PHAC. He posted a way to root your Cherry Mobile Magnum HD which is also known as Viewsonic ViewPad 4 and Huawei Ideos X6 (also known as Huawei U9000).

There a lot of reasons to root your Magnum HD, one of them is to void your warranty. The other good reasons are:
  1. To install custom ROMs. The problem is just that the device is so brand spanking new that there are no custom roms...yet.
  2. To turn it into a target dev device. Which is my reason. It just sucks writing code that needs access to some /system binaries and get cock blocked because its not rooted.
  3. Its Friday night and got nothing to do. Ok I made this one up.
In any case, I'm telling you again ROOTING YOUR CM MAGNUM VOIDS THE WARRANTY. I want to be clear about that.

Now if you are one of those Windows GUI babies and doesn't know his way around CMD or DOS you are way over your head. Stop what you are doing because YOU MIGHT BRICK YOUR PHONE AND I WILL LAUGH AT YOU. You heard me, if you screw this one up and blame me, I. WILL. LAUGH. AT. YOU.

If you haven't changed the webpage then download and install the Android SDK.

Here are steps to root your CM Magnum HD

adb devices
  1. Take your Magnum and plug it in into your PC and make sure it is recognized by ADB. Run ADB from the command line and type adb devices. If there are no devices, then you need to install something like a USB device driver. There should be on with your phone. Whatever the case you are looking for something like the screen shot on the right;
  2. Then download something called rageagainstthecage. Unpack it and put it somewhere where you can get to it from the command line. 
  3. Copy the rageagainstthecage-arm5.bin to /data/local/tmp folder on the device:
    adb push rageagainstthecage-arm5.bin /data/local/tmp
    adb shell
  4. Now do a CHMOD and run it:
    chmod 755 /data/local/tmp/rageagainstthecage-arm5.bin
    /data/local/tmp/rageagainstthecage-arm5.bin
  5. Get a copy of Superuser (SU) and busybox. Now unpack it. Do the following:
    mount -o remount,rw /dev/block/mtdblock3 /system

    adb push su /system/xbin
    adb push busybox /system/xbin
    adb push Superuser.apk /system/app
    adb shell

    chown 0.0 /system/xbin/su
    chmod 6755 /system/xbin/su
    chmod 755 /system/xbin/busybox
    chmod 644 /system/app/Superuser.apk

    ln -s /system/xbin/su /system/bin/su
  6. Reboot and redo step 1. Once you get your PC to recognize your phone do the last step.
  7. Got root?
  8. And for the moment of truth, if you haven't bricked your phone yet, time to see if we really have root access. Refer to the screen shot. You are looking for the "#" symbol. You might have to accept a prompt from your phone.
If you got this far, congratulations. You just voided your phone's warranty and rooted your Magnum HD at the same time.

Woot!