In regards to prayer - prayer requires total faith.
Not just, "can God do it," faith, but "God will do it," faith. If you feel so much anger that you almost "hate" God, then you must not be expecting your prayers to get a yes from God.
Yes, God knows your heart.
In regards to your view of God.
I am not sure what caused your impression of God, but I think it is totally incorrect.
God created a beautiful, wonderful world, and God created a life form that was innocent, childlike, and totally free of guilt because they did not know right from wrong. He gave them one command - "Don't eat the fruit that will give you guilt." (Yes, I know, "The tree of knowledge of good and evil" is the official title, but isn't guilt really what comes from knowing? A small baby makes a mistake, and no one is angry, there is no anger. The child didn't know. The child is innocent. An older child, having learned right from wrong, doing wrong, has guilt and is treated with anger. They have chosen to do wrong.")
In Eden, Adam and Eve chose to listen to Satan instead of God, and in doing so, they moved all of mankind, forever, from "innocent and totally guiltless" to "knowing right from wrong, and obligated to do right."
It is wrong to blame God for that.
That is like blaming a parent for a child being injured when the parent is standing there saying, "Don't, don't, don't," and the child does it anyway the minute the parent's back is turned.
Once we learned right from wrong, God told us, "Okay, these things will hurt you or hurt those around you. Don't do them. They are wrong." We continued to ignore Him. We continued to do what we knew was wrong, and others suffered for it.
God sent teachers, time after time after time, and they said, "Listen to God. You're hurting yourselves! You're hurting each other! Stop what you are doing!" These were prophets. Sometimes men listened. Most of the time, we didn't.
God gave us a system to "make it right again." To restore us to that innocent state. For a long time, it was a blood sacrifice of a lamb - the most innocent of all creatures. We sinned so much, so often, that lambs couldn't stop it.
So, God became one of us. God lived the worst life possible - FOR US. He did not enter our world as a wealthy, respected, powerful king who had armies at His command. He entered our world as a poor Jew in a society that had no qualms at all about murdering Jews. He entered the world in a stable, with shepherds to greet him. He lived the life of the son of a hard working carpentar for 30 years.
By that time, God, in Christ's form, saw so much evil around Himself. Evil that men did to other men. Many of them doing it in the name of God. It broke His heart. It angered Him. When He revealed Himself as Messiah, He told us, "This is NOT the way I want it! Do not use the law to make people miserable. The law was meant to help people! Do not pat yourself on the back for being holy men while you have people around you starving! God wants you to take care of each other! God wants you to love each other! God wants you to be forgiving, tolerant, understanding!"
When people threw the book of Jewish law at Him and said, "Which one is the most important." Christ didn't thumb through it and go, "Oh, let's see, number 3 looks good!" Instead He said, without hesitation, "Love the Lord thy God with all thy heart, and soul and mind, and the second greatest is this, love thy neighbor as thyself."
Have you ever considered how lovely this world would be if we actually DID the "Dos" that Christ told us to do?
If we loved each other as much as we love ourselves there would never be any kind of physical or sexual abuse in the world again.
If we loved each other as much as we love ourselves, no one would ever starve again.
If we loved each other as much as we love ourselves, no one would be lonely, no one would be homeless, no one would live in fear.
The wars would end.
Marriages would last.
That is the world God wants for us.
God wants a utopia for us.
But there are only two ways to achieve that utopia.
The First way is for God to take away every bit of free will and personality and choice from us, turning us into some kind of mindless robots that have no choice but to act exactly like He hopes we will act.
The Second way, the way God offered us, is to become a part of our lives, and to guide us, helping us make the right choices that will give us that Utopia.
If we surrender our lives to Christ, wholly, then we will do what God wants us to do. We will love one another, we will judge less, love more. We will feed the hungry, heal the sick, comfort the lonely, visit the prisoners. We'll give someone a coat and a cloak when they ask to borrow our cloak. We'll carry them two miles, when they ask us to walk beside them for one.
Satan lied in Eden.
Satan told Adam and Eve, "Ignore God, eat that fruit and you can be God."
God gave Adam and Eve paradise. They did not have to work. They did not have to struggle for survival. They had no sorrow. They had absolutely nothing but love and beauty and God.
Satan gave them the right to think they were god, but he also caused them to have to work, to struggle, to toil. By refusing to "let God," they had to try to do it without God, and its an ugly world without God.
I think, all the time, that the greatest sacrifice Christ made for us was NOT His death that day on the cross. It was the 33 years He walked this earth, struggling to live among hateful, hard hearted humanity.
If you are angry with God.
Tell Him.
If you don't understand why - ask Him to help you understand.
But ask with the faith that He will answer.