Hi!
I am sorry to hear about your medical problems. First you need to confirm that it is a gluteus medius tear. MRI of the hip area should be useful in diagnosis. Sharp groin and hip pain with limited and painful rotation of the thigh can be due to several causes such as: osteoarthritis, tendonitis, muscle pull and strain, femoral neck stress fractures, lateral femoral cutaneous nerve compression (meralgia paresthetica), sports hernia or hidden/occult hernia of oblique aponeurosis, or Obturator or ilioinguinal nerve entrapment.
You would need all or any of the following for diagnosis: Clinical examination by an orthopedic specialist, X-rays, blood tests, MRI or ultrasonnography. Please discuss with your doctor. Take care!
The medical advice given should not be considered a substitute for medical care provided by a doctor who can examine you. The advice may not be completely correct for you as the doctor cannot examine you and does not know your complete medical history. Hence this reply to your post should only be considered as a guiding line and you must consult your doctor at the earliest for your medical problem.