The old battery died completely.
Replacing the battery was easy thanks to iFixit but the problem was the home button is also not working anymore. Since it's a jailbroken phone I installed Activator and used a double click on the sleep button to simulate a home button action. Then I went to erase all data and settings from the phone and now it is stuck on the boot logo. iTunes cannot detect the phone, and I cannot get it into DFU mode because the home button doesn't work. I have the phone stripped at the moment. I need some suggestions to get the home button working or replacing the home button. The phone is unusable at present.
I need advise.