A government subsidy scheme for electronics purchases has boosted sales in the world’s largest smartphone market.