Giter Club home page Giter Club logo

sgsi-build-tool's Introduction

中文 | English

SGSI-build-tool

Copyright (C) 2020 Xiaoxindada ([email protected])
未经过本人许可 不可进行商用

本工具将会持续更新

本工具部分依赖来自:

感谢九雨梦舟 https://github.com/rsyhan 的帮助

因为部分原因 开源形式不采用文件夹上传 tar解压就是源码 没封包

确保首次使用工具

安装apk  
把SGSI-build-tool.tar放置ubuntu安装文件夹的home目录内  
使用Linux Deploy安装Ubuntu arm64  

使用ssh进入ubuntu以后执行命令

su  
tar -xf SGSI-build-tool.tar  
cd SGSI-build-tool/10  

安装工具依赖环境(建议挂t)

./setup.sh  

制造SGSI:

把刷机包放至tmp文件夹内 
制造A-only:./make.sh A  
制造AB:./make.sh AB
也可单独使用./SGSI.sh A 或 ./SGSI.sh AB 
如果原包是super.img 把super.img放置工具根目录   
然后使用./unpacksuper.sh解包然后把解出来的img丢到工具更目录直接执行./SGSI.sh即可  
本工具制造的SGSI也支持动态分区机型刷入 不过要打包成super.img
使用./makesuper.sh打包
Patch1 Patch2 的内容需要自行把他打包至vendor.img 把system vendor打包生成super.img然后刷入 然后刷入patch3格式化data即可
本工具仅仅制作system.img部分Patch部分需要手动  
本工具是半自动工具 因为有些处理自动化并不理想 多变 所以手动更好 如果你不清楚这些东西的处理 也可以不处理 直接制造也行  
成品输出在SGSI文件夹 然后手动制造Patch1 2 3即可  

本工具打包解包脚本

img打包解包: makeimg2.sh unpackimg.sh(单独可使用 支持任意分区打包解包)  
super.img打包解包: makesuper.sh unpacksuper.sh  
boot.img打包解包: makeboot.sh unpackboot.sh  
dat/br生成: img2sdat.sh simg2sdat.sh  
解压img的apex: apex.sh (apex扁平化)  
局部deodex: bin/oat2dex/deodex.sh  
ozip解密: oppo_ozip  

本工具推荐所需内存空间大小:30G

清理工具 执行更目录的rm.sh即可

如果想捐赠我请随意 QQ群:967161723

sgsi-build-tool's People

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.