JB=$(ls -d /var/containers/Bundle/Application/.jbroot-* | head -1)
echo "--- force register ---"
"$JB/usr/bin/uicache" -p "/var/containers/Bundle/Application/3E2F119D-8212-49F1-9A43-734FA2941D22/Driver.app" 2>&1 | tail -2
echo "--- launch ---"
"$JB/usr/bin/uiopen" --bundleid vn.gsm.md 2>&1 | head -3
sleep 8
launchctl list 2>/dev/null | grep "UIKitApplication:vn.gsm.md" | head -3
echo "--- recent crash ---"
ls -t /rootfs/private/var/mobile/Library/Logs/CrashReporter/ 2>/dev/null | grep -i "^Driver" | head -3
echo LAUNCH46_DONE
