Iphone 4 problems with the white apple logo?

I bought an Iphone 4 from a friend but I did not know it was jailbroken so I restored it from settings. Then it has been stuck on a stupid apple logo and it doesn't turn off no matter what you hold or press. I tried the Itunes thing. DFU mode wverything. And I can't take it to an apple store because it is not for 50 miles from my location. Also i'm only 17 so I can't drive because I don't own a car

Never buy a jailbroken iPhone. And I doubt Apple would even help you if you went to them with your jailbroken iPhone.