When this happened to me, I had done everything the Car told me to. After being towed to the dealer, it took a week to get the car back. The thing was completely bricked.
When I am near my garage, I get a “HomeLink” icon. That saves me from having to use the ”Diamond” button to open/close the garage. I thought that was what I was going to have to do first, but then I double checked the manual and found the HomeLink feature. At least in my setup :)
-Craig