[Defy General] maja-k:
Finally MIUI on my Defy+!!!

[edit] DISCLAIMER

This post may or may not help someone that run into simliar problems, but is not written in a clear guide-like manner. I wrote it in a tired state-of-mind, trying to make sense of the long process of getting MIUI on my Defy+. Basically you have to be familiar with trying out different ROMs - and experience the same confusion as I did with Defy+/Defy, Froyo/GB and error message during cache-wiping - in order for this post to work for you. If I was more of a pro I could probably convert this experience into an explanatory post easily found by searching the forums...

OK, in case someone else has been stuck like me, and given up, when it seems like there's a new obstacle everytime you try to get a custom ROM on your Defy+, here's my story.

It tooks me 6 days(!)

I used to change ROMs back and forth on my SGS2 and it was a breeze.

As I see it now, I have made two central mistakes during this process.

Mistake#1 was assuming I had Defy, and NOT Defy+

Mistake#2 was assuming that my kernel did not matter. (All the ROMs I flashed on my SGS2 included a kernel.

Let's go from the beginning.

ROOTING

1. DEFY OR DEFY+ ?

I found out I actually had a Defy+ and the corresponding Bootloader7 (BL7) by posting info from "About phone" in this thread.

Model number MB526

Android version 2.3.6

Kernel 2.6.32.9-gbdd614e

hudsoncm@il93lnxdroid54 #1

User ASHOKVARATHAN pointed out that it looked like BL7.

2. I went to this thread: http://xdaforums.com/showthread.php?t=1889325

There, user Tapajyoti listed which firmware-versions meant that your phone has BL7. I think I found the firmware number in the same place as the model number.

So I followed this procedure, meaning installing RSD Lite, and usb- drivers and pushing what I think is a slightly different stock os to the phone, and some new firmware.

INSTALLING A BOOTLOADER/RECOVERY-THING

3. I tried with the bootloader app, but my success in the end depended on sndinit

I downloaded a file called SndInitDefy_2.3.apk, I don't remember where I got it. (There has been a lot of trials and mishapes during these days.)

Installed through ES File Manager

This basically gave me a bootloader with recovery and, as would later prove important, adb tool!

FIXING A WEIRD PROBLEM

4. When I tried to wipe cache I got the following error: " E:Can't make /tmp/update_binary"

Now, there might be a faster way than this to solve it, but I followed the advice from user Irem in this thread: http://xdaforums.com/showthread.php?t=1540372

This advice was to fix this problem through adb shell.

Now, I already had adb shell through the android-sdk which I had installed during my first attempt at rooting.

Installing the android toolkitcan be done through this guide:

http://wiki.cyanogenmod.com/wiki/Howto:_Install_the_Android_SDK

I couldn't get the usb-driver they provided to work, but it actually worked fine with the MotoHelper_2.1.40_Driver_5.5.0 that I got somewhere.

When you have the sdk and a proper usb driver you can communicate with your phone through adb shell.

So in the sndinit boot menu, go to tools and adb daemon

On your pc open cmd, and run

adb shell

rm /tmp

mkdir /tmp

This has to be done in the same session as your are going to install your new zip-file with the ROM.

(I know I am not super clear, I guess I am expecting you to already know stuff about flashing...)

FINALLY FLASHING

5. For flashing I used this stable BG MIUI-mod

http://xdaforums.com/showthread.php?t=1161110

AND MADE SURE I HAD THE ONE MADE FOR DEFY+ the "plus" is apparantly important somehow

And I think this is because flashing a defy-non-plus is done with a froyo kernel and flashing a defy-plus is done on top of a GB-kernel already there...

So, boring story... but now I am happily flicking through the smooth MIUI interface...