I've been pulled over "because we get a lot of drunk drivers around here at this time." when I was 17. Had I been aware of the law or my rights I would have laughed in the cops face. But where I live you get pulled over for nothing. Driving an import and or being black are 2 of the easiest reasons to get pulled over. They can't search you without probable cause unless you consent. They'll convince you that if you have nothing to hide, you'll let them search. Tell them you also don't hide your rights or your principals. But if your car smells like weed, you got roaches, baggies, empties bags, shake, stems, seeds, blunt guts, rolling papers, empty containers, paraphanelia, basically anything common sense tells you not to have out, they can search. It's up to a judge later to decide whether or not that was good enough probable cause. And a lot of the time, the law and the tests used to justify probable cause rely on whether or not the cop "acted in good faith."
Needless to say I admitted to having an acrylic grinder that the cop made me smash. It had shake all over it but it got destroyed too. He made me litter, be coulda got me a ticket for that.