Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unpacked tar files are corrupt when unpacking a backup of com.mountainproject.android #105

Open
dh4 opened this issue Oct 15, 2022 · 0 comments

Comments

@dh4
Copy link

dh4 commented Oct 15, 2022

Hello,

I'm having an issue with using abe to unpack an Android backup that contains com.mountainproject.android. See the following error from tar after unpacking:

...
apps/com.mountainproject.android/f/photos/3c68748773856278e549dea22e33138e.1
apps/com.mountainproject.android/f/photos/journal
apps/com.mountainproject.android/f/mountainproject_user.realm
apps/com.mountainproject.android/f/mountainproject_user.realm.lock
apps/com.mountainproject.android/f/mountainproject_user.realm.management
apps/com.mountainproject.android/f/mountainproject_user.realm.management/access_control.control.mx
apps/com.mountainproject.android/f/mountainproject_user.realm.management/access_control.write.mx
apps/com.mountainproject.android/f/gaClientId
apps/com.mountainproject.android/f/mountainproject_search.realm.lock
apps/com.mountainproject.android/f/mountainproject_search.realm.management
apps/com.mountainproject.android/f/mountainproject_search.realm.management/access_control.control.mx
apps/com.mountainproject.android/f/mountainproject_search.realm.management/access_control.write.mx
apps/com.mountainproject.android/f/mountainproject.realm
tar: Skipping to next header
tar: A lone zero block at 1439794
tar: Exiting with failure status due to previous errors

This is from an older backup, so I tried with the current version of the app by running:

adb backup -f backup.ab -apk com.mountainproject.android
abe unpack backup.ab mp.tar
tar -xvf mp.tar

This resulted in the following error from tar:

...
apps/com.mountainproject.android/f/photos/4d3f9dcca31baf0ec81bd219d807987a.0
apps/com.mountainproject.android/f/mountainproject_user.realm.lock
apps/com.mountainproject.android/f/mountainproject_user.realm.management
apps/com.mountainproject.android/f/mountainproject_user.realm.management/access_control.write.mx
apps/com.mountainproject.android/f/mountainproject_user.realm.management/access_control.control.mx
apps/com.mountainproject.android/f/mountainproject.realm.tmp_compaction_space
tar: Unexpected EOF in archive
tar: rmtlseek not stopped at a record boundary
tar: Error is not recoverable: exiting now

I tried several other apps as controls and did not have any issues unpacking the resulting tar archives. It seems that com.mountainproject.android is the problem app. Let me know if this is reproducible or if any other information would be helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant