AOSP now available for Xperia™ Z on Sony’s GitHub [open source + video]

***Update: Software binaries updated. ***

Remember our Android Open Source Project for Xperia S? Because of the great interest we saw in that project, we’ve now decided to create an AOSP project for Xperia Z as well. This means that the software will be open for you as a developer to use and contribute to. This is a way for us to continue our commitment to support the open Android community. It is also a tool for us to facilitate and verify contributions to AOSP on the APQ8064 Qualcomm® Snapdragon™ S4 Pro platform. Get the details after the jump!

Johan Redestig and Björn Andersson, senior software engineers at Sony.

Johan Redestig and Björn Andersson, senior software engineers at Sony.

About the project
Just as for the AOSP for Xperia™ S project, the AOSP for Xperia™ Z project will be maintained by Johan Redestig and Björn Andersson, senior software engineers at Sony. Now, if you go to Sony’s GitHub and check out the AOSP for Xperia Z project, you will find the code.

For the AOSP on Xperia™ Z project to run, we are also providing some binaries here on Developer World. Binaries are for example hardware drivers that are specific for a certain chipset. Since some of the binaries are proprietary files provided by Qualcomm, you can download Xperia Z binaries (updated version) after accepting an end-user license agreement that states how the files can be used and what limitations that exist. Remember that the software is not intended for everyday use, and it does not include some apps and services that are part of standard phone software. Build instructions can be found in the readme file in the AOSP for Xperia Z project on GitHub.

Current status
Even though the software is not suited for everyday use, there are actually a lot of things working already. It boots up, and we have the SD-card, Wi-Fi®, Bluetooth™, GPS, LED light, and sensors working (at least partially). And as you can see in the video above, we are also having the modem and camera running internally. However, both of these functions require proprietary binaries that we cannot publish at this time.

How to contribute
If you are interested in making contributions, head over to the AOSP for Xperia Z project on GitHub. Make yourself familiar with the code and feel free to have a look at the issue list to see where you might be able to help out. All contributions are handled through the GitHub tool.

Coming updates
Going forward, the next step in this project is to replace some of the binaries provided here on Developer World with source code, and to release binaries for NFC to work. For the latest technical status, check out the AOSP for Xperia Z project on GitHub. And feel free to drop us a line in the comments below if you have any questions. We hope many of you developers will engage in and contribute to this project!

More information

What others are saying

Comments 54

Sort by: Newest | Oldest | Most popular

    • By Anna Aleryd

      #2

      Hi,

      This software is intended for developers, and not suitable for daily use. If you still want to install it, follow the instructions in the README file over at GitHub. Note that your phone must be unlocked.

      Br,
      Anna from Developer World

  1. By Mithun Shanoj

    #3

    Can this be used for compiling for Xperia ZL as Z and ZL are super same?

  2. By Tamanna Saini

    #4

    the new software binaries is not working in c6602… Y????? kindly update any link for the same.

    • By Anna Aleryd

      #5

      Hi,

      This project never supported C6602, it has always been the C6603 variant. Unfortunately, we have a limited bandwidth and are not able to support all different variants of the phone model.

      Br,
      Anna from Developer World

    • By Anna Aleryd

      #7

      Hi,

      Thank you for noticing! I have updated the links.

      Br,
      Anna from Developer World

  3. By Christophe De Wolf

    #8

    Does this ROM support other models from the Z series? Like the ZL, ZQ or upcoming ZR?

  4. By ArunK Chow

    #9

    @Sony.. How did you install AOSP Build on the Xperia Z demonstrated in the video?

  5. By ANBU J

    #10

    OK.. What about c6602? I felt that I was cheated when I found that there are two models under the name of Xperia Z, and I have C6602.. There was an update rolled out for c6603 recently, and not available for me.. Even in this AOSP project, they are considering C6603.. What should I do now? Throw my phone?

  6. By Wouter Heijligen

    #11

    Hey, even with the new software binaries, there still isn’t much working, Wi-Fi MAC-address also is unknown, this should be the reason for the Wi-Fi not working. Also, I compiled the kernel myself with 4.7 toolchain, it compiled fine, size was dfferent then the precompiled one, but the AOSP rom only boots and that’s about it, the status of the project is:
    - Booting
    - Fast & Smooth
    - No Wi-Fi, bluetooth, even no sound, no GSM, no camera etc

    Please edit your info here, or update the sources again, otherwise I’ll try to make an AOSP rom from scratch using some proprietarie blobs for camera. Thank you for your info.

    • By ArunK Chow

      #12

      How are we supposed to install this AOSP on our phone..? Is it gonna come in a flashable package using Flash Tool with no need of unlocking the bootloader and stuff or Sony literally endorses the custom kernels with recovery to flash the CynogenMod like Zips? When Sony built this it better build it in a flashable like it’s Stock Firmwares. Other wise there is no point at all..!

      • By Anna Aleryd

        #13

        Hi,

        There are instructions for how to build and flash the AOSP software on your phone over at GitHub. To do this, you should be a developer with experience of building and flashing custom software. And keep in mind that this software is not intended for daily use, and it doesn’t have all the functions and services you would normally expect from a phone.

        As you can read in the article, the purpose of the project is to help community devs (like CyanogenMod and others) in their development, and also for us at Sony to have a tool to verify and facilitate contributions to Android in an open environment.

        Br,
        Anna from Developer World

        • By ArunK Chow

          #14

          Hey Anna,

          Thanks for the reply. I did go through github and seems like everything is in place. Howerver, what stumped me is, my phone.. It appears like I cannot unlock the bootloader for my phone. I got it from Swedish Three network. I went to the Sony’s bootloader unlocking page and to my surprise I found that my phone has “Bootloader Unlock Allowed = No” mentioned in “Configuration” menu.
          Now my question is, does that mean I can never unlock the bootloader or there might be some procedure that Sony might throw out in near future? I’m sort off lost here!?

  7. By raffaele campino

    #16

    from what I see the colors seem to improve with this update, but we know what will disponibbile between the full update?
    There are micro lag, and the camera I think it can do much more than it is now.
    I’m not good at these things in fact I Parura to include this update hope you will find the solution soon and all the problems, I love the sony xperia z I do not mind the negative comments but I know I can give more than they are now.
    bye bye from Italy Raffaele :D

  8. By Ashley Jacob

    #17

    Sony is late but kickass as before. It is known for its extensive research and perfection in designing and manufacturing its products. The Xperia Z is a masterpiece and is has a lot in its inventory to offer. Can’t wait to get hands on this machine and install One browser to it. Its an amazing browser and works best on android. It comes with a download manager which helps you to resume downloads even if you receive a call while downloading. To sum up an amazing phone and my next purchase. :)

  9. By Anonymous

    #18

    It will forgotten just like xperia s and others such as 2011 and 2010 line phones
    failed maintaining software side updates
    this is just show of business

    • By Wouter Heijligen

      #19

      This is great for developers like me on communities like XDA, we can use this sources to make a nice rom. Having this can help a lot.

  10. By Malik Sundrani

    #20

    Sony Xperia Z is one of the worst phone. The screen is not at all durable, as the sony global website brags about the the phone is stronger and durable.

    The company website states :-

    1) Smart, sleek & durable

    No one knows how to best pack durability into a beautiful design like Sony. The slim 7.9 mm body, with its reflective glass surface, looks and feels slick, but Xperia Z is crafted to be water-resistant, dust-resistant and tough enough to handle whatever life has planned.

    2) Tough as metal

    How solid does a precision engineered smartphone need to be? How about as solid as a car? Xperia Z’s frame is made from glass fibre polyamide, the same material that’s used as a metal substitute in automobile parts.

    3) Durable glass

    The durable tempered glass on front and back is a lot stronger than conventional glass. And with anti-shatter film on the front and back, Xperia Z is anything but fragile
    —-

    Unfortunately after 15 days of buying this Xperia Z the phone was been dropped by a kad at my home from dining table annd the screen Scattered the body also got cracked. I had been to Sony service Center and they do not even know the cost of repair. I tried to convince the the staff at service center that the website phone mentioned that the phone is strong so how did the glass schattered and the body.obtained crack from just 3 feet dining table.

    The phone also heats up even not in use or while not charging, & the audio quality is low, and even the battery optimizitation mode does not works properly,

    When called up customer care they are of not appropriate help. 1st they informed they not know the cost of the repair. Later they say the phone cannot he repaired and they have to replace the phone with the additional cost that is half the cost of new phone.

    Senoir executives do not reply to calls, they are arrogant and rude.

    Moral of the review : The phone ” Sony Xperia Z ” is not worth a buy, Xperia Z is not a “A” catogary phone. Cheap glass, and heats up brings disadvantage to phone. all I can joke is the phone is waterproof so that one can make the phone cool by immersing it in water…

    DO NOT BUY THE PHONE FOR EVER…

    • By Wouter Heijligen

      #21

      I dropped mine also from about 2 or 3 feet 2 times already and it’s not broken, you can’t even see it has been fallen on the ground. Just be sure to get a screen protector for the back and leave the pre-installed one on the screen.

      Heating up isn’t really a problem, there is a protection built in the kernel and system, it protects the phone against heat, mine has never been to hot to hold. I also play heavy games like real racing 3, I must say it gets quite warm, but it’s not an issue because of the kernel protection. Stamina mode is also working good here, just be sure to update to latest .434fw.

      Service was very good for me, when I had a death phone due to the bug in .350fw, I had it 15days, which was to long to get a replacement immidiately, but still they gave me an immidiate replacement, without having to wait 4 weeks for a repair in service center (which would have been useless since all flash modes were broken, bootloader was completely messed up)

      I’m a developer, so I know what I’m talking about. Maybe that’s why I got a replacement right away etc, but still, the Xperia Z is a great phone in my opinion, it’s not bad at all. If you want a phone that can’t be broken, and won’t have software issues get yourself an old Nokia 3310 :P

  11. By Wouter Heijligen

    #22

    @Sony, I can succesfully compile the sources, bit Wi-Fi, Bluetooth etc are not working. When I read the article, it os supposed to work. Also any chance kernel sources will be released to developers? Regards, krabappel2548, recognized developer @ XDA

    • By Anna Aleryd

      #23

      Hi,

      Thank you for commenting! I have forwarded your question to Johan and Björn who maintain the project. The kernel source can be found on GitHub.

      Br,
      Anna from Developer World

      • By Wouter Heijligen

        #24

        Thank you, somehow I must have missed the kernel sources. I’ll try to compile again, this time I’ll compile the kernel myself and see if I can get wi-fi etc working

Show more comments

1-25 of 54 comments. Show all comments