Welcome to Android Central! What do you mean when you say your contacts were deleted, read only, or hidden? Which one was it?
Were the contacts associated with your Google account, or with the local Phone Account? If the former, then they should have automatically synced to your Google Contacts in the cloud--check your Google Contacts page on your computer browser. If they were associated with the Phone account, then they might be lost, since those accounts don't sync anywhere automatically--only manually, if you use a 3rd party sync program.