hello here i try every where for help but still none i have on iphone 4 that i can't use because it keep shuttin off all the time if i'm useing it wont shut off but when stop useing and it go to sleep it turn off i restore many times same prob the compass don't work when turn the phone side way nothing turn with it like message or keyboard. if i have the charge plug in it won't go off now i notice that back got very hot so i take of the back panel off to feel if its the battery but when feel the heat is coming from the board side.

any help here i would be greatful for really really greatful
i'm willing to change anything on the board that can be replace
but what it is that causing this prob i don't know. i'm not living the US
so i have to fix so i can used.