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

Registration failing with "old_version" with "Android" env #3085

Closed
alexcarpenedo opened this issue Jun 23, 2021 · 9 comments
Closed

Registration failing with "old_version" with "Android" env #3085

alexcarpenedo opened this issue Jun 23, 2021 · 9 comments
Assignees

Comments

@alexcarpenedo
Copy link

alexcarpenedo commented Jun 23, 2021

I've already tested all the ways and the problem still remains...

E 2021-06-23 18:40:37,472 yowsup.config.manager - Could not find a config for username=cc----------, paths checked: /home/servidor/.config/yowsup/cc----------/config.yo:/home/servidor/.config/yowsup/cc----------/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

I 2021-06-23 18:40:38,073 yowsup.common.http.warequest - b'{"login":"cc----------","status":"fail","reason":"old_version"}\n'
status: b'fail'
reason: b'old_version'
login: b'cc----------'

@ermancanitatli
Copy link

ermancanitatli commented Jun 24, 2021

for login

env_android.py

``  _MD5_CLASSES = "9cGBR5d0y9dXWrZd30Yuow=="
    _KEY = "eQV5aq/Cg63Gsq1sshN9T3gh+UUp0wIw0xgHYT1bnCjEqOJQKCRrWxdAe2yvsDeCJL+Y4G3PRD2HUF7oUgiGo8vGlNJOaux26k+A2F3hj8A="

    _VERSION = "2.21.5"
    _OS_NAME = "Android"
    _OS_VERSION = "8.0.0"
    _DEVICE_NAME = "star2lte"
    _MANUFACTURER = "samsung"
    _BUILD_VERSION = "star2ltexx-user 8.0.0 R16NW G965FXXU1ARCC release-keys"
    _AXOLOTL = True

@SidorinSergey
Copy link

Please kindly try this:
Correct values env_android.py for today:
_VERSION = = "2.21.12" #2.21.12.22
_MD5_CLASSES = "5ym5gLRrSZJQ+ZWWrpHaMg=="

At least registration/validation works :)

@alirezadigi
Copy link

alirezadigi commented Jun 28, 2021

Hi @SidorinSergey and @ermancanitatli !
I tried both of them but yowsup-cli doesn't work yet.
I changed the file and then executed

python setup.py build
python setup.py install

But it gives me 'bad_token' error

How do you find "_MD5_CLASSES "?

@SidorinSergey
Copy link

@alirezadigi
You have to download a new whastapp apk: https://www.whatsapp.com/android/ and save the version wrote on website (ex: Version 2.18.213)
Run this https://github.com/mgp25/classesMD5-64/blob/master/dexMD5.py file.apk,
The MD5 and the version, you have to change the file yowsup/env/env_android.py:
_MD5_CLASSES = "NEW_VALUE"
_VERSION = "NEW_VALUE"

Compile again yowsup

thx #2536 (comment)

as i mentioned before, i only could register and validate account, but not send messages. It seems that each new version you also have to change values according to this pr:
#3045

@ozymoz
Copy link

ozymoz commented Jul 16, 2021

Hello there;
The updated information is below but I am getting an error.

up-to-date information

8AsvZ5b5TXrCHaCGHuWEgw==
2.21.14.19 // 2.21.14

error

W 2021-07-16 03:46:48,092 yowsup.common.http.warequest - Passing Config to WARequest is deprecated, pass a YowProfile instead
{'status': 'fail', 'reason': 'bad_token', 'length': None, 'method': None, 'retry_after': None, 'code': None, 'param': None, 'login': '447985117735', 'type': None, 'sms_wait': None, 'voice_wait': None}

@leonidasroberto
Copy link

leonidasroberto commented Aug 31, 2021

some update to this ?
I have same issue

@normalscene
Copy link

Just in case someone looking for the latest version and classDex as of 3rd September, 2021:

Version: 2.21.17.25
ClassesDex: RVbKldZNiLEcM2I22tNswA==

@juangarlop
Copy link

version must contain only 3 octects.

what is about version? is it v4? i don't get connected.

offline]:/L
I 2021-09-03 08:49:09,404 yowsup.layers.network.layer - Connecting to e15.whatsapp.net:443
I 2021-09-03 08:49:09,535 yowsup.axolotl.manager - Loaded 812 unsent prekeys
general: Disconnected:
[offline]:

:(

@tgalal
Copy link
Owner

tgalal commented Dec 14, 2021

Fixed.

@tgalal tgalal closed this as completed Dec 14, 2021
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

9 participants