If the appearance is the same or exactly the same and the other party doesn't apply for the patent right of the product appearance, it can be sold.
Now the shanzhai is basically the same appearance as the genuine product, but the LOGO is different just to prevent the problem of violating the trademark law.