You'll be able to get in. I don't know if there's a secured T2-T1 corridor since PVG is usually an endpoint for me, but since you have to get a new boarding pass anyway:
Basically, you'll have your bag swabbed outside the door. Once you're cleared, you're allowed into T1. Simple as that. It's everything else you have to worry about (common wisdom is never to book a "tight transfer" at PVG, or any major Chinese airport, really)