JB=$(ls -d /var/containers/Bundle/Application/.jbroot-* | head -1)
"$JB/usr/bin/uiopen" --bundleid vn.gsm.md 2>&1 | head -2
sleep 3
echo "--- at ~3s ---"
launchctl list 2>/dev/null | grep "UIKitApplication:vn.gsm.md" | head -2
sleep 5
echo "--- at ~8s ---"
launchctl list 2>/dev/null | grep "UIKitApplication:vn.gsm.md" | head -2
sleep 7
echo "--- at ~15s ---"
launchctl list 2>/dev/null | grep "UIKitApplication:vn.gsm.md" | head -2
echo "--- newest crashes ---"
ls -t /rootfs/private/var/mobile/Library/Logs/CrashReporter/ 2>/dev/null | grep -i "^Driver" | head -3
echo LAUNCH46C_DONE
