Installation to SD Card
After updating device firmware with included script (eg. flash-droid-4-fw.sh):
Download an image appropriate for your device from 
Insert a microsd card into your computer and find the device with cat /proc/partitions
Decompress and write the image to your microsd card device:
xzcat maemo-leste-VERSION.img.xz | sudo dd status=progress bs=1M of=/dev/MICROSDCARD-DEVICE
Expand the root partition to fill SD card
A helpful script is included to expand the root partition to fill the microSD card. After booting and logging in to root. execute /ex/expandcard.sh
This will expand the root partition to fill the microSD card using resize2fs
User credentials are: user:user
Root credentials are: root:toor
You should prefer logging in as user and then escalating to root with sudo as necessary.
In images newer than 17 January 2021, root SSH is disabled by default.
- Default lockcode is "12345"
- Lockcode can only be changed if your hardware has CAL. QEMU does not have CAL. Droid 4 also not.
You can install zram-tools from the repo, and edit /etc/default/zramswap as necessary. It's probably convenient to set allocation to 1024. hildon-base (and it's hildon-env-setup initscript) are aware if zramswap in installed and will activate zram. If you have an image older than 17 January 2021, you should remove the existing zram initscript and install zram-tools to utilize this functionality.
Remove it with:
rc-update del zram rm /etc/init.d/zram