in marshmallow custom roms , samsung keyboard has newer emojis than the stock one and some better features
how can I change my stock samsung keyboard to that ?
Well you can't.
The Marshmallow keyboard is built for Android Marshmallow and up....
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer? | Terms of Service