On my CF roof install, I found that dealing with the headliner was a little tricky.
I found out several ways that it did NOT want to come out of the car
So.... after eliminating the ways that it didn't work, I found a way that was relatively easy.
I hope the following series of pics help you a bit
1. remove the A and B pillar covers.
it helps to have proper trim removal tools, but they basically just pull off by gently wiggling from the edges & pulling
HIGHLY recommend to only do this in a warm environment.
If its cold, the plastic may not do well.
2. Remove the interior lights fixture & disconnect cable.
3. remove sun vizors .....and the front will drop down.
4. slide H.Liner towards front of car to free the back end.
5. the back right corner has to work out around the B pillar.
6. angle down and out the passenger side.