$ ./halium-install-master/halium-install -p ut -s ./ubuntu-touch-android9-arm64.tar.gz ./system/var/lib/lxc/android/android-rootfs.img
Here is the output:
D: Chosen rootfs is ./ubuntu-touch-android9-arm64.tar.gz
D: Chosen android image is ./system/var/lib/lxc/android/android-rootfs.img
D: Chosen release is ut
D: Compress images before pushing: false
I: Writing rootfs into mountable image
I: Writing android image into mountable image
I: Running post installation tasks
enabling SSH ... [done]
Please enter a new password for the user 'phablet':
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
I: Shrinking images
e2fsck 1.45.5 (07-Jan-2020)
resize2fs 1.45.5 (07-Jan-2020)
The filesystem is already 138429 (4k) blocks long. Nothing to do!
I: Unmounting images
I: Pushing rootfs and android image to /data via ADB
I: Pushing rootfs to /data via ADB
.halium-install-imgs.DQXbh/rootfs.img: 1 file pushed. 32.9 MB/s (3221225472 bytes in 93.286s)
I: Pushing android image to /data via ADB
.halium-install-imgs.DQXbh/system.img: 1 file pushed. 32.7 MB/s (576184320 bytes in 16.791s)
I: Renaming to system-as-root compatible system image
real 1m50,149s
user 0m0,650s
sys 0m4,607s
I: Cleaning up
umount: .halium-install-rootfs.anHND: not mounted.