comment ask a new question
Results 1 to 2 of 2
  1. DustenRust's Avatar
    While Sony intends on launching Android 4.4 KitKat on the Xperia Z, it may take a while before the update will be officially released. Until then, owners of the device can still enjoy the latest OS from Google, with the help of custom ROMs.

    AOKP is one of the most popular custom ROMs around, and the team behind it has now started releasing nightly builds based on Android 4.4, for the Xperia Z. If you happen to own this device then this guide will help you apply Team Kang's AOKP ROM on it. Before proceeding, you need to understand that this is a "nightly" build, meaning that it may contain bugs. On the other hand, new nightlies are being launched at a high rate, so you won't have to deal with a bug for too long, before it gets fixed.

    Lastly, this ROM is based on Android 4.4 as well as CM 11, so it features the vanilla Android UI, and not Sony's.


    • This guide is for the Sony Xperia Z codenamed "Yuga". Don't try to apply this ROM to any other device or Xperia Z variant
    • In order to be able and apply this ROM, you need to have a rooted smartphone running the latest version of CWM or TWRP. If you don't meet these prerequisites, then don't go any further
    • The installation process requires you to factory reset your device. As such, it's recommended that you create backups
    • You can use applications like "Helium", "SMS backup & restore" and "APN Settings Backup & Restore" to backup your app data, text messages and your APN Internet settings respectively
    • Your contacts can be easily backed up by syncing them with your Google account
    • Instructions on how to create a NANDROID backup are provided below
    • Before proceeding, make sure your smartphone has enough battery to last throughout the installation process. 70% should be enough.
    • You'll need to enable USB Debugging. To do so, tap "Menu" > "Settings" > "Developer options" and mark the check box associated with "USB Debugging"
    • This is an advanced guide and requires you to perform unofficial procedures. This will void your phone's warranty (which should be already voided since your device is rooted). If you brick your device, or if you lose important data, you can't hold the developers or anyone else responsible
    • Don't skip any steps!

    Entering CWM or TWRP Recovery Mode:

    IMPORTANT: Don't follow this guide right now. This guide includes steps on how to reboot your smartphone in recovery mode (TWRP or CWM, depending on which recovery you're using). You will need to follow these steps later on during the installation process, when you'll be asked to do so.

    1. On your Xperia Z, visit the Play Store and download the "Quick Boot" application
    2. Install the app and launch it on your handset
    3. From the app's menu, tap "Recovery" and wait for your device to reboot in CWM or TWRP recovery mode

    Sony Xperia Z (Yuga): Install Android 4.4 AOKP Custom ROM Using CWM Recovery:

    1. Using your computer, visit this link to download the latest available AOKP nightly build
    2. Download the Google apps package by visiting this link
    3. Connect your Xperia Z to your computer using the USB cable
    4. Copy the unzipped files downloaded at step 1 and 2, and paste them onto your phone's storage
    5. Disconnect your smartphone from your computer, once the files have been transferred
    6. Enter CWM recovery (refer to the guide above)
    7. From the main CWM screen, you will need to create a NANDROID backup of your current ROM. Simply go to "backup & restore" and create a backup file
    8. Now, select "data wipeout / factory reset" from the main menu. You will also need to select "wipe cache" and "dalvik cache" from the "Advanced" menu
    9. Once the handset has been factory reset, select "Install zip from SD card" and load the AOKP zip file
    10. Return to the main CWM menu and select "Install zip from SD card" again
    11. Load the Google apps zip file
    12. Once both the AOKP and the Gapps files have been flashed, select "+++Go Back+++" and then "Reboot system now"

    NOTE: This first reboot (after applying the new ROM) will take several minutes to complete. If the process does not end in 10 minutes, or if your smartphone keeps restarting, then the installation process has failed. You will need to redo the entire guide while making sure that the handset is properly factory reset

    NOTE: You can easily restore your previous ROM should you choose to do so. Simply reboot in CWM recovery, select "backup & restore" and load the NANDROID backup file created before

    Sony Xperia Z (Yuga): Install Android 4.4 AOKP Custom ROM Using TWRP Recovery:

    1. Visit this link to download the AOKP custom ROM (make sure you grab the latest build available)
    2. Download the Google apps zip file by visiting this link
    3. Establish a connection between your Xperia Z and your computer via USB
    4. Copy both zip files (unzipped) on your phone's storage
    5. Once the files have been copied, disconnect your smartphone
    6. Reboot your device in TWRP recovery (refer to the guide above)
    7. Now, create a NANDROID backup. Tap "Backup", select the type of data that you wish to save, rename the file and then swipe the "Swipe to Backup" button
    8. With the backup in place, it's now safe to apply a full factory reset. Select "Wipe", and select "wipe cache" as well as "dalvik cache" from the "Advanced" menu. Complete the operation by swiping the "Swipe to Wipe" button
    9. Now, select "Install" from the main TWRP screen. Browse for and load the AOKP file
    10. Tap "Install" once more, and load the Google apps package as well
    11. After the files have been installed, go back to the recovery screen and tap "Reboot"

    NOTE: generally speaking, after you apply a new ROM, the first reboot takes longer than normal. Don't panic and don't press any buttons. If the process does not end in 10 minutes, or if your smartphone is boot looping, then the ROM has not been installed successfully. Redo the guide from the top and make sure you don't skip any steps

    NOTE: if AOKP is not what you're looking for, or if for whatever reason you wish to return to your previous ROM, then you can use the NANDROID backup to do so. Reboot in TWRP recovery, tap "Restore" and load the appropriate backup file

    See More: Sony Xperia Z (Yuga): Install Android 4.4 AOKP Custom ROM Using CWM or TWRP Recovery

  2. #2
    Clifford12 is offline
    Junior Member


    Re: Sony Xperia Z (Yuga): Install Android 4.4 AOKP Custom ROM Using CWM or TWRP Recovery

    If you’ve been thinking about running a custom OS on your smartphone, my kind advice is for you to better think again. Is it really worth all the trouble to install a custom OS on your phone and break your warranty?
    A custom OS can cause critical problems in phone and installed applications. You may have good reasons why you want to install custom OS, but here are the 5 reasons why you’ll regret it:

    1.Bugs, bugs, bugs
    2.Compromised Camera Features
    3.Unsupported Hardware and Apps Issues
    4.Shorter Battery Life
    5.Losing OEM Warranty

    Free Your Phone And Lock Yourself

    A lot of people want to install a custom OS on their phones, most commonly Cyanogen, because they believed it gives them more freedom with their devices.
    True enough, installing a custom OS comes with a lot of benefits, like privacy, flexibility with apps, and constant updates.

    The Android operating system is an open source system that allows individual developers to explore and customize their own software or firmware based on it.
    However, OEMs (original equipment manufacturer) hold the responsibility in providing firmware updates to all the handsets they made available in the market; they take this game seriously, and in fact, it is one of their selling points.

    Changing your phone’s firmware is really going to compromise your OEM Warranty, some phone features, and some must-have OEM-installed apps.

  • Phones Discussed Above

    Sony Xperia Z More Sony Xperia Z topics Sony Ericsson Forum Reviews
  • Similar Threads

  • Quick Reply Quick Reply

    If you are already a member, please login above.