Alin Jerpelea

We heard you! Sony kernel sources now available on GitHub

Openness is important to Sony, and as a next step of our work in this area, we will now make Sony kernel copyleft sources for flagship devices available on the SonyXperiaDev GitHub. This is a long sought step for all of you open source developers who’ve been waiting for this to happen. We heard you, and now it’s done! More sources for other devices will be added over time.

Multiple benefits for developers
Putting the Sony kernel sources on  GitHub is made solely for the purpose of making things easier for open source developers working with custom ROMs and kernels. Our zip-filed open source archives on Developer World will still be maintained, but for you as a developer, the transfer to GitHub will imply several major advantages. Not least by the fact that it will now be easy to integrate, track and review any changes. It will literally save you hours of work, compared to before when you manually had to check for differences.

How to get access
The kernel sources are published on the  SonyXperiaDev GitHub. Simply select your build, and you get instant visibility to individual commits from the chipset manufacturer kernel used by Sony as baseline, as well as to the changes made by Sony ourselves. We hope that this will make it easy for custom kernel and ROM developers to be constantly in sync with the latest patches.

If you have any ideas or requests regarding Sony’s open source work, or our projects on GitHub, feel free to let us know in the comment section below.

More information

Comments 33

Sort by: Newest | Oldest | Most popular

  1. By M S


    What about other devices? Please don’t forget other users and upload sources for Xperia M2

    • By Alin Jerpelea


      Please stay tuned
      We will update the guide soon

      Best regards

      • By Erik Castricum


        Would be nice if M2 devices. Currently cyanogenmod is booting, but modem continuously restarting so no mobile network and a camera issue. Keeps me from sleeping for 2 days in a row now 🙂

  2. By Thorizq Akbar Surya Pujangga


    hi sir alin,i have a question about the time sony will release the kernel source for T2 ultra kitkat..
    thanks before

  3. By Михаил Тронин


    вот так вот

  4. By Theo Jalba


    @Alin Jerpelea: I love that you are working with Sony to release kernel software, so third party devs can release custom ROMs.

    I have a question regarding the released software for the Z2 tablet [1]… Looking at commit history it seems the latest changes are from late March. Does this include the changes for kernel 3.4.0-perf-gb772cca which was released with the .402 firmware in May? If not, when can we expect to see those changes?


    Also, would it be possible to use tags in Github to mark release versions of the software?

    Once again, thanks for your work.

    • By Alin Jerpelea



      unfortunately this is not possible

      Best regards

    • By Theo Jalba


      Nevermind, looks like the June 9 commit is the .402 firmware.

  5. By Kelvin Elaine


    I understand that xperia c can move apps to memory card
    why was this taken out from the xperia z2

    any ideas if it would be implemented back to xperia z2?

  6. By Abdul Ghani


    @Alin Jerpelea why sony isint fixing the camera software for low light and indoor pictures the level of noise and grain is so high i cannot take good pictures at or any z1 z1c and z2 owners please ask sony camera team to fix this issue

    • By Edvard Holst


      Im sure Sony is working hard on improving the camera software. However, your post is off topic and should probably not be directed at Alin

  7. By Noel Macwan


    What’s about being fully open source
    Push out rom source to git
    Yeah, that will be crazy step
    But thousands of thousands people who are disappointed because of lack of software update on their xperia device will feel better even after flashing the rom based on Sony’s source in their unlocked bootloader device
    And Sony will beat up other manufacturers in terms of software update

  8. By Edvard Holst


    Having some issues with AOSP/CM11 on the Xperia Z1. The camera preview stream takes forever to connect at first run after boot and in most cases just times out.

    Here’s the logcat output on CM11:

    And here is the equivalent procedure on stock sony firmware:

    Any idea what might be causing this and whether proper device configs for the Z1 will solve it?

    My theory is that there’s either something wrong with the qcom camera vendor libs Im using or the qcom camera HAL.

    Thanks again for your great efforts.

    • By Alin Jerpelea


      OK thanks , we will look into it. Stay tuned!

      • By Edvard Holst


        Cool. From what I can tell the issue is with the autofocus lib.

      • By Sheen Razote


        Hello sir Alin,
        I just want to ask something, if it is okay to flash z1 compact firmware to z1 c6903? 🙂

        • By Edvard Holst


          No, you cant flash a firmware designed for a different device on your Z1.

      • By Abdul Ghani


        We all xperia users want camera software fix because it cannot take good quality indoors and low light pictures and there are no details and so much grain and noise …if this problem is fixed then it is the best phone ever z1 z1c z2 and coming phones shouldn’t have this poor software

  9. By Edvard Holst


    AOSP is currently running fairly well on the Z1, but the most obvious issue is that the preview stream is taking ages to connect when using the camera the first time after boot. Most commonly it just times out.

    Here is the logcat output:

    Here is the logcat output of the same procedure on stock Sony firmware:

    Do you have any idea what the issue here might be and whether this will be solved with proper device configs? My guess is that there’s either something wrong with the qcom camera vendor lib, or with the camera HAL.

  10. By Roman Le Négrate


    Wow, Sony. You’re getting my attention for my next purchases :-).

  11. By Anupam Nath


    Nice. Good stuff guys, keep it up!

  12. By Christoffer Wassberg


    This is nothing else than amazing! Keep up the good work, Sony and Jerpelea, and increase the support for the AOSP scene even further! 🙂

  13. By Edvard Holst


    Any chance of device config repos for your current flagship devices showing up? Currently only see the Z and ZL on there.

    • By Alin Jerpelea



      we are working on these, so please stay tuned to the Sony GitHub.


      • By Edvard Holst


        Fantastic! Cant wait!

  14. By Edvard Holst


    Any instructions available on how to compile AOSP using these sources?

    • By Alin Jerpelea



      once we have finished the device config repos and needed binary objects for our latest flagship devices, we will look into creating guides for the community. Stay tuned!


  15. By Barry Schut


    Oh my god … the first and the best action from the community’s most revered developer … THANK YOU Jerpelea!! 😀

Show more comments

1-28 of 33 comments. Show all comments