GithubHelp home page GithubHelp logo

ljc-fight / erofs2ext4converter-for-miui-device Goto Github PK

View Code? Open in Web Editor NEW
54.0 3.0 17.0 22.94 MB

通过分析小米出厂erofs文件系统机器分区表文件发现支持erofs和ext4两种类型,此工具意在帮助喜欢折腾的搞机盆友转化erofs为ext4文件系统方便直接读写根目录

Batchfile 96.86% Shell 3.14%

erofs2ext4converter-for-miui-device's Introduction

用法 & USAGE

	erofs2ext4Converter.bat <romfile>

erofs2ext4Converter README.MD

  • 注意事项

    • 将erofs2ext4Converter.bat和ROM文件放在相同路径
    • 将ROM拖到erofs2ext4Converter.bat开始转换
    • 如果需要更改super子分区列表和排除列表,请编辑bin/configure.txt
    • 请保证工具所在盘符有20G空闲空间
  • Notes for English

    • keep the erofs2ext4Converter.bat and your rom file on the same path
    • Drag the ROM to erofs2ext4Converter.bat to start conversion
    • Edit your super subpartitions and exclusion list in bin/configure.txt if you want
    • Make sure that the drive where the tool is located has 20 GB of free space

erofs2ext4converter-for-miui-device'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

Watchers

 avatar  avatar  avatar

erofs2ext4converter-for-miui-device's Issues

大佬, 用法可以写详细点不?

把固件拖到bat文件上, 是指卡刷包吧?
解压出来的文件怎么处理? 用里面的install_format.bat操作吗?
还有下面的错误有影响吗?
Erofs unpacking system.img...
sed: config/system_file_contexts: No such file or directory
Super subpartition vendor detected
Erofs unpacking vendor.img...
sed: config/vendor_file_contexts: No such file or directory
Super subpartition product detected
Erofs unpacking product.img...
sed: config/product_file_contexts: No such file or directory
Super subpartition system_ext detected
Erofs unpacking system_ext.img...
sed: config/system_ext_file_contexts: No such file or directory

k50u的官方卡刷包好像无法重新打包

请问大佬,我应该怎么解决这个问题?

error: build_directory_structure: cannot lookup security context for /system/lost+found
Failed to create image tmp/output/system.img, removing it

Error: - "Failed to repack system.img with ext4 format"
_Tips: - "Details are above"‘’

Hi

想知道这个怎么用...

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.