Xiaomi (MUUI) backup files are opened with MT Manager


Environment: Mobile phone (Xiaomi 10) MIUI (12.5.21)
Tool: MT Manager
Recently I want to view the backup file of Xiaomi mobile phone, modify the suffix and open it directly with compression software to report an error, remember that the previous backup file can be opened directly with compression software. After searching online, I found that Xiaomi has added custom file header information, and it needs to use abe. Just remove the header file and save it as a tar file, and the Xiaomi backup file is not encrypted, so we only need to remove the file header and decompress it with tar to view the backup file.
insert image description here

Refer to
easily unpack MIUI backup bak file
abe.jar source file

1. Mobile phone program file backup

Enter backup in the search box, then select backup and recovery in the search results (you can also find it in the settings), select mobile phone backup and recovery , select the program to be backed up, and then click Backup Now
insert image description here

2. Find the backup file and edit it with MT Manager

The directory of the Xiaomi backup file is /storage/emulated/0/MIUI/backup/AllBackup/
Use the MT manager to switch to the backup directory, press and hold the backup file, and select the open method as hexadecimal
insert image description here

3. Delete some header bytes of the backup file and save it

Select the bytes in front of apps to delete, then save, and the modification is completeinsert image description here

4. Extract the backup file

Click the MT manager menu bar (upper left corner), select the terminal emulator , enter the modified backup file directory, and then use the tar command to decompress the backup file .

# 使用cd命令切换目录,路径修改为自己备份文件路径(MT长按上方路径即可复制)
> cd /storage/emulated/0/MIUI/backup/AllBackup/20210614_094528/
# 打印出目录下的文件列表
> ls
ADM Pro(com.dv.adm.pay).bak
ADM Pro(com.dv.adm.pay).bak.bak
descript.xml
# 解压备份文件,如果文件名有空格或特殊字符,需要用引号把文件名引起来
> tar -xf "ADM Pro(com.dv.adm.pay).bak"
# 打印出目录下的文件列表,apps就是解压出来的备份文件
> ls
ADM Pro(com.dv.adm.pay).bak
ADM Pro(com.dv.adm.pay).bak.bak
apps
descript.xml

insert image description here

Guess you like

Origin blog.csdn.net/u012132482/article/details/117898462