[General Questions and Answers] Prism 2:
Testing Recovery Partition

I've made

a regular recovery.img using "dd if=/dev/block/mmcblk0p13 of=/sdcard/recovery.img" to make a copy of the recovery partition

a test recovery.img that is the same in every way to the original recovery.img except that all the images under /res/images is rotated 90 degrees. You can see the difference yourself by looking in res.rar attached below.

a clockworkmod recovery image from the clockworkmod recovery builder website

These images can be found attached below:

recovery.rar = original Huawei recovery image

recovery-test.rar = edited recovery image

recovery.img = clockworkmod recovery automatic builder image from http://jenkins.cyanogenmod.com/job/recovery/52069/

Unfortunately, I cannot test this image myself, because I do not want to unlock my bootloader yet.

If anyone with a rooted, unlocked Huawei Prism 2 is interested in helping to further the development of recovery roms for the Prism 2, I have made 3 tests to see if

the recovery partition is located in /dev/block/mmcblk0p13

the command "fastboot boot recovery.img", which we will be using extensively, can be used to boot the specified image file

the Clockworkmod Recovery image made from automated CWM porter successfully boots

The files you will need are provided below. I've also given instructions to the best of my ability without actually having done this.

To test if the recovery partition is located in /dev/block/mmcblk0p13:

Go into fastboot mode (step 2f in post #1 of http://xdaforums.com/showthread.php?t=2546455)

Download the recovery.rar file below and extract it to get recovery.img.

Open up terminal

change directory to where you extracted recovery.img

type

fastboot boot recovery.img

See if phone boot into recovery

Next we test an edited recovery.img to see if "fastboot boot recovery.img" is truly letting us boot the image we've specified.

To find out, we're going to use the edited recovery.img and do pretty much the same thing except now with recovery-test.img:

Go into fastboot mode (step 2f in post #1 of http://xdaforums.com/showthread.php?t=2546455)

Download the recovery-test.rar file below and extract it to get recovery-test.img.

Open up terminal

change directory to where you extracted recovery-test.img

type

fastboot boot recovery-test.img

See if any pictures are upside down (the battery symbol, numbers, or the android robot)

After completing the 2 tasks above, and verifying that we have a valid original recovery.img and that we can use

fastboot boot recovery.img

to boot a specific image file, we can start testing a very, very, very EXPERIMENTAL Clockworkmod Recovery image using fastboot. I would not rely on this image to make backups and I honestly do not know what kind of damage it might inflict on the phone so make a backup of everything before starting.

output from CWM automatic recovery builder: http://jenkins.cyanogenmod.com/job/recovery/52069/

To test if this CWM recovery image will boot and have the right partition layout:

Go into fastboot mode (step 2f in post #1 of http://xdaforums.com/showthread.php?t=2546455)

Download the recovery.img.

Open up terminal

change directory to where you downloaded recovery.img

type

fastboot boot recovery.img

If the cwm recovery image boots, type

mount

See if /sdcard is mounted to the right partition)

If you're feeling lucky, make a backup to /sdcard **this step can cause damage to phone if /sdcard is mounted to the wrong partition**

Thanks for volunteering and bringing the Huawei Prism 2 one step closer to custom roms.