Device / partition selection
Make it possible to install from microSD to eMMC. Keep Android partition layouts in mind (which we do not want to change, but install into subpartitions), as well as devices where we can use the whole eMMC.
https://wiki.postmarketos.org/wiki/Partition_Layout
Right now, we are only extracting the rootfs partition. We will also need to extract the boot partition to support this, and for the Android case, flash the boot.img file to the bootimg partition.