I have this app I downloaded from the Appstore and it worked for sometime and then it just started crashing . I installed the same app on another iPhone and it works.

Is there a way I can SSH into my phone and maybe delete some leftover junk files which may prevent it from starting ?

Both phone are Jailbroken and Unlocked.