Yowsup: old_version or bad_token

Created on 30 Apr 2020  路  19Comments  路  Source: tgalal/yowsup

Hello, I've tried to install yowsup on my Rpi1 (with buster lite) but I have this error when registring my account.

sudo yowsup-cli registration --config config --requestcode sms

Here the message :
status: fail
reason: old_version
login: 33619490784

When I check version, I get :
yowsup-cli v3.2.0
using:
consonance v0.1.3-1
protobuf v3.11.3
cryptography v2.6.1
yowsup v3.2.3
dissononce v0.34.3
python-axolotl v0.2.2

Who can help me ??

Most helpful comment

to resolvev problem with old version Yo should do folowing:

  1. download Whatsapp.apk file from oficial site Whatsapp
  2. Dowload .py file from this
  3. install library from pip \
    pip(or pip3) install pyaxmlparser
  4. run command: python3 dexMD5.py WhatsApp.apk
  5. you will get version and MD5 for newest version
  6. write this datas in yowsup/env/env_android.py into variables

    • _MD5_CLASSES

    • _VERSION

  7. sudo python3 setup.py build
  8. sudo python3 setup.py install
  9. ENJOY :)

All 19 comments

env/env_android.py, change MD5 classes and version...
_VERSION = "2.20.134"
_MD5_CLASSES = "PzuZ7EJNcuXEealGEJT6+g=="

@igorvsimonoff @tgalal
Como obtienes el md5 classes de la version de whatsapp?
How you get the md5 classes of whatsapp version?

Yo necesito el MD5_CLASSES para la VERSION "2.20.154"
I need the _MD5_CLASSES for VERSION = "2.20.154"

download dexMD5.py https://raw.githubusercontent.com/mgp25/classesMD5-64/master/dexMD5.py
download wtatsapp from official site
download axmlparser https://github.com/mikusjelly/axmlparser and install it - python setup.py install
copy all to axmlparser folder

run python dexMD5.py WhatsApp.apk

--> WhatsApp Version : 2.20.134
--> WhatsApp ClassesDEX MD5 : b'PzuZ7EJNcuXEealGEJT6+g=='

@igorvsimonoff @tgalal
Como obtienes el md5 classes de la version de whatsapp?
How you get the md5 classes of whatsapp version?

Yo necesito el MD5_CLASSES para la VERSION "2.20.154"
I need the _MD5_CLASSES for VERSION = "2.20.154"

[root@vmi352177 axmlparser]# python dexMD5.py WhatsApp.apk
--> WhatsApp Version : 2.20.153
--> WhatsApp ClassesDEX MD5 : b'h2A9bxOQRx5LTDAxxkJsRw=='

2.20.153 and h2A9bxOQRx5LTDAxxkJsRw==

from Russia don't download 2.20.154....

hello, can anyone give me the MD5 to version 2.20167 or later, please?

WhatsApp Version : 2.20.178 / " j+Q00eJqFSydkEW2hUSbTg== "

to resolvev problem with old version Yo should do folowing:

  1. download Whatsapp.apk file from oficial site Whatsapp
  2. Dowload .py file from this
  3. install library from pip \
    pip(or pip3) install pyaxmlparser
  4. run command: python3 dexMD5.py WhatsApp.apk
  5. you will get version and MD5 for newest version
  6. write this datas in yowsup/env/env_android.py into variables

    • _MD5_CLASSES

    • _VERSION

  7. sudo python3 setup.py build
  8. sudo python3 setup.py install
  9. ENJOY :)

Version: 2.20.153
ClassesDex: qsZlvDRwHdZkFGZ4bXtMRA==

Version: 2.20.194.16
ClassesDex: acHTq5NjDWM10WPSMaZv2A==

_VERSION = "2.20.195.16"
_MD5_CLASSES = "NsFPUwkgBOzrarZ3SNK1MQ=="

_VERSION = "2.20.197.18"
_MD5_CLASSES = "+ZPePApgUEaLrsODPbfSDA=="

It"s easier to write a script for checking new version

@hanzo-rebrain I'm using the same release. Were you able to make it work? I keep getting bad token.

@ramyasha-mss
I've posted it here only after checking-confirmed it as working.

@fanishe
I agree, but haven't find a mood yet to make it :)

2. sudo python3 setup.py install

This work for me very good

Version: 2.20.206.19
MD5: bb2c405ab75777d2b67b129ed0021b1c

but:
`python3 yowsup-cli registration --requestcode sms --phone 49xxx --cc 49 --mcc 232 --mnc 10
E 2020-12-01 23:02:36,687 yowsup.config.manager - Could not find a config for profile=49xxx, paths checked: 49xxx:/home/xxx/.config/yowsup/49xxx/config.yo:/home/xxx/.config/yowsup/49xxx/config.json
yowsup-cli v3.2.0
yowsup v3.2.3

Copyright (c) 2012-2019 Tarek Galal
http://www.openwhatsapp.org

This software is provided free of charge. Copying and redistribution is
encouraged.

If you appreciate this software and you would like to support future
development please consider donating:
http://openwhatsapp.org/yowsup/donate

W 2020-12-01 23:02:37,001 yowsup.common.http.warequest - Passing Config to WARequest is deprecated, pass a YowProfile instead
I 2020-12-01 23:02:37,381 yowsup.common.http.warequest - b'{"login":"49xxx","status":"fail","reason":"bad_token"}\n'
status: b'fail'
reason: b'bad_token'
login: b'49xxx'`

_VERSION = "2.20.197.18"
_MD5_CLASSES = "+ZPePApgUEaLrsODPbfSDA=="

ok is good but, no registre. arise: bad token .:c

Version: 2.20.206.22
ClassesDex: oEYGYTr+K6IN0mDOrAZpsg==

it'll be closed.

Thank you so much.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

EliasinnKamachoo picture EliasinnKamachoo  路  3Comments

MauricioAHM picture MauricioAHM  路  5Comments

dickbutt2 picture dickbutt2  路  3Comments

rroqueCoddera picture rroqueCoddera  路  3Comments

bzero picture bzero  路  4Comments