Add script that when copied to device and run from 'adb shell' captures all app and OS logs to file. Next: add code to XWApp.java to copy it from assets/ and run it on launch.