UP | HOME
../../

Android *-Managers

1 Abstract

There are several Android OS components with names endingg in *manager. This article is an overview of these.

2 Android PS List

  1. Become familiar with the processes list: $ /usr/local/bin/android-sdk/platform-tools/adb shell ps captured stdout ./ps-stdout.txt; Nexus-7 April 2019.

3 Android PM (Package Manager)

  1. Study the command $ /usr/local/bin/android-sdk/platform-tools/adb shell pm

4 Android AM (Activity Manager)

  1. java.lang.Object -> android.app.ActivityManager
  2. This class gives information about, and interacts with, activities, services, and the containing process.
  3. Study the $ /usr/local/bin/android-sdk/platform-tools/adb shell am stdout usage howto ./am-stdout.txt, 237 lines.

5 Android SM (System Service Manager)

  1. Study the command $ /usr/local/bin/android-sdk/platform-tools/adb shell sm Usage howto shown below.

    usage: sm list-disks [adoptable]
           sm list-volumes [public|private|emulated|all]
           sm has-adoptable
           sm get-primary-storage-uuid
           sm set-force-adoptable [true|false]
    
           sm partition DISK [public|private|mixed] [ratio]
           sm mount VOLUME
           sm unmount VOLUME
           sm format VOLUME
           sm benchmark VOLUME
    
           sm forget [UUID|all]
    
  2. Study the slides of a talk by Yaghmour (see below).

6 References

  1. Karim Yaghmour, Embedded Android, Book, 2013. TOC
  2. Elankov, Book, 2014. TOC.
  3. http://adbshell.com/ Website on ADB.
  4. Karim Yaghmour, https://www.slideshare.net/opersys/understanding-the-android-system-server, 2011 ;
  5. https://developer.android.com/guide/components/services Services overview
  6. developer.android.com, ActivityManager, https://developer.android.com/reference/android/app/ActivityManager.html, 2017.
  7. https://www.programcreek.com/java-api-examples/android.os.ServiceManager Java Code Examples for android.os.ServiceManager
  8. Yaron Lavi and Nadav Markus, Analysis of CVE-2014-7911, Deep Dive Analysis of Android System Service Vulnerability and Exploitation, 2015
  9. http://gadimo.ml/1593397-android-system-server-watchdog.html 2019 {pmateti: Any good?}

7 End


Copyright © 2019 www.wright.edu/~pmateti • 2019-04-09