Updating Your Sony Ericsson Xperia Ray with CyanogenMod 7.1 Gingerbread 2.3.7 Firmware

by: Carl ParkerDecember 15, 2011
11 5

Sony Ericsson users can now rejoice. The CyanogenMod developer team has released CyanogenMod version 7.1 and it is now available for installation on the Sony Ericsson Xperia Ray.  CyanogenMod 7.1 includes the latest version of Android 2.3.7 Gingerbread firmware, as well as a whole slew of other functionalities.

As always, it is necessary to follow the instructions accurately to prevent the unfortunate event of bricking your phone.

Applying this update requires you to root your phone, which consequently voids your warranty. If your phone has already been rooted, you may skip the step for unlocking the bootloader.

Pre-Firmware Update Instructions

  • If you are using any other custom ROM, then you need to disabled it.
  • It’s highly important to back up the data on your phone in the event that whatever information on the phone may be lost or corrupted.
    • Text Messages — Use the SMS Backup and Restore app
    • Phone Contacts — Sync with Gmail application
    • Call Log — Use the Call Logs Backup and Restore app
    • Pictures, music, videos, files, etc. — Copy to the internal/external SD card
    • Internet & MMS Settings — Backup all the settings from the path “Applications > Settings > Wireless and Network > Mobile Networks > Access Point Names”
  • All firewall tools, antivirus programs and PC Suites should be completely closed on your desktop so that these tools do not interrupt the process of the firmware update.
  • Ensure that USB Debugging has been enabled on your phone through the path “Settings > Applications > Development > USB Debugging”.
  • Ensure that your phone has a charge of at least 60% so that it doesn’t shut off in the middle of the updating process.

Unlocking the Bootloader in Xperia Ray

  1. Install the Android Software Development Kit (SDK) on to your computer.  Visit the Android SDK website for the instructions.  The SDK will install the fast boot shell to your computer.
  2. Write down the IMEI number of your Sony Ericsson Xperia Ray, which you can get by dialing *#06#.
  3. Once this is done, turn off your phone.
  4. While pressing and holding down the Volume Up button, connect the phone via the USB cable to your computer.
  5. Open a command prompt window on your computer and type the following command, then press the Enter key afterwards:
    fastboot -i 0x0fce getvar version
  6. After this, head to the Sony Ericsson support page for unlocking the bootloader on your phone.  Click here to go to the page.
  7. Follow the instructions on the official Sony Ericsson page.
  8. After following the instructions, the phone’s boot loader will have successfully been unlocked.

Installing CyanogenMod ROM with Android 2.3.7 Gingerbread

  1. Download the Google Apps add-on for CyanogenMode.  Get it here.
  2. Download the latest version of CyanogenMod for the Xperia Ray.  Get it here.
  3. Connect your Sony Ericsson Xperia Ray to the computer using the USB cable.
  4. Extract the boot.img file from the CyanogenMod update ZIP file.
  5. Copy the boot.img into the “Fast Boot” folder in the directory where the Android SDK is installed (i.e., the /tools folder in the Android SDK folder).
  6. Copy the CyanogenMod update ZIP file to the root directory of your phone’s SD card.
  7. Copy the Google Apps add-on ZIP file into the root of your phone’s SD card, as well.
  8. Disconnect your Sony Ericsson Xperia Ray from your computer and turn off your phone.
  9. Press and hold down the Volume Up button while connecting the device again to the computer with the USB cable.
  10. On your computer, open a command prompt window.  Type the following commands (press the Enter key after each one):
    fastboot -i 0xfce flash boot boot.imgfasbtoot -i 0xfce reboot
  11. While the phone is booting up, press the Volume button a few times so that you can boot into ClockworkMod Recovery.
  12. Once the phone boots into recovery mode, select the options, “Wipe data/factory reset” and “Wipe Cache partition” to clear phone data.
  13. Then, select “Install zip from SD card” and “Choose zip from SD card”.
  14. Look for the CyanogenMod update ZIP file, then select it to start the flashing process.
  15. After the process completes, choose “Install zip from SD card” again, but this time, choose the ZIP file for Google Apps add-on.  Wait for the installation to finish.
  16. As soon as the process completes, select “++++Go Back++++” to return to the main menu and select “Reboot System now.”
  17. After the device has finished rebooting, you’ll have successfully updated your phone to the latest CyanogenMod 7.1 with Android 2.3.7 Gingerbread firmware.

Congratulations, and enjoy the latest Android on your Xperia Ray.

  • Very annoyed!

    Please Help!

    I’ve been searching the internet for a way to figure out how to get this step to work:

    Open a command prompt window on your computer and type the following command, then press the Enter key afterwards:
    fastboot -i 0x0fce getvar version

    I’m not quite sure where to enter the command. I’ve tried just entering it in command prompt like this post tells me to, but from what I’ve gathered from my googling, the fastboot.exe file is missing in the later versions of the SDKs. I’ve even downloaded older vesions, but that still doesnt work.

    What can I do to make this work?

  • Sardobi

    I am having the same problem as the previous comment – the command prompt window returns – “fastboot is not a recognised external command … etc…. or file”
    Please help!

  • Very annoyed!

    That’s exactly the same problem I have. It looks like the SDK’s must have been updates since these instructions were written. Wonder if anyone knows of any instructions which work.

  • Gpinakin

    Guys..to enable fastboot and adb drivers..you dont even need Android SDK..
    go to this page http://dottech.org/tipsntricks/21534/how-to-install-adb-and-fastboot-on-your-windows-computer-for-use-with-your-android-phone/
    and download the ADB and FASTBOOT file (34mb)…follow the instructions…
    and when updating unzip boot.img to c:android folder (instead of android sdk folder)
    and call “fastboot” command from c:android folder (instead of android sdk tools folder)

  • Andrew47me

    Guys is android 4.0 availabl for my xperia ray?.if yes hw am I gng 2 instal it nd wer am I gng 2 download it

  • Neverbe_lonely

    you can installics from offical site or pc companion and it is available

  • Shlokmittal58

    I have upgraded my xperia to android 4. Something and i want to have the old 2.3 thing
    Plz help me

  • Thaaaaanks , It’s really more clear tham XDA
    I’ve upgraded my experia ray to Cyanogen 9 succesfully