Now this is just my opinion and it worked for me. Per Steve Martin in the movie "Mixed Nuts", "In every POTHOLE, there is HOPE" (if you re-arrange the letters and so on).
I was faced with a similar situation. I sought out the challenges of the project I disliked and tried to, as dispassionately as possible, look at the aspects of the project however small that I would consider working on. I did exactly that. Yes, I had to construct a convincing argument for my adviser as to why focussing on a sub-aspect of my project whilst not losing track of the bigger chunk would be useful for me and the project. Yes, I did have a quasi-supportive adviser and an quasi-supportive department chair who wanted me to succeed since the "greater good" of my public university was at stake.
Since you have already "talked to your adviser", you may need to wait it out for a semester or so before you broach the subject matter again. i.e., if you find aspects of the project you like (time can change our perspective).
If you don't... perhaps you would need to cut and run to another research group or university since your professional life would be at stake.
So in summary, those are the two options that I had:
- Focus on a sub-project of the main project. Link that to the success of the main project and work in that direction. Worked out for me! I am happier with my contributions to the field.
- If things go from "bad to worse", cut and run to another group/univ.
Subplot: Yes, per Badroit's answer, you should generally heed your adviser's er... advice. Since they would generally look at the greater good and the bigger picture. But you would know best about his/her personality and you may need to use your gut feelings in such situation.
Good luck! Either way, it will be a character building exercise which will also provide you with interesting technical skills and temperament which are the subtle skills necessary for success in industry or academia (or so I am told).