[Defy General] pjn123:
How to install ROM on Defy for first time

Just installed Jelly Bean on my sister's Defy. Since this forum was so helpful I thought I might contribute a few pointers since there was a few stuff that wasn't documented that good on OTHER sites. I'm not a Android user but had flashed my Nokia N8 numerious times but flashing this little Android phone was more difficult but luckily the rewards was also bigger :D

So this should help you if you haven't installed a custom ROM ever.

Step 1: Tips to root your Motorola Defy (

www freeyourandroid.com/guide/root-motorola-defy

)

This was the easiest part and the guide is pretty straight forward

I Had to select the PSNeuter exploit since the AUTO didn't work for me.

For step 6 just download the Root Checker from Google Play ;) (since you/I didn't know about doing a "adb shell" at this stage #noob)

Step 2: How to prepare phone for installing custom ROM's (

www freeyourandroid.com/guide/motorola-defy-flash-custom-roms-cyanogenmod

)

This was a hard part for me

To send the commands they talk about you must download the Java SDK and the Android SDK (see

www londatiga.net/it/how-to-use-android-adb-command-line-tool/

)

First install the JAVA SDK and then the Android SDK

When you install the Android SDK there will probably be an error that say it can't find Java

To fix this create a "JAVA_HOME" environmental variable (

confluence.atlassian.com/display/DOC/Setting+the+JAVA_HOME+Variable+in+Windows

)

Then back on the freeyourandroid guide, I had a problem that the command can't run the "cp -R /sdcard/bootmenu /data/bootmenu" command (it couldn't find the files on the SDCARD)

To fix this select to USB connection on your phone and change the mode to NONE (Windows shouldn't have access to the SDCARD)

Step 3: How to flash the new ROM (See first post section "I don't have CM10 and I want to install it, how can I do that?")

The guide on post 1 on this thread is very good and you shouldn't have a problem from here on

The only problem was the vague step under "Pre-steps" section: "If this is the first time that you install custom rom (if you have stock froyo) you'll have to do some other things before this procedure. Please search the forum."

What this mean is that you have to install 2ndInit Recovery Installer (see/download it here:

xdaforums.com/showthread.php?t=1032212

Next when you start doing the steps in this part of the guide you'll see that there isn't a "Stable Recovery" option when you're doing it for the first time.

Stable Recovery will be available for your future ROM flashes but for now a "Custom Recovery" is the same thing ;)

Lastly I would just like to highlight that you MUST have all the 3 zip files on your SDCARD before continuing

This means the Froyo Kernel, Latest Gapps and the ROM (all files in ZIP format as you downloaded it)

Remember to test that the ZIP files you downloaded actually works by extracting them to see if they give you any errors. You can delete the extracted files afterwards)

Lastly, after you rebooted you must select "2nd innit" as your boot option to boot Jelly Bean

Hope this helped someone ;)

Thanks for all great people that did all this guides I link to (I cant create url links yet so you have to paste it :( ) and the ROM developers :good: