Ronaldo scored on a spectacular run with two minutes left Wednesday night, giving World Cup champion Brazil a 2-1 victory over Germany in an exhibition.
Ronaldo, the two-time FIFA world player of the year, took a through ball, ran through the defense, then went around goalkeeper Andreas Koepke to score into the open net.
Brazil had been under pressure to win following a poor performance in the CONCACAF Gold Cup, where it lost to the United States for the first time.
Brazil, the only four-time World Cup winner, ended Germany's unbeaten streak at 22 games, one short of the team record. Germany, a three-time champion, opens the World Cup June 15 against the United States.
In other World Cup warmups, Hungary won, 3-2, at Austria, Norway gained a 2-2 tie at Belgium, the Czech Republic beat Ireland, 2-1, Macedonia beat Bulgaria, 1-0, Northern Ireland beat Slovakia, 1-0, Russia beat France, 1-0, Denmark won, 1-0, at Scotland, Spain routed Sweden, 4-0, England gained a 1-1 tie at Switzerland and Jamaica played a scoreless tie at Wales.