Lesson 6 (Android OS & Software security) Flashcards
When was the first Android phone released?
2008, after a early look release in 2007.
When did google acquire the startup company Android Inc?
2005
Since when is Android open source?
2008.
What are the partitions on an android phone?
/boot (kernel)
/system (pre installed apps)
/recovery (alternative boot)
/data (all user data and apps)
/cache (feq. accessed temp data)
/misc (settings)
/scdard0 (internal SD)
What partition is wiped when performing a factory reset?
/data
Name the Android OS layers
1 Applications
2 App framework > Managers and providers used when developing/running an app
3 Libraries & runtimes > general helpers that provide access to core libraries and the VM
4 Linux Kernel > drivers
What are core apps? (Applications layer)
Default apps on the device, like SMS, contacts, Call app.
What does the Application framework layer constist of?
API’s for app developers, like accessing sensors, default activity behaviour and content access on the device etc.
What is the Android Library layer?
c/c++ libs used by components of the android framework, like SSL, WebKit, OpenGL, SQLite
What is the android runtime layer?
providing realtime access to the core libraries. Possible access to network, files etc.
What is the android kernel?
A linux kernel (v 2.6). Provides memory/process managent, networking, drivers and security.
What does linux give the apps? (2 things about security)
Group ID at install time User ID (UID), can be used as process etc. This is used to store data on the /data partition with only that user (app) rights.
What is Dalvik?
Java Virtual Machine for Android.
What are dex files?
Byte code (from java) which can be ran by Dalvik. .dex === .class for JVM.
When can you publish an android app (security resitrictions) ?
Must be signed with a trusted cert, and an valid signature. This can be requested at the dev portal and required at building the .apk for release.