Do I need to have a visa or boarder pass to visit liwa?
No, Liwa is part of Abu Dhabi Emirate which is one of the city of United Arab Emirates (one of the 7 emirates that make UAE) & there is Municipal region called Al Gharbia & it function under Abu Dhabi government, so you do not need a visa or boarder pass to go to liwa.