How can I re-install Cydia on my iPhone 5?

Pangu says its jailbroken
Whether it is accurate or not, I do not know, however, I found information via a Google search that you may find useful. The information can be found via the following link.

How to reinstall / Update Cydia without Re-jailbreak
I try the link, but it doesn't work in my situation.
my iphone5 running on 7.1.2 was jailbroken before, I need to send it in for repairs so I uninstall cydia using cydia itself, now I want to re-install cydia cydia it says it is jailbroken.
any simply way to install cydia back? I could not restore it as apple stop signing 7.1.2.
If that above link didn't work for you, you will have to restore and jailbreak from scratch.
Hi Haseeb, please advise how to restore and maintain ios 7.1.2 since apple not signing this version.your help greatly appreciated. i would like ti jailbreak from scratch.thanks.
you can no longer do a restore w/o going to ios8
🙁 thanks for update
it sucks but ios8 isn't all that bad but it does suck that you'll lose jailbreak
🙁 thanks for update

I'm sorry to say that Apple is no longer signing the iOS 7.1.2 ipsw. You will need to wait for the jailbreak on iOS 8.

Original thread: https://forums.imore.com/threads/how-can-i-re-install-cydia-on-my-iphone-5.302212/