A day after dropping a throw at second base that helped extend the seventh inning in a loss to Seattle, Andino homered in the top of the ninth to give the Orioles a 5-4 win Tuesday over the Mariners.
"I had to make up for something from yesterday," Andino said.
Andino's home run gave a boost to the Orioles. Baltimore starter Wei-Yin Chen was perfect for 6 1/3 innings and left the game with a 4-1 lead.
The Mariners rallied for three runs against reliever Pedro Strop to tie the game before Andino came through.
His fourth homer of the year was his first since May 7 and ended Seattle reliever Charlie Furbush's (4-2) streak of 22 2/3 scoreless innings, the third longest by a reliever in Mariners history.
"It was a two-seamer I wanted to have sink and it stayed flat," Furbush said.
Strop struggled in the eighth as the Mariners scored three runs and tied the game. Michael Saunders' double had ended Chen's night. Strop faced Justin Smoak, who was 2-for-2 with a walk in his career against Strop.
Strop walked Kyle Seager with the bases loaded to force in the tying run, ending his night after just one-third of an inning in which he allowed three hits, hit a batter, walked one and gave up two earned runs. Strop had allowed two earned runs in his prior 26 appearances combined.
Chen threw 7 1/3 innings, the first 6 1/3 perfect, allowed two hits and allowed two earned runs while striking out a career-high nine. He said he didn't think about the perfect game.
Casper Wells' seventh-inning home run to left on a 3-2 pitch ended Chen's perfect run.
"I know you got to throw a strike -- it's a perfect game -- so I'm pretty much sitting dead red," Wells said. "I got a fastball I could handle."
Chicago's Phil Humber threw a perfect game against Seattle on April 21.
Smoak led off the sixth with a soft liner after Chen had an extended wait during the Orioles' four-run rally in the top of the inning. Ackley flew out to left, and Brendan Ryan popped out in foul territory to catcher Matt Wieters.
Chen was never threatened in the first five innings. He struck out eight, including the side in the fifth, working a 93 mph fastball with an 80 mph changeup. His strikeout of Miguel Olivo for the second out in the fifth set a career high in strikeouts.
The Mariners managed only one out in the outfield through the first five innings, when Ichiro Suzuki flew to left leading off the game.
Ryan hit a line drive right back at Chen in the third that the left-hander snagged with his glove.
Baltimore pounced on Seattle starter Felix Hernandez in the sixth for four runs and knocked him out of the game. The Orioles started the inning with four consecutive singles from Xavier Avery, J.J. Hardy, Chris Davis and Adam Jones. Jim Thome grounded out, but Wieters singled to center to score two runs and chase Hernandez.
"It's really tough to string something against him," Baltimore manager Buck Showalter said. "You may get one or two shots at him in a ballgame, and we took advantage of it."
Hernandez lasted 5 1/3 innings, and allowed four earned runs and eight hits. He struck out eight and walked none.
The first run of the inning snapped a 20-inning scoreless streak for Hernandez, who will be participating in next week's All-Star Game.
The 2010 Cy Young winner had allowed two earned runs over his prior three starts combined. The four runs were more than the Orioles had scored in 13 of the previous 16 games.
Ryan Flaherty's one-out single to right in the third was the first hit of the night off Hernandez. After Andino struck out, Avery, activated Tuesday, hit a broken-bat grounder to left that moved Flaherty to third. Hernandez powered out of trouble with a strikeout of Hardy, Hernandez's seventh strikeout in the first three innings.
"There was a lot of opportunity there to give in and keel over, but Robert had a big swing for us after a couple tough things," Showalter said.
Baltimore placed second baseman Brian Roberts on the 15-day disabled list Tuesday because of a strained right groin. Xavier Avery was recalled from Triple-A Norfolk. ... Mariners manager Eric Wedge said Franklin Gutierrez, who is on the seven-day disabled list because of concussion symptoms, is unlikely to be back prior to the All-Star break. ... Seattle's Mike Carp (shoulder) participated in batting practice Tuesday and will be worked back in primarily at first base. He is yet to throw. ... Seattle signed No. 3 overall pick Mike Zunino on Tuesday. Zunino and his family were at Safeco Field, and Zunino took batting practice, hitting a handful of home runs.