Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tutorial for Whatsapp Business #16

Open
miguelmazetto opened this issue Jul 25, 2022 · 0 comments
Open

Tutorial for Whatsapp Business #16

miguelmazetto opened this issue Jul 25, 2022 · 0 comments

Comments

@miguelmazetto
Copy link
Contributor

Aparently nowhere on the internet besides paid apps explain how to do this so i'll explain how to do it using this tool.
Since there is no legacy version of Whatsapp Business that does unencrypted backups, we'll have to get the encrypted backups and decrypt them with a key that we'll get using root.

  1. Backup your data to google drive on the android
  2. Create a emulator on the android sdk
  3. Root the emulator using rootAVD. Here is an YT Video explaining how to do it.
  4. Download the latest Whatsapp Business APK
  5. Install it on the emulator using adb install com.whatsapp.w4b_Version.apk, replacing the file for the one you downloaded
  6. Login on the same google account you did the backup on the original device on the emulator
  7. Register the emulator's whatsapp business and restore the backup you just did.
  8. Download and install with adb install the app Root Browser.
  9. Using the app Root Browser go to /data/data/com.whatsapp.w4b/files
  10. Copy the 'key' file to /storage/emulated/0/
  11. On your console, cd to your repos folder and do: git clone https://github.com/ElDavoo/WhatsApp-Crypt14-Crypt15-Decrypter
  12. Now cd to the new folder created: cd WhatsApp-Crypt14-Crypt15-Decrypter
  13. Do: pip install -r requirements.txt
  14. In the same folder, do: adb pull /storage/emulated/0/key key
  15. And do: adb pull "/storage/emulated/0/Android/media/com.whatsapp.w4b/WhatsApp Business/Databases/msgstore.db.crypt14" msgstore.db.crypt14
  16. Now do: python decrypt14_15.py key msgstore.db.crypt14 android.db
  17. Now create a folder inside the mwatoi repository called out and copy android.db to it.
  18. Now modify main.py with a code editor at the line 126-127 where it says:
    chatstorage = list(manifest_db.execute("SELECT fileID FROM Files WHERE relativePath='ChatStorage.sqlite' AND domain='AppDomainGroup-group.net.whatsapp.WhatsApp.shared'"))
    Change it to:
    chatstorage = list(manifest_db.execute("SELECT fileID FROM Files WHERE relativePath='ChatStorage.sqlite' AND domain='AppDomainGroup-group.net.whatsapp.WhatsAppSMB.shared'"))
  19. Now go to the IPhone, install and register whatsapp business on it.
  20. Go to the configurations and force a backup, even if there is no messages.
  21. Now do the unencrypted local backup on the Itunes with the IPhone connected.
  22. After the backup is done, run python main.py on the mwatoi repository.
  23. Select that the backup is already done, it should detect the backup done on the ITunes as well, and put the whatsapp number.
  24. After it finishes just restore the ITunes backup back to the IPhone and it is done.

Keywords: whatsapp business transfer messages from android to ios iphone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant