it is my 1st playthrough, donno what i missed maybe messed during talk with samara primrose ended up in jail and i cannot perform mind envade on her. or end the invistigation.
AFAIK, you can still get primrose out of jail even after she's been arrested. (but her being arrested does preclude any possibility of a sexual relationship with her). If the following procedure doesn't work, then I'm wrong and you'll need to revert to an earlier save.
0. you must have learned to reveal large secrets (had two training sessions with the Crone).
1. In the library, there are three things you can investigate, each gives a clue.
2. Talk to Primrose and ask her about your investigation of the library's doors and windows (this modifies the clue).
3. Talk to Samarra and "present clue" for all three clues. She then tells you a fourth clue.
4. Those four clues are enough to reveal Primrose's large secret.
5. Once you've revealed her secret, primrose tells you what really happened the night Merek was murdered. Once you hear that story, you'll be able to search behind the library.
6. ask the Crone about what you found in your search.
7. With all that, you're equipped to reveal Samarra's large secret (not actually a secret so much as make her realize she overlooked something in her investigation).
Once you reveal Samarra's secret, she will release Primrose from jail.