metalx1000

Backup Voice Mail Messages from Android Device

Jun 11th, 2025
1,179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.59 KB | None | 0 0
  1. # Getting voice mails of An Android Phone
  2.  
  3. adb shell
  4. su
  5. find /data/data -iname "*voicemail*"
  6.  
  7. cd /data/data/com.android.providers.contacts/app_voicemail-data/
  8.  
  9. # file on Android devices might not detect the mp3 file as mp3 and just state "data"
  10. file *
  11.  
  12. # Move files to "sdcard"/user storage to be pulled from phone
  13. mkdir /sdcard/voicemail
  14. file *|grep data|cut -d\: -f1|while read f;do cp -v $f /sdcard/voicemail/;done
  15.  
  16. # on desktop
  17. adb pull /sdcard/voicemail .
  18. cd voicemail
  19.  
  20. # Check and make sure they are mp3 files
  21. file *
  22.  
  23. # rename to mp3
  24. for f in voicemail*;do mv "$f" "$f.mp3";done
  25.  
Advertisement
Add Comment
Please, Sign In to add comment