EliteAndroidApps / WhatsApp-Key-DB-Extractor

Allows WhatsApp users to extract their cipher key and databases on non-rooted Android devices.
GNU General Public License v3.0
363 stars 183 forks source link

Not extracting with mac / Android 4 #27

Open JPWayne opened 5 years ago

JPWayne commented 5 years ago

Hello, there! I have a problem backing up my WhatsApp on my MacBook. I have a Android 4 device. It is working with a windows PC, I can perfectly run the Backup Process there, but on my Macbook this occurs:

Last login: Tue May 21 17:19:30 on ttys000 isso:~ patrickl$ /Users/patrickl/Downloads/WhatsApp-Key-DB-Extractor-master-2/WhatsAppKeyDBExtract.sh

========================================================================= = This script will extract the WhatsApp Key file and DB on Android 4.0+ = = You DO NOT need root for this to work but you DO need Java installed. = = If your WhatsApp version is greater than 2.11.431 (most likely), then = = a legacy version will be installed temporarily in order to get backup = = permissions. You will NOT lose ANY data and your current version will = = be restored at the end of the extraction process so try not to panic. = = Script by: TripCode (Greets to all who visit: XDA Developers Forums). = = Thanks to: dragomerlin for ABE and to Abinash Bishoyi for being cool. = = ### Version: v4.7 (12/10/2016) ### =

Please connect your Android device with USB Debugging enabled:

cannot connect to daemon at tcp:5037: Connection refused

  • daemon not running; starting now at tcp:5037
  • daemon started successfully /Users/patrickl/Downloads/WhatsApp-Key-DB-Extractor-master-2/WhatsAppKeyDBExtract.sh: line 57: [: -eq: unary operator expected

Downloading legacy WhatsApp 2.11.431 to local folder

% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Failed to create the file tmp/LegacyWhatsApp.apk: Not a directory 100 251 100 251 0 0 2668 0 --:--:-- --:--:-- --:--:-- 2670 curl: (23) Failed writing body (0 != 251)

WhatsApp 2.19.128 installed

Backing up WhatsApp 2.19.128 /data/app/com.whatsapp-2.apk: 1 file p...d. 2.7 MB/s (25140140 bytes in 8.979s) Backup complete

Installing legacy WhatsApp 2.11.431 Performing Push Install adb: error: cannot stat 'tmp/LegacyWhatsApp.apk': Not a directory rm failed for -f, No such file or directory Install complete

adb: backup unable to create file 'tmp/whatsapp.ab': Not a directory Operation failed

Downloading WhatsApp 2.19.128 to local folder

% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Failed to create the file tmp/com.whatsapp-2.apk: Not a directory 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (23) Failed writing body (0 != 7751)

Restoring WhatsApp 2.19.128 Performing Push Install adb: error: cannot stat 'tmp/com.whatsapp-2.apk': Not a directory rm failed for -f, No such file or directory Restore complete

Cleaning up temporary files ... rm: tmp/whatsapp.ab: Not a directory rm: tmp/whatsapp.tar: Not a directory rm: tmp/apps: Not a directory rm: tmp/com.whatsapp-2.apk: Not a directory Done

Operation complete

Please press Enter to quit...

Maybe someone could help, would be very grateful!