Originally Posted by XenGi
Phone: Oneplus 5t
I'm on the newest LOS 15.1 nightly, I already flashed firmware v5.1.7 and now I'm trying to flash LOS 16 but I get the compat error.
The following helped me out:
If you're upgrading from Oreo to Pie, the stock ROM (at least on OnePlus) has a file called "compatibility.zip" inside the zip of the stock ROM
If you have a mac or linux: Just do
zip -d [path to your stock ROM] "compatibility.zip"
zip -d OnePlus5Oxygen_23_OTA_053_all_xx "compatibility.zip"
(don't forget the quotes)
If you have Windows, simply use MiExplorer to delete the file from the archive. Don't try unpacking/repacking the zip with native windows/mac.
Once you're done, boot into recovery, flash or sideload the stock ROM and the error should be resolved.