[HOW TO] Flash FROYO properly with everything working

Search This thread

shamo42

Senior Member
Sep 12, 2009
222
58
Redmi Note 10 Pro
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.
 

Attachments

  • froyo_theme_files.zip
    3.4 MB · Views: 402
  • search_fix.zip
    496.9 KB · Views: 134
Last edited:

ellendel

Senior Member
Dec 21, 2010
58
5
Thanks for this useful guide.
Does the flash camera work "properly" following this method?
 

pomah

Senior Member
Dec 6, 2010
158
22
A question, is this guide for US or European users? Does 3G and stuff like that work in Europe?
 

koto2

New member
Jan 10, 2011
1
0
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?:confused:


thanks in advance
 
Last edited:

shamo42

Senior Member
Sep 12, 2009
222
58
Redmi Note 10 Pro
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.
 
Last edited:

tensan

Senior Member
Dec 30, 2010
79
17
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

Senior Member
Sep 12, 2009
222
58
Redmi Note 10 Pro

~1250 @800Mhz

~1600 @1200Mhz:

332xuup.jpg
 

tensan

Senior Member
Dec 30, 2010
79
17
Burgos
Maybe my problem was that I install google apps after I root the.phone. I will try to do before.

Thanks a lot

Sent from my MB525 using XDA App
 

Pq2son2

Senior Member
Jan 9, 2010
50
4
...
Advantages of this guide:
...
+Wifi works (no fix needed)
+Market works (no fix needed)
...

Hi!

I follow all the great guide and works really fine, but I found a little bug. When I turn on the Wifi connection after 5mins of inactivity (or 10m) my motorola Defy doesn't reconnect by itself. I must disconnect, forget the password and re-type the password.

Anyone can test it, so I don't know if it's my problem or a real bug of this image.

Thanks!
 

Muznyu

Senior Member
May 15, 2010
160
24
I followed the guide, everything works well, except the camera. There's still the camera flash bug, works only for the first time. :(
 

ellendel

Senior Member
Dec 21, 2010
58
5
After i unzip the deodexed system folder in the sdcard root, then i try to follow the adb commands posted in the guide, but when i type in the shell
"cp /sdcard/system/app/* /system/app/" it says "no such file or directory.
Any suggestion?
 

Pq2son2

Senior Member
Jan 9, 2010
50
4
After i unzip the deodexed system folder in the sdcard root, then i try to follow the adb commands posted in the guide, but when i type in the shell
"cp /sdcard/system/app/* /system/app/" it says "no such file or directory.
Any suggestion?

Sure, and it's easy I had the same issue! :p

Swift the notification bar, Press the Option "USB Connection" and select "None".

Tell me what about. ;)
 
  • Like
Reactions: ellendel

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    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.
    1
    Thanks for this useful guide.
    Does the flash camera work "properly" following this method?

    Yes it works properly for both camera and camcorder.

    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.
    1
    After i unzip the deodexed system folder in the sdcard root, then i try to follow the adb commands posted in the guide, but when i type in the shell
    "cp /sdcard/system/app/* /system/app/" it says "no such file or directory.
    Any suggestion?

    Sure, and it's easy I had the same issue! :p

    Swift the notification bar, Press the Option "USB Connection" and select "None".

    Tell me what about. ;)
    1
    Ey shamo42,

    I try it, and works but just the first time!!! how I can debug this issue? :S can you guide me? :S maybe with more information we meet the correct answer about the cam problems.. :D

    Pd. When I wipe the Camera Data and take other picture it use the flash light but the picture is full black! WTF XD hahahaha

    I recommend to follow this thread:
    http://xdaforums.com/showthread.php?t=915078&page=8
    These guys are working on a proper fix. I'll update this guide once there is one.

    Currently the situation seems to be that once you've patched a previous "fix", wiping camera data or flashing another sbf doesn't help flash to work again.
    I recommend not to flash the current "fixes".
    1
    Hi, shamo42,

    Thanks you so much for your works.
    I really like the black notification bar.
    Here is a minor feedback: the time numbers are invisible(also black) on the bar.
    Is it possible to have a fix on it?

    Thanks.

    Thanks.
    If the numbers are black, "services.jar" wasn't copied successfully. If you have the services.jar from the attachment on the root of your sdcard, try this code:

    Code:
    adb shell
    su
    stop
    mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
    cp /sdcard/services.jar /system/framework/services.jar
    reboot

    You need to have everything deodexed for it to work (point 8)