* Follow setup.md, but instead build android recovery image: `pmbootstrap install --android-recovery-zip` and then `pmbootstrap export` * Download TWRP for a5y17lte - https://eu.dl.twrp.me/a5y17lte/twrp-3.7.0_9-0-a5y17lte.img.html * Get heimdall from Lineage (https://wiki.lineageos.org/devices/a5y17lte/install/#preparing-for-installation) * Follow Lineage guide, I found that the new heimdall only worked when i reversed the usb-c cable, I was then able to reboot into Download mode and test it worked with `heimdall print-pit` * Go back into Download mode with Volume Down + Home + Power * `heimdall flash --RECOVERY twrp-3.7.0_9-0-a5y17lte.img --no-reboot` * Manually reboot with Volume Down + Power button * As soon as it turns off then boot up with Volume Up + Home + Power * As soon as you see the TWRP icon can release the buttons * Once TWRP booted Swipe To Allow Modifications * You can now use `adb shell` to get access to the device * Run `twrp sideload` on the shell * The shell will exit and you can then side load the recovery zip `adb sideload pmos-samsung-a5y17lte.zip` * This will send the zip across and install it * `adb reboot` * As postmarketos boots you'll see it display the splash screen and also it should automatically setup usbnet and you'll then be able to ssh in.