Xperia™ S open source archive released with building instructions

Are you a custom ROM developer? If so, you’ve probably checked out our Sony Xperia™ open source archives before. Last year we told you how to build a Linux kernel. Today we’re releasing the open source archive for the Xperia™ S, which contains files you can use when building a kernel. This is the first time we publish source code for a product built on the Qualcomm Snapdragon S3 platform, and to flash this software, you need do some additional steps and run a script that we also release today. Read more after the jump!

The open source archive for the Xperia™ S is the latest addition to our open source archives. To be able to flash the software on Xperia™ S, you need to add a proprietary firmware file (RPM.bin) to your kernel by using a script called This script is used specifically for Xperia S and replaces mkbootimg, which you would normally use. The script creates a flashable image needed to flash your ROM onto Xperia S. If you don’t do this, you won’t be able to flash the software on your Xperia™ S.

The Resource Power Manager (RPM) is a hardware block required for managing shared resources in order to optimise power consumption. RPM communicates with processors and hardware accelerators in each subsystem to process and coordinate shared resource requests. Since the RPM.bin file is a proprietary file provided by Qualcomm, you will need to accept an end user license agreement before you can download it. The script ( is released under the 3 –clause BSD open source license.

How to use the flash tools
Download RPM firmware for Xperia™ smartphones and, to somewhere on your computer. Then perform the following steps:

1. Create the kernel image by executing the following command in the command prompt:

python -o kernel.elf zImage@0x40208000 ramdisk.img@0x41200000,ramdisk RPM.bin@0x20000,rpm

2. Flash and reboot your phone with the following commands:
fastboot -i 0x0fce flash boot kernel.elf
fastboot -i 0x0fce reboot

So, are you eager to start developing your own ROM for Xperia S? Check out our open source archives for Sony Xperia™ phones, and feel free to drop us a comment below if you have any questions!

More information

Comments 56

Sort by: Newest | Oldest | Most popular

  1. By jose francisco navarro


    codigo para liberar por imei

  2. By Adrian Danila


    I’m looking for a guide for Xperia T, can i use this one or? how do I merge the source into the android source code? any tips would be welcome.

  3. Pingback #3

    […] association has done a source formula of a Xperia S smartphone open source. In a blogpost that was expelled yesterday, a association before famous as Sony Ericsson also done accessible a […]

  4. Pingback #4

    […] Xperia™ S open source archive released with building instructions – Deve…Phone Gallery · Product filter · Compare phones · Borrow a phone · Downloads · Technology · Overview · Android · Smart Extras™ · Open source · Developer resources · Borrow a phone · Other · Promotion … […]

  5. Pingback #5

    […] el blog de desarrolladores de Sony Mobile tienes todos los detalles al respecto, estando disponible el firmware del terminal y el script […]

  6. Pingback #6

    […] Fuente y más información | Sony Mobile Blog […]

  7. Pingback #7

    […] Read | Permalink | Email this | Comments […]

  8. Pingback #8

    […] Read | Permalink | Email this | Comments […]

  9. Pingback #9

    […] Read | Permalink | Email this | Comments […]

    • By Anna Aleryd


      Hi Marcus,

      Thanks for your comment. As Xperia S is released on Gingerbread, we have to share the open source archive for that version. The source for ICS will be published in relation to the upcoming ICS roll-out.


  10. Pingback #12

    […] veröffentlichte die Software-Quellen mit einem Open Source Archiv für viele Xperia und auch ältere Smartphones mit Android von Sony Ericsson. Eine Anleitung zum […]

  11. Pingback #13

    […] […]

    • By Johan Abramsson


      Hi Thilo,
      it was not a very specific question you asked. On Xperia S but what I can say is:
      On Xperia S only MTP is supported towards the internal SD card / disc partition. In normal cases are both MTP and MSC supported towards the external SD-card.
      Is this what you are referring to ?
      Kind regards

  12. Pingback #16

    […] (20 maart) Sony komt met een handleiding voor het maken van een custom ROM voor de Xperia S (21 maart) Angry Birds Space komt uit in Google Play, de voormalige Android Market (22 maart) Fabrikanten […]

  13. Pingback #17

    […] źródło: / Czy możemy liczyć na otwarte media publiczne?Wysłuchanie publiczne w sprawie ustawy medialnej odbyło się 6 lipca. Debatowano nad zestawem poprawek zgłoszonych przez klub PO (Poselski projekt ustawy o zmianie ustawy o … Wykop zbiera podpisy „Nie dla ACTA!”Wykop dziś rozpoczał akcję zbierania podpisów. 26 stycznia polski rząd mimo sprzeciwu tysięcy internautów i ponad dwóch tysięcy serwisów internetowych, zdecydował się podpisać porozumienie ACTA. … O czym media milczą: Czy reszta Europy powinna wziąć przykład z Islandii ?Islandczycy sprawili, że rząd, który aprobował pod dyktando światowej finansjery zubożyć islandzki naród zgodnie ze scenariuszem aktualnie „przerabianym” przez Grecję podał się w komplecie do …Autorem jest Andrzej Wiśniewski  (208 artykułów)Redaktor naczelny media:RP Zainteresowania: zabezpieczenia, IT, SEO, programowanie, dziennikarstwo społeczne, sporty ekstremalne, bieganie wyczynowe, rozwój osobisty, zdobywanie umiejętności Własny światopogląd. Niezależny. Bez skrajności. "The wall is in your mind, not your body" window.fbAsyncInit = function() { FB.init({ appId : 125691320891831, status : true, // check login status cookie : true, // enable cookies to allow the server to access the session xfbml : true // parse XFBML }); }; (function() { var e = document.createElement('script'); e.src = document.location.protocol + '//'; e.async = true; document.getElementById('fb-root').appendChild(e); }()); /* […]