Problem with TWRP 2.8.7.1 on Wileyfox Swift I have a Wileyfox Swift. I installed TWRP 2.8.7.1 on it before. Now I want to install LineageOS on my phone. It shows an error:

unable to find partition size for '/recovery'


After that it shows a successful message for installing, but it reboots to recovery again.

So I wanted to change TWRP, but I can't install another version, because adb doesn't recognize my phone now.

Now, I just have a recovery menu only without any OS!!

How can I change the TWRP, or make the PC recognize the phone, or install another OS on my current TWRP?

Tnx!
You will need to update your TWRP: AFAIK LOS13 already requires TWRP 3.0+ – and you are probably speaking of LOS14 even. You're on 2.8.7.1 – the latest available version is 3.1.1 as of this writing. So here's what you will do:


Download the latest TWRP for Crackling to your PC
connect the SD card to your PC using a card reader, and copy the .img file to the card
safely unmount the card from your PC, and put it back into the Swift
boot the swift to recovery, tap "install", browse to where you placed the .img file and select it
perform the install
just as precaution, reboot to recovery once more (you've got no other choice anyway without a valid OS installed)


Now you can go forward to install LOS again – same way as described above. Cannot hurt to perform a proper wipe before (to be on the safe side: data, cache and system).