I was using LG Nexus 5X with Lineage OS 14.1 for a long time. I wanted to switch to stock Oreo ROM to see how it is.
I made a backup of the following items (Lineage OS 14.1) using TWRP:
- System Image
- Vendor Image
and copied them to my PC. After that I downloaded:
8.1.0 (OPM7.181205.001, Dec 2018)
which is a factory image from Google website and executed "flash-all.bat" to install the stock ROM on the phone. The stock ROM worked good. Afterwards I wanted to restore Lineage OS from my backup. So I installed TWRP "twrp-3.2.3-0-bullhead.img", wiped the phone and restored all the items listed above.
After everything was completed, I rebooted the phone and there was a boot loop at Lineage OS logo. I downloaded an older factory image:
7.1.2 (N2G48C, Aug 2017)
and installed it with "flash-all.bat". It worked, the phone booted. Then again I installed TWRP "twrp-3.2.3-0-bullhead.img", wiped everything and restored all the items from Lineage OS. After it was done the device wouldn't boot. Boot loop at Lineage OS logo again. I tried with older TWRP "twrp-3.2.2-0-bullhead.img" but nothing has changed.
Is there any way I can restore the old Lineage OS 14.1 from the backup I made? I'm not an expert, I follow guides on the web, if you have any comments or questions please state them clearly. If you have an idea how to fix the boot loop, please write your thoughts with steps which I could follow.