Try with a fresh new copy of kosmos. It'll include a newer version of atmosphere. Make sure hekate is updated. Hekate is what will prevent your Switch from panicking since it has more burnt fuses than it should for that firmware. Follow the directions for kosmos. it'll tell you delete certain files. https://github.com/AtlasNX/Kosmos/releasesHere are the two errors I get.
Here are the two errors I get.

