Friday, January 28, 2011

Gingerbread (Android 2.3) on AT&T Captivate (Ultimate) -- Use at your own risk!

I decided to go with a 2.3 (Gingerbread) ROM called Ultimate after experiencing WiFi connectivity issues with 2.2 (Froyo) ROM Cappy Ginger Clone Final R5.
As with all of my posts, this information is provided   solely for my own reference -- use at your own risk.  I encourage you to do more research before taking any action.
The standard disclaimer about me not being responsible for bricking your phone or voiding your warranty is hereby given.  It is my understanding that you void the warranty on your phone by taking any one of the steps described below -- even if you eventually flash back to your carrier's stock ROM and/or unroot.


This whole ROM process was more of a pain than I'd realized, especially since the instructions were spread out, and not necessarily up to date/applicable to my stock ROM.  As this was my second time through (see my first effort here), loading Ultimate seemed easier.


Why mess with a good thing?
Coming from the iPhone 3G, I was generally pleased with my 2.1 Android phone.  However, I didn't like the stock AT&T applications being forced upon me and I wanted access to more configuration options.  Maybe the biggest peeve was that my Gmail contacts were imported regardless of the groupings I created in Gmail.  I think that rooting and/or loading another ROM may have addressed those issues, but 2.3 offers enhanced voice tools and (possibly) better performance.
From what I've it seems as of the end of January 2011 that AT&T won't be providing a 2.2 upgrade anytime soon.  And I like getting under the hood.  So here goes...


Setting up accounts
For some of the downloads I wanted/needed, I had to register on two sites:
http://forum.xda-developers.com
http://forum.androidcentral.com
These were both pretty good sources of info as well.  xda-developers is tops.


Backing up and rooting the phone
See this post for information on what to do before you give the new ROM a go.
Recovery Mode
This may have changed in more recent versions of the Captivate, but some of the instructions just said to hold both volume buttons and the power button.  Most of them neglected to tell me to release the power button when the AT&T screen appears so I just kept rebooting.


Installing the new ROM
http://forum.xda-developers.com/showthread.php?t=884364
Following the directions in the link above didn't work 100% for me, probably because of a change in Clockwork.  (I already downloaded the Clockwork Recovery app, so I didn't need to do that again -- and now you can get it in the app store.)  Starting with step four, do as follows:

  1. To get the device into recovery mode, hold the up/down volume rocker and the power button
  2. As soon as the AT&T screen appears let go of the power button and continue to hold the volume rocker
  3. On the Android system recovery screen, use the volume rocker to highlight "reinstall packages"
  4. Click the power button
  5. Possibly after a reboot you'll be directed to Clockworld Recovery.  Use the volume rocker to highlight "choose zip from sd card".
  6. Click the power button
  7. On the Apply update from .zip file on SD card screen select "choose zip from sdcard"
  8. Click the power button
  9. On the Choose a zip to apply screen select your ROM (Ultimate.zip for me)
  10. Click the power button
  11. On the Confirm install? screen, select "Yes - Install <your ROM file>"
  12. Click the power button and let the ROM installation run
  13. On the Apply update from .zip file on SD card screen, use the volume rocker to highlight "+++++Go Back+++++"
  14. Click the power button
  15. On the ClockworkMod Recovery screen highlight "reboot system now"
  16. Click the power button
  17. The first startup after a flash can take a while, and it usually makes me nervous since it takes some time.  In this case, I hit the power button after waiting a minute and that seemed to move things along.

Configuring the new device
Installing this ROM didn't wipe my applications!  So not a lot to do except enjoy the Gingerbread launcher.
Removing the files I'd placed in the phone's root directory
Delete the ROM and root .zip files from the root directory on your phone.  No harm if they remain, but you don't need them anymore.

Samsung Captivate on AT&T: How to revert to stock 2.1 (Eclair)

As with all of my posts, this information is provided   solely for my own reference -- use at your own risk.  I encourage you to do more research before taking any action.


The standard disclaimer about me not being responsible for bricking your phone or voiding your warranty is hereby given.  It is my understanding that you void the warranty on your phone by taking any one of the steps described below -- even if you eventually flash back to your carrier's stock ROM and/or unroot.


Reverting is relatively simple, but it may be time consuming depending on how much stuff you need to restore.  And how cheap you are.


How to root
http://www.xda-developers.com/android/one-click-root-for-att-captivate/
This app now has one-click unroot as well -- I've not tried it though.
Note: you may have to connect to your PC in Samsung Kies mode initially to avoid an error around a missing SD card.


How to enable side-loading
http://briefmobile.com/enable-captivate-app-sideloading
Just note: 
  1. When you want to use adb to access the SD card, turn off USB storage mode (not debug!) on the phone
  2. If you have issues where "cp" or "copy" are not found, you need to open BusyBox to complete the install on your phone
I found that "mv" didn't work as I'd hoped it would:
mv /sdcard/settings.db /dbdata/databases/com.android.providers.settings 
failed with the message '/sdcard/settings.db' - Cross-device link


How to back up apps using titanium
http://www.youtube.com/watch?v=cryu8bFXLJQ


How to revert using odin1
http://www.youtube.com/watch?v=UDtxnH4lFuk


How to restore apps using Titanium (same as back up, but about halfway through the video)
http://www.youtube.com/watch?v=cryu8bFXLJQ


It took several minutes for me to revert using , but all of my apps and data loaded.  Mostly this is great for me because I don't need to re-log in to apps that access sites.  It is especially nice since my corporate mail/calendar app setup is quite involved.


Thoughts on reverting
The only reason I reverted was due to issues my Froyo (2.2) ROM (Cappy_Ginger_Clone_Final_R5.zip) developed with WiFi.  So I didn't really enjoy reverting, but I'm glad it worked so well.  


In fact, reverting it seemed to solve the issue I was having where all my Gmail contacts showed -- not just the ones in the My Contacts group in Gmail.  (In my 2.2 ROM this worked fine, probably because the AT&T app wasn't controlling my contacts.)  Unfortunately I cannot assign contacts custom ringtones.  And it's back to the bloatware.


Linpack is showing just over 6 mflops, where I was getting just over 8 with my ROM.  But I just can't have WiFi flaking out.  So I'll try another.  


Reverting is relatively simple, but time consuming depending on how much stuff you need to restore, and how cheap you are (I think Titanium Pro allows you to skip confirmation for each individual app).


UPDATE: I had an issue (bricked phone) when I tried to get an OTA update after reverting to my carrier's stock ROM, so beware of doing the same...