Tell your roommate gently that his smoking affects you. Probably because he didn't realize that his smoking affected other people in the dormitory. So when he smokes in the dormitory, you can gently tell him that you are not used to the smell of smoke. Can he not smoke in the dormitory? He can't help smoking on the balcony or toilet. I believe that most roommates are very considerate. After listening to you, he will realize that his behavior has influenced you, and he will not smoke in the dormitory again.
Formulate a dormitory code of conduct and clearly stipulate that smoking is not allowed in the dormitory. Be clear about the rules you should abide by in the dormitory, such as don't talk loudly and don't smoke while others are sleeping. Making a dormitory code of conduct can make everyone abide by some agreements in the collective environment, so that they can get along more comfortably in the collective environment. Write no smoking into the dormitory code of conduct, so that roommates are embarrassed to smoke in the dormitory.
Tell the counselor to remind your roommate not to smoke. If the above two methods fail, you can consider telling the counselor to remind your roommate not to smoke in the dormitory. In college, the counselor's words are quite powerful. I believe your roommate will get rid of the bad habit of smoking in the dormitory after being reminded by the counselor.