Android/PreInstalledAPK: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Created page with 'Download userdata.tar.bz2 file from [http://build.laptop.org/android/2014-05-05/ our build directory]')
 
No edit summary
Line 1: Line 1:
Pre-installed APKs are packaged as a zip file in our build. If you would like to add/delete pre-installed APKs, it can be easily done by recreating zip file.

Download userdata.tar.bz2 file from [http://build.laptop.org/android/2014-05-05/ our build directory]
Download userdata.tar.bz2 file from [http://build.laptop.org/android/2014-05-05/ our build directory]

mkdir userdata
cd userdata/
cp ~/Downloads/userdata.tar.bz2 ./
tar -xvjpf userdata.tar.bz2

cp XXX0.apk /data/apk/
cp XXX1.apk /data/apk/
.....

rm -f userdata.tar.bz2
tar -jcvf userdata.tar.bz2 data

Revision as of 05:05, 5 June 2014

Pre-installed APKs are packaged as a zip file in our build. If you would like to add/delete pre-installed APKs, it can be easily done by recreating zip file.

Download userdata.tar.bz2 file from our build directory

  mkdir userdata
  cd userdata/
  cp ~/Downloads/userdata.tar.bz2 ./
  tar -xvjpf userdata.tar.bz2
  cp XXX0.apk /data/apk/
  cp XXX1.apk /data/apk/
  .....
  rm -f userdata.tar.bz2 
  tar -jcvf userdata.tar.bz2 data