The moment you set foot on Brazil people will greet you with the word oi! Do not panic, they are not trying to attract your attention because they are angry. Oi! means simply hi!
If you want to render the English oi! into Portuguese, go for something like ei!