[Defy Q&A, Help & Troubleshooting] KicknGuitar:
Installing Mods on a Defy MB525:

A Guide for the Laymen MacOS User

Read In Rich Text:

https://docs.google.com/document/d/15XYKWyjvfHr4pAV5Wtxlt_4KsM-ykmQ4pvLhOt_mzlM/edit

This began as a personal list/guide for myself since much of the info was scattered across the XDA forum and some other websites. I'm still tweaking the guide on my laptop but if anyone thinks this is useful I'd be more than willing to update it here.

I just have some questions listed below as well as a general wonder if anything I'm doing isn't that efficient. Cheers.

I. Questions:

I.A. What Apps should I use on an unrooted Defy for backup?

I.B. Which SBF do I have? (Out-of-the-box)

http://sbf.droid-developers.org/umts_jordan/list.php

I.C. Is there a way to batch restore APKs on Mac like the Windows APK Batch Installer?

http://xdaforums.com/showthread.php?p=23291051

http://www.droidsector.com/blog/2010/06/23/easy-way-to-install-apk-files-using-android-sdk-for-mac/

I.D. Is it necessary to know what color the lens is? Is knowing the camera module enough?

In the Beginning…

II. Rootin'

II.A. Prepping for Unrooted Flashin'

II.A.1.	Copy down your SBF info (See I.A.)

II.A.2.	Find out which Defy you have:CatLog

II.A.3.	Android Development Bridge (ADB is found in the Android SDK)

Download Android SDK http://developer.android.com/sdk/index.html

Drag her into a location such as Applications/Android (The location is of your choice) & unzip. Open the newly unzipped folder "android-sdk-macos" then open "tools."

In Terminal drag and drop "android" located in tools so the command looks like:

$YOURPATH/android-sdk-macosx/tools/

We will write a shortcut so that ADB can be accessed anywhere. In terminal enter:

$ open ~/.bash_profile

.bash_profile should have been opened in a Text editor. At the bottom enter the following(Remember to replace "$PATHto/xxxx" with a drag and drop of the directory):

export PATH=$PATHto/platform-tools:$PATHto/platform:$PATHto/tools=$PATH

i.e.

export PATH=/Users/BobDole/Android/android-sdk-macosx/platform-tools:/Users/BobDole/Android/android-sdk-macosx/platform:/Users/BobDole/Android/android-sdk-macosx/tools=$PATH

Save the file and jump back into Terminal. Reload the sucker:

$ source ~/.bash_profile

In Terminal open up the SDK by typing:

$ android

Press enter. this will launch the SDK Android Manager. Find the folder named, "Tools;" tick it and click the install button.

Sources: http://wiki.cyanogenmod.com/wiki/Howto:_Install_the_Android_SDK

II.A.4.	Create a folder on your Mac to organize all your Android files. i.e.

/Users/BobDole/Documents/MotoDefy/

II.A.5.	If you have been using your Defy, you will probably want to save your text messages, phone calls, photos etc. Make , non-root Apps and do a manual backup:

SMS Backup

Call Logs Backup & Restore

Source: http://wiki.cyanogenmod.com/wiki/Mo...efore_you_do_anything_.E2.80.94_Make_a_backup

II.A.6.	Getroot (Contains):

busybox, copy_rootfile.sh,	getroot.sh, rage.bin, su, SuperUser.apk

II.A.7.	Your MOD (and any extra files)

II.B. Backup (Unrooted)

II.B.1. Optional: Preform SMS Backup & Call Logs Backup

II.B.2. Duplicate entire SDcard via mounting on a Mac.

i. Plug Defy into a Mac

ii. Defy will now have a new notification at the top, open it and select Memory Card Access.

iii. Right click (or option + mouse-click) and select duplicate.

iv. Relabel as you like and put her into you android folder for safe keeping.

Source: https://motorola-global-en-uk.custh.../defy---transfer-files-from-phone-to-computer

II.C. Rooting

II.C.1. Mount SDcard (if not already mounted) See II.B.2.i.

II.C.2. Extract Getroot.zip and drag unzipped contents onto SDcard. Once done, Eject SDcard.

II.C.3. Change Defy's USB connection to "None."

II.C.4. Go to settings - Apps - Development - USB debugging. Turn this on.

II.C.5. In terminal launch adb:

$ adb shell

Launch getroot.sh by typing:

$ sh $SDcardNAME/Getroot/getroot.sh

Re-enter ADB:

$ adb shell

"$" should now be "#." Time to copy some files including the recovery tool (up next):

# sh #SDcardNAME/Getroot/copy_rootfile.sh

Reboot!

# reboot

This should have Clockwork Recovery load on reboot. Continue to II.B. Flashing to add ROMs and Mods like CM7.

Flash Some Color

III. Flashing

III. A. Prepping for Rooted Flashin

All You Need:

Titanium Backup https://play.google.com/store/apps/details?id=com.keramidas.TitaniumBackup

Your ROMs & MODs

Place them on your SDcard in an easy to find place. (Refer to II.B.2. i - ii for Mounting SDcard instructions) I'd suggest placing them at the root unless you plan on keeping them, in which case I'd place them in a folder designated for ROMs and Mods, i.e.

/SDcard/mods

The Mods and ROMs can be removed after flashing them but you may wish to keep them in a folder for quick flashing between ROMs.

III. B. Backup (Rooted)

III. B. 1. Titanium Backup

Open 'er and in the upper right corner select Batch Backup/Restore - All button, the paper with a check mark onto. (See Image 1.)

Under Backup, find Backup all user apps + system data and press RUN. (See Image 2.)

"Pause active apps" should be ticked.

Press Select all.

Press the green check in the upper right corner to begin backup.

III. B. 2. "Nandroid" Backup - via Clockwork Recovery

Reboot your Defy

Upon reboot when the phone flashes the Blue LED, press Volume Down to load the Bootmenu.

Using the volume buttons to navigate; press the power button to select Recovery > Backup and restore > Backup (All). This will take a few minutes (depending on how much is on the phone and SDcard.

Reboot after backup unless you're installing ROMs/mods.

Sources: http://wiki.cyanogenmod.com/wiki/Motorola_Defy:_bootmenu

III. B. Flash! Installing ROMs & Mods

III.B.1.

Go to Bootmenu

Recovery > Backup and restore

Wipe data/factory reset

When done, Wipe cache partition

When done, Instal zip from SDcard >Choose Zip from sdcard>Your ROM/mod .zip

When finished with all the installs select Go Back and reboot the phone.

Source: http://wiki.cyanogenmod.com/wiki/Motorola_Defy:_Full_Update_Guide#Flashing_CyanogenMod

|||. Reverting to Stock SBF

All You Need:

Windows PC **(Most Likely needed as Mac OS & Defy don't seem to get along via USB during sbf_flash's execution.)

Your Defy's Stock SBF (refer to the notes you took for it in II.A.1):

http://sbf.droid-developers.org/umts_jordan/list.php

IV. Apps of Interest

As of 2012-10

Here's the few essential and near-perfect apps:

AdAway

Blocks a great number of ads in and out of Apps. You can also customize which URLs to allow or not (white listed).

SwiftKey

I don't use too many of the type-saving features (which really are great) but the amount of slight adjustments like key height in Landscape gives the text half an inch of space! That and it's seamless (so far).

Apex Launcher

It's hard to find a smooth Launcher. Apex isn't perfect but it's the closest I've come to finding one with the most space-saving, shortcut-creating, quick-loading, customizing-featured launcher.

Turntable FM

Want continuos music… with no ads? Interested in discovering new artists or songs every time you jump on? Turntable FM has "rooms" which are entirely dj'd by it's users. If there's an open spot feel free to jump on and upload your own tunes! Just make sure you stick with the style or else you'll get "booed" off. It's a great lil' music app I've run on my laptop's browser for a good year now. It can be tempting to take part in the community but even just being a listener and grad a song here and there makes this app so great.

Tasks

Need a quick and easy To-Do list? Hook this batboy up to your Google account and have them sync back and forth. It'll only take 15seconds to add a new "task," and if you put the widget on the desktop, it only take one second to mark completed. This also allows for different lists, notes, due dates and reminders (reminders are only on the app, not on Google's.)

Solid Explorer

The only file browser you'll need. can be very simple but offers so much for such a clean app? I'll take two! Oh and you can swipe between two "windows" and drag and drop!

Honorable Mention:

Photoshop Express

Manually adjust the exposure, saturation, tint, "Black & White," contrast and brightness. Crop, straighten, rotate and flip. The basic adjustments to make your image pop. If you want auto settings like InstantHipster, I mean Instagram, try Streamzoo. Lot's of great auto settings but also offer some manual adjustments. This is the closest app I have found to manipulate photos the way I do… which isn't as close as I'd like but the closest yet.

Currents

I haven't spent much time finding a good RSS reader but Currents works just fine for me so I haven't done too much searching. Plus she's pretty minimal and to the point.

V. Notes & Terms

Terminal Commands

($ represents the username you see, merely a place holder for each line of commands you will type into Terminal. Wait for $ or # to appear before entering new commands.)

Device Identification

SOC or BAYER Camera Module?

a. Install CatLog

b. Open & your camera app.

c. Open Catlog and "Search Logs for SOC, BAYER or Camera

d. If nothing is found try reopening the camera app and repeat these steps.

Model Number MB525 or MB526?

a. Open settings > About Phone > Model No.

b. MB525 is a Defy. MB526 is Defy+.

Manufacturing date: Late January or Later are Red?

a. Look at your battery.

b. There's a Thread about what each letter/number means.

SBF info?

Rooting

Android Rooting is the process of devices running the Android mobile operating system to attain privileged control (known as "root access") within Android's subsystem. http://en.wikipedia.org/wiki/Rooting_(Android_OS)