Using ubuntu-device-flash

Run in the BQ the command to get the information about the actual used device and channel (this formation is stored in the phone in the file /etc/system-image/channel.ini):

$ system-image-cli -i
current build number: 25
device name: krillin
channel: ubuntu-touch/stable/bq-aquaris.en
last update: 2015-09-13 07:21:14
version version: 25
version ubuntu: 20150825.1
version device: 20150821-736d127
version custom: 20150821-887-33-32-vivid

Install in the chrooted file system:

$ sudo chroot myRoot
# apt-get install ubuntu-device-flash

and run with the parameters of the actual device/channel this command to get the information about the file list:

$ ubuntu-device-flash query --device=krillin --channel=ubuntu-touch/stable/bq-aquaris.en --show-image
Device: krillin
Description: ubuntu=20150825.1,device=20150821-736d127,custom=20150821-887-33-32-vivid,version=25
Version: 25
Channel: ubuntu-touch/stable/bq-aquaris.en
Files:
 0 https://system-image.ubuntu.com/pool/ubuntu-59b0c7aa8af63dda3a06005a6087c1faa4ed8993321293b276e7f7021d0cb0a3.tar.xz 299755828 b449f0a89060593e2322c9e79b46952f5f0ed6f1c1e26c7a1b0ccbe0433ce95f
 1 https://system-image.ubuntu.com/pool/device-169bc102d21754e91d142385ffadb32b63cfa92831b82f221b5f38d9bc65b687.tar.xz 71632928 9cb3cc46c6407eac581260e1ab40ce4d72bae459319c1723030b053df7dc543b
 2 https://system-image.ubuntu.com/pool/custom-996a0631cdd3014deb88bfa3c228a70922d68ea953607e3133d94713b351f650.tar.xz 57496184 281c6b0d2c9046059a51502f98daebe8755b0fd9947140aa37bac29d00918c76
 3 https://system-image.ubuntu.com/ubuntu-touch/stable/bq-aquaris.en/krillin/version-25.tar.xz 456 6473519267732e42cf46056fc994e5196d11206f98e3baeb62488c57ccfd4608

(see also: https://sturmflut.github.io/ubuntu/touch/2015/05/06/hacking-ubuntu-touch-part-2-devices-and-images/ )

The above files are the full images URL; You can find these and the delta file names manually by looking in the index.json files on https://system-image.ubuntu.com/ for the relevant channel, in our case here exatly in http://system-image.ubuntu.com/ubuntu-touch/stable/bq-aquaris.en/krillin/index.json (at the end, while writing this the delta between r24 and r25)

the r24-r25 delta files are:

0 https://system-image.ubuntu.com/pool/ubuntu-59b0c7aa8af63dda3a06005a6087c1faa4ed8993321293b276e7f7021d0cb0a3.delta-ubuntu-61dbd90be1acf5c2e4c9341f77e7054c98d4a53e90b1a211bcda9d2a02894368.tar.xz
1 https://system-image.ubuntu.com/pool/device-169bc102d21754e91d142385ffadb32b63cfa92831b82f221b5f38d9bc65b687.delta-device-168ccf6a391da4f83feb0325783f02b313e3892675bfea9e4a036bd63fd24f93.tar.xz
2 https://system-image.ubuntu.com/pool/custom-996a0631cdd3014deb88bfa3c228a70922d68ea953607e3133d94713b351f650.delta-custom-04c0e82d52c90b32483b261b61b691a52144954614ff6d50e1de9c5bfc8a03c0.tar.xz
3 https://system-image.ubuntu.com/ubuntu-touch/stable/bq-aquaris.en/krillin/version-25.tar.xz

The first file in each delta-tar is a file with the name 'removed':

removed
system/bin/dmesg
system/bin/findmnt
system/bin/ip
system/bin/journalctl
system/bin/loginctl
system/bin/lsblk

which contains a list of the files to be removed; than all other files are after removal just tar'ed in into the target file system which is mounted on .../system

Last updated: Sat Oct 17 16:11:03 CEST 2015

Last updated