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

Stuck on license accepting #47

Open
InsalataCondita opened this issue Apr 15, 2020 · 8 comments
Open

Stuck on license accepting #47

InsalataCondita opened this issue Apr 15, 2020 · 8 comments

Comments

@InsalataCondita
Copy link

After some researches I found how to make WhatsDump download the SDK, but now, after the download it's stuck on:
Accept? (y/N): All SDK package licenses accepted
Can someone help me please?

@diragb
Copy link

diragb commented May 1, 2020

Same here.. @MarcoG3 any solutions?

@prateekamana
Copy link

Can you guys provide screenshots ?

@wuffeljunior90
Copy link

image

That how it looks.
Cannot type y or n.

Regards

@prateekamana
Copy link

I really don't know but it worked perfectly fine on linux, so maybe try to use a virtual linux environment and run it. But the script is not working anyway because the Whatsapp apk has been expired, I tried using a new Whatsapp apk but since they have a slightly different UI maybe, the script gets stuck after saying Verifying... when it tries to verify the number.

@A50garmin
Copy link

Hello I am having a similar issue, however the problem is that repositories.cfg file is not on my working folder and I am getting the below issue.

Can please someone upload or help me to reslve this issue. After I run the command python whatsdump.py --install-sdk the cmd windows get stuck.

[INFO] SDK tools directory already exists, skipping download & extraction...
[INFO] Updating SDK from manager...
Warning: File C:\Users\XXXXX\Downloads\WhatsDump-master\WhatsDump-master\android-sdk.android\repositories.cfg could not be loaded.
[=======================================] 100% Computing updates...
[INFO] Accepting SDK licenses..
Warning: File C:\Users\XXXXX\Downloads\WhatsDump-master\WhatsDump-master\android-sdk.android\repositories.cfg could not be loaded.
All SDK package licenses accepted.======] 100% Computing updates...

@diragb
Copy link

diragb commented Jul 9, 2020

any updates? @MarcoG3

@EL-S
Copy link

EL-S commented Sep 9, 2020

There are a few things you will need to do to get WhatsDump to work correctly and give you your key. I have confirmed this as working as of yesterday.

If you don't have the android-sdk installed already using WhatsDump, replace line 180 in src/android_sdk.py with this, r=requests.get('https://web.archive.org/web/20190403122148/https://developer.android.com/studio/').

You will need to replace the apk in apks/ with a newer WhatsApp apk.

You need to also edit the src/android_sdk.py to change 'y/n'*20 to just 'y' on line 52 in src/android_sdk.py and it seemed to work.

I also had problems with the program appearing to halt, so also set 'list packages' to show=True on line 59. I think this fixes this problem,
All SDK package licenses accepted.======] 100% Computing updates...

There is also a time when the program will appear to freeze but if you wait it will eventually pass it.

Finally, when the android emulator is up and running, be patient and WhatsApp will load, follow the steps in the cmd and enter your SMS code.

After the SMS code, a google drive backup will appear, press restore/continue and allow all the permissions. After a few moments, the messages will be decrypted and the key will be copied into the output folder on your computer.

After this, you can simply close the emulator and the script because I don't believe it actually exits automatically. Then you can switch back to your original phone and send a validation code and you will have WhatsApp back to normal on your phone.

I confirmed that the key could decrypt a backup taken directly from my phone, but I haven't confirmed whether the key on my phone has changed since retrieving it. I'll assume it hasn't but I'll send an update if I find out it has.

One final note. You need to use Java 8 JDK, anything higher won't work. I also set up the system environment variable JAVA_HOME and put the path to the Java 8 JDK to it (not the bin, the root dir) but I'm not sure if it was really necessary.

@EL-S
Copy link

EL-S commented Sep 13, 2020

Just posting an update, the key does appear to have changed after using this retrieval method. I will probably retrieve the key again, backup messages as recent as possible, then root my phone with the knowledge that all my messages are secure somewhere that can't be erased/lost. Then I'll attempt to restore them after rooting. I'll post a follow up if there's any complications.

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

6 participants