Chris Brown vowed to stay away from bad people when he got out of jail ... so imagine our surprise when we got this video of the singer throwing up Bloods gang signs Sunday night in a club.
The video is clear ... Chris dancing at a BET afterparty -- the one where he got wasted and had to be carried out -- and he wants everyone to see him gang banging.
Chris is specific ... giving a verbal shout out to a specific subset of Bloods -- the Fruit Town Piru. FYI ... Piru is a street in Compton where the first known Bloods gang was formed.
Right before Chris got locked up ... he was tagging "Fruits Piru" on a wall in Hawaii. In fact, we're told several Fruits Piru gang members lived with Chris before he went to jail.
Sounds like he's on the right track.