ABU DHABI, United Arab Emirates - Lewis Hamilton edged Formula One title rival Nico Rosberg in the both practice sessions Friday for the season-ending Abu Dhabi Grand Prix.

The British driver posted a best lap of 1 minute, 42.113 seconds in the second practice at the Yas Marina circuit to finish .083 faster than his Mercedes teammate.

Both drivers gave their super-soft tires a good run in the warm evening.

"There is still more time to be found. The car feels great, the best I've ever driven here without doubt," said Hamilton, the 2008 F1 champion. "Coming into the weekend I was already excited and couldn't wait to get out on track. When you know you have a package as competitive as ours, it's like being a kid at Christmas."

McLaren driver Kevin Magnussen of Denmark was .782 behind in third, with Sebastian Vettel, who is leaving Red Bull to join Ferrari next year, .846 adrift in fourth.

Two-time champion Fernando Alonso — preparing for his last race with Ferrari — failed to set a time after stalling early on. British driver Jenson Button, possibly preparing for his last race in F1, pitted early with a brake problem.

Hamilton beat Rosberg in the first practice, and there is a third session on Saturday before qualifying. Rosberg has taken pole ahead of Hamilton in three of the past four races.

"I really haven't got my best lap together yet," Rosberg said. "I just need to fine-tune it so that the set-up is exactly to my liking, then go for it and get the job done."

Hamilton leads Rosberg by 17 points. But with double points available on Sunday, the German driver can secure his maiden F1 title if he wins and Hamilton finishes third.

"I try and approach it as a normal weekend," Rosberg said. "Of course it's not because of the opportunity, but otherwise the approach is the same."

Without the double points, Hamilton would have only needed to finish sixth to beat his childhood friend and go-karting rival.

"He has everything to lose and I have everything to win. That can make all the difference," said Rosberg, who beat Hamilton two weeks ago in Brazil to end his run of five straight wins.

Hamilton won the Abu Dhabi GP in 2011. But he finished seventh last year, starting from fourth on the grid, and retired the year before after starting from pole.

However, Hamilton, should be mentally well prepared, since he is used to close finishes.

He missed out on the 2007 title with McLaren, finishing one point behind champion Kimi Raikkonen, but made amends by edging out Ferrari driver Felipe Massa by the same margin the following year.

Although he was one of four drivers in contention in the last race of the season in 2010 — also held in Abu Dhabi — Hamilton was a rank outsider for the title and finished 16 points behind Vettel, who clinched the first of his titles.

In the first practice, Hamilton clocked 1:43.476, with Rosberg finishing .133 back.

Alonso was third best, .1708 behind, with Vettel .1858 behind in fourth.

Mercedes has crushed the competition this season, winning 15 of 18 races and securing 17 pole positions so far: 10 for Rosberg and seven for Hamilton, who leads Rosberg 10-5 in wins.

"Is there anybody out there who believes that it was a boring season? Not one single soul," Mercedes team principal Toto Wolff said. "Our drivers were battling each other to the limit, and I am sure that the fans appreciate that."

Button also went back to the garage early in the first session. The 2009 champion's future remains uncertain, with Alonso expected to replace him at McLaren next season.