You will have to enter the customs line in PVG. This time, there were many officials to help. If we had a tight connection, I feel confident that any would have gotten us through. Not true for our first time. Airport transfer is fairly confusing. You have to enter the line for foreigners, not transfers.