Flash CM 10.1 RC 5 Jelly Bean 4.2.2 custom ROM for Sony Xperia Z

Install CM 10.2 Nightly ROM based on Android 4.3 for the Samsung Galaxy S4 Verizon

CyanogenMod team continue to work on their CM 10.1 builds and it seems like they want to approach the release of the final version of this new ROM. Here you can find instructions on how to successfully install the CM 10.1 Release Candidate 5 for your Xperia Z device.

In order to successfully flash this new ROM, you will first need to read the preparation guide below. It will help you correctly setup your PC and the Sony Xperia Z for the installation process and allow you to complete all steps at your first attempt. Here’s what you need to know:

  • use this tutorial only with the Sony Xperia Z device. Don’t attempt to update any other Android smartphones using the files that are listed in this post.
  • the Xperia Z device that you’re about to update with CM 10.1 RC5 should be factory unlocked, rooted and running a custom Recovery image.
  • I have used the CWM Recovery for this tutorial, but the TWRP Recovery version should work just fine. If you cannot complete the install with TWRP, then you can ask for extra help in comments.
  • Make sure that your computer has the Sony USB drivers installed on it. If it doesn’t then you can download the Sony PC Companion from here and install them.
  • After you install the USB drivers you should close and disable the Sony PC Companion program.
  • enable the USB Debugging option from the Developer Options menu.
  • use the custom Recovery Mode to create a full NANDROID backup of your current ROM before continuing to the tutorial. This will act as a restore point and you can use it in case something goes wrong and the phone doesn’t like the CM 10.1 RC5 ROM.
  • the tutorial will ask you to wipe data and factory reset your device, which is why you will need to backup some of the data stored on the system partition.
  • the installed apps will be removed but you can search for an App Backup tool using Google Play Store.
  • if you want to backup SMS, Call Logs info or the APN Internet Settings, then you can use the following tools for Android: SMS backup & restore | Call Logs backup & restore | APN Settings Backup & Restore.
  • save your Contacts data by syncing it with your Gmail account. If you don’t know how to do that, use the guide here.
  • use this post only if you know what you’re doing.
  • don’t blame us in case something goes wrong, the phone is bricked or you lose any important data files in the process.
  • don’t skip any steps that I have listed in the tutorial.
  • if you cannot complete the installation, then you can ask for extra help in our comments field.

Now that you know all of the above, I think that you can continue to the next part of this post.

NOTE: If your device is already running on previous build of CM 10.1 Nightlies, RC1 or M snapshot, then you can skip the ‘factory reset’ action. This is known as a ‘dirty flash’ and the new OS should boot successfully. However, in case the device doesn’t boot, then you will be forced to return to Recovery mode and ‘factory reset’ the device for it to boot into normal mode. You’ll find more at the end of this post.

How to install CM 10.1 RC5 based on Android 4.2.2 Jelly Bean for Sony Xperia Z:

  1. Download the CM 10.1 RC5 zip from HERE. Save the file on your PC and don’t unzip its contents.
  2. Download Gapps for Android 4.2.2 / CM 10.1 ROMs from HERE. Place the file on your computer’s desktop.
  3. Connect your Xperia Z with your computer using the USB data cable.
  4. Move both files that you downloaded in steps 1 and 2, and place them on your smartphone’s internal SDcard. After you’ve copied successfully all files, then you should  disconnect the Xperia Z from PC.
  5. Power off your smartphone completely.
  6. Boot the device into CWM / TWRP Recovery mode. I’ve used CWM Recovery for this guide, but the TWRP variant will do the work.
    > booting into custom Recovery Mode for Xperia Z can be done if you power it off and, when the Purple LED light turns on, press Volume Up button continuously until the Recovery Mode main menu appears.
  7. Select ‘backup and restore’ to create a full NANDROID backup of your current ROM before starting the updating process.
  8. Select ‘wipe data/ factory reset’ and confirm this process.
    > NOTE: remember that you can skip this step only if your device is already sporting a previous CM 10.1 build.
  9. Select ‘install zip from sdcard’ and then ‘choose zip from sdcard’ option.
  10. Find the ‘CM 10.1 RC5′ zip file and confirm its installation. This should take only a couple of minutes.
  11. Select ‘choose zip from sdcard’ once again and then you will need to select the Gapps zip for installation. Confirm.
  12. When both files have been successfully installed, you should return to the first menu of Recovery Mode.
  13. Select ‘reboot system now’.
  14. Wait several minutes for the first boot process of CM 10.1 RC5 to complete.
  15. Enter your Google Account details when the device boots in normal mode, so that you’ll take control over all its new OS right away.
  16. Test all its features and tell us in comments if the device works better with CM 10.1 ROM or if it was better with the stock Sony operating system.

NOTE: in case the device doesn’t boot into normal after the ROM has installed and 10 minutes have passed or, in case the phone enters into a boot loop, then you will be forced to repeat the entire tutorial once again. The second time you shouldn’t skip the ‘factory reset’ step as that might the reason why your Xperia doesn’t want to boot with CM 10.1 RC5.

Custom ROMs might not always flash all the required files at your first attempt, which is why you can try multiple times before completing the installation.

These were all the steps that you had to take and now you can start testing and customizing all the UI screens of CM 10.1 Release Candidate 5 ROM.

If you don’t like the new ROM, then you can boot into Recovery Mode again and then restore the NANDROID backup file that you created in step 7. For any other questions use the comments field below.

Sony Xperia Z Articles

  • RandomZ

    i think it soft-bricked my xperia…

    • RandomZ

      if i used internal storage instead of sd card, does it matter? since that’s what i did… anyway, led works fine and comp keeps beeping ( smth connected 1 sec, disconnected the other )
      i think it somehow shut down my screen.

      • RandomZ

        should i try a soft-brick fixing method?

        • RandomZ

          Xperia Z C6603, Locked Bootloader, Rooted, TWRP recovery, this made my phone a brick, now trying to wait for it to run out battery ( it doesnt have a led, screen is off )… both soft and hard reset failed, *fastboot mode worked* but idk what to do with the blue led. awaiting response