3. Guided by:
Anju K.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'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.
8. 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.
11. 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.
13. 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.
14. 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.
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 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.
17. 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.
18. 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.
25. 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
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
• 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
29. HTML5 Apps
GAIA
Web APIs / Web Actitivies
Gecko rendering engine
Linux/Gonk (ADB enabled)
30.
31.
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 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
34. • Many hardware features 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
38. 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
39.
40. • 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
In computer programming, an application programming interface specifies how some software components should interact with each other.
Oem-original equipment manufacturer
Intermediate layer-gecko
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
Logical architecture.
GRE- actual execution or covertion of app into Machine languages or lll takes place
Fastboot-sdk protocol for fast booting process
Init-launcehes all basic processes which are req by OS
Pgm-battery capacity
No advanced 3d graphic support
Sandbox-provided by avast av
Pwa-vibratn,h/w control apps
Iwa-default apps
Cwa-Mozilla signature apps