SlideShare a Scribd company logo
Android internals
     Egor Elizarov
     SPbSU 2012
Legal info
   Android internals by Egor Elizarov is licensed under a
    Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License

   You are free to
      – copy, distribute, display, and perform the work
      – make derivative works
   Under the following conditions
       – Attribution. You must give the original author credit
       – Share Alike. If you alter, transform, or build upon this work, you may
          distribute the resulting work only under a license identical to this one
   All pictures and trademarks are the property of their respective owners. Use of
     these trademarks and pictures is subject to owners permissions.
   Corrections, suggestions, contributions and translations are welcome!



                                          2                                   Egor Elizarov SPbSU 2012
Lecture 1




                  Basic concepts of mobile platforms



                                               yegor.yelizarov(at)gmail.com
Rev: 1.1                                      http://vk.com/android_internals
Last update: 05/30/2012


                                  3                             Egor Elizarov SPbSU 2012
Why do we need OS


    To control resources

    To manage hardware

    To simulate simultaneous processes execution
    on a single core

    To provide inter-process communications

    To provide user interface

                           4                  Egor Elizarov SPbSU 2012
Mobile OS features



    Power management

    Specific HW

    Special permission model

    Touch friendly UI



                         5     Egor Elizarov SPbSU 2012
Mobile OS history




        6           Egor Elizarov SPbSU 2012
Peripherial devices


    Connectivity (WiFi, Bluetooth, 3G)

    Input devices (touchscreen, IR remote control,
    mouse, keyboard)

    Sensors (gyroscope, accelerometer,
    magnetometer, light, compass, GPS)

    Video system (LCD, DVI, HW acc.)

                           7                    Egor Elizarov SPbSU 2012
System on Chip


    System On Chip - is an integrated circuit that
    integrates all components of a computer or other
    electronic system into a single chip.

    Popular CPU architectures: x86, PowerPC,
    ARM, MIPS

    ARM SoC Vendors: Texas Instruments, NVidia,
    Freescale, Samsung, Qualcomm, etc.

                           8                    Egor Elizarov SPbSU 2012
Some terms



    Single board computer (Freescale i.MX53 quick
    start board, TI BeagleBoard)

    Evaluation board (TI OMAP3EVM, NVidia
    Tegra)

    Board Specific Package


                         9                   Egor Elizarov SPbSU 2012
Device development cycle

Evaluation board
    With BSP
                               Hardware
                                design



 Custom board
                        Platform
                        bring up

                                    Custom board
                                      With OS

                   10                     Egor Elizarov SPbSU 2012
Next Time



    Android history

    High level architecture

    Android version
    control system

    Directory code layout          Source: http://developer.android.com




                              11                                          Egor Elizarov SPbSU 2012
Useful links


    http://vk.com/android_internals

    http://developer.anroid.com

    http://android.com

    http://arowboat.org

    K. Yaghmour. Embedded Android. Early
    Release, O'Reilly, October 2011

                          12               Egor Elizarov SPbSU 2012
Thanks to



    Sergey Matyukevich for review and advices
    (www.linkedin.com/pub/sergey-
    matyukevich/31/889/769)

    Nikolay F. Fominykh for review and advices



                         13                     Egor Elizarov SPbSU 2012

More Related Content

PDF
Android internals 00 - Introduction (rev_1.1)
PDF
Android internals 06 - Binder, Typical subsystem (rev_1.1)
PDF
Android internals 08 - System start up, Media subsystem (rev_1.1)
PDF
Android internals 05 - Dalvik VM (rev_1.1)
PDF
Android internals 04 - “Androdized” kernel, Bionic, Logging subsystem (rev_1.1)
PDF
Android internals 09 - Sensors, Power Management, Input subsystem, Data stora...
PDF
Android internals 02 - High-level architecture, version control system (rev_1.1)
PDF
Android internals 03 - Build system, emulator (rev_1.1)
Android internals 00 - Introduction (rev_1.1)
Android internals 06 - Binder, Typical subsystem (rev_1.1)
Android internals 08 - System start up, Media subsystem (rev_1.1)
Android internals 05 - Dalvik VM (rev_1.1)
Android internals 04 - “Androdized” kernel, Bionic, Logging subsystem (rev_1.1)
Android internals 09 - Sensors, Power Management, Input subsystem, Data stora...
Android internals 02 - High-level architecture, version control system (rev_1.1)
Android internals 03 - Build system, emulator (rev_1.1)

Viewers also liked (19)

PDF
Android internals 07 - Android graphics (rev_1.1)
PDF
Android internals 10 - Debugging/Profiling, Bluetooth/WiFI/RIL (rev_1.1)
PDF
Making Linux do Hard Real-time
PDF
Android power management, current and future trends
PPTX
Game controlling via android
PDF
Smart Phone CPU
PPTX
Samsung processors: Exynos family
PDF
Android Sensors
PDF
Review Multicore processing based on ARM architecture
PDF
Introduction to Android Window System
PDF
Performance Comparison Between x86 and ARM Assembly
PDF
Motion recognition with Android devices
PDF
Improve Android System Component Performance
PPTX
Android location and sensors API
PPTX
CPU Architectures for Mobile Phone Devices
PPTX
Arm corrected ppt
PPT
Risc and cisc eugene clewlow
PPTX
Intel & ARM: Strategic Comparison
PPT
Risc processors
Android internals 07 - Android graphics (rev_1.1)
Android internals 10 - Debugging/Profiling, Bluetooth/WiFI/RIL (rev_1.1)
Making Linux do Hard Real-time
Android power management, current and future trends
Game controlling via android
Smart Phone CPU
Samsung processors: Exynos family
Android Sensors
Review Multicore processing based on ARM architecture
Introduction to Android Window System
Performance Comparison Between x86 and ARM Assembly
Motion recognition with Android devices
Improve Android System Component Performance
Android location and sensors API
CPU Architectures for Mobile Phone Devices
Arm corrected ppt
Risc and cisc eugene clewlow
Intel & ARM: Strategic Comparison
Risc processors
Ad

Recently uploaded (20)

PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PDF
Computing-Curriculum for Schools in Ghana
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PDF
A systematic review of self-coping strategies used by university students to ...
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
Lesson notes of climatology university.
PPTX
GDM (1) (1).pptx small presentation for students
PPTX
Cell Types and Its function , kingdom of life
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
Presentation on HIE in infants and its manifestations
Final Presentation General Medicine 03-08-2024.pptx
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
STATICS OF THE RIGID BODIES Hibbelers.pdf
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
Computing-Curriculum for Schools in Ghana
VCE English Exam - Section C Student Revision Booklet
Microbial disease of the cardiovascular and lymphatic systems
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
FourierSeries-QuestionsWithAnswers(Part-A).pdf
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
A systematic review of self-coping strategies used by university students to ...
Abdominal Access Techniques with Prof. Dr. R K Mishra
202450812 BayCHI UCSC-SV 20250812 v17.pptx
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Lesson notes of climatology university.
GDM (1) (1).pptx small presentation for students
Cell Types and Its function , kingdom of life
O7-L3 Supply Chain Operations - ICLT Program
102 student loan defaulters named and shamed – Is someone you know on the list?
Presentation on HIE in infants and its manifestations
Ad

Android internals 01 - Basic concepts of mobile platforms (rev_1.1)

  • 1. Android internals Egor Elizarov SPbSU 2012
  • 2. Legal info  Android internals by Egor Elizarov is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License  You are free to – copy, distribute, display, and perform the work – make derivative works  Under the following conditions – Attribution. You must give the original author credit – Share Alike. If you alter, transform, or build upon this work, you may distribute the resulting work only under a license identical to this one  All pictures and trademarks are the property of their respective owners. Use of these trademarks and pictures is subject to owners permissions.  Corrections, suggestions, contributions and translations are welcome! 2 Egor Elizarov SPbSU 2012
  • 3. Lecture 1 Basic concepts of mobile platforms yegor.yelizarov(at)gmail.com Rev: 1.1 http://vk.com/android_internals Last update: 05/30/2012 3 Egor Elizarov SPbSU 2012
  • 4. Why do we need OS  To control resources  To manage hardware  To simulate simultaneous processes execution on a single core  To provide inter-process communications  To provide user interface 4 Egor Elizarov SPbSU 2012
  • 5. Mobile OS features  Power management  Specific HW  Special permission model  Touch friendly UI 5 Egor Elizarov SPbSU 2012
  • 6. Mobile OS history 6 Egor Elizarov SPbSU 2012
  • 7. Peripherial devices  Connectivity (WiFi, Bluetooth, 3G)  Input devices (touchscreen, IR remote control, mouse, keyboard)  Sensors (gyroscope, accelerometer, magnetometer, light, compass, GPS)  Video system (LCD, DVI, HW acc.) 7 Egor Elizarov SPbSU 2012
  • 8. System on Chip  System On Chip - is an integrated circuit that integrates all components of a computer or other electronic system into a single chip.  Popular CPU architectures: x86, PowerPC, ARM, MIPS  ARM SoC Vendors: Texas Instruments, NVidia, Freescale, Samsung, Qualcomm, etc. 8 Egor Elizarov SPbSU 2012
  • 9. Some terms  Single board computer (Freescale i.MX53 quick start board, TI BeagleBoard)  Evaluation board (TI OMAP3EVM, NVidia Tegra)  Board Specific Package 9 Egor Elizarov SPbSU 2012
  • 10. Device development cycle Evaluation board With BSP Hardware design Custom board Platform bring up Custom board With OS 10 Egor Elizarov SPbSU 2012
  • 11. Next Time  Android history  High level architecture  Android version control system  Directory code layout Source: http://developer.android.com 11 Egor Elizarov SPbSU 2012
  • 12. Useful links  http://vk.com/android_internals  http://developer.anroid.com  http://android.com  http://arowboat.org  K. Yaghmour. Embedded Android. Early Release, O'Reilly, October 2011 12 Egor Elizarov SPbSU 2012
  • 13. Thanks to  Sergey Matyukevich for review and advices (www.linkedin.com/pub/sergey- matyukevich/31/889/769)  Nikolay F. Fominykh for review and advices 13 Egor Elizarov SPbSU 2012