China only allows two cell phones on carry-on if taking a flight. My friend had four cell phones with her, and was asked to check one in, but allowed her to take three on carry-on, warning her that in fact she could only take two. It had nothing to do with customs, just airport security.