Xperia-Z-Open-Source-Archive

Update on Xperia™ open source archives

We are always striving to be as fast as we can with making the open source archives available after a software build has been released. Now, as we have released our first Jelly Bean SW for Xperia™ T, Xperia™ V and Xperia™ TX, we have seen quite a few requests for the latest open source archives – both for the Jelly Bean release for Xperia™ T, Xperia™ V and Xperia™ TX (SW build 9.1.A.0.489) and for the Xperia™ Z archives (SW build 10.1.A.1.350) for the Japanese launch. Read more about Xperia™ open source archives after the jump.

In our Xperia Z open source archives, you’ll find archives for all Xperia™ devices that are based on the Android™ operating system. These open source archives are made available as required by the software licensed under the GNU General Public License (GPL) or Lesser General Public License (LGPL), and provided for mobile app development, such as creating custom kernels. These archives are intended for experienced developers, and not for general phone users, so only download them if you need them. The code is typically provided in a compressed archive, such as a tarball (tar file).

How to build an archive
To build an archive, it is important to follow the README_Xperia doc file included in the compressed archive. The README identifies the configuration files you’ll be using, as well as the prerequisites and steps for building the archive. For example, here’s what you need to know for building the Xperia™ Z archive from the README.

Configuration files can be found in arch/arm/configs.

  • Xperia ZL -> fusion3_odin_defconfig
  • Xperia Z  -> fusion3_yuga_defconfig

How to flash your kernel using Fastboot:

Prerequisites:

  • zImage – the kernel you built, located in arch/arm/boot (make ARCH=arm CROSS_COMPILE=/path_to_compiler/arm-eabi- fusion3_odin_defconfig; make  -j8 ARCH=arm CROSS_COMPILE=/path_to_compiler/arm-eabi-)
  • ramdisk.img – root fs*
  • mkbootimg*

*How to obtain these files is beyond the scope of this document, but note that they should match the phone model and the rest of the software.

Steps:

1. Assemble flashable image:

$ mkbootimg --kernel zImage --ramdisk ramdisk.img --pagesize 2048 --base 0x80200000 \
 --cmdline "androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x3F ehci-hcd.park=3 vmalloc=400M androidboot.emmc=true" \
 --offset 0x02000000 --output boot.img

2. Flash:

$ fastboot flash boot boot.img

***

If there’s a build that you’re waiting for, keep checking the Xperia open source section, as we’re adding archives all the time. Leave us a message or comment below and let us know if you have a question about open source archives.

More information

Comments 36

Sort by: Newest | Oldest | Most popular

  1. By Cedric 王

    #1

    I can’t install applications on google play with Xperia C (s39h) . Please HELP…

  2. By Ahamed Mashhoor

    #3

    there is problem on Sony Xperia V random freeze, hang and screen of death, are they any solution for this kind of problems.because i am going to buy a xperia v.please help me…!

  3. By Daniel raj

    #4

    can anyone help me how to instal open sourse firmware update to my mobile by after dowloading it from sonys open souce dowloads?

    • By Joe Padre

      #5

      Hi Daniel,
      The open source downloads are not firmware updates. Download these open source files if you are doing mobile app development or building custom kernels. Check for updates for your phone by connecting to Sony PC Companion, or by checking directly on your phone by going to Settings>About Phone>Software update.
      Best regards,
      Joe from Developer World

    • By Joe Padre

      #7

      Hey there Ahmed,
      If you’re trying to use an open source download file, these are not firmware updates. Download these open source files if you are doing mobile app development or building custom kernels. Check for updates for your phone by connecting to Sony PC Companion, or by checking directly on your phone by going to Settings>About Phone>Software update.
      Best regards,
      Joe from Developer World

  4. By Aaron Back-Stabber Emeritus Ljj

    #8

    Hi Joe!
    I quote your previous post: ” Hi Karlyn, We’re trying to get some information on this as well. Hang tight! Best regards, Joe from Developer World”

    Where is your response on JB for 2012 phones? Hope to hear from you asap. Thanks!

  5. By Andre Löhr

    #9

    Joe? Why you don’t give an answer?:/
    Hmm.. Maybe you didnt see, but I commented with a list of the source’s and lib’s. If you really haven’t seen, here it is ;)

    - GPS sources
    - multimedia sources
    - audio source’s and lib’s
    - RIL source’s and lib’s
    - libadm sources
    - omxbelagio sources
    - libril sources
    - ste components sources

    • By Joe Padre

      #10

      Hi Andre,
      Sorry for the delay. And thank you for the list. I will pass this information on to the ST-Ericsson team, and let you know what comes of it.
      Best regards,
      Joe from Developer World.

  6. By Prashant Satyanarayan

    #15

    we need sources for novathor U8500. dont give us full source code but we need the most essential ones. cummon guys this cant be called open source now. if we dont have sources, the developers will face problems and chances are we will never have any working rom and chances are xperia p/u/go/sola would be stuck on 4.0/4.1 forever. :(. UNDERSTAND GUYS!

    • By Joe Padre

      #16

      Hi Prashant,
      The build for 6.1.1.B.1.54 (http://developer.sonymobile.com/downloads/xperia-open-source-archives/open-source-archive-for-build-6-1-1-b-1-54-6-1-1-b-1-56-and-6-1-1-b-1-75/) has these parts of the NovaThor U8500 code available:
      vendor/st-ericsson/multimedia/linux/bellagio_omxcore/libomxil-bellagio
      vendor/st-ericsson/connectivity/wlan/compat-wireless
      kernel/drivers/gpu/mali/mali400ko
      Let us know if there’s additional pieces that you need and we can ask ST-Ericsson.
      Best regards,
      Joe from Developer World

      • By Prashant Satyanarayan

        #17

        we have been trying to port Jellybean roms to the xperia p/u/go/sola. We dont have connectivity like mobile data, wifi, i believe there is no sound as well due to lack of sources from st-ericsson.

    • By Andre Löhr

      #19

      Hey,

      You asked for the parts that we need? I created a list of all sources/libs that we need. Here it is:

      - GPS sources
      - multimedia sources
      - audio source’s and lib’s
      - RIL source’s and lib’s
      - libadm sources
      - omxbelagio sources
      - libril sources
      - ste components sources

        • By Joe Padre

          #22

          Hi Andre,
          I’ve reached out ST-Ericsson and they are now looking into the issue. Will get back to you on this as soon as I get some info from ST-Ericsson or from our Open Source team.
          Best regards,
          Joe from Developer World

          • By Joe Padre

            #24

            Hi Andre,
            Have some answers… Sony has published the following code for U8500:
            vendor/st-ericsson/multimedia/linux/bellagio_omxcore/libomxil-bellagio
            vendor/st-ericsson/connectivity/wlan/compat-wireless
            kernel/drivers/gpu/mali/mali400ko

            This is all GPL licensed, so we have to publish it. Anything in addition to this would have to be published by ST-Ericsson.
            This is applicable for build 6.1.1.B.1.54, but this U8500 code should be in all our open source archives for the devices that have NovaThor – Xperia S, Xperia P, and Xperia sola.

            Let us know if there are other parts of the U8500 code that you need and we can inform our ST-Ericsson counterparts.

            Best regards,
            Joe from Developer World

    • By Joe Padre

      #26

      Hi Karlyn,
      We’re trying to get some information on this as well. Hang tight!
      Best regards,
      Joe from Developer World

  7. By Alin Jerpelea

    #27

    we were waiting those sources
    those are an big help for FreeXperiaProject
    thanks

    • By Joe Padre

      #28

      Hi Alin,
      Thanks for the feedback.
      Best regards,
      Joe from Developer World

    • By Joe Padre

      #30

      Hi Arc Angel,
      Cool. Let us know if there’s anything else you need.
      Best regards,
      Joe from Developer World

  8. By Damodara das

    #31

    Why don’t you release the hdmi sources for 2011 xperia phones?

  9. By intelico intelico

    #32

    Xperia™ its great mobile i am use always sony product its best and comfortable its touch http://www.intelico.com

1-36 of 36 comments.