Guided by: 
Anju K.S 
Asst.Prof. Dept of CSE 
Done by: 
Nivin Thomas Nelson 
R710 
S7 CSE
CONTENTS 
• INTRODUCTION 
• LEADING PROPRIETARY MOBILE OSES 
• OPPORTUNITIES FOR DEVELOPERS 
• CONSUMER FREEDOM 
• NEW WEB STANDARDS 
• FEATURES 
• ARCHITECTURE 
• WORKING 
• ADVANTAGES 
• CONCLUSION
The Firefox OS 
• A new Mobile Operating System 
• Announced on July 25, 2011 
• It is developed by Mozilla 
• It is based on Boot-to-Gecko (B2G) 
• Implements all standards based 
web technologies 
(HTML, CSS, and JavaScript) 
• It is open-source
• Simply it's a Web App transformed in User Interface for your 
Smartphone. 
• The idea behind Firefox OS is simple: building apps for the mobile 
web using exactly the same tools and languages as the desktop web. 
• Firefox OS is simple to create and work on. It is completely based on 
HTML5 and CSS3 just like a browser running on your phone.
Bringing the Open Web 
to 
Mobile Devices OS
Bringing The Boot to Gecko project 
was launched to enable the Open Web 
as a platform for mobile devices. 
It is making innovation possible by 
driving the development of new Web 
standards.
Freedom From Proprietary Mobile Platforms OS
Blackberry
Operators and developers write apps and services for 
one platform and then rewrite them for others. Users 
who want to buy phones, e-readers and game 
consoles from different manufacturers often need to 
re-purchase apps for each device.
Opportunities for Developers
Using HTML5 and the new Mozilla-proposed 
standard APIs, developers everywhere will be able 
to create amazing experiences and apps. 
Developers will no longer need to learn and 
develop against platform-specific native APIs.
CONSUMER FREEDOM 
Consumers who use devices based on the Open Web platform 
will be able to easily access and download their own content 
regardless of which OS they use.
New Web Standards 
Firefox OS produces an implementation of these new 
Web standards to free mobile platforms from the 
encumbrances of the rules and restrictions of existing 
proprietary platforms.
FEATURES 
Mozilla’s first HTML 5.0 
browser based mobile 
operating system. 
It focuses on providing a 
quality user experience at 
the budget level. 
Firefox OS claims it will 
exceed the experience of 
its android equivalents. 
Firefox OS will offer deep 
facebook and twitter 
integration.
CONT...... 
It provides full browser version of Google 
Maps. 
Speed and efficiency are key selling points 
along with usability. 
75 % of the total apps on Google Play Store 
and Apple Apps Store are HTML 5.0, making 
them easy to port over to Firefox OS. 
These handsets will be extremely cheap 
around 3000 INR.
CONT...... 
• It provides more enhanced 
Multitasking as similar to that 
of Windows or Mac. 
• The Firefox OS is really fast and 
smooth as its apps does not 
take lot of space in system 
RAM. 
• It provides great management 
between offline and online 
apps. 
• The resource management 
level of HTML 5.0 apps is better 
than java based apps.
ARCHITECTURE
GONK GECKO 
GAIA
ARCHITECTURE
Gaia 
• The user interface of the Firefox OS platform 
• It is implemented entirely using HTML5, CSS3, and 
JavaScript which runs on Gecko and make use of 
JavaScript APIs exposed by it 
• It also provides basic apps like Browser, Calendar, 
Calculator, Camera, Email, Radio, Music, etc
Gecko ---> Boot-to-Gecko 
• Gecko is a layout engine used in Firefox 
• But Boot-to-Gecko is an environment to run apps 
written using HTML5, CSS3, and JavaScript 
• It provides APIs to access hardware resources like 
battery, camera, Bluetooth, etc. 
• APIs are in C Language
Gonk 
• A lower level OS of the Firefox OS 
• It consists of Linux kernel and user space Hardware 
Abstraction Layer (HAL) 
• Implements common-open source libraries: Linux, 
libusb, bluez, etc 
• Some of the other parts of HAL are shared with 
Android Project: GPS, Camera, etc 
• The APIs used in Gecko are provided by Gonk
The user interface, built entirely 
by HTML5 & Open Web APIs.
HTML5 Apps 
GAIA 
Web APIs / Web Actitivies 
Gecko rendering engine 
Linux/Gonk (ADB enabled)
WORKING OF FIREFOX 
OS 
• When a Firefox OS is turned on, execution begins in 
the primary bootloader and at the end execution is 
handed off to Linux Kernel 
• The bootloaders usually display the first splash screen 
seen by the user during device startup; this is typically 
a vendor logo 
• The bootloader implement flashing an image to the 
device. Different device use different protocols; most 
phones use the fastboot protocol
• But the Samsung Galaxy SII uses the odin protocol 
• Now, a userspace init process is launched, as it is in 
most UNIX-like OSes 
• At this point in execution, the only mounted “disk” is 
a RAM disk 
• Once the init process is launched, the Linux kernel 
handles system calls
• Many hardware features are exposed to userspace 
through sysfs 
• For example, here’s a code snipped that reads the 
battery state in Gecko
GRAPHICS IMPLEMENTATION 
• Gecko uses OpenGL ES 2.0 
• Gecko draws separate regions of pages into memory 
buffers 
• Sometimes these buffers are in system memory; 
other times, they’re textures mapped into Gecko’s 
address space, which means that Gecko is drawing 
directly into video memory
SANDBOX IMPLEMENTATION 
• As most web content runs in content processes with 
low privileges, we can’t assume those processes have 
the privileges needed to able to (for example), turn 
on and off the vibration motor 
• This Sandbox implementation simply proxies requests 
made by content processes and forwards them to the 
Gecko server process using IPDL
APPLICATIONS
ADVANTAGES 
• Growing numbers of APPLICATIONS. 
• Ease access through default Firefox OS MARKETPLACE. 
• Existing development tools 
• OS is totally OPEN-SOURCE under Mozilla Foundation's motivation. 
• Works fine offline, too :-) 
• Optimize apps (and web rendering!) for low-end devices 
• Apps can be deployed freely
• From this we conclude that Firefox OS phones are 
different. 
• They’re made by a huge global community and are the only 
smartphones that understand and deliver what you want 
and need. 
• It is easier to make an application in Firefox OS than any 
other OS. 
CONCLUSION
REFERENCES 
• WWW.WIKIPEDIA.COM 
• WWW.FAADOOENGINEERS.COM 
• WWW.SEMINARSONLY.COM 
• WWW.123SEMINARS.COM
Firefox os
Firefox os

Firefox os

  • 3.
    Guided by: AnjuK.S Asst.Prof. Dept of CSE Done by: Nivin Thomas Nelson R710 S7 CSE
  • 4.
    CONTENTS • INTRODUCTION • LEADING PROPRIETARY MOBILE OSES • OPPORTUNITIES FOR DEVELOPERS • CONSUMER FREEDOM • NEW WEB STANDARDS • FEATURES • ARCHITECTURE • WORKING • ADVANTAGES • CONCLUSION
  • 5.
    The Firefox OS • A new Mobile Operating System • Announced on July 25, 2011 • It is developed by Mozilla • It is based on Boot-to-Gecko (B2G) • Implements all standards based web technologies (HTML, CSS, and JavaScript) • It is open-source
  • 6.
    • Simply it'sa Web App transformed in User Interface for your Smartphone. • The idea behind Firefox OS is simple: building apps for the mobile web using exactly the same tools and languages as the desktop web. • Firefox OS is simple to create and work on. It is completely based on HTML5 and CSS3 just like a browser running on your phone.
  • 7.
    Bringing the OpenWeb to Mobile Devices OS
  • 8.
    Bringing The Bootto Gecko project was launched to enable the Open Web as a platform for mobile devices. It is making innovation possible by driving the development of new Web standards.
  • 9.
    Freedom From ProprietaryMobile Platforms OS
  • 10.
  • 11.
    Operators and developerswrite apps and services for one platform and then rewrite them for others. Users who want to buy phones, e-readers and game consoles from different manufacturers often need to re-purchase apps for each device.
  • 12.
  • 13.
    Using HTML5 andthe new Mozilla-proposed standard APIs, developers everywhere will be able to create amazing experiences and apps. Developers will no longer need to learn and develop against platform-specific native APIs.
  • 14.
    CONSUMER FREEDOM Consumerswho use devices based on the Open Web platform will be able to easily access and download their own content regardless of which OS they use.
  • 15.
    New Web Standards Firefox OS produces an implementation of these new Web standards to free mobile platforms from the encumbrances of the rules and restrictions of existing proprietary platforms.
  • 16.
    FEATURES Mozilla’s firstHTML 5.0 browser based mobile operating system. It focuses on providing a quality user experience at the budget level. Firefox OS claims it will exceed the experience of its android equivalents. Firefox OS will offer deep facebook and twitter integration.
  • 17.
    CONT...... It providesfull browser version of Google Maps. Speed and efficiency are key selling points along with usability. 75 % of the total apps on Google Play Store and Apple Apps Store are HTML 5.0, making them easy to port over to Firefox OS. These handsets will be extremely cheap around 3000 INR.
  • 18.
    CONT...... • Itprovides more enhanced Multitasking as similar to that of Windows or Mac. • The Firefox OS is really fast and smooth as its apps does not take lot of space in system RAM. • It provides great management between offline and online apps. • The resource management level of HTML 5.0 apps is better than java based apps.
  • 22.
  • 23.
  • 24.
  • 25.
    Gaia • Theuser interface of the Firefox OS platform • It is implemented entirely using HTML5, CSS3, and JavaScript which runs on Gecko and make use of JavaScript APIs exposed by it • It also provides basic apps like Browser, Calendar, Calculator, Camera, Email, Radio, Music, etc
  • 26.
    Gecko ---> Boot-to-Gecko • Gecko is a layout engine used in Firefox • But Boot-to-Gecko is an environment to run apps written using HTML5, CSS3, and JavaScript • It provides APIs to access hardware resources like battery, camera, Bluetooth, etc. • APIs are in C Language
  • 27.
    Gonk • Alower level OS of the Firefox OS • It consists of Linux kernel and user space Hardware Abstraction Layer (HAL) • Implements common-open source libraries: Linux, libusb, bluez, etc • Some of the other parts of HAL are shared with Android Project: GPS, Camera, etc • The APIs used in Gecko are provided by Gonk
  • 28.
    The user interface,built entirely by HTML5 & Open Web APIs.
  • 29.
    HTML5 Apps GAIA Web APIs / Web Actitivies Gecko rendering engine Linux/Gonk (ADB enabled)
  • 32.
    WORKING OF FIREFOX OS • When a Firefox OS is turned on, execution begins in the primary bootloader and at the end execution is handed off to Linux Kernel • The bootloaders usually display the first splash screen seen by the user during device startup; this is typically a vendor logo • The bootloader implement flashing an image to the device. Different device use different protocols; most phones use the fastboot protocol
  • 33.
    • But theSamsung Galaxy SII uses the odin protocol • Now, a userspace init process is launched, as it is in most UNIX-like OSes • At this point in execution, the only mounted “disk” is a RAM disk • Once the init process is launched, the Linux kernel handles system calls
  • 34.
    • Many hardwarefeatures are exposed to userspace through sysfs • For example, here’s a code snipped that reads the battery state in Gecko
  • 35.
    GRAPHICS IMPLEMENTATION •Gecko uses OpenGL ES 2.0 • Gecko draws separate regions of pages into memory buffers • Sometimes these buffers are in system memory; other times, they’re textures mapped into Gecko’s address space, which means that Gecko is drawing directly into video memory
  • 36.
    SANDBOX IMPLEMENTATION •As most web content runs in content processes with low privileges, we can’t assume those processes have the privileges needed to able to (for example), turn on and off the vibration motor • This Sandbox implementation simply proxies requests made by content processes and forwards them to the Gecko server process using IPDL
  • 37.
  • 38.
    ADVANTAGES • Growingnumbers of APPLICATIONS. • Ease access through default Firefox OS MARKETPLACE. • Existing development tools • OS is totally OPEN-SOURCE under Mozilla Foundation's motivation. • Works fine offline, too :-) • Optimize apps (and web rendering!) for low-end devices • Apps can be deployed freely
  • 40.
    • From thiswe conclude that Firefox OS phones are different. • They’re made by a huge global community and are the only smartphones that understand and deliver what you want and need. • It is easier to make an application in Firefox OS than any other OS. CONCLUSION
  • 41.
    REFERENCES • WWW.WIKIPEDIA.COM • WWW.FAADOOENGINEERS.COM • WWW.SEMINARSONLY.COM • WWW.123SEMINARS.COM

Editor's Notes

  • #14 Mozilla needs nooo sdk….. A promising feature
  • #15 Apps supported in diff versions of firefox os
  • #16 Limitations in h/w reqs for apps
  • #18 Spice nd zte phns released ff os phns
  • #25 In computer programming, an application programming interface specifies how some software components should interact with each other. Oem-original equipment manufacturer
  • #27 Intermediate layer-gecko
  • #28 libusb is a C library that gives applications easy access to USB devices on many different operating systems Bluez is the Bluetooth stack for Linux kernel-based family of operating systems
  • #30 Logical architecture. GRE- actual execution or covertion of app into Machine languages or lll takes place
  • #33 Fastboot-sdk protocol for fast booting process
  • #34 Init-launcehes all basic processes which are req by OS
  • #35 Pgm-battery capacity
  • #36 No advanced 3d graphic support
  • #37 Sandbox-provided by avast av
  • #38 Pwa-vibratn,h/w control apps Iwa-default apps Cwa-Mozilla signature apps