Do you try default reset routers and made new configuration? On the connecting info first page in router GUI the same IP as the myip.com?
Your phone connect to wifi or to mobile internet when you connect to the router A?