What you probably want is this combined with some privilege escalation technique. If you feel like doing the work, have at it.[1]
I did notice that the entries there include whether there's a known metasploit module, which none that I looked at had one shown there. I googled metasploit and android and found some video tutorial for hacking a Android phone using metasploit from early 2017[1], so maybe that will help you. In any case, good luck if you try.
https://github.com/dirtycow/dirtycow.github.io/wiki/Vulnerab...