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

Support MIUI OS backup file #79

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

LeonDevLifeLog
Copy link

No description provided.

@nelenkov
Copy link
Owner

Could you share some docs/info about MIUI OS backup format?

@LeonDevLifeLog
Copy link
Author

TIM截图20200610160201
MIUI os backup app just add custom magic header info before android origin backup file header.
MIUI os custom magic header are split by \n,so just skip five line from the file header.

@rustyx
Copy link

rustyx commented May 17, 2021

Don't you want to be able to write such format, too?

@Zipper-1
Copy link

The majority of MIUI BACKUP magic Header is unchanged across packages with the following format. Repacking is quite easy by simply adding the header to repacked Android backup package. Note: there is a blank space between package name and app name.

MIUI BACKUP
2
<packageName> <appDisplayName(UTF-8)>
-1
0

@nelenkov
Copy link
Owner

There is an outstanding PR for this, if someone can test that it actually works with MIUI backup (and doesn't break regular Android backup), I can merge it.

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

Successfully merging this pull request may close these issues.

4 participants