[Defy General] antony.ps:
Thanks Quarx, Epsylon3 and maniacc103 for all your hard work in CM7.

** Always start the procedures with 80% - full charge (don't worry if your battery die during the process, you can still go mcgyver =)

** Make a backup of your apk's, There's a lot of programs to do that (File Explorer, AndroZip, AppMonster, etc.). If you want to backup your configurations too, use Titanium Backup.

** If you have any problem, don't blame CyanogenMod Team, Quarx, Epsylon3, the FAQ or whatever. This ROM works, if it's not working for you, it's mostly because you used wrong versions or are doing something wrong. For real bugs, use github **

ALWAYS USE THE RECOMMENDED VERSIONS

ESSENTIAL DOWNLOAD LINKS:

- RSD Lite and Motorola Drivers

- 3.4.2-179-2 CEE DEBLUR

- SuperOneClick 2.1

- http://www.defy-cm.net/tools/SndInitDefy_2.0.apk]Defy 2ndinit 2.0

- CyanogenMod 7.1

- Google Apps

1) What SBF version should I use when flashing CM7.1?

2) How can I install CM7.1?

3) How to update from/to nightly's?

4) My market is not downloading/installing any program. What to do?

5) Flashed CM7.1 (or any other ROM) now i'm stuck at Motorola or CyanogenMod logo. What I have to do?

6) Can I restore my phone to send it to warranty after flashing CM7.1?

7) How to install CM7.1 and keep downgrade-ability? (Froyo or Eclair)

8) Can't connect to my wireless network.

9) I love this ROM, how can I help Quarx and Epsylon?

10) How can I install Defy 2nd Init?

12) Gmail (or any other software) isn't available on market. How can I install it?

13) How can I make GPS work better (be more fast and precise)?

14) How can I install swype in CM7.1?

15) How to overclock/undervolt in CM7.1?

16) My GoogleMaps (or other application that uses OpenGL) is freezing/irresponsive. What can I do?

1) What SBF version should I use when flashing CM7.1?

- You can use whatever Froyo (2.2.x) you want. I'm actually using CEE 3.4.2-179-2 as a base, but you can use SEA or any other.

2) How can I install CM7.1?

- Copy update-cm-7.1.0-11-Defy-signed.zip and gapps-gb-20110828-signed.zip to your SD Card

- Enable USB Debugging

- Root via SuperOneClick

- Reboot

- Install 2ndInit Recovey, go to the app and click "Install 2ndInit Recovery" (use the latest version) button

- Disable USB Debugging

- Reboot, and in Bootmenu select Recovery -> [Custom Recovery] or [Latest Recovery]

- Select "wipe cache partition" then "wipe data/factory reset"

- Select "install zip from sdcard", "choose zip from sdcard", then select "update-cm-7.1.0-11-Defy-signed.zip"

- Select "choose zip from sdcard", then select "gapps-gb-20110828-signed.zip"

** You can install any other patches that you have now, like Swype or GPS Fix **

- Select "+++++Go Back++++++" then "reboot your system now"

** Sometimes, during the first boot after installation, the bootanimation doesn't stop. If you dont see anymore a led activity, remove your battery and reboot

3) How to update from/to nightly's?

- Copy update-cm-7.1.0-11-Defy-signed.zip (or the nightly), gapps-gb-20110828-signed.zip to your SD Card

- Reboot and go to Bootmenu (wait for led turn blue then press Volume Down). Enter Recovery -> Custom Recovery

- Select "wipe cache" then go to "advanced", select "wipe dalvik cache"

** If you have 100% battery, algo in advanced select "wipe battery stats" to calibrate your battery **

- Go back, select "install zip from sdcard", "choose zip from sdcard", then select "update-cm-7.1.0-11-Defy-signed.zip" (or the nightly)

- Select "choose zip from sdcard", then select "gapps-gb-20110828-signed.zip"

4) My market is not downloading/installing any program. What to do?

- Just log in Google Talk

5) Flashed CM7.1 (or any other ROM) now i'm stuck at Motorola or Cyanogen logo. What I have to do?

- Go to Custom Recovery then clear cache. If the problem persists, you can try to wipe dalvik cache (in advanced) too. The next boot will take some time to build dalvik cache again. If you don't have Custom Recovery for some reason, power off your phone, press and hold Volume Down + Power to go to Stock Recovery (only to clear cache/wipe data). Use Volume Up + Volume Down to show the options at Stock Recovery.

- Some people related freeze on the first boot of CM7.1, just remove your battery ans try again.

6) Can I restore my phone to send it to warranty after flashing CM7.1?

- You can in these two situations

1 - You have a full SBF of your original ROM (for carriers that already released 2.2 is very easy to find one)

2 - You have a nandroid backup AND a fixed SBF of the version you need.

For a list of (fixed) SBF's you can check:

SBF - Service Flash - all files + fixed sbf + Bootloaders

[[sbf:defy]] And Developers

7) How to install CM7.1 and keep downgrade-ability? (Froyo or Eclair)

If you don't flash the full SBF, your downgrade-ablility is fine.

Here's the safe steps to install CM7.1 and keep your downgrade-ability:

- Copy nandroid backup of 3.4.2-179-2 CEE to your sdcard. Uncompress it in the folder clockworkmod/backup/ of your sdcard, create this if needed.

- Enable USB Debug

- Root via SuperOneClick

- Disable USB Debugging

- Install Defy 2nd Init

- Reboot to enter Bootmenu, then go to Custom Recovery

- In Custom Recovery, go to "backup and restore", then "Backup". This will take some time, your backup will be at /clockworkmod/backup. Copy it to a safe place.

- Still in recovery, go to "backup and restore", "restore", and select the nandroid backup of 3.4.2-179-2 CEE (not your backup!)

If you have MD5 mismatch error, try to rename the folder of the nandroid to something simple without spaces, like "nand"

- Reboot your system and immediately press and hold Volume Up to enter Bootloader Mode (if you couldn't enter, remove the battery, wait 10s, put it again with Power and Volume Up pressed)

- Flash Fixed SBF of 3.4.2-179-2 CEE via RSD Lite

Now go to question 2 and do all the process to install CM7.1.

If you want to go back to your original ROM

- Disable USB Debuging

- Copy your nandroid backup to your SD Card, put it in /sdcard/clockworkmod/backup (must be a folder with simple name inside backup)

- Reboot phone in Bootmenu (Volume Down when the blue led lights at Motorola logo) then go to Custom Recovery

- Wipe data/factory reset, wipe cache and wipe dalvik cache (in advanced)

- Choose "backup and restore", "restore", and select your eclair nandroid backup. If your backup doesn't show in this screen, is most likely you placed it in the wrong folder.

- Reboot your system and immediately press and hold Volume Up to enter Bootloader Mode.

6. Flash the Fixed SBF of your original ROM. For a list of (fixed) SBF's you can check:

SBF - Service Flash - all files + fixed sbf + Bootloaders

[[sbf:defy]] And Developers

8) Can't connect to my wireless network.

- Tap and hold the SSID of the network and select Forget. Try to configure the SSID again.

9) I love this ROM, how can I help Quarx and Epsylon?

Donate to Quarx

And donate to Epsylon3 (tpruvot)

10) How can I install Defy 2nd Init?

http://www.defy-cm.net/tools/SndInitDefy_2.0.apk

11) Gmail (or any other software) isn't available on market. How can I install it?

- Download MarketEnabler via Market

- Select US Provider (T-Mobile)

- Open Market and search for Gmail or any other software, it will be available now

- Don't forget to select your correct Baseband in Applications => Defy Baseband Switcher

12) How can I make GPS work better?

- Make a backup of your /etc/gps.conf (use a file manager to rename or copy to another place)

- Visit this thread

- Click in the link "XDA Members Click Here" at the final of the post, and search for the correct .zip for your country

- Copy the .zip to your SD Card and reboot in Bootmenu, then flash the zip via Custom Recovery

13) How can I install swype in CM7.1?

- Go to http://beta.swype.com, (create a account if needed), download the Swype Beta and install it

- Open Applications -> Swype Installer and follow the instructions on the screen

14) How to overclock/undervolt in CM7.1?

CM7.1 already comes with 1000/600/300 clock, but if you want to modify these settings or undervolt:

- Reboot and enter Bootmenu

- System -> Overclock

- Set your parameters and select [save] before exit.

Remember that if you experience freezes, reboots and other problems, OC/UV can be the cause. Try to disable in this situation.

Also, DON'T INSTALL SETVSEL!

15) My GoogleMaps (or other application that uses OpenGL) is freezing/irresponsive. What can I do?

Open terminal or adb shell and type these commands:

$ su
# mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
# echo sysctl -w vm.min_free_kbytes=4096 >> /system/etc/install-recovery.sh
# chmod 744 /system/etc/install-recovery.sh
# mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system

I'm a newbie, so any help to complete this FAQ will be welcome =)

And sorry for my english =S

Thanks to everyone that helped me in this FAQ, sending suggestions and fixes.