首页 > 其他分享 >twrp 刷机包 刷入magisk.zip 构造原理 关键词:META-INF update-binary updater-script

twrp 刷机包 刷入magisk.zip 构造原理 关键词:META-INF update-binary updater-script

时间:2024-05-29 16:01:05浏览次数:15  
标签:binary 刷入 zip script boot sh updater magisk

https://blog.csdn.net/yuleslie/article/details/8718385

 

 

#MAGISK ############################################ # # Magisk Flash Script (updater-script) # by topjohnwu # ############################################
############## # Preparation ##############
COMMONDIR=$INSTALLER/common APK=$COMMONDIR/magisk.apk CHROMEDIR=$INSTALLER/chromeos               #!/system/bin/sh ########################################################################################### # # Magisk Boot Image Patcher # by topjohnwu # # Usage: boot_patch.sh <bootimage> # # The following flags can be set in environment variables: # KEEPVERITY, KEEPFORCEENCRYPT, RECOVERYMODE # # This script should be placed in a directory with the following files: # # File name          Type      Description # # boot_patch.sh      script    A script to patch boot image for Magisk. #                  (this file) The script will use binaries and files in its same directory #                              to complete the patching process # util_functions.sh  script    A script which hosts all functions required for this script #                              to work properly # magiskinit         binary    The binary to replace /init; magisk binary embedded # magiskboot         binary    A tool to manipulate boot images # chromeos           folder    This folder includes all the utilities and keys to sign #                  (optional)  chromeos boot images. Currently only used for Pixel C # ###########################################################################################

标签:binary,刷入,zip,script,boot,sh,updater,magisk
From: https://www.cnblogs.com/hhdom/p/18220498

相关文章

  • 2024铁三决赛专项题-zip_guessinteger
    2024铁三决赛专项题-zip_guessinteger简介:ZIP包竟然加密了,快上我的暴力破解工具。难道我需要一个量子算力吗?能否使点巧力猜猜?需要使用的工具:bkcrack工具地址:https://github.com/kimci86/bkcrack题目附件上玄机自取:https://xj.edisec.net1.第一层​echo-n'breakthr......
  • 根据若依系统+minio实现批量下载附件并自动压缩成zip
    效果实现:  分割!!!!以下代码参考于http://t.csdn.cn/4dUmDwg话不多说直接从后端开始0.首先是pom依赖<dependency><groupId>cn.hutool</groupId><artifactId>hutool-all</artifactId><version>5.5.7</version></dependency>1.后端Contr......
  • centos7安装bzip2
    centos7没有bzip2,无法解压bz2文件,于是只能下载安装了,两种方法:1.yum安装yumsearchbzip2 //查询安装包yum-yinstallbzip2-x86_642.源码安装下载bzip2  下载地址:http://www.bzip.org/downloads.html2.1格式是*.tar.gz 解压文件tar-zxf bzip2-1.0.6.tar.gz得到一......
  • c# 文件压缩DotNetZip和SharpZipLib
     SharpZipLib和DotNetZip  DotNetZip示例usingSystem;usingSystem.IO;usingIonic.Zip;classProgram{staticvoidMain(string[]args){stringfolderToCompress=@"C:\path\to\your\folder";//要压缩的文件夹路径stringzi......
  • 【简单介绍下7-Zip,什么是7-Zip?】
    ......
  • 把文件压缩成zip包并设置密码
    引入依赖<!--zip--><dependency><groupId>net.lingala.zip4j</groupId><artifactId>zip4j</artifactId><version>1.3.2</version></dependency>代码p......
  • 数据 tree or binary
    ST表本来不想写的,但是我考试因为ST表写错,痛失\(100\)分,想想还是写吧简介原型是倍增,不过它是用来求区间最值(其实也可以求和),而且是静态的(不如线段树),区间最值也可以写成:\(RMQ\)问题,ST表可以让查询最值达到\(O(logn)\),算是很高效了。思路将区间dp的\(dp[i][j]\)变成\(f[......
  • Win11 24H2已在路上!微软发布最新RP预览版:支持创建7-zip文件、Wi-Fi 7等
    微软正紧锣密鼓地准备Windows11的下一个重大更新,即24H2版本。在正式发布前夕,微软向ReleasePreview的WindowsInsider项目成员发布了Windows11Version24H2(Build26100.712)预览版更新,邀请用户参与测试并反馈问题。这一预览版带来了一系列新功能和改进,其中包括对Wi-Fi7的支持......
  • 96-Unique Binary Search Trees 二叉搜索树的数量
    问题描述链接:https://leetcode.com/problems/unique-binary-search-trees/description/Givenaninteger n,return thenumberofstructurallyunique BST's(binarysearchtrees)whichhasexactly n nodesofuniquevaluesfrom 1 to n.解释:给定一个整数n,求1~n......
  • 9-3-了解gzip-bzip2- xz管理压缩文件
    9.3了解gzip-bzip2-xz管理压缩文件-file-sort查看文件创建压缩的TAR存档,TAR命令支持三种不同的压缩方式:gzip压缩速度最快bzip2压缩生成的文件比gzip小,但使用不如gzip广;xz压缩工具相对较新,但是会提供最佳的压缩率9.3.1压缩工具......