You will find files with names like xxxxxxxxxxxxxx.enc . These are encrypted voice notes .

If you’ve ever received a heartfelt voice message from a grandparent or a critical business note on Viber, you’ve probably asked: How do I save this?

# Viber's simple XOR key (found via reverse engineering) key = [0x7A, 0x3C, 0x5E, 0x1D, 0x8F, 0xA2, 0x4B, 0x9C]

adb backup -f viber_backup.ab -noapk com.viber.voip Once you have the .ab file, use a tool like Android Backup Extractor to convert it to a .tar file. Inside, navigate to: /apps/com.viber.voip/ef/

print(f"Decrypted: out_path") if == " main ": decrypt_viber_audio(sys.argv[1], sys.argv[2])

Published: April 18, 2026 | Reading Time: 6 min

with open(out_path, 'wb') as f: f.write(data)

CTx Tech(Bentley) New site
Open chat
💬 Need help?
If you have any questions, ask us.