...So could u tell how did you solve the problem...?
I had twrp installed previously. But after installing lineage os 14.1(yuga) TWRP got replaced by some weird recovery. I've done it in this way, but it needs a pc, just ask a friend, it doesn't take much time.
1. install required fastboot drivers in pc.
2. boot the device into fastboot mode , pressing vol- down button and connect it to usb port of PC. the red led will turn into blue. It means the phone is in fastboot mode.
3. Open cmd in the directory where twrp-2.87+ is. boot temporarily in the recovery issuing command-
Code:
fastboot boot twrp-2.87.img
4. the phone will boot into twrp recovery.
5. Extract boot.img from your ROM's zip(lineage os in this case) and place it in internal storage
6. Place twrp-2.87[recovery] you want to install in internal storage as well
7. from recovery select install->install images
8. select boot.img and select *boot partition in the following screen.
9. similarly select recovery.img and select *recovery partition.
Follow the steps 8,9 sequentially otherwise it may cause problem.