Sales of Apple’s iPhone 6 and iPhone 6 Plus are thought to have remained incredibly strong during the first calendar quarter of 2015, but that seemingly wasn’t enough to hold Samsung and HTC back from showing some serious signs of life. Both Android phone makers posted their unaudited first-quarter results early Tuesday morning, and both companies impressed investors with better-than-expected numbers.

DON’T MISS: iPhone 6 vs. Galaxy S6 edge: The results of these brutal drop tests may surprise you

Samsung announced unaudited first-quarter profit that fell to $5.4 billion, down 31% from the year-ago quarter. The company’s revenue also slid from Q1 2014 to $43.1 billion in the first quarter this year, down about 12%.

Those are both good things, however.

Considering how steeply Samsung’s profits have declined in recent quarters (profit has slid by as much as 60%), the company’s Q1 2015 performance is seen as hugely promising. And it doesn’t even reflect the full impact of the Galaxy S6 and Galaxy S6 edge, channel sales of which likely only caught the tail end of the quarter.

Meanwhile, HTC swung to a surprise profit, managing unaudited earnings of $11.6 million in the first quarter. Sales came in at $1.34 billion, up from just over $1 billion in the same quarter last year.