I feel you bro !! Experiencing similar stuff lately. One of the things that help me is focusing on the great feeling of satisfaction on those days where i developed a streak, like day 9.The choice now is, I can comfort my self by staying down OR i can refrain and get to that great feeling of day 9 success and then day 10 , 20 , 100 etc. We all know that its more pleasurable to hold out and wait for the greater feeling.
On the topic of Tfillah, the ultimate technique, I had a very interesting experience.
I was in a real funk, dwelling in my failures very far from even thinking about digging out. Although I had barely been davening at all, one day it struck me in the middle of shmoneh esrei, I really have no strength to battle and get better but why not ask Hashem maybe he will help. So i said like one short line before taking 3 steps back. " Its all up to YOU, help me try. It felt almost worthless because I felt so awash in sin and embarrassed to speak to Hashem, just mumbled one line. That day my challenges were just a bit easier, i didn't even remember that i davened about it, I succeeded. This was so unusual at the time that i remembered it in the morning. I said "thanks Hashem, dido". Was still to embarrassed to talk to Hashem too much. Little by little the success bore more success and my thanks to Hashem expanded to full requests in my tfillos. I think the full realization how helpless i was ( BTW Step 1of 12) and the depth of my failure caused me try one last feeble try. I think this was real faith and desperation. Hashem said NOW , I will help you a little. With a little help and boost, i started seeing things in a whole new light. I was positive and eager to succeed. Tfillah is key !!