Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I have TitaniumBackup encrypting backup copies of app settings before uploading to Google Drive. In order to verify/restore applications I need to type my password.

I need to extract a backup outside of TB. The problem is that Linux won't read the encrypted .tar.gz file. AFAIK TB uses asymmetric cryptography, which I don't know being supported by Linux file managers (or Ark application).

The question is: how do I extract an encrypted Titanium backup in Linux?

share|improve this question
    
OK, so let's put the question a little different: Why don't you simply adb backup the app in question from the device, and adb restore it to the emulator? :) –  Izzy Apr 18 '13 at 12:18
    
I really didn't know about that!!!!!!!!! –  djechelon Apr 18 '13 at 12:24
    
LOL No excuse anymore -- now you know :) Requires Android 4+. If that's a solution for you, I can setup an answer with some more details -- and you might want to rephrase your question, as your real issue obviously is not "decrypting TB files" (see: What is the XY problem?) :) –  Izzy Apr 18 '13 at 12:27
    
Well... even if I managed to solve by freezing app before copying, I think that the question itself shouldn't be touched and left as it is. While my problem was backing up and restoring data on a different device (in this case the emulator), the problem of decrypting a TB could itself be an interesting question for other super-problems, like data recovery or forensics. Instead, I could post another question that you can answer with all the details –  djechelon Apr 18 '13 at 12:50
    
@Izzy I opened android.stackexchange.com/questions/43885/…. Of course I can exclude solution 1 because I didn't manage to run TB on the emulator –  djechelon Apr 18 '13 at 12:57
show 2 more comments

1 Answer 1

I have found a working solution on GitHub: https://github.com/phyber/TiBUdecrypter

1. Install/upgrade dependencies (on Ubuntu)

apt-get install python2.7
pip install --upgrade docopt
pip install --upgrade six
pip install --upgrade PyCrypto

2. Get script from GitHub

3. Decrypt a backup

python2.7 tibudecrypt.py com.keramidas.virtual.XML_WIFI_AP_LIST-20140711-012128.xml.gz
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.