You can flash a stock version of Jelly Bean via Odin, then flash a rooted version, then flash a rooted version of Kit Kat, & finally flash a rooted version of Lollipop. Go to XDA & find the post about 'OC6 & Keep Root'. (I can't post links since I registered just to help you out)