YuvrajRaghuvanshiS / WhatsApp-Key-Database-Extractor

The most advanced and complete solution for extracting WhatsApp key/DB from package directory (/data/data/com.whatsapp) without root access.
MIT License
443 stars 57 forks source link

Error: Could not install legacy WhatsApp #78

Closed ObliviousMonkey closed 10 months ago

ObliviousMonkey commented 2 years ago

Describe the bug

Script stops at the same place every time, even though legacy WhatsApp is installed. OS: Windows 10 Phone: Samsung S10e (SM-G970F) Android 11

To Reproduce

Steps to reproduce the behavior:

  1. run python wa_kdbe.py (python is mapped to Python 3)
  2. Hit Enter at first (read instructions) and 2nd (backup suggestion) invitations
  3. Phone reboots and see error

Expected behavior

Script should get to the end and produce unencrypted db in /extracted folder.

Screenshots

wa_kdbe

Terminal output or log file

wa_kdbe.log

Additional context

It looks like the script is failing because something causes the phone to reboot while the Installing legacy WhatsApp V2.11.431, hold tight now step is running. And the error messages come right when it reboots, because the communication with the device is lost I'm guessing.

The legacy WhatsApp was installed, after the first try of the script. At the beginning I could launch the legacy app but not dismiss the date/time screen (it would exit the app if I tried to go back). But then after a lot of tries, including with --allow-reboot flag (exact same result), the app kept crashing on startup. I updated it from the Google Play Store, same crash on startup (and additional warning from Android saying it was hogging the battery because of the crashes). I had to uninstall and reinstall (and thus wipe the com.whatsapp folders). Right now I can't say if the app works or not because FB servers are down and the phone number verification is in an endless wait loop.

YuvrajRaghuvanshiS commented 2 years ago

I looked it up and could not find anything useful. This is the first time I'm hearing an issue like this. Fixing it will take time. I recommend you use https://github.com/Tkd-Alex/WhatsDump/

lalala0303456 commented 2 years ago

Hi, I have a similar problem!

OS: Windows 10 Phone: Samsung S21Ultra (SM-G998B) Android 11 image

YuvrajRaghuvanshiS commented 2 years ago

This has to be something with Samsung devices. I can see that this tool is being used by many new users daily and only Samsung device owners are reporting this, and that too now only.

I am not sure why this is happening, and unfortunately can't squeeze enough time to look into it. For now I am keeping it open but please don't hope for any solution soon enough.

What I can suggest you is either use that other project which I linked above or migrate WhatsApp to some other device for this process.

YuvrajRaghuvanshiS commented 2 years ago

I was able to reproduce your issue @lalala0303456 by trying to install legacy over original without uninstalling original and what I can assume from this is that the data which resides even after uninstalling original somehow stops legacy version from installing.

Now obviously that data needs to be there for my tool to extract. I tried passing -g flag to grant runtime permissions with no luck.

Near USB debugging in developer options there must be some toggle like "usb debugging (security settings)" try turning that on while using the tool, maybe that can help.

ObliviousMonkey commented 2 years ago

Thanks for looking into it @YuvrajRaghuvanshiS. I've given up on it for now, after realizing that, within a group chat, the Signal app doesn't actually signal to the other participants when someone initiates a group video call. No ring, no notification, nothing. By design apparently. Which for now renders it useless for me, since I use WhatsApp a lot to communicate with my deaf family.

YuvrajRaghuvanshiS commented 2 years ago

I am sorry to hear it Signal wouldn't be an option for you.

That is a nice pun with Signal you made lol.

Barabba11 commented 2 years ago

Same problem here on Mi8 (non root), what to do now? :(( I need the key, Whatsapp cancelled a number from my history where I used to save all my notes, I need to see into the database backup 14 files. PLease help me, thanks.

`[09:05:21.899537] Connected to MI 8 [09:05:25.058575] WhatsApp V2.21.19.21 installed on device [09:05:25.060543] Downloading legacy WhatsApp V2.11.431 to "helpers/" folder 100%|█████████████████████████████████████████████████████████████████████████████| 18.3M/18.3M [02:38<00:00, 116kiB/s]

[09:08:04.227173] Backing up WhatsApp 2.21.19.21 apk, the one installed on device to "/data/local/tmp/WhatsAppbackup.apk" in your phone. [09:08:04.410166] Apk backup is completed. [09:08:04.411168] Uninstalling WhatsApp, skipping data. [09:08:05.102327] Uninstalled. [09:08:05.103326] Installing legacy WhatsApp V2.11.431, hold tight now. [09:08:08.137364] Could not install legacy WhatsApp [09:08:08.139376] adb: failed to install helpers/LegacyWhatsApp.apk: Failure [INSTALL_FAILED_USER_RESTRICTED: Install canceled by user] Performing Streamed Install [09:08:17.168089] Trying to restore WhatsApp in 00:01. [09:08:18.172901] Reinstalling original WhatsApp. [09:08:19.192898] Could not install WhatsApp, install by running "restore_whatsapp.py" or manually installing from Play Store. However if it crashes then you have to clear storage/clear data from "Settings → App Settings → WhatsApp". [09:08:19.198914] Failure [INSTALL_FAILED_USER_RESTRICTED: Install canceled by user]`

Barabba11 commented 2 years ago

I have noticed that previous project was able to install legacy Whatsapp, but then creates problems with tar. So as the legacy there was working I suspect here there is a problem with the script. https://github.com/EliteAndroidApps/WhatsApp-Key-DB-Extractor

YuvrajRaghuvanshiS commented 2 years ago

Failure [INSTALL_FAILED_USER_RESTRICTED: Install canceled by user] is a known issue and can be solved by "allowing install via adb". Go through this https://github.com/YuvrajRaghuvanshiS/WhatsApp-Key-Database-Extractor/issues/16#issuecomment-768927639

Barabba11 commented 2 years ago

Hi, thanks for help, I went there and I've enabled everything, bypassing all possible warnings. Now when the script is running it ask me to install, I click accept but it's like I press "negate", nothing will be installed, also on second attempt.

When I press accept I have: [09:31:02.244996] Installing legacy WhatsApp V2.11.431, hold tight now. [09:31:15.547030] Could not install legacy WhatsApp [09:31:15.548990] adb: failed to install helpers/LegacyWhatsApp.apk: Failure [INSTALL_FAILED_USER_RESTRICTED: Install canceled by user] Performing Streamed Install

YuvrajRaghuvanshiS commented 2 years ago

Can you share supporting screenshots to help me further understand it?

Barabba11 commented 2 years ago

What about the apk file that is possible to download here? https://whatcrypt.com/ Is it safe? immagine

YuvrajRaghuvanshiS commented 2 years ago

You can check that using any service like virustotal. ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Wednesday, December 8th, 2021 at 12:11 PM, Barabba11 @.***> wrote:

What about the apk file that is possible to download here? https://whatcrypt.com/ Is it safe? immagine

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

Barabba11 commented 2 years ago

it doesn't work, for some reasons. I'm really worried about what happened, I really need those datas for working and they are contained in such backup files. Which chances I have to recover the key? There should be a way.. Thank you a lot

EDIT: what about https://github.com/YuvrajRaghuvanshiS/WhatsDump ? somebody says it's obsolete and doesn't work, I'm afraid whatsapp will give me a new key and I'll lose the actual one

Barabba11 commented 2 years ago

Can I manually force the installation of your apk file? Can you following me in this process? Thank you

YuvrajRaghuvanshiS commented 2 years ago

This script forces installation as a part of its process even if I make a pause at that part and you try to manually install apk file that would not work, that would through an error saying version_downgrade not allowed. Try with allow reboot flag and check if usb debug security settings are on.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Wednesday, December 8th, 2021 at 12:37 PM, Barabba11 @.***> wrote:

Can I manually force the installation of your apk file? Can you following me in this process? Thank you

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

Barabba11 commented 2 years ago

what if I uninstall whatsapp and install manually the old one, then launche the script? Will it work? With the previous script I was able to install the old one, it wasked me to do a backup, but then a tar problem into the script. May you please send me the apk here? I can't find the downloaded one. Thank you for your kind support

YuvrajRaghuvanshiS commented 2 years ago

Uninstalling whatsapp will also delete all its internal data which you're trying to pull in the first place (like key, database, wa.db etc). That will be of no use.

Here's the link anyway: https://web.archive.org/web/20141111030303if_/http://www.whatsapp.com/android/current/WhatsApp.apk ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Wednesday, December 8th, 2021 at 1:52 PM, Barabba11 @.***> wrote:

what if I uninstall whatsapp and install manually the old one, then launche the script? Will it work? With the previous script I was able to install the old one, it wasked me to do a backup, but then a tar problem into the script. May you please send me the apk here? I can't find the downloaded one. Thank you for your kind support

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

Barabba11 commented 2 years ago

Hi mate, sorry for may absence, I have really lot of work now. I've tried with the reboot option, and i got this [00:17:28.106652] Could not install legacy WhatsApp [00:17:28.108647] adb: failed to install helpers/LegacyWhatsApp.apk: Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.whatsapp signatures do not match previously installed version; ignoring!] Performing Streamed Install

Unfortunately I have very important data to revover, I've copied the backups crypto 14 on several devices to don't loose them, it happened whatsapp suddenly deleted the history of one number I used to store my notes. Your methid is failing maybe because I'm using Whatsapp plus? When your script ends I don't see more whatsapp, I have to install manually back Whatsapp plus apk and then I see it as before. Why your restore doesn't work? Can be it related to that?

I've also tried to backup with adb, no success. I've tried to use backup apps but it created only an apk. In which way can I obtain this key file? Can I ask the authot of whatsapp plus? Can I use a program apk that is able to copy somewhere the key file? Should I root my phone or do I risk to ruin the key? I have no other ideas how to do that.. Please help me, thank you very much!

Barabba11 commented 2 years ago

do you think it's possible, to manually restore a whatsapp backup (in areo mode, to avoid whatsapp remove it again) to see it back? Is it easy after that to restore the actual backup?

YuvrajRaghuvanshiS commented 2 years ago

Key is derived using phone number so if you have crypt14 file try to restore that on some device, like register on whatsapp and restore backup, using same phone number and then try this tool on that device. Once you get the key you can unlock any copy of crypt14 file as long as that is bind to your phone number, there a tool whatsappviewer on github that can do that for you.

This all happened because of whatsapp plus you're using. Those modified apks don't have same keystore (don't confuse this with key, keystore helps to sign the apk and helps android understand if those are from official developers or some mod/hacker. Keystores are super secret and only app developer knows it). Hence official whatsapp could not install over the top of whatsapp plus. I can not promise you if this will work or not but notice when my tool says "Installing legacy whatsapp v" note that version number and try to find old whatsapp plus of same version number. Once you do that save that in helpers folder with the name "LegacyWhatsapp.apk".

I can not say why restore_whatsapp.py did not work, maybe it could not create backup in the first place.

Stay healthy, Yuvraj Raghuvanshi.

-------- Original Message -------- On 15 Dec 2021, 2:55 am, Barabba11 wrote:

Hi mate, sorry for may absence, I have really lot of work now. I've tried with the reboot option, and i got this [00:17:28.106652] Could not install legacy WhatsApp [00:17:28.108647] adb: failed to install helpers/LegacyWhatsApp.apk: Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.whatsapp signatures do not match previously installed version; ignoring!] Performing Streamed Install

Unfortunately I have very important data to revover, I've copied the backups crypto 14 on several devices to don't loose them, it happened whatsapp suddenly deleted the history of one number I used to store my notes. Your methid is failing maybe because I'm using Whatsapp plus? When your script ends I don't see more whatsapp, I have to install manually back Whatsapp plus apk and then I see it as before. Why your restore doesn't work? Can be it related to that?

I've also tried to backup with adb, no success. I've tried to use backup apps but it created only an apk. In which way can I obtain this key file? Can I ask the authot of whatsapp plus? Can I use a program apk that is able to copy somewhere the key file? Should I root my phone or do I risk to ruin the key? I have no other ideas how to do that.. Please help me, thank you very much!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

Barabba11 commented 2 years ago

Thank you my dear friend for your kind help, I'll try that as soon as possible. I've another idea, faaster one, if od bacup with precious infos will be succesful on my tabet, so I can copy paste them, no need to open the crypted backup. There is a trick probably that may occour, when the key is received I need to turno off internet, or whatsapp will advice that number and remove again. That numer is old, unactive, my previous one, ando probably now is assigned to somebody who activated on it whatsapp. That's probably why the chat disappeared

itssan14 commented 2 years ago

I came across the same issue on my Redmi 4 while extracting the msg store and key, using the -ar flag to allow restarting the device solved it for me.

Thank you for your work on this project!

Barabba11 commented 2 years ago

I've succeed and I like to report it here as promised. As I have a modified version of Whatsapp this mod didn't work for me, probably I had to uninstall it, install the original and recover the database, but since it was the first time I was afraid of that and I chosed the second solution, leave my phone as it is and use a second phone. In this way I've reised up a problem, because when I put the sim card on the second phone and autenticated my whatsapp account there I had to repeat the same thing when back on my phone, and that required anyway a reinstallation. So better don't do it. Anyway the method of "restore just the old backup, save messages and reinstall again with the latest backup" worked

YuvrajRaghuvanshiS commented 2 years ago

Thank you @Barabba11 for the feedback. There must have been some extra/less things in modded version of WA which messed the process. Anyways I'm glad that it all worked out for you. Cheers.

Dragzilla106th commented 2 years ago

Hello i have the Same Problem on my Samsung S9+, the script worked completly fine on my other Phone (Samsung A6). I heard it is has to do with the Android Version, The Script could only work under Android 7+ anyway can i just copy the Whatsapp Data from my Samsung S9+ to the Samsung A6 and do the same process with Script? @YuvrajRaghuvanshiS

YuvrajRaghuvanshiS commented 2 years ago

Yeah, yu'll get the data just register and restore chats by making local/Gdrive backup

Benie-janee commented 1 year ago

Hello.., can you help with the problem below., I run the script and it tells.., could not install legacy WhatsApp.. adb. failed to stat helpers/LegacyWhatsApp.apk: No such file or directory. Please..

YuvrajRaghuvanshiS commented 1 year ago

@Benie-janee download legacy apk from any of the links mentioned below https://github.com/YuvrajRaghuvanshiS/WhatsApp-Key-Database-Extractor/blob/ab3d123249b88ed32ac50adbc84ebbda433da088/helpers/handler.py#L17-L21

and save that in helpers folder with name "LegacyWhatsApp.apk", case sensitive

Benie-janee commented 1 year ago

Thanks so much., So I save it in the helpers folder in the PC.., the directory with the scripts in it..?

On Sat, Jul 9, 2022, 21:07 Yuvraj Raghuvanshi @.***> wrote:

@Benie-janee https://github.com/Benie-janee download legacy apk from any of the links mentioned below

https://github.com/YuvrajRaghuvanshiS/WhatsApp-Key-Database-Extractor/blob/ab3d123249b88ed32ac50adbc84ebbda433da088/helpers/handler.py#L19-L20

and save that in helpers folder with name "LegacyWhatsApp.apk", case sensitive

— Reply to this email directly, view it on GitHub https://github.com/YuvrajRaghuvanshiS/WhatsApp-Key-Database-Extractor/issues/78#issuecomment-1179583507, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWPS27YLRCYTZXT5VUNAGPDVTG5VXANCNFSM5FKH5W2Q . You are receiving this because you were mentioned.Message ID: <YuvrajRaghuvanshiS/WhatsApp-Key-Database-Extractor/issues/78/1179583507@ github.com>

Benie-janee commented 1 year ago

@YuvrajRaghuvanshiS thanks for the reply.., So I save the APK in the helpers folder in my PC, the folder containing the scripts?

YuvrajRaghuvanshiS commented 1 year ago

Yes it should look something like this. Ignore extra folders

image



image

Benie-janee commented 1 year ago

Okey.., thanks again., So I've done that and see the attached file..that what it showed me.., and for the record., I'm using an mod WhatsApp.. the GBWhatsApp version... How can I proceed to retrieve the key file, they're crypt14 anyway..

On Sat, Jul 9, 2022, 22:03 Yuvraj Raghuvanshi @.***> wrote:

Yes it should look something like this. Ignore extra folders

[image: image] https://user-images.githubusercontent.com/52948878/178119380-20d1ea6b-e7fb-4ae3-9e29-699c4885c731.png

[image: image] https://user-images.githubusercontent.com/52948878/178119390-d5b29df2-407e-4cec-998c-8e283bb79917.png

— Reply to this email directly, view it on GitHub https://github.com/YuvrajRaghuvanshiS/WhatsApp-Key-Database-Extractor/issues/78#issuecomment-1179591503, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWPS2767GKEVKNEZZTZ5JWDVTHEG7ANCNFSM5FKH5W2Q . You are receiving this because you were mentioned.Message ID: <YuvrajRaghuvanshiS/WhatsApp-Key-Database-Extractor/issues/78/1179591503@ github.com>

YuvrajRaghuvanshiS commented 1 year ago

You can use the program as usual now, although I have never tested it on GBWhatsApp, good luck.

------- Original Message ------- On Sunday, July 10th, 2022 at 12:36 AM, Benie-janee @.***> wrote:

Okey.., thanks again., So I've done that and see the attached file..that what it showed me.., and for the record., I'm using an mod WhatsApp.. the GBWhatsApp version... How can I proceed to retrieve the key file, they're crypt14 anyway..

On Sat, Jul 9, 2022, 22:03 Yuvraj Raghuvanshi @.***> wrote:

Yes it should look something like this. Ignore extra folders

[image: image] https://user-images.githubusercontent.com/52948878/178119380-20d1ea6b-e7fb-4ae3-9e29-699c4885c731.png

[image: image] https://user-images.githubusercontent.com/52948878/178119390-d5b29df2-407e-4cec-998c-8e283bb79917.png

— Reply to this email directly, view it on GitHub https://github.com/YuvrajRaghuvanshiS/WhatsApp-Key-Database-Extractor/issues/78#issuecomment-1179591503, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWPS2767GKEVKNEZZTZ5JWDVTHEG7ANCNFSM5FKH5W2Q . You are receiving this because you were mentioned.Message ID: <YuvrajRaghuvanshiS/WhatsApp-Key-Database-Extractor/issues/78/1179591503@ github.com>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

Benie-janee commented 1 year ago

Have you see the attachment I sent.. the image., It's showing me that none of the files are available in the folder.. see..

On Sat, Jul 9, 2022, 22:09 Yuvraj Raghuvanshi @.***> wrote:

You can use the program as usual now, although I have never tested it on GBWhatsApp, good luck.

------- Original Message ------- On Sunday, July 10th, 2022 at 12:36 AM, Benie-janee @.***> wrote:

Okey.., thanks again., So I've done that and see the attached file..that what it showed me.., and for the record., I'm using an mod WhatsApp.. the GBWhatsApp version... How can I proceed to retrieve the key file, they're crypt14 anyway..

On Sat, Jul 9, 2022, 22:03 Yuvraj Raghuvanshi @.***> wrote:

Yes it should look something like this. Ignore extra folders

[image: image] < https://user-images.githubusercontent.com/52948878/178119380-20d1ea6b-e7fb-4ae3-9e29-699c4885c731.png

[image: image] < https://user-images.githubusercontent.com/52948878/178119390-d5b29df2-407e-4cec-998c-8e283bb79917.png

— Reply to this email directly, view it on GitHub < https://github.com/YuvrajRaghuvanshiS/WhatsApp-Key-Database-Extractor/issues/78#issuecomment-1179591503 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AWPS2767GKEVKNEZZTZ5JWDVTHEG7ANCNFSM5FKH5W2Q

. You are receiving this because you were mentioned.Message ID:

<YuvrajRaghuvanshiS/WhatsApp-Key-Database-Extractor/issues/78/1179591503@ github.com>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/YuvrajRaghuvanshiS/WhatsApp-Key-Database-Extractor/issues/78#issuecomment-1179592423, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWPS275NNPZLFFAEBHLMB7LVTHE7FANCNFSM5FKH5W2Q . You are receiving this because you were mentioned.Message ID: <YuvrajRaghuvanshiS/WhatsApp-Key-Database-Extractor/issues/78/1179592423@ github.com>

YuvrajRaghuvanshiS commented 1 year ago

No I didn't get any image, try uploading on github directly.

-------- Original Message -------- On 10 Jul 2022, 12:42 am, Benie-janee wrote:

Have you see the attachment I sent.. the image., It's showing me that none of the files are available in the folder.. see..

On Sat, Jul 9, 2022, 22:09 Yuvraj Raghuvanshi @.***> wrote:

You can use the program as usual now, although I have never tested it on GBWhatsApp, good luck.

------- Original Message ------- On Sunday, July 10th, 2022 at 12:36 AM, Benie-janee @.***> wrote:

Okey.., thanks again., So I've done that and see the attached file..that what it showed me.., and for the record., I'm using an mod WhatsApp.. the GBWhatsApp version... How can I proceed to retrieve the key file, they're crypt14 anyway..

On Sat, Jul 9, 2022, 22:03 Yuvraj Raghuvanshi @.***> wrote:

Yes it should look something like this. Ignore extra folders

[image: image] < https://user-images.githubusercontent.com/52948878/178119380-20d1ea6b-e7fb-4ae3-9e29-699c4885c731.png

[image: image] < https://user-images.githubusercontent.com/52948878/178119390-d5b29df2-407e-4cec-998c-8e283bb79917.png

— Reply to this email directly, view it on GitHub < https://github.com/YuvrajRaghuvanshiS/WhatsApp-Key-Database-Extractor/issues/78#issuecomment-1179591503 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AWPS2767GKEVKNEZZTZ5JWDVTHEG7ANCNFSM5FKH5W2Q

. You are receiving this because you were mentioned.Message ID:

<YuvrajRaghuvanshiS/WhatsApp-Key-Database-Extractor/issues/78/1179591503@ github.com>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/YuvrajRaghuvanshiS/WhatsApp-Key-Database-Extractor/issues/78#issuecomment-1179592423, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWPS275NNPZLFFAEBHLMB7LVTHE7FANCNFSM5FKH5W2Q . You are receiving this because you were mentioned.Message ID: <YuvrajRaghuvanshiS/WhatsApp-Key-Database-Extractor/issues/78/1179592423@ github.com>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

Benie-janee commented 1 year ago

Okey., Here it is.. GBWHatsapp

YuvrajRaghuvanshiS commented 1 year ago

yeah, this GBwhatsapp is messing. This will work only for official WhatsApp I believe. -------- Original Message -------- On 10 Jul 2022, 12:42 am, Benie-janee wrote:

Have you see the attachment I sent.. the image., It's showing me that none of the files are available in the folder.. see..

On Sat, Jul 9, 2022, 22:09 Yuvraj Raghuvanshi @.***> wrote:

You can use the program as usual now, although I have never tested it on GBWhatsApp, good luck.

------- Original Message ------- On Sunday, July 10th, 2022 at 12:36 AM, Benie-janee @.***> wrote:

Okey.., thanks again., So I've done that and see the attached file..that what it showed me.., and for the record., I'm using an mod WhatsApp.. the GBWhatsApp version... How can I proceed to retrieve the key file, they're crypt14 anyway..

On Sat, Jul 9, 2022, 22:03 Yuvraj Raghuvanshi @.***> wrote:

Yes it should look something like this. Ignore extra folders

[image: image] < https://user-images.githubusercontent.com/52948878/178119380-20d1ea6b-e7fb-4ae3-9e29-699c4885c731.png

[image: image] < https://user-images.githubusercontent.com/52948878/178119390-d5b29df2-407e-4cec-998c-8e283bb79917.png

— Reply to this email directly, view it on GitHub < https://github.com/YuvrajRaghuvanshiS/WhatsApp-Key-Database-Extractor/issues/78#issuecomment-1179591503 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AWPS2767GKEVKNEZZTZ5JWDVTHEG7ANCNFSM5FKH5W2Q

. You are receiving this because you were mentioned.Message ID:

<YuvrajRaghuvanshiS/WhatsApp-Key-Database-Extractor/issues/78/1179591503@ github.com>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/YuvrajRaghuvanshiS/WhatsApp-Key-Database-Extractor/issues/78#issuecomment-1179592423, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWPS275NNPZLFFAEBHLMB7LVTHE7FANCNFSM5FKH5W2Q . You are receiving this because you were mentioned.Message ID: <YuvrajRaghuvanshiS/WhatsApp-Key-Database-Extractor/issues/78/1179592423@ github.com>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

Benie-janee commented 1 year ago

Well., I've tried to edit the script a little bit to accomodate it but it's still being a mess., do you think you could find a solution for it.,

Benie-janee commented 1 year ago

So I tried it this way and it couldn't let me type in password and backup on the legacy WhatsApp window..then it showed this error.. GBC

YuvrajRaghuvanshiS commented 1 year ago

that's because size is 0 bytes.

-------- Original Message -------- On 10 Jul 2022, 3:41 am, Benie-janee wrote:

So I tried it this way and it couldn't let me type in password and backup on the legacy WhatsApp window..then it showed this error.. GBC

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

Benie-janee commented 1 year ago

I see., I'm thinking GBWhatsApp isn't that statbel so using older versions as legacy is kinda messy., I'll try some recent version..

Benie-janee commented 1 year ago

I got the code to run again with a GBWhatsApp older version as legacy , but still the database files are missing., I think GBWhatsApp stores them in a different directory other than the "tmp" folder.., is there a way you can find this out...see below.. GBWHATSAPP CODE Errpr

YuvrajRaghuvanshiS commented 1 year ago

Run the code with --tar-only flag for example python3 wa_kdbe.py --tar-only. This way you'll get everything that your version of whatsapp stores as a compressed tar file.

Also I may be slow to reply now till next weekend.

------- Original Message ------- On Sunday, July 10th, 2022 at 1:34 PM, Benie-janee @.***> wrote:

I got the code to run again with a GBWhatsApp older version as legacy , but still the database files are missing., I think GBWhatsApp stores them in a different directory other than the "tmp" folder.., is there a way you can find this out...see below.. GBWHATSAPP CODE Errpr

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

Benie-janee commented 1 year ago

Okey., Thanks., Let me try that..

Benie-janee commented 1 year ago

I run it with tar-only flag , and the files are still missing., The archive is empty.. GBTAR

YuvrajRaghuvanshiS commented 1 year ago

I can't promise, I have some todos for this project since more than half a year now but can't fit in my schedule. Sorry. Your best bet is to move to official one as use this again.

-------- Original Message -------- On 10 Jul 2022, 1:11 am, Benie-janee wrote:

Well., I've tried to edit the script a little bit to accomodate it but it's still being a mess., do you think you could find a solution for it.,

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

Benie-janee commented 1 year ago

Thanks

On Tue, Oct 11, 2022, 10:15 Yuvraj Raghuvanshi @.***> wrote:

I can't promise, I have some todos for this project since more than half a year now but can't fit in my schedule. Sorry. Your best bet is to move to official one as use this again.

-------- Original Message -------- On 10 Jul 2022, 1:11 am, Benie-janee wrote:

Well., I've tried to edit the script a little bit to accomodate it but it's still being a mess., do you think you could find a solution for it.,

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/YuvrajRaghuvanshiS/WhatsApp-Key-Database-Extractor/issues/78#issuecomment-1274196537, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWPS275OS5WSRISIU76UN63WCUH2XANCNFSM5FKH5W2Q . You are receiving this because you were mentioned.Message ID: <YuvrajRaghuvanshiS/WhatsApp-Key-Database-Extractor/issues/78/1274196537@ github.com>

anmac1789 commented 3 months ago

I came across the same issue on my Redmi 4 while extracting the msg store and key, using the -ar flag to allow restarting the device solved it for me.

Thank you for your work on this project!

How do I use this flag ? like what and where am I suppose to type it ?

anmac1789 commented 3 months ago

Run the code with --tar-only flag for example python3 wa_kdbe.py --tar-only. This way you'll get everything that your version of whatsapp stores as a compressed tar file. Also I may be slow to reply now till next weekend. ------- Original Message ------- On Sunday, July 10th, 2022 at 1:34 PM, Benie-janee @.> wrote: I got the code to run again with a GBWhatsApp older version as legacy , but still the database files are missing., I think GBWhatsApp stores them in a different directory other than the "tmp" folder.., is there a way you can find this out...see below.. GBWHATSAPP CODE Errpr — Reply to this email directly, [view it on GitHub](#78 (comment)), or unsubscribe. You are receiving this because you were mentioned.Message ID: @.>

where is the current directory to run this command ?