I have created an iOS Root application for my jailbroken iPhone with this thread: How to create root app.
I can launch my app without any problems and kill it with the iOS task switcher. But I have a problem: when I want to re-open my app I can't, and this is the same for all my apps! To debug my phone I have to reboot it :(
Here is my script to gain root privileges:
#!/bin/bash
dir=$(dirname $0)
exec "${dir}"/rootapp "$@"
I think the problem is because the iOS AppSwitcher can't kill an iOS Root Application.