At this point the deployment may hang and fail with a timeout.
This issue is resolved in BlackBerry 10.2.
In order to deploy applications onto a device affected by this issue, you may use the blackberry-deploy -uninstallApp command with a package name that does not exist. Running this command every X seconds in the background while deploying an application should allow for successful deployment.
To automate this, you can use the attached batch/bash script. This script runs an uninstall command on a package name that does not exist every 50 seconds, to keep the installer alive. This should allow the application to deploy. Once the application is deployed, you may close (CTRL+C) the script.
1. Extract archive that applies to your OS
2. Open the script using Notepad
3. Edit the SDKBINPATH variable to point to the bin folder of the SDK, depending on your environment:
BlackBerry® 10 WebWorks™ SDK:
Example:C:\Program Files (x86)\Research In Motion\BlackBerry 10 WebWorks SDK 184.108.40.206\dependencies\tools\bin