Yes, the first time I tried to restore without the pit file but later I realized this and I tried putting the original pit but the result is always Bootloop.I'm guessing you had to repartition to install lineage on the S2.
If so, you'll need to put the partitions back to stock before flashing NeatROM or other stock based roms.
The partition sizes are listed in my post about 10 above yours.