Tutorial for Whatsapp Business
miguelmazetto opened this issue · 0 comments
miguelmazetto commented
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.
- Backup your data to google drive on the android
- Create a emulator on the android sdk
- Root the emulator using rootAVD. Here is an YT Video explaining how to do it.
- Download the latest Whatsapp Business APK
- Install it on the emulator using
adb install com.whatsapp.w4b_Version.apk
, replacing the file for the one you downloaded - Login on the same google account you did the backup on the original device on the emulator
- Register the emulator's whatsapp business and restore the backup you just did.
- Download and install with
adb install
the app Root Browser. - Using the app Root Browser go to /data/data/com.whatsapp.w4b/files
- Copy the 'key' file to /storage/emulated/0/
- On your console, cd to your repos folder and do:
git clone https://github.com/ElDavoo/WhatsApp-Crypt14-Crypt15-Decrypter
- Now cd to the new folder created:
cd WhatsApp-Crypt14-Crypt15-Decrypter
- Do:
pip install -r requirements.txt
- In the same folder, do:
adb pull /storage/emulated/0/key key
- And do:
adb pull "/storage/emulated/0/Android/media/com.whatsapp.w4b/WhatsApp Business/Databases/msgstore.db.crypt14" msgstore.db.crypt14
- Now do:
python decrypt14_15.py key msgstore.db.crypt14 android.db
- Now create a folder inside the mwatoi repository called
out
and copy android.db to it. - 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'"))
- Now go to the IPhone, install and register whatsapp business on it.
- Go to the configurations and force a backup, even if there is no messages.
- Now do the unencrypted local backup on the Itunes with the IPhone connected.
- After the backup is done, run
python main.py
on the mwatoi repository. - Select that the backup is already done, it should detect the backup done on the ITunes as well, and put the whatsapp number.
- 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