Earlier this week, Sony and Telefónica announced in a joint press release that we are evaluating the Firefox operating system for mobile phones. To show you our current progress, we now also provide an experimental version of the Firefox OS software for Xperia™ E, so that advanced developers can try it out and so that we can get valuable community feedback. In this article, we give you the background of Firefox OS, instructions how to flash Firefox OS on Xperia™ E, as well as an introduction to how to start developing applications for Firefox OS.
Firefox OS is a new mobile operating system built entirely upon open web standards, and Sony is interested in exploring this technology with Telefónica to help bring the power of the web to mobile. This sentiment is further expressed by Bob Ishida, Deputy Chief Executive Officer and Head of Products Business Group at Sony Mobile Communications, who says:
“At Sony Mobile, we continue to evaluate innovative technologies that can help deliver the premium user experiences that Sony’s consumers expect. Our engineers are now working with Firefox OS Mobile and HTML5, evolving technologies which show great potential.”
Now we’re ready to share our initial experiments on Firefox OS with the tech community, to get valuable feedback. More importantly, we want to reach out to the application community and support the early adopters who can start to develop applications for Firefox OS. Therefore, Sony experts Andreas Sandblad and Per Åstrand have put to together an experimental Firefox OS ROM for you to flash on Xperia™ E.
This software is not intended for daily use, and several important limitations apply. You can read more about this in the section “How to flash Firefox OS on Xperia™ E” below, but first Anders Isberg, Web Researcher from Sony, will introduce you to the Firefox OS.
An introduction to Firefox OS – the newest mobile platform
Firefox OS is based on the idea of taking the web application model a step further and enabling support for all types of applications. This includes applications that today are done with native programming languages, such as the camera application or the traditional dialler application. To facilitate these requirements, Firefox OS provides a richer set of device APIs compared to traditional web browsers. In addition to traditional web browsers, Firefox OS also have a privileged access model for applications. This ensures that applications cannot access sensitive APIs without proper authorization.
One of the cornerstones of the web application model is the openness, which is one of the reasons for the popularity of web. Therefore, it is essential that this technology becomes standardised to avoid creation of new proprietary technology. W3C has established a new working group, Web System Application working group, which has support by a broad range of players in the industries. Sony also supports this initiative, and we are committed to contribute to the work of defining a new standard for web system applications in W3C.
The architecture of Firefox OS
Now let’s take a brief look on the Firefox OS software architecture. In simplest terms, Firefox OS consists of three key components:

Illustration of the Firefox OS architecture.
- Gonk, which is the middleware that consists of a Linux kernel together with several software libraries and a hardware abstraction layer. Gonk runs on top of the mobile chipset that includes hardware and device drivers.
- Gecko, which is the application runtime that implements the HTML5, CSS and JavaScript execution environment.
- Gaia, which is the user interface in Firefox OS and provides the home screen and application launcher user experience.
Since Firefox OS’s primary application model is based on web technologies, there is no real concept of native applications. All user experience are developed using HTML, CSS and JavaScript technologies.
How to flash Firefox OS on Xperia™ E
Now that you have a basic understanding of Firefox OS, and if you’re ready to start tinkering with it on an Xperia™ device (for now, Xperia™ E), the next step is to flash Firefox OS on it. Before you flash this experimental ROM, please consider the following carefully:
- Before you unlock the boot loader, make sure that you have read and understood that unlocking the boot loader may void the warranty of your device.
- You must be using an unlocked Xperia™ E. It will not work on a locked Xperia™ E.
- You should be an advanced developer with extensive knowledge in how to flash and switch between different ROMs. If you are a consumer without these developer skills, then we strongly recommend you not do try this as you may damage your phone.
- Some of the features are not switched on or implemented:
- No radio connectivity available, due to that this software has not passed certification and type approval. This means that you cannot make any phone calls or use Wi-Fi or Bluetooth.
- The functionality of the SD card might be unstable.
- The touch sensitivity is not fully calibrated.
This software can be flashed on an Xperia™ E that has similar hardware specifications as the initial scope of the first version of Firefox OS and is therefore a natural candidate.
Flash Firefox OS on your Xperia™ E by performing the following steps:
- Unlock the boot loader using our unlock boot loader service. Note that the possibility to unlock a device can sometimes be restricted due to operator restrictions. Also note that once you’ve unlocked your phone, you will not get any official software updates from Sony.
- Download and install the flash tool for Xperia.
- Start the flash tool and connect your phone as described in the flash tool instructions. When you connect your unlocked Xperia™ E, the Firefox OS software will be available to flash. There is also a standard Sony software version that you can flash, if you want to go back to Android™ from the Firefox OS software.
If everything went well, your device is now ready to boot with Firefox OS. Turn on the power and after the initial boot sequence, you can start to explore Firefox OS.
How to build apps for Firefox OS
One of the most exciting aspects of web-based devices is that there is already a well established ecosystem for application developers. If you have already developed web applications, you can continue to use your favourite tools. However, before starting to implement your first application, there are some resources that are useful to consult. The Mozilla Developer Network has an extensive set of documentation on how to get started with Firefox OS development. There you will find information about how to write an application, the privileged access model, emulators, debugging instructions and considerations to get good performance.
If you are used to develop web apps, you will immediately recognise the way of developing applications. However, one key component that is added is the concept of manifest files. The manifest file contains extra metadata about the web application, to make it installable. For example, the following information could be declared in the manifest:
- path to the application
- privileged API access
- localization data
- links to different icon resources
Once the app is developed and the manifest is created, the application can be installed on your device. If you would like to share your first applications, it is possible to self-host the applications on your own server by adding some lines of code into your web page. Here is an example of how to self host an application.
Let us know what you think of Firefox OS on Xperia™ E
If you plan on using the Firefox OS software and get started on your mobile web development, we’re very eager to get the community feedback of your experiences with Firefox OS on Xperia™ E. Let us know what you think in the comments below. And if you publish your apps, feel free to share the link in the comments field!
More information
- Download the Firefox OS on Xperia E open source archive.
- Get a basic introduction to Firefox OS.
- Check out Mozilla’s technical intro to Firefox OS.
- Get started creating apps on Firefox OS.
- Read a more detailed description of the webApps concept.
What others are saying
By fadli zuha
#1hi,
i’ve register to Emma..
but i can’t login. why?
By Anna Aleryd
#2Hi,
You don’t have to register or log in to use the flash tool. Just make sure you have the customization.ini file in the right folder, as described in step 4 and 5 on the installation page.
Br,
Anna from Developer World
By Sascha Dech
#3Hi Anna,
Would it be possible to give a hint if you are planning to make WiFI or Cellular available for this ROM?
I would love to use the device for App Development and specially for testing my apps.
But away from the no Data Connection Problem, i really like the openness of Sony and the fast porting of this system. Great Job. Thanks a lot and it is really great to see it in an early stage like this.
Thanks,
Sascha
By Agung Sukareeman
#4could u make it for xperia sola
By 王硚
#5could u make it for xperia U?
I want firefox os.
By Ludomił Sawicki
#6Are you willing to make another software for xperia go? Or maybe it’s useless? This rome would also fit?
By Anna Aleryd
#7Hi,
We are currently not planning to provide Firefox OS software for Xperia™ go. And as you can understand, this ROM only works for Xperia™ E, as all devices have their own specific configuration.
Br,
Anna from Developer World
By Fawad Hassan
#8Is Sony going to update it regularly like Geeksphone is doing?
By Benjamin Aylott
#9Any word on an update which will enable the radio devices?
By Amit Kumar
#10Does the current version supports C1504 (nanuh SS)?
Thanks!!!
By Amit Kumar
#11My Xperia E is bricked after boot unlock
. Its not booting and stucks at sony logo.
In emma tool the device is detected but it says “No available services matched the connected device”.
Is there anyway I can recover it?
Thanks for all your help.
By Vikas Anaokar
#12amit kumar i got a bootloop after unlocking bootloader. how did u recover it ?
By Amit Kumar
#13I am able to recover the phone:) .
Is firefox OS available for C1504 model (nanhu SS)?
Thanks
By Anna Aleryd
#14Hi Amit,
Great to hear that you managed to recover your phone
Firefox OS is unfortunately not available for the C1504 variant of Xperia™ E. Check out the list of supported phones for more information!
Br,
Anna from Developer World
By Leonardo Ferraro
#15Why the source provided by sony are very different form the official mozilla source?(gecko , b2g , gaia etc…)
By Anna Aleryd
#16Hi Leonardo,
Thank you for commenting! In what way do you think our implementation is different? The build we provided is all based on the v1.0.0 Firefox OS code from the open repositories, with only minor changes for hardware adaptations.
Best regards,
Anna from Developer World
By Benjamin Geese
#17Hi Anna,
i think about buying an Xperia E for the purpose of evaluating Firefox OS. Will the OS for Xperia get updates?
By Tushar Pawar
#18Hello Benjamin,
If purchasing cheap handset is your motto, you may try going for HTC Explorer, firefox has been ported to this device. And if you are thinking of purchasing a new handset, you may think of buy a better one too. Lot’s of ports have been made to Galaxy S2, Nexus S, Optimus L5 etc. Have a look around the web for Firefox OS port.
Firefox might have and update sooner, but as Sony says, Radio is off. So, unfortunately, you’ll have to wait till the stable version is available.
By Jeff Jolley
#19Is there a date when Sony will update the Firefox OS build with one that works with the wireless antennas on the phone? I don’t see any purpose to even try this without Wifi, let alone cellular. This seems like quite a useless project with no wifi.
By tony wang
#20Hi, Anna, I try to connect the EMMA with my C1604, but it always tells me “no available services matched the connected device”. I don’t know why?
I have already unlocked the bootloader.
Tony
By S.A. Top
#21request, make the sony xperia bootloader opensource (hehe)
request make the sony xperia bootloader multiboot with a menu for poweroff/reboot/flashmode/fastboot/boot stock rom/boot custom image on sd/boot from USB OTG usbstick/edit boot parameters
request make the sony xperia bootloader replaceable with grub lilo grub2 or something
we want to multiboot into android/firefox os/linux distribution/ubuntu touch/tizen/sailfish/symbian/windows etc
we want choice and more options to use our device wich are too expensive to throw away after 2 years of use
i like to have firefox os on my xperia s !
By Lukas Nathania
#22I hope that Sony Mobile also brings Firefox OS for Xperia Live With Walkman
By Julian Yuryevich
#23Sony and OS!
Hello!
I apologize for my English!
I have written to you my views and thoughts about the mobile operating system and your device. Wrote about “webOS from Palm” absorbed “HP” and then sell “LG”! And its yet bought a “webOS” Company “LG”, not you!
There is now a rumor and soars BlackBerry and its sale. Interested in buying “Lonovo”!
If RIM BlackBerry will be sold – do not miss the chance to buy!
BlackBerry OS on all your devices. A strong and growing platform QNX.
1. Sony Xperia smartphones
2. Xperia Tablet Tablet
3. PlayStation
One OS for all products (work, rest, play on anything, anywhere)
4. TV Bravia (SmartTV)
Sony Pictures Entertainment (production and producing films, owns studios Columbia Pictures and TriStars Pictures, as well as a complete archive of films of MGM (in partnership with Comcast)) and Sony Music Entertainment – This, in turn, a music shop and a television shop (similar to iTunes Store). Direct your internet broadcast channel Sony Entertainment Television (in which collection of more than 4,000 movies and more than 40,000 hours of TV serials, TV shows produced in the USA and the world.)
By Anna Aleryd
#24Hi Julian,
Thank you for sharing your thoughts
Br,
Anna from Developer World