i am surprise that you can install a G.S.I. (LeOS) into a galaxy s7 witch is not a treble device
antway, after SIM not reconised, if you want to perform a clean install from scratch, my advise is to first revert to lastest stock firmware, install TWRP and finaly /e/