• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[Guide and FAQ] CM9 / Android ICS for Defy

Search This thread

sumeshpremraj

Senior Member
Nov 12, 2011
85
55
Bangalore
cmrabbit.png


This is an FAQ/tips/troubleshooting thread for the CM9 ICS AOSP ROM being developed by epsylon and quarx. Many thanks to the devs for spending time and effort to bring us ICS goodness. Defy devs totally rock, we have a stable working ROM within weeks of the drop. If you can, donate a few bucks to the devs for their work and to encourage them (donate links and details at the end of this post).

Do not post bug reports here - use this thread for it instead.

GUIDELINES:
Know fully well what you are doing: this is a pre-alpha ROM, very early, and does not include much of device-specific optimizations. It might be buggy, battery life might not be great, there may be broken apps and random force-closes. If you are comfortable (or excited to) handle all the above, proceed. Else, wait for a more stable beta or RC version of ICS before trying it out.

Start with a full battery charge.

Some things might be referred to, without being given proper explanation. I expect that you know them already. If not, use either XDA search bar on top or use Google. This is because including explanations for everything will make this FAQ lengthy and less readable.

If you are completely new to custom ROMs, rooting etc, read up and educate yourselves(I did 3-4 days of reading before I even got my Defy!) well so you don't make costly mistakes. Links are provided at the end of the post.

And of course, the standard disclaimer applies: the ROM developers, me and others on this thread are not responsible if you brick or damage your phone. All steps will be posted after personally testing, though, so if you follow them properly, you will be fine.


STEPS TO INSTALL ICS/CM9:
Prerequisites: Defy, rooted and with 2nd init installed.

Backup your apps using Titanium Backup, Root Explorer, Astro File Manager or similar (to restore to the ICS ROM you will flash).
Get the latest CM9 zip file (links at the end of this post).
Copy into your SD card.
Disable USB debugging.
Reboot into recovery (switch on the phone and hit volume - button when the LED turns blue; CM7 and similar custom ROM users can press and hold power, select recovery).
Make a backup of your current ROM.
Do a factory reset/wipe data, then install the CM9 zip file.
Immediately after, flash this 2.3 kernel zip.
Flash GApps zip file.
Clear Dalvik Cache (this is IMPORTANT!).
Reboot. It takes some time for Dalvik Cache to be built, be patient.

While it is possible to flash CM9 on top of CM7, many users have reported hangups and slowdowns. Also, this is a pre-alpha (very early!) build, so do not take any chances, do a fresh install.

STEPS TO UPDATE ICS NIGHTLY:
If you flashed CM9 already, and want to update to a newer nightly (which comes out almost daily), follow these steps:

Download and copy the CM9 zip file to your SD card.
Ensure that USB debugging is disabled.
Reboot and enter recovery.
Wipe cache(NOT wipe data/factory reset).
Go to advanced > wipe dalvik cache.
Install the CM9 zip file in your SD card.
Reboot.

Note: Some newer nightlies might be less stable than the previous one, for example, I found 08/12 to be more stable than 09/12, and had to go back to 09/12. Keep this in mind when updating.

FAQ:
Q: I installed 08/12 build(or newer), but it gets stuck at the CM boot logo. What do I do?
07/12 contains the required 2.3 kernel. 08/12 and newer do not. If you have installed 08/12 or newer, enter recovery and flash the 2.3 kernel, then reboot. This applies only to Defy owners; Defy+ owners already have 2.3 stock ROM and kernel, so they do not need to apply the kernel.

In fact, the kernel zip for Defy owners is the kernel from Defy+.

Q: I installed ICS. How do I go back to stock 2.2/2.3 OR CM7 or other custom ROM?
Use either a full sbf of stock rom (flash with rsdlite) or a fixed SBF+nandroid backup to go back to stock. Wipe data, flash the fixed SBF from recovery, then restore its corresponding nandroid. Now, clear dalvik cache and reboot.

For CM7, wipe data, install CM7 zip file (which must be copied to SD before booting to recovery), then restore the nandroid that you have. Wipe dalvik cache and reboot.

If you do not have a nandroid backup, and/or use other software like Titanium Backup, flash the stock or custom ROM, clear dalvik cache, then reboot and restore using the specific app.

Q: Syncing does not work.
Reflash Gapps in recoveryy.

Q: I see only a Defy+ zip file in the download server, is it safe to use it on Defy too?
Yes, the 'Defy+' in the filename merely indicates that it should be used with the Defy+ GB kernel. It can be used safely with both Defy and Defy+.

Downloads:
Cyanogenmod 9 ICS builds

GApps zip file (for builds 20/12 and newer)
GApps zip file (for builds 13/12 and older)

CM9 2.3 kernel
CM7 2.2 kernel (to go back to Froyo etc. if you need)

Useful links:
Understanding Android mods: rooting, custom ROMs etc. (also included on the page are instructions for rooting, and unbricking Defy, among other things).

Donate:
All the hard work is being done by the devs, Epsylon and quarx, and they deserve any donation you can make.. If you can donate, send them a few bucks, it helps encourage them, and is a small reward for the CM9 goodness they are bringing to our beloved Defys.

Epsylon3:
PayPal: [email protected]
http://forum.xda-developers.com/donatetome.php?u=803131

Quarx:
Moneybookers: [email protected]
WebMoney: USD:Z319203344726
Yandex money: 4100188263979


If you found this thread useful, please consider hitting the thanks button. Of course, it does not hurt if you donate to me any spare change left over after donating to devs ;)

Suggestions for improvement, critique, new questions and tips are always welcome.
 
Last edited:

hackergnome

Senior Member
Apr 21, 2011
2,610
869
Mumbai
Nice!
Add this...
If user is having problem with Google sync,Calender sync...just reflash gapos.zip

Sent from my MB526 using xda premium
 

sumeshpremraj

Senior Member
Nov 12, 2011
85
55
Bangalore
@nogoodusername: thanks, and I will add your tip.
@maxxxxx: yes, you can flash full sbf of your stock rom, I w go back toill add that. Though I reckon most won't go back to stock, but cm7 or the like!
 

abysstheking

Senior Member
Oct 11, 2011
265
28
New Delhi
u have mentioned that we are supposed to flash 2.3's kernel, u mean we have to flash it on our defy and not defy+ [although after thinking about it i feel stupid asking this coz why would you flash 2.3's kernel on 2.3, but still asking coz i dun wana end up doing something foolish]...or do u mean we have to flash the kernal ONLY if we use 08/12 or newer cm?
thanks for the help.. :)
 

manoloto

Member
Sep 27, 2009
41
4
I have Defy green lens. As I can install CM9? So that, 2init?Please details more the process for not expert users as I. Many thanks again.
 
Last edited:

sumeshpremraj

Senior Member
Nov 12, 2011
85
55
Bangalore
Camera won't work

I have Defy green lens. As I can install CM9? So that, 2init?Please details more the process for not expert users as I. Many thanks again.

Your camera will not work, everything else would work fine. This is an early build, devs are trying to make green lens camera work. They will get it done sooner or later, like they did on CM7.
 
  • Like
Reactions: manoloto

NDragger

Member
Aug 11, 2011
48
3
which one to download ?

Nightly Server (EU/FR)
Nightly Mirror & ICS (EU/RO)
Nightly Mirror & ICS (EU/LT)
ICS Nightly Mirror (AM/BR)
 

esok44

Senior Member
Feb 1, 2011
373
64
Hope i didnt birck my phone completely

First: the ics builds were...
lets say...
AAWWEEESSOMMEEE...
Second:
My Problem:
Tried to get back to cm7 with a nand backup.
didn't work out, so stupid me restored the boot.img, caused a bootloop...
now i'm not able to get my phone to start.

this is horrible...
hope i'll find a way...

maybe you could help me...
 

sumeshpremraj

Senior Member
Nov 12, 2011
85
55
Bangalore
Read the post carefully, the first Q answers precisely what you are looking for. You need to flash the cm7 kernel and reboot, it should work fine.
 

NDragger

Member
Aug 11, 2011
48
3
flashed successfully :)
but no options to import contacts from SIM CARD :(
yeah camera doesn't work but who need it ;)
 

saneToMore

Senior Member
Dec 2, 2011
67
5
Cali
First: the ics builds were...
lets say...
AAWWEEESSOMMEEE...
Second:
My Problem:
Tried to get back to cm7 with a nand backup.
didn't work out, so stupid me restored the boot.img, caused a bootloop...
now i'm not able to get my phone to start.

this is horrible...
hope i'll find a way...

maybe you could help me...

use rsd lite and go back to froyo....
 

suttaroom

Senior Member
Aug 7, 2011
256
85
Shuweikh, KU
Hi to all.. Currently i am on defy+ 2.3.4 nandroid backup walter79 ROM - and would like to install CM9 seeing that everything apart from the camera works..
also i currently do not have internet access.. so reinstalling the bootmenu will not be possible.
so::
1- do i just enter 2init,wipe data, clear cache and dalvik and flash 2.3 kernel?
2- do i flash froyo ,root and then step 1?
3- is there anything else which i have to do??
4-will i be on defy+ and no chance of downgrade if i install CM9 ??

Pl help i really want to get on CM9..

thanks again
 

Top Liked Posts

  • There are no posts matching your filters.
  • 46
    cmrabbit.png


    This is an FAQ/tips/troubleshooting thread for the CM9 ICS AOSP ROM being developed by epsylon and quarx. Many thanks to the devs for spending time and effort to bring us ICS goodness. Defy devs totally rock, we have a stable working ROM within weeks of the drop. If you can, donate a few bucks to the devs for their work and to encourage them (donate links and details at the end of this post).

    Do not post bug reports here - use this thread for it instead.

    GUIDELINES:
    Know fully well what you are doing: this is a pre-alpha ROM, very early, and does not include much of device-specific optimizations. It might be buggy, battery life might not be great, there may be broken apps and random force-closes. If you are comfortable (or excited to) handle all the above, proceed. Else, wait for a more stable beta or RC version of ICS before trying it out.

    Start with a full battery charge.

    Some things might be referred to, without being given proper explanation. I expect that you know them already. If not, use either XDA search bar on top or use Google. This is because including explanations for everything will make this FAQ lengthy and less readable.

    If you are completely new to custom ROMs, rooting etc, read up and educate yourselves(I did 3-4 days of reading before I even got my Defy!) well so you don't make costly mistakes. Links are provided at the end of the post.

    And of course, the standard disclaimer applies: the ROM developers, me and others on this thread are not responsible if you brick or damage your phone. All steps will be posted after personally testing, though, so if you follow them properly, you will be fine.


    STEPS TO INSTALL ICS/CM9:
    Prerequisites: Defy, rooted and with 2nd init installed.

    Backup your apps using Titanium Backup, Root Explorer, Astro File Manager or similar (to restore to the ICS ROM you will flash).
    Get the latest CM9 zip file (links at the end of this post).
    Copy into your SD card.
    Disable USB debugging.
    Reboot into recovery (switch on the phone and hit volume - button when the LED turns blue; CM7 and similar custom ROM users can press and hold power, select recovery).
    Make a backup of your current ROM.
    Do a factory reset/wipe data, then install the CM9 zip file.
    Immediately after, flash this 2.3 kernel zip.
    Flash GApps zip file.
    Clear Dalvik Cache (this is IMPORTANT!).
    Reboot. It takes some time for Dalvik Cache to be built, be patient.

    While it is possible to flash CM9 on top of CM7, many users have reported hangups and slowdowns. Also, this is a pre-alpha (very early!) build, so do not take any chances, do a fresh install.

    STEPS TO UPDATE ICS NIGHTLY:
    If you flashed CM9 already, and want to update to a newer nightly (which comes out almost daily), follow these steps:

    Download and copy the CM9 zip file to your SD card.
    Ensure that USB debugging is disabled.
    Reboot and enter recovery.
    Wipe cache(NOT wipe data/factory reset).
    Go to advanced > wipe dalvik cache.
    Install the CM9 zip file in your SD card.
    Reboot.

    Note: Some newer nightlies might be less stable than the previous one, for example, I found 08/12 to be more stable than 09/12, and had to go back to 09/12. Keep this in mind when updating.

    FAQ:
    Q: I installed 08/12 build(or newer), but it gets stuck at the CM boot logo. What do I do?
    07/12 contains the required 2.3 kernel. 08/12 and newer do not. If you have installed 08/12 or newer, enter recovery and flash the 2.3 kernel, then reboot. This applies only to Defy owners; Defy+ owners already have 2.3 stock ROM and kernel, so they do not need to apply the kernel.

    In fact, the kernel zip for Defy owners is the kernel from Defy+.

    Q: I installed ICS. How do I go back to stock 2.2/2.3 OR CM7 or other custom ROM?
    Use either a full sbf of stock rom (flash with rsdlite) or a fixed SBF+nandroid backup to go back to stock. Wipe data, flash the fixed SBF from recovery, then restore its corresponding nandroid. Now, clear dalvik cache and reboot.

    For CM7, wipe data, install CM7 zip file (which must be copied to SD before booting to recovery), then restore the nandroid that you have. Wipe dalvik cache and reboot.

    If you do not have a nandroid backup, and/or use other software like Titanium Backup, flash the stock or custom ROM, clear dalvik cache, then reboot and restore using the specific app.

    Q: Syncing does not work.
    Reflash Gapps in recoveryy.

    Q: I see only a Defy+ zip file in the download server, is it safe to use it on Defy too?
    Yes, the 'Defy+' in the filename merely indicates that it should be used with the Defy+ GB kernel. It can be used safely with both Defy and Defy+.

    Downloads:
    Cyanogenmod 9 ICS builds

    GApps zip file (for builds 20/12 and newer)
    GApps zip file (for builds 13/12 and older)

    CM9 2.3 kernel
    CM7 2.2 kernel (to go back to Froyo etc. if you need)

    Useful links:
    Understanding Android mods: rooting, custom ROMs etc. (also included on the page are instructions for rooting, and unbricking Defy, among other things).

    Donate:
    All the hard work is being done by the devs, Epsylon and quarx, and they deserve any donation you can make.. If you can donate, send them a few bucks, it helps encourage them, and is a small reward for the CM9 goodness they are bringing to our beloved Defys.

    Epsylon3:
    PayPal: [email protected]
    http://forum.xda-developers.com/donatetome.php?u=803131

    Quarx:
    Moneybookers: [email protected]
    WebMoney: USD:Z319203344726
    Yandex money: 4100188263979


    If you found this thread useful, please consider hitting the thanks button. Of course, it does not hurt if you donate to me any spare change left over after donating to devs ;)

    Suggestions for improvement, critique, new questions and tips are always welcome.
    1
    Camera won't work

    I have Defy green lens. As I can install CM9? So that, 2init?Please details more the process for not expert users as I. Many thanks again.

    Your camera will not work, everything else would work fine. This is an early build, devs are trying to make green lens camera work. They will get it done sooner or later, like they did on CM7.
    1
    Hi to all.. Currently i am on defy+ 2.3.4 nandroid backup walter79 ROM - and would like to install CM9 seeing that everything apart from the camera works..
    also i currently do not have internet access.. so reinstalling the bootmenu will not be possible.
    so::
    1- do i just enter 2init,wipe data, clear cache and dalvik and flash 2.3 kernel?
    2- do i flash froyo ,root and then step 1?
    3- is there anything else which i have to do??
    4-will i be on defy+ and no chance of downgrade if i install CM9 ??

    Pl help i really want to get on CM9..

    thanks again

    this is what I do whit my "old" defy coming from a miui mod (wajkiui):
    1- run 2init.
    2- wipe factory (data,cache)
    3- flash the CM9 zip.
    4- flash the CM9 kenel (I think you already have this kernel, because is defy+, but not sure. I believe you might not have problem flashing CM9 kernel)
    5- flash gapps (optional)
    6- wipe cahe, dalvik cache.
    7- reboot and wait

    if u don´t flash kernel and stock in M logo, flash it.
    Good luck
    1
    I want my screen off crt animation !!!!!!!!!!!!
    1
    According to the Guide and FAQ the ICS9 can be flashed onto green lens Defy if I flash the GB Kernel.
    - But is this Kernel compatible with the green lens camera?
    Other threads suggest flashing the Quarx version with Froyo Kernel.
    - Are both correct?

    Both are correct, but camera would not work on either. Epsylon is working on camera drivers for the green lens on GB kernel, but it will take time.