Android/Building/SystemAPPs: Difference between revisions

From OLPC
Jump to navigation Jump to search
Line 10: Line 10:
System application configurations for android build system are located under source code folder '''vendor/olpx/xo4/apps/'''
System application configurations for android build system are located under source code folder '''vendor/olpx/xo4/apps/'''
To add an application in system partition simply do:
To add an application in system partition simply do:
**copy pre-built APK file to '''vendor/olpx/xo4/apps/'''
*copy pre-built APK file to '''vendor/olpx/xo4/apps/'''





Revision as of 10:11, 5 August 2015

System APPs

Android system APPs are these APPs which are installed in system partition. Since system partition is read only at runtime, thus the system APPs are not remove-able for general user.

Add/Remove system APP

In general, there are two ways to add/remove system applications.

  • At build time

System application configurations for android build system are located under source code folder vendor/olpx/xo4/apps/ To add an application in system partition simply do:

*copy pre-built APK file to vendor/olpx/xo4/apps/


  • At runtime

This relies on Android OTA update system which allow the system reboots into recovery mode then mount system partition as RW for applying system partition changes.
XO-4 does NOT support runtime system partition update since recovery mode haven't been implemented.

Upgrade system APP

System Partition Size