I think this is something that can only be settled at the government-to-government level. The Chinese government needs to look at what it can do on the trade end to entice the Trump administration to back off.
Alternately, Huawei may be forced to cease operations, although it can continue to sell the products it already has with the chips it already has, such as the P40 Pro and possibly the Mate 40. After that it is left only with its intellectual property, paid-in capital, and brand name. I would say most of the paid-in capital should be folded into a new conglomerate dedicated to making indigenous replacements for all US parts in the global semiconductor supply chain, of course starting at the bottom of the barrel low end. The brand name must survive no matter what.
In the meantime if I'm Oppo, Vivo, and Xiaomi I'm petrified and want to collaborate with Huawei to keep the HarmonyOS project alive.
The question is what China can do if the US puts a complete semiconductor embargo on all Chinese companies. If that is the case, China must not let American companies profit from these moves by taking market share in China. It can however temporarily cover up the issue by allowing Samsung and other US competitor companies to profit. This will drive a wedge between US industry and its allied industries. But under no circumstances whatsoever should US tech companies be allowed to gain revenue or market share in the Chinese domestic market due to entity list bans.
My ideal policy would be to impose a national origin tax on high tech goods-- the higher value added share comes from American components, the higher the tax. For example, a $500 phone with 25% American value added would be subject to a high tax on $125, maybe as high as 50% or even 100%.