Mexico striker Javier Hernandez cancelled out Quaresma's opener shortly before halftime and the two goals in an exciting last six minutes ensured the teams shared the points.
The assistants duly looked it over, and awarded what looked to be a correct offside decision against Portugal, disallowing the goal. Ronaldo's free kick hits the wall, from the follow up, Ronaldo lashes a shot against the crossbar, with an excellent save from Ochoa.
In the final 10 minutes, Cedric gave the European champions a late 2-1 lead after his shot deflected into the back of the net.
Ronaldo's backheel then saw Quaresma fire narrowly wide but another defensive error allowed Mexico to draw level three minutes before the break.
"I think that, when football people enjoy the way we play, especially against a team like the one we faced, it's very positive", he said. "We want to send a big hug to everyone in Portugal for what they are going through, which is absolutely bad".
On Saturday, hosts Russia beat New Zealand 2-0 in the other Group A fixture after Federation Internationale de Football Association president Gianni Infantino opened the tournament with a speech inside the St Petersburg Stadium, where Russian president Vladimir Putin and legendary Brazil footballer Pele were also in attendance. We played without confidence, couldn't connect two or three passes.More news: Watch Bette Midler Refuse to Leave the Stage at the Tony Awards
More news: 'Sombre' Britain prepares for historic Brexit talks
More news: Sharing power, Southgate gives Kane captaincy against Scots
A moment of controversy came when Pepe's goal was ruled out in the 21st minute after there were appeals Nani was offside.
Mexico coach Juan Carlos Osorio said his team deserved their point but admitted there was work to be done going forward.
A frantic end to the first half gave way to a tiresome second as both sides were found wanting with their final ball, with Ronaldo - isolated after Nani's withdrawal - unable to influence the game.
The Besiktas winger drew Mexico's goalkeeper Guillermo Ochoa and tapped home the opening goal. The image used was one of Ronaldo winking to his teammates when former Manchester United teammate Wayne Rooney was sent off in a game between Portugal and England at the 2006 World Cup.
European champions Portugal, captained by the relentless Cristiano Ronaldo, will look to build on their success in France last summer and prove that they are also contenders for the Tournament of Champions and next year's World Cup in Russian Federation.