Jailbreaking essentialy destroys the security on the phone, makes it slow as hell if you install stuff sources, oh and don't forget battery life, and also voids warrenty, so good job.
a) destroys the security on the phone
Do not run packages as a privileged user. This is common sense on computers, don't do it on your phone.
b) makes it slow as hell if you install stuff sources
Do not install stuff sources. Problem solved.
c) oh and don't forget battery life
There is not a reason in the world that opening access to otherwise restricted files would compromise battery life. See response to B.
d) voids warranty
I've had jailbroken phones replaced before. The one I'm referring to was entirely broken so there was no way to check if it had a jailbroken iOS on it, but I've also replaced jailbroken operating systems to have my phone replaced on multiple occasions. There is no 'jailbreak sensor' that flips permanently when you jailbreak your phone. Just replace the jailbreak with the proprietary release and they'll never know.