16
A Prim er into Android A Prim er into Android An N S LU G Tech Talk An N S LU G Tech Talk December 1st, 2014 2014 Joel Maxuel Joel Maxuel

A Primer into Android - An NSLUG Tech Talk

Embed Size (px)

Citation preview

A Prim er into AndroidA Prim er into AndroidAn NSLUG Tech TalkAn NSLUG Tech Talk

December 1st , 20142014

Joel MaxuelJoel Maxuel

Background: W hy Android?Background: W hy Android?a.k.a Relation to Linuxa.k.a Relation to Linux

● Although not GNU, Andoid uses the Linux Although not GNU, Andoid uses the Linux kernelkernel

● (M ostly*) open source(M ostly*) open source● Contains free software, although a lot contains Contains free software, although a lot contains non-free blobsnon-free blobs

https://www.gnu.org/philosophy/android-and-users-freedom .htm lhttps://www.gnu.org/philosophy/android-and-users-freedom .htm l

Background: HistoryBackground: History

• Founded in Palo Alto, California in October 2003Founded in Palo Alto, California in October 2003• Originally intentioned for operating system s for digitalOriginally intentioned for operating system s for digitalcam eras but broadened to rival sm artphone m arketcam eras but broadened to rival sm artphone m arketlike Sym bian and W indows m obilelike Sym bian and W indows m obile

• Ran out of m oney, Google acquired Android Inc inRan out of m oney, Google acquired Android Inc inAugust 2005.August 2005.

• Novem ber 2007 Android 1.0 was unveiled as its firstNovem ber 2007 Android 1.0 was unveiled as its firstproduct and it's first device, the HTC dream releasedproduct and it's first device, the HTC dream releasedOctober 2008.October 2008.

http://en.m .wikipedia.org/wiki/Android_(operating_system )#Historyhttp://en.m .wikipedia.org/wiki/Android_(operating_system )#History

Background: VersionsBackground: Versions

Codenam ed by desserts:Codenam ed by desserts:• 1.0 Alpha1.0 Alpha• 1.1 Beta1.1 Beta• 1.5 Cupcake1.5 Cupcake• 1.6 Donut1.6 Donut• 2.0 to 2.1 Eclair2.0 to 2.1 Eclair• 2.2 Froyo2.2 Froyo• 2.3 Gingerbread2.3 Gingerbread• 3.0 to 3.2 Honeycom b3.0 to 3.2 Honeycom b• 4.0 Ice Cream Sandwich4.0 Ice Cream Sandwich• 4.1 to 4.3 Jellybean4.1 to 4.3 Jellybean• 4.4 Kitkat4.4 Kitkat• 5.0 Lollipop5.0 Lollipop

The Basics: Starting UpThe Basics: Starting Up

Row 1 Row 2 Row 3 Row 40

2

4

6

8

10

12

Column 1

Column 2

Column 3

The Basics: The Lock ScreenThe Basics: The Lock Screen

The Basics: The Hom e ScreenThe Basics: The Hom e Screen

The Basics: The App DrawerThe Basics: The App Drawer

Adm inistration: SettingsAdm inistration: Settings

Adm inistration: ADBAdm inistration: ADB

Adm inistration: Installing an AppAdm inistration: Installing an App

Adm inistration: Term inal Em ulatorAdm inistration: Term inal Em ulator

Custom ization: RootingCustom ization: Rooting

● Gaining superuser privileges when neededGaining superuser privileges when needed● Process is different for every deviceProcess is different for every device● Usually a program finds an exploit in theUsually a program finds an exploit in theoperating system . Generic exam ples of suchoperating system . Generic exam ples of suchprogram s are Kingo, Fram aroot, or Towelroot.program s are Kingo, Fram aroot, or Towelroot.

● Greatly increases the possibilities of the device,Greatly increases the possibilities of the device,but is considered voiding the device's warranty.but is considered voiding the device's warranty.

Custom ization: Custom RecoveryCustom ization: Custom Recovery● ““Stock” recovery (known as <3e>), is lim ited, asStock” recovery (known as <3e>), is lim ited, asit only provides factory resets and updates.it only provides factory resets and updates.

● Custom recoveries replace the recovery Custom recoveries replace the recovery partition (think of it as a UEFI on a PC), andpartition (think of it as a UEFI on a PC), andallow installation of custom software, like ROM s.allow installation of custom software, like ROM s.

● The two m ajor ones are CW M and TW RP.The two m ajor ones are CW M and TW RP.

Custom ization: Custom ROM SCustom ization: Custom ROM S● Replacem ent operating system s for your phone.Replacem ent operating system s for your phone.● Selection depends on the device (popularity andSelection depends on the device (popularity andsecondarily, relative age of device counts).secondarily, relative age of device counts).

● M ajor contendors include CyanogenM od, M IUI,M ajor contendors include CyanogenM od, M IUI,AOSP, Andoid Open Kang Project, CarbonROM ,AOSP, Andoid Open Kang Project, CarbonROM ,Om niROM , Paranoid Android, and Replicant.Om niROM , Paranoid Android, and Replicant.

● M ost add custom ization/features to your device.M ost add custom ization/features to your device.

ResourcesResources● http://forum .xda-developers.com /http://forum .xda-developers.com /● http://developer.android.com /sdk/http://developer.android.com /sdk/● http://www.cyanogenm od.org/http://www.cyanogenm od.org/● http://en.m iui.com /http://en.m iui.com /● http://lifehacker.com /5789397/http://lifehacker.com /5789397/

Questions?Questions?