Ok I know what mean. The toyota offroad has the A-Trac feature that is supposed to do that. Again only works in 4lo.
I would suggest only 4lo for gas break. Usually if going 4hi it's speed and momentum. 4lo for if a wheel is hanging and going slow; not rock bashing.
I could be wrong, I'm a novice.
https://developer.android.com/studio
Scroll down to linux and download the tar.gz.