Symbian Operating System 3168
Symbian Operating System 3168
Symbian Operating System 3168
1
1. INTRODUCTION
1.1 BACKGROUND:
On 24 June 2008 the Symbian Foundation was announced with the aim to "provide
royalty-free software and accelerate innovation".
2
CHAPTER 2: DESIGN
DESIGN :
3
Symbian OS, with its roots in Psion S/W's EPOC, features pre-emptive multitasking
and memory protection, like other operating systems (especially those for desktop
computers). EPOC's approach to multitasking was inspired by VMS and is based on
asynchronous server-based events.
Symbian OS was built to follow three design rules: the integrity and security of user
data is paramount, user time must not be wasted, and all resources are scarce. This led
to the writing of a microkernel, a request-and-callback approach to services, the
concept of separation between UI and Engine (the business logic of a Symbian
application). The OS is optimised for low-power battery-based devices and for ROM-
based systems (e.g. features like XIP and re-entrancy in shared libraries).
Applications, and the OS, follow an object-oriented design, MVC.
Later OS iterations diluted this approach in response to market demands, notably the
introduction of a real-time kernel and a platform security model in versions 8 and 9.
4
techniques for conserving disk space (though the disks on Symbian devices are
usually flash memory). Furthermore, all Symbian OS programming is event-based,
and the CPU is switched off when applications are not directly dealing with an event.
This is achieved through a programming idiom called active objects. Similarly the OS
approach to threads vs. processes is driven by reducing overheads.
5
CHAPTER 3: COMPETITION
6
COMPETITION:
7
CHAPTER 4: STRUCTURE
STRUCTURE :
The Symbian OS System Model contains the following layers, from top to bottom:
8
UI Framework Layer
Application Services Layer
o Java ME
OS Services Layer
o generic OS services
o communications services
o multimedia and graphics services
o connectivity services
Base Services Layer
Kernel Services & Hardware Interface Layer
The Base Services Layer is the lowest level reachable by user-side operations; it
includes the File Server and User Library, the Plug-In Framework which manages all
plug-ins, Store, Central Repository, DBMS, and cryptographic services. It also
includes the Text Window Server and the Text Shell, the two basic services from
which a completely functional port can be created without the need for any higher
layer services.
9
Symbian OS has a microkernel architecture, which means that the minimum
necessary is within the kernel to improve robustness, availability, and responsiveness.
It contains a scheduler, memory management, and device drivers, but other services
like networking, telephony, or filesystem support are placed in the OS Services Layer
or Base Services Layer. The inclusion of device drivers means the kernel is not a true
microkernel. The EKA2 real-time kernel has been termed a nanokernel, containing
only the most basic primitives and supporting an extended kernel to implement any
other abstractions.
There is a large networking and communication subsystem, which has three main
servers: ETEL (EPOC telephony), ESOCK (EPOC sockets) and C32 (responsible for
serial communication). Each of these has a plug-in scheme. For example ESOCK
allows different ".PRT" protocol modules, implementing different types of
networking protocol scheme. The subsystem also contains code that pertains to short-
range communication links, such as Bluetooth, IrDA and USB.
There is also a large volume of user interface (UI) Code. Only the base classes and
substructure are contained in Symbian OS, while most of the actual user interfaces are
maintained by third parties. This component is known as UIKON. The OS also
contains the graphics, text layout, and font rendering libraries.
All Symbian applications are built up from three classes defined by the application
architecture: an application class, a document class, and an application user interface
class. These classes create the fundamental application behaviour. The remaining
ICOER, Computer Engineering 2011
10
required functions, the application view, data model, and data interface, are created
independently and interact solely through their APIs with the other classes. UIQ and
S60 both extend this approach, in two different ways.
Many other things do not yet fit into this model – for example, SyncML, Java ME
providing another set of APIs on top of most of the OS and multimedia. Many of
these are frameworks, and vendors are expected to supply plug-ins to these
frameworks from third parties (for example, Helix player for multimedia codecs).
This has the advantage that the APIs to such areas of functionality are the same on
many phone models, and that vendors get a lot of flexibility. But it means that phone
vendors need to do a great deal of integration work to make a Symbian OS phone.
11
CHAPTER 5: HISTORY
HISTORY
12
Psion
The OS was renamed Symbian OS and was envisioned as the base for a new range of
smartphones. This release sometime is called ER6. Psion gave 130 key staff to the
new company and retained a 31% shareholding in the spun-out business.
The first 'open' Symbian OS phone, the Nokia 9210 Communicator, was released in
June 2001. Bluetooth support added. Almost 500,000 Symbian phones were shipped
in 2001, rising to 2.1 million the following year.
Development of different UIs was made generic with a "reference design strategy" for
either 'smartphone' or 'communicator' devices, subdivided further into keyboard- or
tablet-based designs. Two reference UIs (DFRDs or Device Family Reference
Designs) were shipped - Quartz and Crystal. The former was merged with Ericsson's
'Ronneby' design and became the basis for the UIQ interface, the latter reached the
market as the Nokia Series 80 UI.
Later DFRDs were Sapphire, Ruby, and Emerald. Only Sapphire came to market,
evolving into the Pearl DFRD and finally the Nokia Series 60 UI, a keypad-based
'square' UI for the first true smartphones. The first one of them was the Nokia 7650
smartphone (featuring Symbian OS 6.1), which was also the first with a built-in
camera, with VGA (0.3 Mpx = 640*480) resolution.
Despite these efforts to be generic the UI was clearly split between competing
companies, Crystal or Sapphire was Nokia, Quartz was Ericsson. DFRD was
abandoned by Symbian in late 2002, as part of an active retreat from UI development
in favour of 'headless' delivery. Pearl was
13
given to Nokia, Quartz development was spun-off as UIQ Technology AB, and work
with Japanese firms was quickly folded into the MOAP standard.
First shipped in 2003. This is an important Symbian release which appeared with all
contemporary user interfaces including UIQ (Sony Ericsson P800, P900, P910,
Motorola A925, A1000), Series 80 (Nokia 9300, 9500), Series 90 (Nokia 7710),
Series 60 (Nokia 3230, 6260, 6600, 6670, 7610) as well as several FOMA phones in
Japan. It also added EDGE support and IPv6. Java support was changed from pJava
and JavaPhone to one based on the Java ME standard.
One million Symbian phones were shipped in Q1 2003, with the rate increasing to one
million a month by the end of 2003.
Symbian OS 7.0s was a version of 7.0 special adapted to have greater backward
compatibility with Symbian OS 6.x, partly for compatibility between the
Communicator 9500 and its predecessor the Communicator 9210.
In 2004, Psion sold its stake in Symbian. The same year, the first worm for mobile
phones using Symbian OS, Cabir, was developed, which used Bluetooth to spread
itself to nearby phones. See Cabir and Symbian OS threats.
Symbian OS 8.0
First shipped in 2004, one of its advantages would have been a choice of two different
kernels (EKA1 or EKA2). However, the EKA2 kernel version did not ship until
Symbian OS 8.1b. The kernels behave more or less identically from user-side, but are
internally very different. EKA1 was chosen by some manufacturers to maintain
compatibility with old device drivers, while EKA2 was a real-time kernel. 8.0b was
deproductized in 2003.
14
Also included were new APIs to support CDMA, 3G, two-way data streaming, DVB-
H, and OpenGL ES with vector graphics and direct screen access.
Symbian OS 9.0
This version was used for internal Symbian purposes only. It was de-productised in
2004. 9.0 marked the end of the road for EKA1. 8.1a is the final EKA1 version of
Symbian OS.
A Symbian developer proclaims that porting from Symbian 8.x to Symbian 9.x is a
more daunting process than Symbian says.
15
CHAPTER 6:
OPEN SOURCE SOFTWARE FOR
SYMBIAN 9.1
16
OPEN SOURCE SOFTWARE FOR SYMBIAN 9.1
The following open source software has been ported or rewritten for Symbian 9.1:
Utilities
Game emulation
ScummVM
Nokia Square
17
Multimedia
Frameworks
18
CHAPTER 7:
SECURITY AND MALWARE
19
Symbian OS has been subject to a variety of viruses, the best known of which is
Cabir. Usually these send themselves from phone to phone by Bluetooth. So far, none
have taken advantage of any flaws in Symbian OS – instead, they have all asked the
user whether they would like to install the software, with somewhat prominent
warnings that it can't be trusted.
However, with a view that the average mobile phone user shouldn't have to worry
about security, Symbian OS 9.x has adopted a capability model. Installed software
will theoretically be unable to do damaging things (such as costing the user money by
sending network data) without being digitally signed – thus making it traceable.
Commercial developers who can afford the cost can apply to have their software
signed via the Symbian Signed program. Currently, developers also have the option of
self-signing their programs. However, the set of available features is smaller, and
certain operators have opted on fully disabling certificates other than the Symbian
Signed certificates.
Some other hostile programs are listed below, but all of them still require the input of
the user to run.
Drever. A is a malicious SIS file trojan that attempts to disable the automatic
startup from Simworks and Kaspersky Symbian Anti-Virus applications.
Locknut. B is a malicious SIS file trojan that pretends to be patch for Symbian
S60 mobile phones. When installed, it drops a binary that will crash a critical
system service component. This will prevent any application from being
launched in the phone.
Mabir. A is basically Cabir with added MMS functionality. The two are
written by the same author, and the code shares many similarities. It spreads
using Bluetooth via the same routine as early variants of Cabir. As Mabir. A
activates it will search for the first phone it finds, and starts sending copies of
itself to that phone.
Fontal. A is an SIS file trojan that installs a corrupted file which causes the
phone to fail at reboot. If the user tries to reboot the infected phone, it will be
permanently stick on the reboot, and cannot be used without disinfection – that
ICOER, Computer Engineering 2011
20
is, the use of the reformat key combination which causes the phone to lose all
data. Being a trojan, Frontal cannot spread by itself – the most likely way for
the user to get infected would be to acquire the file from untrusted sources,
and then install it to the phone, inadvertently or otherwise.
21
CHAPTER 8: OPEN SOURCE
22
Symbian is not open source software yet. However, phone manufacturers and other
partners are provided with parts of its source code. The APIs are publicly documented
and up to Symbian 8.1 anyone could develop software for Symbian OS.
In 2008 Nokia announced plans to acquire full ownership of Symbian and start the
Symbian Foundation, which will be an independent force for the future development
of Symbian OS. They stated that Symbian OS (including the platforms S60, UIQ and
MOAP(S)) will become open source in the first half of 2009.
23
CHAPTER 9:
24
Motorola A1000
FOMA F880iES
Nokia 3230
BenQ P30
FOMA F900iC
Nokia 7710
Sony Ericsson P910
FOMA F901iC
Arima U300
Nokia 7610
Panasonic X700
Lenovo P930
FOMA F900i
FOMA F900iT
FOMA F900iC
Nokia 7710
Sony Ericsson P910
FOMA F901iC
Lenovo P930
Panasonic X800
Motorola A1010
Nokia N-Gage QD
… and many more
25
ICOER, Computer Engineering 2011
26
CHAPTER 10:
DEVELOPING ON SYMBIAN OS
Developing on Symbian OS
Applications can be created with NetBeans. Other tools include SuperWaba, which
can be used to build Symbian 7.0 and 7.0s The native language of the Symbian OS is
C++, although it is not a standard implementation. There are multiple platforms based
upon Symbian OS that provide an SDK for application developers wishing to target a
Symbian OS device – the main ones being UIQ and S60. Individual phone products,
or families, often have SDKs or SDK extensions downloadable from the
manufacturer's website too. The SDKs contain documentation, the header files and
library files required to build Symbian OS software, and a Windows-based emulator
27
("WINS"). Up until Symbian OS version 8, the SDKs also included a version of the
GCC compiler (a cross-compiler) required to build software to work on the device.
Symbian C++ programming is commonly done with an IDE. For previous versions of
Symbian OS, the commercial IDE CodeWarrior for Symbian OS was favoured. The
CodeWarrior tools were replaced during 2006 by Carbide.c++, an Eclipse-based IDE
developed by Nokia. Carbide.c++ is offered in 4 different versions: Express,
Developer, Professional, and OEM, with increasing levels of capability. Full featured
software can be created and released with the Express edition, which is free. Features
such as UI design, crash debugging etc. are available in the other charged for editions.
Microsoft Visual Studio 2003 and 2005 are also supported through the Carbide.vs
plugin.
28
Symbian OS's flavour of C++ is very specialised. However, many Symbian OS
devices can also be programmed in OPL, Python, Visual Basic, Simkin, and Perl –
together with the Java ME and PersonalJava flavours of Java.
Visual Basic programmers can use NS Basic to develop apps for S60 3rd Edition and
UIQ 3 devices.
In the past, Visual Basic, VB.NET, and C# development for Symbian were possible
through AppForge Crossfire, a plugin for Microsoft Visual Studio. March 13, 2007
AppForge ceased operations, Oracle purchased the intellectual property, but
announced that they do not plan to sell or provide support for former AppForge
products. Net60, a .NET compact framework for Symbian, which is developed by
redFIVElabs, is sold as a commercial product. With Net60, VB.NET and C# (and
other) source code is compiled into an intermediate language (IL) which is executed
within the Symbian OS using a just-in-time compiler.
There is also a version of a Borland IDE for Symbian OS. Symbian OS development
is also possible on Linux and Mac OS X using tools and techniques developed by the
community, partly
enabled by Symbian releasing the source code for key tools. A plugin that allows
development of Symbian OS applications in Apple's Xcode IDE for Mac OS X is
available.
29
Signed program. There are however various hacks, which allow installing unsigned
programs with any capabilities to Symbian OS 9.x.
Java ME applications for Symbian OS are developed using standard techniques and
tools such as the Sun Java Wireless Toolkit (formerly the J2ME Wireless Toolkit).
They are packaged as JAR (and possibly JAD) files. Both CLDC and CDC programs
using Java.
Nokia S60i phones can also run Python scripts when the interpreter Python for S60 is
installed, with a custom made API that allows for Bluetooth support and such. There
is also an interactive console to allow the user to write python scripts directly from the
phone.
30
CHAPTER 11: HACKING
SYMBIAN
Hacking Symbian :
S60 version 3 (OS 9.1, 9.2 & 9.3) devices can be hacked to remove the platform
security introduced in OS 9.1 onwards thus allowing users to install "unsigned" files
(files without certificates validated by Symbian) and allowing access to previously
locked system files. This allows changing of how the operating system works,
allowing hidden applications etc. to be viewable and possibly increases the threat
posed by mobile viruses as the operating system files are now exposed.
31
ICOER, Computer Engineering 2011
32
CHAPTER 11: CONCLUSION
Conclusion
33
REFERENCES:
[1] http://en.wikipedia.org/wiki/Symbian
34