My Android phone's screen died: no image, no touch, nada. How can I use http://web.whatsapp.com/ without being able to start WhatsApp and browse to the option Menu > Whatsapp Web so I can scan the QR Code on the web page?

This is obviously an interim solution until my new phone arrives.


Directly start WhatsApp with the correct activity intent via ADB:

adb shell "su -c 'am start com.whatsapp/.qrcode.QrCodeActivity'"

Then hold your camera in front of the QR Code @ http://web.whatsapp.com/.


Found it with something along the lines of:

adb shell "su -c 'find /data -name *whatsapp*.dex | xargs strings | grep Qr'"
  • 1
    Are you sure you need root for this? am start doesn't normally need root, maybe unless this activity is not exported in the manifest.
    – Dan Hulme
    Jun 2 '16 at 16:01
  • It might not be needed, but as far as I could see, the shell user does not have the rights to start the com.whatsapp/.qrcode.QrCodeActivity intent.
    – jubr
    Jun 8 '16 at 9:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.