generate patches for android repo from specific ref