Decode / Encode Samsung Note 8 (SM-N950N) csc files
Download the jar file here
deocode
java -jar omc-decoder.jar -i cscfeature.xml -o cscfeature_decoded.xml
encode
java -jar omc-decoder.jar -e -i cscfeature_decoded.xml -o cscfeature.xml
./gradlew jar
then the jar file output to build/libs/