Salim Mehajer has been granted access to a mobile phone but he's still banned from social media including his beloved Instagram.

The former Auburn deputy mayor had his bail conditions varied by Judge James Bennett in the NSW District Court on Friday after multiple hearings in Parramatta which spanned more than five weeks.

Salim Mehajer leaves during a break at Parramatta District Court last week. Credit:AAP

The long-running drama, which included him not turning up to court on time due to an apparent hand injury, led Judge Bennett to say on June 11: "This is going to go down in the record books ... as the longest-running such matter in the court's history."

In varying Mehajer's bail late last week, the judge allowed him to possess a mobile phone but only access the internet via mobile data with the SIM to be registered with the police.