Screenshot by Sean Hollister/CNET

HTC has good news to share ahead of the launch of its new flagship phone this month.

The Taiwanese company raked in a net profit of NT$21.1 billion (about $710 million or £520 million) after tax deduction, it said in a statement Monday.

This follows 11 consecutive quarters of financial loss for HTC and the loss of its head of smartphones, but it's not all sunshine and roses for the troubled company yet.

Despite better financial performance last quarter -- in part driven by its $1.1 billion deal with Google which closed in January -- HTC revealed last Friday that revenue went down about 55 percent year-over-year in April. Local media have called it a 13-year low.

CNET has reached out to HTC for a comment.

Blockchain Decoded: CNET looks at the tech powering bitcoin -- and soon, too, a myriad of services that will change your life.

Follow the Money: This is how digital cash is changing the way we save, shop and work.