yashsingh1/xdaforums huggingface dataset:
[Defy General] nepotu:
With RSD you can flash only SBF files (official or leaked) which must be signed by Motorola otherwise it won't work, while using the 2nd init module and CWM you can install also other ROM's (like CM7, MIUI ...), but you cannot change the kernel, unless you have a Moto signed version.

In addition you can make full backups of your system and apps using CWM, but if you screw something bad (like messing with 2nd init) you won't be able to revive you Defy without RSD.

So, to conclude: you generally stick to CWM and use RSD when required.
[Defy General] Stenz28:
Amen to that, brother!

I had 2ndinit and also Rom Manager with CWM on my flashed defy. Needless to say my system got stuck in a loop between the two. I read many, many, many posts to find that the answer is to have one or the other installed on the defy, not both!

I loaded the Deblur Cee 2.3.4-179 with RSD and flased with CM7... my Quadrant speed averages 2080, which puts it up there with some of the bigger boys!

Ciao

PS.. A BIG thanks to all of the posts and especially these [GUIDE] threads!
[Defy General] jassi32:
nEW TO deFY ----need assistance ......

i WaNt TO GO FOR cm7 without voiding my warranty claims....

can anybody help ?

let me know how to do it with full backup, so that i may get back to my stock rom

i am having 2.2.2 froyo stock rom ......

please provide me with steps to the extent possible ........

thank you very much .....:):):)
[Defy General] haristm:
when i try to restore the backup given here.. it showing an error that "MD5 mismatch"

plz help

---------- Post added at 03:03 PM ---------- Previous post was at 02:53 PM ----------

when i try to restore the backup given here.. it showing an error that "MD5 mismatch"

plz help......
[Defy General] labsin:
Don't use rom manager. If installing 2ndInit, follow instructions carefully. Now you can only flash a sbf to revive your phone.

Always make back-up of apps now and than and certainly before you change anything important in Android. Use titanium backup. Then going from scratch is less painful.
[Defy General] alexgv99:
Hi guys...

Could anyone explain to me, what is the follow sufix in custom roms:

DEODEX[ED]

DEBLUR

Thans in advance.
[Defy General] shgu0132:
A very useful and informative post ... I got my phone to work quite easily. Thanks a million!!
[Defy General] shgu0132:
Those who are interested in cm7 should read the FAQs here:

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

Especially if you're interested in keeping the downgradability
[Defy General] shgu0132:
I must say this guide is ULTIMATE and very well researched - PLEASE FOLLOW THE STEPS MENTIONED HERE VERY CAREFULLY AND YOU WILL KNOW!!! I can say it from my experience after committing a lot mistakes!!!!
[Defy General] shgu0132:
Wooo hoooooo I was finally able to get my phone back in shape - thank you everyone!!!
[Defy General] dianic:
Thanks for the best Defy guide I have come across so far. I have been absorbing info from this amazing place for quite some time but I am getting stuck... So here is the first post. Like jebrew above, I went to a GB 2.3.3 ROM and was stuck. So I performed the downgrade as described, and reinvented the wheel along the way. Thank you Zephyrot, for a total newb like me, you describe it pretty well.

After the downgrade I am planning on MIUI. However, I seem to be stuck. As above, I tried 2nd init, and ended in loop red logo reboot. Re-did everything, and installed GoAPK Recovery as described above. There are two versions, one 1218-0326 out Aug 31st ran but buttons wouldnt install, so tried the older one, 1216-2022, out Jan 10th, which worked. However it threw me back at the red logo loop.

Any thoughts? After the last flash of the fixed SBF named firmware in Zephyrs Guide, I need to root, and then get into some sort of system recovery.

I would also appreciate if someone could point me towards a guide to install MIUI. Zephyr any thoughts on how to do so after the downgrade? Is it a matter of running the zip form the sd?

Thanks everyone, sorry for the long (first) post.
[Defy General] Zephyrot:
hrm, you might wanna try this:

Right after rooting(**typo**) installing GoAPK Recovery, you turn off the phone and you must immediately enter the custom recovery, I think if you let it boot up you will end in a boot loop.

So install the GoAPK Recovery -> Turn off Phone -> Turn on -> immediately enter custom recovery, then continue with the guide steps.

Keep in mind this is the second part of how to go to CM7 after having a stock 2.3, you first need to do the first part, which is downgrading to a Froyo rom.

Any special versions needed for the steps are linked, so use exactly those versions attached and it should work :)

gl
[Defy General] dianic:
Thanks will try this. I have already succeeded in the downgrade, i was at 2.2, but it was the next step that was killing me.

You wrote Root with GoAPK recovery. I root with Superoneclick, and install the System recovery from GoAPK. Is this correct?

One last question. CM7 or MIUI? Just an opinion, no need to open a can of worms. I see you are partial to CM7 - any particular reason?

Thanks again for the guide, if only I had come across it a month ago when I went to GB. Thought I could live without a camera but it is annoying me. Excellent work.
[Defy General] ursoouindio:
That is a good question. I would like to be sure of what those mean as well.
[Defy General] twa_priv:
Deblurred means all the stock motoblur stuff removed. For Deodexed see http://www.addictivetips.com/mobile/what-is-odex-and-deodex-in-android-complete-guide/
[Defy General] Zephyrot:
Ooops! sorry, typo there hehe, meant install GoAPK Recovery.

I've been partial with CM7 cause I think it just insanely fast, and I kind of hate the iPhone interface :) I know I can change UI interface and stuff, but is still too "iphoned" for my taste.

I not only find CM7 amazing, but is also Open Source while MIUI isn't :)

Trying to explain what DEODEX/ODEX and Zipalign is beyond the scope of thise guide I think. I find the explanation of those terms a bit too "tech" for a beginner's guide.

I'm trying to keep it as simple ad possible so people without Android knowledge can mod their Defy's and have some basic understanding of what they are doing :)

Anyways, you can find the info on the link provided above, I just read it and is very good.
[Defy General] dianic:
I think things just got worse.

Installed GoAPK, and everything worked great. Flashed the miui latest zip for defy and got stuck with red Moto logo.

So back I went to step one. Began the downgrade process, installed the tweaked eclair, rooted, and installed 2nd init. Trying to restore the nandroid you have on the downgrade process, I get stuck on a boot loop of the white Moto logo of the eclair. Not the red.

I even tried restoring a backup I took before I ran miuiandroid, and that also gives me a looping white moto logo when it should be red.

What am I doing wrong? Its driving me nuts! Install the first downgrade rom, root, install 2nd init. Reboot twice. In the second init menu I select the default to be normal boot. Restore the nandroid you have supplied. White moto loop!

Searching around for the past few hours I did come across another recent post that it should be installed with 2nd init (and not rom manager). But I cant get to that step.

Any thoughts?
[Defy General] Zephyrot:
I'm afraid I really dont know what could be happening since I have not tested it with MIUI, only CM7.

Just start from the beginning and Flash the SBF.. and follow each step :) maybe you are ignoring any of them?
[Defy General] dianic:
nah. have done them so many times...

I think I will try starting from the GB2.3.3. which I started with in the first place. Lets see. will keep you posted.

---------- Post added at 10:53 AM ---------- Previous post was at 10:04 AM ----------

I am having another go at it. It seems that after the nandroid restore, cleaning data and caches, I installed the sbf called firmware, and it works.

I have been rooting with superoneclick 2.1.1 and I was reading the instructions for CM7 it mentions to root with 1.7. Any reason? Also I noticed that when superoneclick tries to install busybox, I get a bunch of messages that phone is out of space and I think it doesnt install it. Thoughts?
[Defy General] Zephyrot:
Yeah there is a difference, every version of SuperOneClick uses differents methods for rooting. Its the same algorithm but tweaked a bit on each version so it support new/different phones, etc.

Might wanna use the recommended SuperOneClick version for every step on the guide, and when it asks to install busy box, say no, go to the market and download the Busybox Installer, and install it from there, it might work that way :)

Remember to reboot your phone as soon as you root it.
[Defy General] spyki007:
guys i'm new to defy.........

got a doubt.........

is the version listed in first page "CG Version 5: SBF 4.5.0 / 4.5.1 (Gingerbread)" official to defy or defy+.........

i want to install it on defy........ can i get that to install on my phone..........???

thnx..............

plz help.......!!!
[Defy General] labsin:
Don't install it! Yes it is 'official' it's a beta rom for the defy that is leaked. There is also a rom from the Defy+. Bouth work on the Defy. If you got a red lens at least. If you got a green lense, you can't use the camera.

But don't flash the sbf in RDS as you can't go back to Froyo to claim waranty. There are work-around's for these problems. Look up in dev. tread. Search is your friend.
[Defy General] alexgv99:
Thank you TWA_PRIV. I read the article and I could finally understand what those terms mean.
[Defy General] Stenz28:
Just looking at different threads of people having boot problems. I had the same problem with the phone getting stuck after installing the CM7 (or whichever) .zip file.

The thing I have found is this.

If you have 2nd init and Rom Manager loaded you will get stuck in an infinite loop! Once I removed 2ndinit and just used Rom Manager I had no problems.

This is what I do for good install of CM7:

1. Flash phone with 179 CEE deblur.

2. Root with Superoneclick.

3. Boot phone and installed Rom Manager.

4. Open Rom Manager, click on Flash Clockworkmod recovery. Choose Defy and say "Yes" you have your own (even though you don't) and choose 3.x.

5 In Rom Manager choose "Backup Current Rom". Give it a name like vanilla179 or whatever. It will now be in the Clockworkmod recovery folder ready for use as a recovery.

6. Download CM7 using Rom Manager or computer.

7. Put the CM7.zip file on your sd card.

8. In Rom Manager choose install zip file.

9. In Recovery choose Advanced/Wipe Davlik cache. Return to menu

10. Choose Wipe Cache.

11. Choose Install zip file and pick the correct zip.

12. Let it install... when it's done choose reboot and you should have CM7 on your phone. Then initial boot may take 5 minutes and the logo will be dim.

13. Go to Rom Manager and make a backup of your CM7!

If you make changes that bork the phone or you don't like you can just go to Rom Manager and choose recovery, pick your file, wipe davlik and "TADA" you're back to the beginning.

Also if you want to try different Roms you can just load them up and try them. As long as you can get to clockwork recovery you can re-install any of your backed-up roms.

I have a few rom backups.

CEE179_Initial

CM7v1.5_Initial

CM7v1.5_Loaded (all my apps loaded like birds, google sky, youtube, etc.)

CM7v1.5_110903 (the same file as above but with the 110903 nightly installed)

Wheew! I was just going to say keep 2ndinit and Rom Manager away from each other and got long winded!

Ciao
[Defy General] Zephyrot:
That has been said a few times in the thread and the forums :)

You can not have 2nd Init and Rom manager together, that's why all the guide is made using only 2nd Init.:)
[Defy General] free2live:
hey zephyrot. i've flashed shadow 128 full sbf . i am trying to go to another rom but unfortunately i can't do it.i want to use walter's ms2ginger. could u help please?
[Defy General] bond_bhai:
One question - Most of the Launchers like ADW Launcher, CM7 Mod (i guess this one has ADW as well), LiquidArc atc have Hard "Home" button disabled. As in, Stock ROMs usually gives the list of Apps installed whereas the other just go to "Home" Screen. Any fix for this? ProLauncher has this i guess, but can it be changed in the others?
[Defy General] labsin:
Go to adw options. There are options to change home-button behavior.
[Defy General] shgu0132:
I applied the below fix as mentioned in your guide. Now I've installed CM7 but the phone memory is considerably less - from 1.3 GB to 128 MB. Is there any fix for it? I've done data / cache wipe and factory reset.

How to fix it:

Download this SBF and Flash it

Root your Phone

Download 2nd Init 1.4.2 and Install ClockworkMod Recovery

Download and install this Nandroid Backup

Enter Recovery, Wipe Data/Cache

After wiping, turn off your phone

Turn it on and get immediately into Bootloader mode

Flash this Fixed SBF

Delete Data/Cache again and reboot.
[Defy General] Zephyrot:
That happens when there is a corrupted data file in /data partition, there are other solutions in the forums to this issue... the one I know is doing a complete wipe from Stock Recovery.
[Defy General] bond_bhai:
I got these suggestions -

a. Check if you have right baseband.

b. Use apps like JuiceDefender etc or manual to turn off data/wifi when not in use.

b. Battery Calibration

c. Check CPU settings - Check this thread for more details: http://xdaforums.com/showthread.php?t=898036.

Looks like there are quite a few users facing this issue. Any other thoughts guys?
[Defy General] jassi32:
hey thanks:) but i have tried the above, i clocked to default 800 mhz a day ago , same behavior .....

hey do have answer to my 2nd question ? its seems more important

2. whenever i play any game like nfs shift, the screen turns off automatically after 5-10 sec but this didn't happened during stock rom froyo 2.2.2......
[Defy General] dianic:
FINALLY GOT IT! Thanks Zephyrot for your helpful insight and posts.

Note that I did use superoneclick 2.1.1.

When I installed CM7, I got stuck on the CM7 logo, and felt like "here we go again" but I noticed that I had the blue led and green led at startup which means I had access to Recovery. I wiped everything and on the next reboot it worked.

It has been a hard process, took me several days. Must have rebooted maybe 100 times with all the flashing and rooting etc. If only I had read this guide before flashing 2.3.4. Oh well. Thanks again everyone, keep up the good work.

Now I need to read up on CM7...
[Defy General] Zephyrot:
Glad to see you got it all working :)

Thats just cause CM7 reports the Display consumption different than stock. I get overall more run-time on CM7 than I did back on stock rom.
[Defy General] spyki007:
guys could anyone tell me what is the best(till date) rom and best kernel for defy.........!!! :):):)
[Defy General] shgu0132:
I downgraded to the eclair rom with cg ver 5 and installed the matching nandroid backup. Internal memory is back to 1.3 gb now.

What would be the best ginger bread rom for mb525? I want to upgrade to cm7.
[Defy General] (c)ollen:
Nice guide, especially if your stuck with 2.3.4 version (like me)

isn't there anyway to get around this CG version problem ?

like flashing the bootloader back to cg version 2 ?

(i assume it's the bootloader that check's the CG version.)

it would be really nice if i can flash stock-roms again. (downgrade)

without the need of fixed-sfb's.

Thx, Collen
[Defy General] luciferps:
Please expain what is barebones
[Defy General] Zephyrot:
You just cant flash that. First issue would be the eFuse. If you manage to get past that, then is the Signature problem. The important partitions inside a SBF are Signed by a secret Motorola Code, so you cant modify them in any way.

Yet another issue would be the bootloader itself, is not possible to flash since it is locked. There is no access to the guts of the Android system in the Defy.
[Defy General] bond_bhai:
This, i guess - http://xdaforums.com/showthread.php?t=977989
[Defy General] shgu0132:
Found something useful here (cg versions and depacking and repacking sbf)

http://xdaforums.com/showpost.php?p=11195138

http://and-developers.com/sbf

USE AT YOUR OWN RISK!!!
[Defy General] (c)ollen:
is there a way, to just flash those partitions, and leave the rest.

like flash anny sfb image, and after that

re flash only that boot partition(s) ?

does that sound strange.. ?
[Defy General] Zephyrot:
Its way way more complicated than that. Im just explaining it way more simplified than it really is.

Its not possible to do it.
[Defy General] shgu0132:
Finally got cm7 back!!! No issues this time - no fc, no signal issue, no internal memory issue, Swype is working!!! Wow! seems Like a big achievement!

Just a data wipe from stock recovery was needed. Thanks Zephyrot!!
[Defy General] dydbg:
Last evening i installed JBoogie3 LiquidArc Gingerbread V2.0. In the morning i tried to make a call and there was no sound trough the earpiece. It was dead! Trough the speaker is OK.

Now i must revert to original 2.2.2 to give phone for warranty service. I'm not sure exactly what i need to do.

I have made a backup trough the custom recovery. Now i need to restore it.

Do i need first to clean data/cache and dalvik cache?

After that i need to remove the 2ndinit and custom recovery (clockworkmod). How exactly to do it?

Please, someone explain me with few words.
[Defy General] nepotu:
For warranty purposes the best approach is to find the official Froyo SBF for your country/region and flash it with RSD Lite after you do a full wipe from stock recovery (data and cache).
[Defy General] Zephyrot:
Common Questions/Problems section almost at the end of the Guide:

I installed a Full SBF/installed CM7/other Android version and need my warranty
[Defy General] glycolysis:
The US Eclair SBF (6.36.0) is actually CG Version 4. Good thing too, since there's no official US Froyo SBF.​
[Defy General] 绿港妃:
very good guide
[Defy General] junear:
Very good guide, really helpful. I am now a master of flashing!
[Defy General] poowoo:
awesome

what a great job u did
[Defy General] Richard Langlois:
No Telus (Canada) Stock SBF availlable for the Defy?

Hi,

Thanks for this very useful guide,

I'm about to get a Defy from Telus Mobility here in Canada (Android 2.2). My goal is to install Gingerbread as soon as I'll get the phone but I want to be able to revert if wanted or needed. I checked the available Stock SBF and there is none for Telus. Is there a way I can extract the original stock sbf from my phone? What are my options then?

Thanks in advance

Richard
[Defy General] MeatyCoins:
After reading a lot of threads on the board I am still a little confused....do you need both 2int & CWM in order to flash a rom ? Or is it outdated now & all I need to do is root, install CWM, flash roms like normal.... ?
[Defy General] fisik:
root

Hi, I'm the fresh new owner of Defy+ - want to do at least root 'till I'll try CM7 (but it's a quite complicated, so I'm not sure about this).

I have tried to root via SuperOneClick - got everything (drivers, USB debuging), but when I press root, it stucks on step #6 (not responding and I let it working bout 5 mins)... I have to unplug device and after it continue but with some error

SuperOneClick v2.1.1.0
Checking drivers...
Killing ADB Server...

OK 0,03s

Starting ADB Server...
* daemon not running. starting it now on port 5037 *
* daemon started successfully *

OK 4,06s

Waiting for device...

OK 0,03s

2.3.4
Getting manufacturer...
motorola
OK 0,03s

Getting model...
MB526
OK 0,02s

Getting version...
1313117579
OK 0,02s

Checking if rooted...
False
OK 0,05s

Installing BusyBox (temporary)... - Step #1
1750 KB/s (1062992 bytes in 0.593s)

OK 0,63s

Installing BusyBox (temporary)... - Step #2

OK 0,03s

Rooting device... - Step #1

OK 0,02s

Rooting device... - Step #2

OK 0,03s

Rooting device... - Step #3
1826 KB/s (16830 bytes in 0.009s)

OK 0,04s

Rooting device... - Step #4

OK 0,03s

Rooting device... - Step #5

OK 0,01s

Rooting device... - Step #6

[**] Gingerbreak/Honeybomb -- android 2.[2,3], 3.0 softbreak

[**] (C) 2010-2011 The Android Exploid Crew. All rights reserved.

[**] Kudos to jenzi, the #brownpants-party, the Open Source folks,

[**] Zynamics for ARM skills and Onkel Budi

[**] donate to 7-4-3-C@web.de if you like

[**] Exploit may take a while!

[+] Plain Gingerbread mode!

[+] Found system: 0xafd17f15 strcmp: 0xafd37d01

[+] Found PT_DYNAMIC of size 232 (29 entries)

[+] Found GOT: 0x00014350

[+] Using device /devices/platform/goldfish_mmc.0

[*] vold: 1211 GOT start: 0x00014350 GOT end: 0x00014390

OK 1813,81s

Rooting device... - Step #7

OK 42,04s

Remounting /system with read-write access...
mount: Operation not permitted
FAILED

It doesn't give me the option to install Busybox or testing .... is it working with Defy+?

thanks
[Defy General] twa_priv:
Works like a charm. So instead of flashing the inofficial leaked 2.2.1-3.4.2-107 sbf I flashed JORDN_U3_6.36.0 and then just upgraded to 2.2.1 via Settings -> About -> Check for updates.
[Hero CDMA Q&A, Help & Troubleshooting] cmason1015:
Hi all,

Has anyone seen a gb rom that plays or can be tweaked to play video past the 70min mark? This is a rather big thing for me, as I often take trips and like to watch movies on the plane.

I've been able to get CM6.1 and most 2.2 roms going with collin_ph's battery tweak that enables the stagefright audio. However, this doesn't seem to work with any gb rom I've tried:

CM7

aospCMod

OMGB

Deck

Evervolve

And I really like these gb roms...esp aospCMod!

Any help is greatly appreciated!
[Hero CDMA Q&A, Help & Troubleshooting] Bierce22:
are you talking about your battery just dieing or it literally wont go past 70 minutes ive never had that issue when i was on the hero.
[Hero CDMA Q&A, Help & Troubleshooting] rubyknight:
Are you talking about your screen freezing? Most gb roms (CM7 specifically) always had minor media issues for me. Music, videos, Pandora app etc. all freeze or skip after a while. Try using that new Wildheroc sense rom, I've had much better media performance from it versus CM7
[Hero CDMA Q&A, Help & Troubleshooting] Bierce22:
to fix the freezing just set your cpu to anything over 352 low.
[Hero CDMA Q&A, Help & Troubleshooting] cmason1015:
This is the issue with videos over 70 mins where the video freezes and the sound keeps playing. After a while the video jumps back to about the 10-15 minute mark, but the sound is still off from where the video is.

It was discussed briefly in http://xdaforums.com/showthread.php?t=864403 for a while starting at #14691, but I never saw a resolution.

This was fixed in 2.2 with the enable stagefright fix in collin_ph's battery tweak, and you could evidently do it manually by altering the stagefright line in build.prop, but when I looked at the build.prop on a couple of GB roms there was no line, and inserting a line brought no joy.

I was just wondering if anyone knew of anything, I've been searching for days and days and actually see very little on this issue. Guess not everyone watches full-length movies like me.
[Hero CDMA Q&A, Help & Troubleshooting] cmason1015:
I actually had mine set at 352 ondemand, to help with the camera issues, but it never helped long video playback. Thanks though!
[Hero CDMA Q&A, Help & Troubleshooting] cmason1015:
Yeah, I tried Wildheroc out for a while, but I just love the simplicity of Aosp and my LPP. I may try going back to sense though cause this is just that important to me. If I do, I may throw down on the v6 supercharger tweaks and see how that does.
[Defy General] pradeepdamodara.91:
Hi,

I recently bought a Defy and I managed to foolishly brick it. :(

I made minor changes to framework -res.apk and replaced, now it's stuck in a boot loop...

I have the original framework file, but my Windows PC doesn't detect the phone... so I can't replace the file through adb... :((

Any ideas?
[Defy General] hervelo:
Have you tried to reflash your rom in recovery?
[Defy General] pradeepdamodara.91:
Not yet... If I can get windows to detect it, I'd prefer just replacing the framework -res.apk file with the original...