A command shell is simply a window without any graphical decorations. You type commands, using the keyboard, and you see the results of the commands. In this example we will use the windows 10 shell. Run the windows prompt with "cmd" or "shell" command.
Find the "platform-tools" directory of your Android SDK. For example:
D:\android-sdk-windows\platform-tools>
Enter the command adb devices to get the list of your devices
D:\android-sdk-windows\platform-tools>adb devices
List of devices attached
emulator-5554 device
TA930089K2 device
Connect a shell to your device:
D:\android-sdk-windows\platform-tools>adb -s emulator-5554 shell
root@generic_x86:/ #
Type the command, in the shell type:
am broadcast -a android.intent.action.BOOT_COMPLETED
OR
am broadcast -a android.intent.action.BOOT_COMPLETED -p thepackageofyourapp
Where, thepackageofyourapp, is the your application package from Play Store
Find the "platform-tools" directory of your Android SDK. For example:
D:\android-sdk-windows\platform-tools>
Enter the command adb devices to get the list of your devices
D:\android-sdk-windows\platform-tools>adb devices
List of devices attached
emulator-5554 device
TA930089K2 device
Connect a shell to your device:
D:\android-sdk-windows\platform-tools>adb -s emulator-5554 shell
root@generic_x86:/ #
Type the command, in the shell type:
am broadcast -a android.intent.action.BOOT_COMPLETED
OR
am broadcast -a android.intent.action.BOOT_COMPLETED -p thepackageofyourapp
Where, thepackageofyourapp, is the your application package from Play Store