Ive tried cleaning the rim with hot water but i cant get the rim clean because when i wipe it with a white cloth with icopropal alcohol, black dirts comes out. Im not sure if its the reason why my break squeaks.
If you'd said "how do I stop my brakes squeaking" you'd get a radically different set of responses.
If that's your question, I suggest staying a new thread.
I could do with an answer myself.
IMHO a persistent squeak is not likely to be down to dirty rims (though in my experience, sometimes a brake will squeak for a short while after the bike/rims have been cleaned). Like roubaixtuesday said, a new thread asking how to cure a squealing V brake would get you different responses.
I don't have much experience with problematic V brakes - only regular cantis - but the way I understand it is a resonance that is caused by a particular set of circumstances. Sometimes the combination of brake block, brake arm and frame all work together to vibrate, resonate and squeal. If set-up and cleanliness do not resolve the issue, try a different type of brake block. I don't know what you have now but the last brake blocks that I bought were Kool Stop Dura (they're the dual colour salmon/black ones); I like them and they're comparatively cheap.