Ir al contenido principal

How to use whatsapp from PC with your number

Hello all, this guide will be a little tricky but here i come.
Requirements
-Android emulator and Android SDK
-An actually rooted android phone with whatsapp installed
-A hex editor (http://portableapps.com/apps/development/frhed_portable)
Steps:
  1. Download and install android SDK from http://www.android.com
  2. Open SDK Manager and download the same API of your Android phone version, then make a new emulator image with Google apis and 1024MB of sdcard
  3. Root your android emulator following this guide: http://abd-tech.blogspot.com/2011/05/test-root-apps-on-android-emulator.html.
    Hint: If "memory full" message appears, just go to /system/apps/ and rm email.apk, then retry
  4. Patch your android emulator with your Android phone IMEI number following this guide: http://codepainters.wordpress.com/2009/12/11/android-imei-number-and-the-emulator
    Or open  tools/emulator.exe with the hex editor and substitute +CGSN 000000000000000 with your own imei
    Hint: On newer emulators you should patch tools/emulator-arm.exe
  5. Install TitaniumBackup on your Android phone and backup Whatsapp app
  6. Install TitaniumBackup on the emulator by downloading it from their website: http://matrixrewriter.com/android/
    Hint: A popup will ask you for su permission
  7. Push the Whatsapp backup files from your Android phone to your Emulator /sdcard/TitaniumBackup folder using the command adb push from shell
  8. Restore the app with TitaniumBackup (reload it first) and reboot emulator
Here you are! :D Congrats
Remember, you can't use both mobile and emulator at the same time!

Comentarios

Entradas populares de este blog

Use rclone to mount cloud storage

I realized that the fat clients that allows you to sync your contents are not only wasting CPU cycles but also lots of disk space. Yes, that enables you to have the file opened almost instantly, no matter its size, but for me that use case is almost never needed, I use the cloud storage to save stuff that is in the range of a few MiB. Here is where rclone comes into play, it allows you to mount your storage as if it were a regular disk, and it handles the communication with the cloud servers on the go. As there are many different combinations I'll cover only two Linux w/ Dropbox curl https://rclone.org/install.sh | bash # Use rclone config to add a new remote called db for dropbox MAIN_USER=$SUDO_USER MAIN_USER_HOME=$(grep ^$SUDO_USER: /etc/passwd | head -1 | cut -d: -f6) mkdir /media/db chown $MAIN_USER:$MAIN_USER /media/db cat <<EOF > /lib/systemd/system/rclone-db.service [Unit] Description=Dropbox rclone mount After=multi-user.targetrclone [Service] Type=simple User=$ M...