I don't know if this is still a thing.
I find this:
DEV LineageOS 14.1 (Android 7.1.2) for Raspberry PI 3 B
so probably we can try to use the normal porting guidelines
In the future, for when halium will be able to handle Android8, is already available this:
DEV LineageOS 15.1 (Android 8.1.0) for Raspberry Pi 3 B and B+
both of them are done by Konsta developer
sadly both of the Raspberry Pi boards have only 1GB RAM
@jonius Ok let me explain with a screenshot - this one is from the old boot layout, where android system is inside ubuntu.img and system.img is a hardlink to ubuntu.img, so please forgive the sizes of the files. This WILL change with Halium):
partition BOOT: Contains initrd system with kernel and the usual initrd helpers
partition DATA: ext4 formatted, contains:
ubuntu.img is the read-only root filesystem
system.img contains the Android LXC container. This will not be needed at all for Raspberry
folder user-data: Contains all user data from the home dir
folder system-data:Contains system settings like WiFi, network, future printing, etc.
So, if you manage to boot the raspberry image, your bootloader basically needs to follow the steps of https://github.com/ubports/ubports-boot and its initrd workflow. Specifically, see this init: https://github.com/ubports/ubports-boot/blob/master/initramfs/init