Code Monkey home page Code Monkey logo

android10-system.img-unpack's Introduction

Android10-system.img-unpack

EMUI10 MIUI12 Flyme8 firmware unpack. Android system.img unpack repack on Windows10.
Android 8以上 ROM解包工具

文件说明:

1.brotli:解压工具,用于将「system.new.dat.br」文件解压为「system.new.dat」
2.sdat2img:格式转换工具,用于将「system.new.dat」文件转换为ext4格式的「system.new.img」
3.SystemExtractor:解包工具,用于将「system.new.img」解包

引用说明:

本工具为一套组合使用工具,实测可在Win10系统上解包Android 8、Android 9、Android 10的ROM固件(包含EMUI10、MIUI12、Flyme8等主流固件),其中引用如下:
1.brotli:来自google / brotli
2.sdat2img:来自xpirt / sdat2img
3.SystemExtractor:来自XDA论坛;

使用说明:

解包流程:brotli解压「system.new.dat.br」得到「system.new.dat」 → sdat2img转换「system.new.dat」得到「system.img」 → 最后SystemExtractor实现「system.img」解包(骤步进行)

详细说明

  1. 以小米10 Pro MIUI 12固件解包为例,首先从固件中提取「system.new.dat.br」和「system.transfer.list」 两个文件,放进brotli文件夹;

  2. 双击br解包.cmd执行命令,等待解包完成得到「system.new.dat」文件,然后将「system.new.dat」和「system.transfer.list」 剪切到sdat2img文件夹;

  3. 双击dat解包.bat执行命令,等待解包完成得到「system.new.img」文件,然后将「system.new.img」剪切到SystemExtractor里的extract_file_here文件夹;

  4. 双击img解包.cmd执行命令,输入数字1按回车开始解包,等待解包完成会生成「system.new_」文件夹,你需要的包内容就在里面;保存路径是在extract_file_here文件夹里;

  5. 每个解包步骤需要等待5~6分钟,请耐心等待(具体要看包大小以及电脑配置)

下载地址
GitHub:https://github.com/upleung/Android10-system.img-unpack/releases/tag/system.img-unpack
蓝奏云:https://zelink.lanzous.com/iQbtKgd7ulc

写在最后:

  1. EMUI10需要先用Huawei Update Extractor 将UPDATA.APP中的img文件提取出来才能进行解包操作;

  2. 在Windowns平台解一个ROM包需要较长时间(10~15分钟不等),为了更直观、更安全与稳定,所以在这里我采用了分步执行解包。当然也有一步执行到底的工具,例如XDA上一名意大利开发者整合到一起的CRB固件管理工具。解包录屏在剪辑中,完成后会上传到B站;

android10-system.img-unpack's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

android10-system.img-unpack's Issues

Exception EOutOfMemory in module Imgextractor.exe at 0001661D

对华为EMUI 9的system.img解包。
先用Huawei Update Extractor 将UPDATA.APP中的SYSTEM.img文件提取出来。
然后SYSTEM.img重命名为「system.new.img」剪切到SystemExtractor里的extract_file_here文件夹。
执行img解包.cmd,选择1 - Unpacking "system.new.dat".
出现以下log

Type option:1

Please wait, start conversion in "system.new.img"...

Traceback (most recent call last):
File "sdat2img.py", line 86, in
File "sdat2img.py", line 66, in main
File "sdat2img.py", line 32, in parse_transfer_list_file
FileNotFoundError: [Errno 2] No such file or directory: 'place_for_system.new.dat_system.transfer.list_here\system.transfer.list'

Please wait, unpacks "system.new.img"...

ImgExtractor version 1.3.6 <Created by And_PDA (Based on sources ext4_unpacker)>

Extractor for images in EXT2\EXT3\EXT4\YAFFS2\CRAMFS filesystem formats
support SPARSE\SIN\MOTO structure formats

Exception EOutOfMemory in module Imgextractor.exe at 0001661D.
Out of memory.

Done. Go to the folder "extract_file_here"
请按任意键继续. . .

曾经参照XDA上的 Imgextractor.exe 教程,单独命令行执行过。
也得到同样错误。

由于我日本机器刷了港版。Felica电子钱包废了不说,NFC也不能用,实在有点不爽。
想从日版P30 Pro(Docomo HW-02L)的EMUI9固件中获取 NFC/Felica相关文件,
碰碰运气,看看简单移植到港版EMUI10固件中是否可用。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.