Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,813,752 Members 39,525 Now Online
XDA Developers Android and Mobile Development Forum

[HOW TO] Flash FROYO properly with everything working

Tip us?
 
shamo42
Old
(Last edited by shamo42; 30th January 2011 at 10:00 PM.)
#1  
shamo42's Avatar
Senior Member - OP
Thanks Meter 47
Posts: 190
Join Date: Sep 2009

 
DONATE TO ME
Default [HOW TO] Flash FROYO properly with everything working

As there seems to be a bit of confusion about Froyo, maybe this quick step by step guide will help. I can't guarantee it will work on your Defy and I'm not responsible for bricked devices.

IMPORTANT: If your flash doesn't work before flashing this rom, you need to flash UK 2.21 ROM via RSD lite, wipe data and cache (VOL Down + Power Boot; click right corner) and do a factory reset (settings-> privacy). Now your flash should work and you can precced with this guide. Don't install any other cam apps as they may brick your flash.

Video of Quadrant benchmark:
http://www.youtube.com/watch?v=lIHFivjrM7w

Video of Market and Flashlight working:
http://www.youtube.com/watch?v=viyxqVLtZE4

Advantages of this guide:
+stable and fast Froyo with ROOT (~1200@800Mhz)
+Camera works (no fix needed)
+Wifi works (no fix needed)
+Market works (no fix needed)
+Recovery works
+Everything deodexed
+Bloatware removed (optional)
+Black Notification Bar (optional)

Disadvantages:
-Not for Defys with 2.51
-Only 2 languages
-All your apps and settings will be gone
-You need to manually add your APN
-Guide not for beginners

UPDATE 19.Jan.2011
-It may cause problems to install google apps AFTER rooting. Guide updated.
-Minor update on point 8. Make sure "USB Connection" is set to "None".
-Added point 13 for people who suffer from the Flash bug.
UPDATE 20.Jan.2011
-Added point 14: miscellaneous tweaks.
UPDATE 21.Jan.2011
-Updated point 8 and 13.
-Fixed search_fix from point 9.
UPDATE 22.Jan.2011
-Added info about baseband switcher app to point 14.
UPDATE 22.Jan.2011
-Updated point 7 and 13
UPDATE 30.Jan.2011
-Updated point 12 with theme files for UK Froyo

1)
First Backup using Tenfar's recovery!!

2)
Download the official 2.2 ROM. Here is a mirror from Sorensiim(Thanks!)

3)
Turn on your Defy by holding VOL-UP + POWER, connect it to your PC and flash the ROM using RSD lite 4.9

4)
After flashing, turn your defy off and turn it on again by holding VOL-DOWN + POWER. When you've reached the screen with the exclamation mark, press the bottom right corner of your screen. WIPE everything.

5)
Boot into Froyo. When you've reached the red screen, click on the Chinese text in the center and choose ENGLISH. Press the menu button, click at the bottom right and skip creating a Motoblur account. Froyo might still feel slow. This is normal.

6)
Download google apps update.zip and save it on the root of your sdcard.
Start your phone holding VOL-DOWN + POWER. Press the bottom right corner of your screen again. Flash the update.zip on your sdcard and wipe everything again (this was the last time).

7)
Reboot. Turn usb debugging on. Set USB Mode to Moto Phone Portal.
Download SuperOneClickFor2.1.zip from this thread and root your device.

8)
Reboot. Download HIGGS's deodexed files from this thread. Extract system to the root of your sdcard. Make sure "USB Connection" is set to "None".
enter the following adb commands:
Code:
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/system/app/* /system/app/
cp /sdcard/system/framework/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
reboot
Note: after typing "su" for the first time, on your phone the app "Superuser" should pop up with a notification asking for root permissions. It's important to allow this.

9)
Optional: At this point "google search" was FCing. To fix it download the search_fix.zip attachement, extract it to the root of your sdcard and use adb:
Code:
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cp /sdcard/QuickSearchBox.apk /system/app/QuickSearchBox.apk
reboot
10)
Now everything should be working. Switch to the other keyboard (or install a new one). I recommend to uninstall Bloatware. Make sure to install a new Launcher before uninstalling "BlurHome.apk"! I uninstalled the following apps using adb:
Code:
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
rm /system/app/AdService.apk
rm /system/app/Alipay.apk
rm /system/app/ArcPhotoworkshop.apk
rm /system/app/ArcVideoEditorLite.apk
rm /system/app/AudioEffectSettings.apk
rm /system/app/BatteryManager.apk
rm /system/app/BingClient.apk
rm /system/app/BlurEmail.apk
rm /system/app/BlurHome.apk
rm /system/app/Dianping.apk
rm /system/app/DLNA.apk
rm /system/app/Dock.apk
rm /system/app/EventReminder.apk
rm /system/app/FileManager.apk
rm /system/app/Firewall.apk
rm /system/app/FMRadio.apk
rm /system/app/FMRadioService.apk
rm /system/app/Gobang.apk
rm /system/app/HomeSyncWizard.apk
rm /system/app/Landlord.apk
rm /system/app/MagicSmokeWallpapers.apk
rm /system/app/Mobee.apk
rm /system/app/MotoImeTutorial.apk
rm /system/app/MotoPhonePortal.apk
rm /system/app/MotoSmartHandWriting.apk
rm /system/app/MSExchangeService.apk
rm /system/app/Mynet.apk
rm /system/app/Palmebook.apk
rm /system/app/PerformanceManager.apk
rm /system/app/PhotoWidget.apk
rm /system/app/PicoTts.apk
rm /system/app/PimBackup.apk
rm /system/app/Pinyin.apk
rm /system/app/Protips.apk
rm /system/app/QQ.apk
rm /system/app/QuickContactWidget.apk
rm /system/app/QuickOffice.apk
rm /system/app/Shop4Apps.apk
rm /system/app/SimContactAdapter.apk
rm /system/app/SinaWeatherWidget.apk
rm /system/app/SinaWeibo.apk
rm /system/app/SocialShare.apk
rm /system/app/SpellingCheckService.apk
rm /system/app/StatusWidget.apk
rm /system/app/StickyNoteWidget.apk
rm /system/app/Stk.apk
rm /system/app/StraightFlush.apk
rm /system/app/Sudoku.apk
rm /system/app/Tilemaze.apk
rm /system/app/ToggleWidgets.apk
rm /system/app/VisualizationWallpapers.apk
rm /system/app/WindowsLiveClient.apk
rm /system/app/WorldClockWidget.apk
rm /system/app/WorkContacts.apk
rm /system/app/YoudaoDict.apk
rm /system/app/YoukuHD.apk
exit
11)
Optionally install Tenfar's recovery, choose "Install Recovery System", give it root access and finally boot into recovery. REMEMBER to deactivate usb debugging before booting into recovery or it won't work!

12)
Optional: Black Notification Bar. Download froyo_theme_files.zip and extract it to the root of your sdcard. For UK Froyo you need other files!!
adb:
Code:
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/framework-res.apk /system/framework/framework-res.apk
cp /sdcard/services.jar /system/framework/services.jar
reboot
13)
Optional: If your cam flash shouldn't work, try wiping camera data using titanium backup. If this still doesn't help. Install 2.21 UK via RSD Lite, wipe everything and do a factory reset (in settings -> privacy). Your flash should work again.


14)
Minor tweaks:
-To remove the Chinese text in your call history, go to Settings > Call Settings > Number Attribution Settings and deselect "Location"
-Install "autokiller" (it's NOT a task killer) from the market and set it to "ultimate" (as the Defy has plenty of RAM). Once you've done this, no need to ever open the app again (make sure "autokiller" is set to "apply at boot" though). For me this improves performance and battery life.
-If you should have problems with 2G or 3G, this app might help: ItfunzBaseBandSwitcher.apk
You need root. For T-Mobile usa:美版基带 For EU: 欧版基带 Click and reboot your phone.
Attached Files
File Type: zip froyo_theme_files.zip - [Click for QR Code] (3.41 MB, 398 views)
File Type: zip search_fix.zip - [Click for QR Code] (496.9 KB, 129 views)
Phone: Motorola Defy (Green Lens) Link
Speed: 1000Mhz@52Vsel
ROM: CM11 120812 Defy Link
Thank you Quarx, Epsylon and everyone else involved in CM9
The Following 6 Users Say Thank You to shamo42 For This Useful Post: [ Click to Expand ]
 
ellendel
Old
#2  
Member
Thanks Meter 5
Posts: 58
Join Date: Dec 2010
Thanks for this useful guide.
Does the flash camera work "properly" following this method?
 
pomah
Old
#3  
Senior Member
Thanks Meter 22
Posts: 152
Join Date: Dec 2010
A question, is this guide for US or European users? Does 3G and stuff like that work in Europe?
 
shamo42
Old
#4  
shamo42's Avatar
Senior Member - OP
Thanks Meter 47
Posts: 190
Join Date: Sep 2009

 
DONATE TO ME
Quote:
Originally Posted by ellendel View Post
Thanks for this useful guide.
Does the flash camera work "properly" following this method?
Yes it works properly for both camera and camcorder.

Quote:
Originally Posted by pomah View Post
A question, is this guide for US or European users? Does 3G and stuff like that work in Europe?
For European. I'm not sure about US and 3G.
Phone: Motorola Defy (Green Lens) Link
Speed: 1000Mhz@52Vsel
ROM: CM11 120812 Defy Link
Thank you Quarx, Epsylon and everyone else involved in CM9
The Following User Says Thank You to shamo42 For This Useful Post: [ Click to Expand ]
 
ellendel
Old
#5  
Member
Thanks Meter 5
Posts: 58
Join Date: Dec 2010
Great i'll follow your guide. Thx again
 
koto2
Old
(Last edited by koto2; 18th January 2011 at 11:12 PM.) Reason: add thanks
#6  
Junior Member
Thanks Meter 0
Posts: 1
Join Date: Jan 2011
Thumbs up one question

First, thanks for all the work doing this guide.


i have a problem when trying to apply update.zip from Tenfar's recovery, i get this error:

installing update...
assert failed: getprop("ro.product.model") == "ME525" && getprop("ro.build.version.sdk") == "8" E:Error in /sdcard/update.zip
(Status 7)
Installation aborted


i check twice the update.zip file, but always do the same, i downloaded twice and checked twice without errors...

what i'm doing wrong?


thanks in advance
 
shamo42
Old
(Last edited by shamo42; 19th January 2011 at 12:10 AM.)
#7  
shamo42's Avatar
Senior Member - OP
Thanks Meter 47
Posts: 190
Join Date: Sep 2009

 
DONATE TO ME
Quote:
Originally Posted by koto2 View Post
i have a problem when trying to apply update.zip from Tenfar's recovery, i get this error:

installing update...
assert failed: getprop("ro.product.model") == "ME525" && getprop("ro.build.version.sdk") == "8" E:Error in /sdcard/update.zip
(Status 7)
Installation aborted
I updated the guide (Point 6). Try point 6 before rooting. It should work.
Phone: Motorola Defy (Green Lens) Link
Speed: 1000Mhz@52Vsel
ROM: CM11 120812 Defy Link
Thank you Quarx, Epsylon and everyone else involved in CM9
 
tensan
Old
#8  
Member
Thanks Meter 11
Posts: 67
Join Date: Dec 2010
Location: Burgos
And what do you do to fix the flash? The only difference between this and when I flash is the deodexed files... And my flash don't work.


Thanks!
 
shamo42
Old
#9  
shamo42's Avatar
Senior Member - OP
Thanks Meter 47
Posts: 190
Join Date: Sep 2009

 
DONATE TO ME
Quote:
Originally Posted by tensan View Post
And what do you do to fix the flash? The only difference between this and when I flash is the deodexed files... And my flash don't work.


Thanks!
Camera flash works with or without deodexed files. No fixes needed.
Did you flash this unrooted ROM from here? Other roms might not work properly.
Did you also wipe everything after flashing? This is important.
Phone: Motorola Defy (Green Lens) Link
Speed: 1000Mhz@52Vsel
ROM: CM11 120812 Defy Link
Thank you Quarx, Epsylon and everyone else involved in CM9
 
tensan
Old
#10  
Member
Thanks Meter 11
Posts: 67
Join Date: Dec 2010
Location: Burgos
Quote:
Originally Posted by shamo42 View Post
Camera flash works with or without deodexed files. No fixes needed.
Did you flash this unrooted ROM from here? Other roms might not work properly.
Did you also wipe everything after flashing? This is important.
Yes, both. I wipe and my flash works sometimes only. Have you tested the flash for many times?

Thanks!!

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes