Giter Site home page Giter Site logo

Comments (6)

davralin avatar davralin commented on July 22, 2024 3

Just stumbled upon this project, and saw this issue.

If anyone is interessted, this might serve as a good starting point for running whatsapp "off" your phone.

https://docs.mau.fi/bridges/go/whatsapp/android-vm-setup.html

from whatsappwebtogo.

92lleo avatar 92lleo commented on July 22, 2024 2

Hi guys,
before doing anything with the app (only thing would be extracting the qr code), the "fake" whatsapp instance has to be set up. I think this is out of scope of the application. If something like this does exist and has a proper api, we can look into extracting the qr code to that api.
Best, Leo

from whatsappwebtogo.

raffaem avatar raffaem commented on July 22, 2024 2

Just stumbled upon this project, and saw this issue.

If anyone is interessted, this might serve as a good starting point for running whatsapp "off" your phone.

https://docs.mau.fi/bridges/go/whatsapp/android-vm-setup.html

I did it thanks to your suggestion. I am so happy right now! :)

The instructions in the link are a bit out of date.

Here how you can have WhatsApp on your PC:

  1. Download Android Studio
  2. Uncompress it, run android-studio/bin/studio.sh
  3. Install using default options. It will install the Android SDK as well
  4. Open it and create a virtual phone in Tools->Device Manager. In the "Virtual" tab, click on "Create Device". Choose a phone model, and an Android version. It will download the Android OS to install in the phone
  5. After installation, find out the ID of the virtual phone with
~/Android/Sdk/emulator/emulator -list-avds
  1. Run the virtual phone with:
~/Android/Sdk/emulator/emulator -no-boot-anim -avd MYID
  1. Download the WhatsApp APK from the WhatsApp website, and drag the APK over the Phone window to install it
  2. Open WhatsApp and register it, having the confirmation SMS send over to your phone
  3. [OPTIONAL] Install Watomatic to tell your contacts you are switching to Signal :)
  4. [OPTIONAL] If you want to have WhatsApp on your phone with WhatsappWebToGo, then install WhatsappWebToGo in your phone, open it and it will show a QR code to scan. Close your previous instance of the virtual phone you have opened. Re-open it with webcam support using:
~/Android/Sdk/emulator/emulator -no-boot-anim -camera-back webcam0 -avd VIRTUAL_PHONE_ID

if it doesn't open, try to run:

rm  /home/raffaele/.android/avd/VIRTUAL_PHONE_ID.avd/*.lock

and try again.
Now just have the WhatsApp on your virtual phone scan the QR code on your real phone.
Done!

To run the virtual phone in headless mode, I have tried with:

~/Android/Sdk/emulator/emulator -no-boot-anim -no-audio -no-window -avd VIRTUAL_PHONE_ID

as suggested in the link, but it crashes :(
I have opened a bug report to Google.

from whatsappwebtogo.

WPFilmmaker avatar WPFilmmaker commented on July 22, 2024 1

@92lleo did you hear of this? soon whatsapp web should allow user to use whatsapp without a phone being connected to the internet so maybe we are moving towards the solution to this ticket? :)

https://wabetainfo.com/whatsapp-messenger-beta-for-ios-2-21-60-11-whats-new/

from whatsappwebtogo.

WPFilmmaker avatar WPFilmmaker commented on July 22, 2024

+1, anbox project is very promising, and this https://github.com/fython-tools/DocUIProxy-Android albeit abandoned might be useful

from whatsappwebtogo.

T-vK avatar T-vK commented on July 22, 2024

I've been able to run Android including WhatsApp using Docker in the past which is headless by default. I don't know which Docker image I used though and it's been at least 2 years.

from whatsappwebtogo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.