Android parity

First part for session counting and early custom params.