Moto G2 speaker phone issue when calling
Solution:
Factory reset.
Finally, after doing all the necessary backups using different tools like adb, Helium(Carbon), Google, Super Backup,  I did a factory reset(Soft Reset through the option under Settings &gt; Backup &amp; Restore &gt; Factory Reset) and the speaker phone issue is solved.